[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2FSecretSwapAnonEdition" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enigmampc/SecretSwapAnonEdition on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/enigmampc/SecretSwapAnonEdition already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-0/source/contracts/dummy_swap_data_receiver/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0/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-0/source/contracts/secretswap_router/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0/source/Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/enigmampc/SecretNetwork` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 62fbc00a97f1eeec1d5eb3f7f0e19792289ba4ea340dc1af74755d173347d5c6 [INFO] running `Command { std: "docker" "start" "-a" "62fbc00a97f1eeec1d5eb3f7f0e19792289ba4ea340dc1af74755d173347d5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62fbc00a97f1eeec1d5eb3f7f0e19792289ba4ea340dc1af74755d173347d5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62fbc00a97f1eeec1d5eb3f7f0e19792289ba4ea340dc1af74755d173347d5c6", kill_on_drop: false }` [INFO] [stdout] 62fbc00a97f1eeec1d5eb3f7f0e19792289ba4ea340dc1af74755d173347d5c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f62eb6eab1d66c07c3aa0dccb64d9bb14e187c343fd6d5579a164953ee6b41d4 [INFO] running `Command { std: "docker" "start" "-a" "f62eb6eab1d66c07c3aa0dccb64d9bb14e187c343fd6d5579a164953ee6b41d4", 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 serde v1.0.123 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling uint v0.9.0 [INFO] [stderr] Compiling syn v1.0.60 [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 sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling primitive-types v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde_json v1.0.62 [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 cosmwasm-storage 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 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-snip20 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 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)]` 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)]` 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dummy-swap-data-receiver v0.1.0 (/opt/rustwide/workdir/contracts/dummy_swap_data_receiver) [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 secretswap-token v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_token) [INFO] [stderr] Compiling secretswap-router v0.1.0 (/opt/rustwide/workdir/contracts/secretswap_router) [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)]` 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: 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)]` on by default [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] 73 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` 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] 101 | _ => {} [INFO] [stdout] | ^ [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: `#[warn(irrefutable_let_patterns)]` on by default [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [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` due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f62eb6eab1d66c07c3aa0dccb64d9bb14e187c343fd6d5579a164953ee6b41d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62eb6eab1d66c07c3aa0dccb64d9bb14e187c343fd6d5579a164953ee6b41d4", kill_on_drop: false }` [INFO] [stdout] f62eb6eab1d66c07c3aa0dccb64d9bb14e187c343fd6d5579a164953ee6b41d4