[INFO] cloning repository https://github.com/enigmampc/SecretSwapAnonEdition [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigmampc/SecretSwapAnonEdition" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretSwapAnonEdition", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretSwapAnonEdition'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b52f76fea67002a64a3fb1623caf690e95ff43c4 [INFO] testing enigmampc/SecretSwapAnonEdition against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretSwapAnonEdition" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/enigmampc/SecretSwapAnonEdition [INFO] finished tweaking git repo https://github.com/enigmampc/SecretSwapAnonEdition [INFO] tweaked toml for git repo https://github.com/enigmampc/SecretSwapAnonEdition written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/enigmampc/SecretSwapAnonEdition on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/enigmampc/SecretSwapAnonEdition already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/contracts/dummy_swap_data_receiver/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/contracts/secretswap_router/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/enigmampc/SecretNetwork` [INFO] [stderr] Updating git repository `https://github.com/enigmampc/secret-toolkit` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/apache/teaclave-sgx-sdk.git` [INFO] [stderr] Updating git submodule `https://github.com/WebAssembly/testsuite` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars v0.7.6 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded schemars_derive v0.7.6 [INFO] [stderr] Downloaded cosmwasm-schema v0.9.4 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded sha2 v0.9.3 [INFO] [stderr] Downloaded primitive-types v0.9.0 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded uint v0.9.0 [INFO] [stderr] Downloaded tempfile v3.2.0 [INFO] [stderr] Downloaded thiserror v1.0.23 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded derive_more v0.99.11 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded cbindgen v0.13.2 [INFO] [stderr] Downloaded rand_core v0.6.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.23 [INFO] [stderr] Downloaded serde-json-wasm v0.2.3 [INFO] [stderr] Downloaded snafu v0.6.10 [INFO] [stderr] Downloaded redox_syscall v0.2.4 [INFO] [stderr] Downloaded bincode2 v2.0.1 [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9655916c00091ba0811b966d9f4a82a49cb3f02ac3f5cb913d2471a0e22bb4e [INFO] running `Command { std: "docker" "start" "-a" "a9655916c00091ba0811b966d9f4a82a49cb3f02ac3f5cb913d2471a0e22bb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9655916c00091ba0811b966d9f4a82a49cb3f02ac3f5cb913d2471a0e22bb4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9655916c00091ba0811b966d9f4a82a49cb3f02ac3f5cb913d2471a0e22bb4e", kill_on_drop: false }` [INFO] [stdout] a9655916c00091ba0811b966d9f4a82a49cb3f02ac3f5cb913d2471a0e22bb4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd8489865eeef039150d7bee338a9ccc4fa7e66adb50fb409ad780ff4c1b88f [INFO] running `Command { std: "docker" "start" "-a" "afd8489865eeef039150d7bee338a9ccc4fa7e66adb50fb409ad780ff4c1b88f", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/dummy_swap_data_receiver/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/secretswap_router/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Compiling secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca) [INFO] [stderr] Compiling secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649) [INFO] [stderr] Compiling secretswap v0.1.0 (/opt/rustwide/workdir/packages/secretswap) [INFO] [stdout] warning: unused import: `BankMsg` [INFO] [stdout] --> packages/secretswap/src/asset.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Api, BankMsg, CanonicalAddr, Coin, CosmosMsg, Env, Extern, HumanAddr, Querier, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_balance` [INFO] [stdout] --> packages/secretswap/src/asset.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::querier::{query_balance, query_token_balance}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> packages/secretswap/src/asset.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let amount = self.amount; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> packages/secretswap/src/asset.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | deps: &Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> packages/secretswap/src/asset.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | deps: &Extern, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> packages/secretswap/src/asset.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | sender: HumanAddr, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> packages/secretswap/src/asset.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn assert_sent_native_token_balance(&self, env: &Env) -> StdResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling secretswap-factory v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_factory) [INFO] [stderr] Compiling secretswap-pair v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_pair) [INFO] [stderr] Compiling dummy-swap-data-receiver v0.1.0 (/opt/rustwide/workdir/contracts/dummy_swap_data_receiver) [INFO] [stderr] Compiling secretswap-router v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_router) [INFO] [stderr] Compiling secretswap-token v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_token) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dummy_swap_data_receiver/src/lib.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/secretswap_pair/src/lib.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::hash_map::RandomState` [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::hash_map::RandomState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | debug_print, from_binary, log, to_binary, Api, Binary, CanonicalAddr, CosmosMsg, Decimal, Env, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/secretswap_router/src/lib.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces`, `debug-print`, and `default` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug_print` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | debug_print, from_binary, to_binary, Api, BankMsg, Binary, Coin, CosmosMsg, Env, Extern, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/dummy_swap_data_receiver/src/state.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/dummy_swap_data_receiver/src/state.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `NativeToken` found for enum `AssetInfo` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:230:46 [INFO] [stdout] | [INFO] [stdout] 230 | ... info: AssetInfo::NativeToken { [INFO] [stdout] | ^^^^^^^^^^^ variant not found in `AssetInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 48 | / AssetInfo::Token { [INFO] [stdout] 49 | | contract_addr, [INFO] [stdout] 50 | | token_code_hash, [INFO] [stdout] 51 | | .. [INFO] [stdout] 52 | | } => { [INFO] [stdout] | |_________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 76 | / AssetInfo::Token { [INFO] [stdout] 77 | | contract_addr, [INFO] [stdout] 78 | | token_code_hash, [INFO] [stdout] 79 | | .. [INFO] [stdout] 80 | | } => { [INFO] [stdout] | |_________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 101 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> contracts/secretswap_pair/src/contract.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if let AssetInfo::Token { [INFO] [stdout] | ____________^ [INFO] [stdout] 316 | | contract_addr, [INFO] [stdout] 317 | | token_code_hash, [INFO] [stdout] 318 | | .. [INFO] [stdout] 319 | | } = &pool.info [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_done` [INFO] [stdout] --> contracts/secretswap_router/src/contract.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | is_done, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `is_done: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secretswap-router` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/secretswap_token/src/state.rs:174:20 [INFO] [stdout] | [INFO] [stdout] 174 | fn as_readonly(&self) -> ReadonlyConfigImpl> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | fn as_readonly(&self) -> ReadonlyConfigImpl<'_, ReadonlyPrefixedStorage<'_, S>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/secretswap_token/src/state.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | fn as_readonly(&self) -> ReadonlyConfigImpl> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | fn as_readonly(&self) -> ReadonlyConfigImpl<'_, PrefixedStorage<'_, S>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/secretswap_token/src/state.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | fn as_readonly(&self) -> ReadonlyBalancesImpl> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn as_readonly(&self) -> ReadonlyBalancesImpl<'_, ReadonlyPrefixedStorage<'_, S>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> contracts/secretswap_token/src/state.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | fn as_readonly(&self) -> ReadonlyBalancesImpl> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 371 | fn as_readonly(&self) -> ReadonlyBalancesImpl<'_, PrefixedStorage<'_, S>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "afd8489865eeef039150d7bee338a9ccc4fa7e66adb50fb409ad780ff4c1b88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd8489865eeef039150d7bee338a9ccc4fa7e66adb50fb409ad780ff4c1b88f", kill_on_drop: false }` [INFO] [stdout] afd8489865eeef039150d7bee338a9ccc4fa7e66adb50fb409ad780ff4c1b88f