[INFO] cloning repository https://github.com/mktia/cosmwasm-sample-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mktia/cosmwasm-sample-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmktia%2Fcosmwasm-sample-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmktia%2Fcosmwasm-sample-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 792280a00cd57d97067c8f1512a917449f3b6fd9 [INFO] checking mktia/cosmwasm-sample-contract against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmktia%2Fcosmwasm-sample-contract" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mktia/cosmwasm-sample-contract on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [INFO] started tweaking git repo https://github.com/mktia/cosmwasm-sample-contract [INFO] finished tweaking git repo https://github.com/mktia/cosmwasm-sample-contract [INFO] tweaked toml for git repo https://github.com/mktia/cosmwasm-sample-contract written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/mktia/cosmwasm-sample-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e2384dc8b053008d4720b171929056e1a9c7c05a527c62caa19f9cc707a49e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e2384dc8b053008d4720b171929056e1a9c7c05a527c62caa19f9cc707a49e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e2384dc8b053008d4720b171929056e1a9c7c05a527c62caa19f9cc707a49e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2384dc8b053008d4720b171929056e1a9c7c05a527c62caa19f9cc707a49e9", kill_on_drop: false }` [INFO] [stdout] 2e2384dc8b053008d4720b171929056e1a9c7c05a527c62caa19f9cc707a49e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9b6a5a0439622e6f8bfff7abeaa6f6ba8321fd541e002ebb705cb33e0e377ee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9b6a5a0439622e6f8bfff7abeaa6f6ba8321fd541e002ebb705cb33e0e377ee", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling cranelift-entity v0.59.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.59.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking wasmparser v0.51.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking parity-wasm v0.42.1 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.59.0 [INFO] [stderr] Checking cranelift-bforest v0.59.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking errno v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling blake3 v0.3.5 [INFO] [stderr] Compiling raw-cpuid v7.0.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Compiling wasmer-runtime-core v0.17.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling cranelift-codegen v0.59.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking snafu v0.6.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde-json-wasm v0.2.1 [INFO] [stderr] Checking serde-bench v0.0.7 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking gimli v0.20.0 [INFO] [stderr] Checking cosmwasm-std v0.11.2 [INFO] [stderr] Checking cosmwasm-schema v0.11.2 [INFO] [stderr] Checking cosmwasm-storage v0.11.2 [INFO] [stderr] Checking cw-escrow v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking wasmer-middleware-common v0.17.0 [INFO] [stderr] Checking wasmer-clif-fork-frontend v0.59.0 [INFO] [stderr] Checking cranelift-native v0.59.0 [INFO] [stderr] Checking wasmer-clif-fork-wasm v0.59.0 [INFO] [stderr] Checking wasmer-clif-backend v0.17.0 [INFO] [stderr] Checking cosmwasm-vm v0.11.2 [INFO] [stdout] error: couldn't read tests/../target/wasm32-unknown-unknown/release/cw_escrow.wasm: No such file or directory (os error 2) [INFO] [stdout] --> tests/integration.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | static WASM: &[u8] = include_bytes!("../target/wasm32-unknown-unknown/release/cw_escrow.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `cosmwasm_std::StdError::Unauthorized`: All StdError cases not required by the standard library will be removed in cosmwasm-std 0.12. Please migrate to custom errors instead of using StdError. [INFO] [stdout] --> tests/integration.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | StdError::Unauthorized { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/integration.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let mut env = mock_env(signer, sent); [INFO] [stdout] | ^^^^^^^^ ------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let res: InitResponse = init(&mut deps, env, msg).unwrap(); [INFO] [stdout] | ^^^^ --------- --- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let res: InitResult = init(&mut deps, env, msg); [INFO] [stdout] | ^^^^ --------- --- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let res: InitResult = init(&mut deps, env, msg); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `ContractResult` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `ContractResult>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/integration.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | let env = mock_env(creator.as_str(), &coins(1000, "earth")); [INFO] [stdout] | ^^^^^^^^ ---------------- --------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | let res: InitResponse = init(&mut deps, env, msg).unwrap(); [INFO] [stdout] | ^^^^ --------- --- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/integration.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let query_response = query(&mut deps, QueryMsg::Arbiter {}).unwrap(); [INFO] [stdout] | ^^^^^ --------- -------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> tests/integration.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | let qres = query(&mut deps, HandleMsg::Refund {}); [INFO] [stdout] | ^^^^^ --------- -------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | match qres.unwrap_err() { [INFO] [stdout] | ----------------- this expression has type `String` [INFO] [stdout] 127 | StdError::ParseErr { .. } => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `String`, found enum `StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | let init_res: InitResponse = init(&mut deps, init_env, msg).unwrap(); [INFO] [stdout] | ^^^^ --------- -------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | let handle_res: HandleResult = handle(&mut deps, env, msg.clone()); [INFO] [stdout] | ^^^^^^ --------- --- ----------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | let handle_res: HandleResult = handle(&mut deps, env, msg.clone()); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `ContractResult` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `ContractResult>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | let handle_res: HandleResult = handle(&mut deps, env, msg.clone()); [INFO] [stdout] | ^^^^^^ --------- --- ----------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | let handle_res: HandleResult = handle(&mut deps, env, msg.clone()); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `ContractResult` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `ContractResult>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:170:38 [INFO] [stdout] | [INFO] [stdout] 170 | let handle_res: HandleResponse = handle(&mut deps, env, msg.clone()).unwrap(); [INFO] [stdout] | ^^^^^^ --------- --- ----------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | let handle_res: HandleResponse = handle(&mut deps, env, partial_msg).unwrap(); [INFO] [stdout] | ^^^^^^ --------- --- ----------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | let init_res: InitResponse = init(&mut deps, init_env, msg).unwrap(); [INFO] [stdout] | ^^^^ --------- -------- --- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let handle_res: HandleResult = handle(&mut deps, env, msg.clone()); [INFO] [stdout] | ^^^^^^ --------- --- ----------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | let handle_res: HandleResult = handle(&mut deps, env, msg.clone()); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `ContractResult` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `ContractResult>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/integration.rs:229:38 [INFO] [stdout] | [INFO] [stdout] 229 | let handle_res: HandleResponse = handle(&mut deps, env, msg.clone()).unwrap(); [INFO] [stdout] | ^^^^^^ --------- --- ----------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cw-escrow` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c9b6a5a0439622e6f8bfff7abeaa6f6ba8321fd541e002ebb705cb33e0e377ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9b6a5a0439622e6f8bfff7abeaa6f6ba8321fd541e002ebb705cb33e0e377ee", kill_on_drop: false }` [INFO] [stdout] c9b6a5a0439622e6f8bfff7abeaa6f6ba8321fd541e002ebb705cb33e0e377ee