[INFO] cloning repository https://github.com/JulieGibbs/FarmingStaking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JulieGibbs/FarmingStaking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulieGibbs%2FFarmingStaking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulieGibbs%2FFarmingStaking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fee61d170deb5db6b21115bb340c7ce99d86ec8a [INFO] testing JulieGibbs/FarmingStaking against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulieGibbs%2FFarmingStaking" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JulieGibbs/FarmingStaking on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/JulieGibbs/FarmingStaking [INFO] finished tweaking git repo https://github.com/JulieGibbs/FarmingStaking [INFO] tweaked toml for git repo https://github.com/JulieGibbs/FarmingStaking written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JulieGibbs/FarmingStaking 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 578a01ad0600bf50ca3ab8b0c732d6402d4010de1cba1e0c7c82fd21965671f5 [INFO] running `Command { std: "docker" "start" "-a" "578a01ad0600bf50ca3ab8b0c732d6402d4010de1cba1e0c7c82fd21965671f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "578a01ad0600bf50ca3ab8b0c732d6402d4010de1cba1e0c7c82fd21965671f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "578a01ad0600bf50ca3ab8b0c732d6402d4010de1cba1e0c7c82fd21965671f5", kill_on_drop: false }` [INFO] [stdout] 578a01ad0600bf50ca3ab8b0c732d6402d4010de1cba1e0c7c82fd21965671f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac28b9e62c88f8ec38440092ff7eb06a8fa63eb7ad4f3e09d33a36b3eff3b396 [INFO] running `Command { std: "docker" "start" "-a" "ac28b9e62c88f8ec38440092ff7eb06a8fa63eb7ad4f3e09d33a36b3eff3b396", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.2.10 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling schemars_derive v0.8.6 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta6 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta6 [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta6 [INFO] [stderr] Compiling cw-utils v0.12.1 [INFO] [stderr] Compiling cw-storage-plus v0.12.1 [INFO] [stderr] Compiling cw-utils v0.11.1 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0-beta [INFO] [stderr] Compiling cw-storage-plus v0.11.1 [INFO] [stderr] Compiling cw721 v0.11.1 [INFO] [stderr] Compiling cw721 v0.12.0 [INFO] [stderr] Compiling cw20 v0.12.1 [INFO] [stderr] Compiling cw2 v0.12.1 [INFO] [stderr] Compiling cw721-base v0.12.0 [INFO] [stderr] Compiling Hope_Contract v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cw20ExecuteMsg` [INFO] [stdout] --> src/contract.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use cw20::{Cw20ExecuteMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_nfts` [INFO] [stdout] --> src/contract.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | |my_nfts|->StdResult<_>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_nfts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:556:31 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn query_get_current_time(deps:Deps,env:Env) -> StdResult{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/contract.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 578 | item.and_then(|(k, token_info)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Hope_Contract` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hope_contract` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.27s [INFO] running `Command { std: "docker" "inspect" "ac28b9e62c88f8ec38440092ff7eb06a8fa63eb7ad4f3e09d33a36b3eff3b396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac28b9e62c88f8ec38440092ff7eb06a8fa63eb7ad4f3e09d33a36b3eff3b396", kill_on_drop: false }` [INFO] [stdout] ac28b9e62c88f8ec38440092ff7eb06a8fa63eb7ad4f3e09d33a36b3eff3b396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b08fa5df106860f4c13f0bea23af97ce0a0a031464c6391702f6d99302bed9df [INFO] running `Command { std: "docker" "start" "-a" "b08fa5df106860f4c13f0bea23af97ce0a0a031464c6391702f6d99302bed9df", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling loupe v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Compiling wasmer-types v2.0.0 [INFO] [stdout] warning: unused import: `Cw20ExecuteMsg` [INFO] [stdout] --> src/contract.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use cw20::{Cw20ExecuteMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_nfts` [INFO] [stdout] --> src/contract.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | |my_nfts|->StdResult<_>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_nfts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:556:31 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn query_get_current_time(deps:Deps,env:Env) -> StdResult{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/contract.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 578 | item.and_then(|(k, token_info)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Hope_Contract` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hope_contract` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling cranelift-codegen v0.74.0 [INFO] [stderr] Compiling dynasmrt v1.0.1 [INFO] [stderr] Compiling wasmer-compiler v2.0.0 [INFO] [stderr] Compiling wasmer-engine v2.0.0 [INFO] [stderr] Compiling wasmer-object v2.0.0 [INFO] [stderr] Compiling wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Compiling wasmer-engine-universal v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [INFO] [stderr] Compiling cranelift-frontend v0.74.0 [INFO] [stderr] Compiling wasmer v2.0.0 [INFO] [stderr] Compiling wasmer-middlewares v2.0.0 [INFO] [stderr] Compiling cosmwasm-vm v1.0.0-beta [INFO] [stderr] Compiling Hope_Contract v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cw20ExecuteMsg` [INFO] [stdout] --> src/contract.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use cw20::{Cw20ExecuteMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_nfts` [INFO] [stdout] --> src/contract.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | |my_nfts|->StdResult<_>{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_nfts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:556:31 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn query_get_current_time(deps:Deps,env:Env) -> StdResult{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/contract.rs:578:21 [INFO] [stdout] | [INFO] [stdout] 578 | item.and_then(|(k, token_info)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 56.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.74.0, wasmer-compiler-singlepass v2.0.0, wasmparser v0.78.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b08fa5df106860f4c13f0bea23af97ce0a0a031464c6391702f6d99302bed9df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08fa5df106860f4c13f0bea23af97ce0a0a031464c6391702f6d99302bed9df", kill_on_drop: false }` [INFO] [stdout] b08fa5df106860f4c13f0bea23af97ce0a0a031464c6391702f6d99302bed9df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2de4d48dc467d2320a25ec074d5424c7f5e7475cbc4081301cf4d57c677fb1db [INFO] running `Command { std: "docker" "start" "-a" "2de4d48dc467d2320a25ec074d5424c7f5e7475cbc4081301cf4d57c677fb1db", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Cw20ExecuteMsg` [INFO] [stderr] --> src/contract.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | use cw20::{Cw20ExecuteMsg}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `my_nfts` [INFO] [stderr] --> src/contract.rs:118:10 [INFO] [stderr] | [INFO] [stderr] 118 | |my_nfts|->StdResult<_>{ [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_nfts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deps` [INFO] [stderr] --> src/contract.rs:556:31 [INFO] [stderr] | [INFO] [stderr] 556 | pub fn query_get_current_time(deps:Deps,env:Env) -> StdResult{ [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/contract.rs:578:21 [INFO] [stderr] | [INFO] [stderr] 578 | item.and_then(|(k, token_info)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: crate `Hope_Contract` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `hope_contract` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `Hope_Contract` (lib) generated 5 warnings (run `cargo fix --lib -p Hope_Contract` to apply 1 suggestion) [INFO] [stderr] warning: `Hope_Contract` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.74.0, wasmer-compiler-singlepass v2.0.0, wasmparser v0.78.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/Hope_Contract-a9500aab6cc95e55) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test contract::tests::testing ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- contract::tests::testing stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::testing' panicked at src/contract.rs:669:52: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Unauthorized [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x64fb460e6482 - std::backtrace_rs::backtrace::libunwind::trace::h8d95625898284e7d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64fb460e6482 - std::backtrace_rs::backtrace::trace_unsynchronized::h9eafd5c61303e492 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64fb460e6482 - std::sys::backtrace::_print_fmt::hec2578e807cc4a3f [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64fb460e6482 - ::fmt::hd8ebefbbcb1fe23a [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64fb4610dc43 - core::fmt::rt::Argument::fmt::h09f3c4b7b5ff5386 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/rt.rs:185:76 [INFO] [stdout] 5: 0x64fb4610dc43 - core::fmt::write::hef9d041e1d5d9592 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x64fb460e3213 - std::io::Write::write_fmt::h7cfb9383e0a29362 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x64fb460e62d2 - std::sys::backtrace::BacktraceLock::print::h263d323f217ce3a7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x64fb460e792a - std::panicking::default_hook::{{closure}}::h25050253f7dc0d3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x64fb460e7719 - std::panicking::default_hook::hf3291a4c87ea2887 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x64fb45ffb847 - as core::ops::function::Fn>::call::h51204ed24e282361 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x64fb45ffb847 - test::test_main::{{closure}}::h3588678a150ab7c4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x64fb460e8413 - as core::ops::function::Fn>::call::h95d63edfac47e230 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x64fb460e8413 - std::panicking::rust_panic_with_hook::h3550dbeaa1041124 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x64fb460e80ca - std::panicking::begin_panic_handler::{{closure}}::hde0dd646a9e2b5b7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x64fb460e6979 - std::sys::backtrace::__rust_end_short_backtrace::haeb22ba48b4d728e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x64fb460e7d5d - rust_begin_unwind [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x64fb4610c100 - core::panicking::panic_fmt::hca923aa694825dc3 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x64fb4610c5a6 - core::result::unwrap_failed::h1fd41ecb05679f50 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x64fb45f85686 - core::result::Result::unwrap::h871b048b1c843bd7 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x64fb45f85686 - Hope_Contract::contract::tests::testing::h2ff1bc7a57382409 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:669:9 [INFO] [stdout] 21: 0x64fb45f83d87 - Hope_Contract::contract::tests::testing::{{closure}}::haa0a4cf63e8f3854 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:623:17 [INFO] [stdout] 22: 0x64fb45fa2476 - core::ops::function::FnOnce::call_once::hdaf67864e243ab5d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x64fb4600112b - core::ops::function::FnOnce::call_once::hbd335dbb4bb5fce4 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x64fb4600112b - test::__rust_begin_short_backtrace::h04cc5e3b375a80f9 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:638:18 [INFO] [stdout] 25: 0x64fb460001e5 - test::run_test_in_process::{{closure}}::h820e05c00a84ca94 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:60 [INFO] [stdout] 26: 0x64fb460001e5 - as core::ops::function::FnOnce<()>>::call_once::h5d54c80bc199f62c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x64fb460001e5 - std::panicking::try::do_call::h832d61a9fc2b6e3e [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x64fb460001e5 - std::panicking::try::h9a404c5f3a090501 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x64fb460001e5 - std::panic::catch_unwind::hf5157d4c366d9053 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x64fb460001e5 - test::run_test_in_process::h671deca6957ee157 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:661:27 [INFO] [stdout] 31: 0x64fb460001e5 - test::run_test::{{closure}}::h8a18e214254d2663 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:582:43 [INFO] [stdout] 32: 0x64fb45fc31d4 - test::run_test::{{closure}}::ha2abac7cc0a13c10 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/test/src/lib.rs:612:41 [INFO] [stdout] 33: 0x64fb45fc31d4 - std::sys::backtrace::__rust_begin_short_backtrace::h013f8b8ca29e5f67 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x64fb45fc6d0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc0336636a8c55b05 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x64fb45fc6d0a - as core::ops::function::FnOnce<()>>::call_once::h256d9472a72a8c66 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x64fb45fc6d0a - std::panicking::try::do_call::hf49ea3ffcc3bd1db [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x64fb45fc6d0a - std::panicking::try::h2a067a3336161e1c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x64fb45fc6d0a - std::panic::catch_unwind::h931ea2a9df59b7fa [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x64fb45fc6d0a - std::thread::Builder::spawn_unchecked_::{{closure}}::haf08f1439431615c [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x64fb45fc6d0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd1dc5dd1edff0233 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x64fb460eba3b - as core::ops::function::FnOnce>::call_once::hf6ad22f40418d409 [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x64fb460eba3b - as core::ops::function::FnOnce>::call_once::h734c3e370b18da4b [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 43: 0x64fb460eba3b - std::sys::pal::unix::thread::Thread::new::thread_start::hfbde3a90511cd82d [INFO] [stdout] at /rustc/a7ce54db9b096bd1098d07c645b489195a667c9f/library/std/src/sys/pal/unix/thread.rs:109:17 [INFO] [stdout] 44: 0x780a8e5e0ac3 - [INFO] [stdout] 45: 0x780a8e671a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] contract::tests::testing [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "2de4d48dc467d2320a25ec074d5424c7f5e7475cbc4081301cf4d57c677fb1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de4d48dc467d2320a25ec074d5424c7f5e7475cbc4081301cf4d57c677fb1db", kill_on_drop: false }` [INFO] [stdout] 2de4d48dc467d2320a25ec074d5424c7f5e7475cbc4081301cf4d57c677fb1db