Skip to content

Dex: Refactor existing code to make use of Smart Tokens #30

Dex: Refactor existing code to make use of Smart Tokens

Dex: Refactor existing code to make use of Smart Tokens #30

Triggered via pull request October 12, 2023 16:04
Status Failure
Total duration 1m 26s
Artifacts

Basic.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 10 warnings
Lints: contracts/pair/src/contract.rs#L48
this function takes 1 argument but 2 arguments were supplied
Lints: contracts/pair/src/contract.rs#L171
this method takes 0 arguments but 1 argument was supplied
Lints: contracts/pair/src/contract.rs#L241
no variant or associated item named `Token` found for enum `dex::asset::AssetInfoValidated` in the current scope
Lints: contracts/pair/src/contract.rs#L298
this function takes 1 argument but 2 arguments were supplied
Lints: contracts/pair/src/contract.rs#L956
this method takes 0 arguments but 1 argument was supplied
Lints: contracts/pair/src/contract.rs#L1009
this method takes 0 arguments but 1 argument was supplied
Lints: contracts/pair/src/testing.rs#L39
mismatched types
Lints: contracts/pair/src/testing.rs#L70
no variant or associated item named `Native` found for enum `dex::asset::AssetInfo` in the current scope
Lints: contracts/pair/src/testing.rs#L71
no variant or associated item named `Token` found for enum `dex::asset::AssetInfo` in the current scope
Lints: contracts/pair/src/testing.rs#L88
mismatched types
Test Suite: contracts/pair/src/contract.rs#L48
this function takes 1 argument but 2 arguments were supplied
Test Suite: contracts/pair/src/contract.rs#L171
this method takes 0 arguments but 1 argument was supplied
Test Suite: contracts/pair/src/contract.rs#L241
no variant or associated item named `Token` found for enum `AssetInfoValidated` in the current scope
Test Suite: contracts/pair/src/contract.rs#L298
this function takes 1 argument but 2 arguments were supplied
Test Suite: contracts/pair/src/contract.rs#L956
this method takes 0 arguments but 1 argument was supplied
Test Suite: contracts/pair/src/contract.rs#L1009
this method takes 0 arguments but 1 argument was supplied
Test Suite
could not compile `dex-pair` (lib) due to 6 previous errors
Test Suite
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Lints
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lints
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/