[INFO] cloning repository https://github.com/SuperVenus0725/StakingContract-Juno- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperVenus0725/StakingContract-Juno-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FStakingContract-Juno-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FStakingContract-Juno-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62c253b8e62b0de67bb151d554cce3af7619465b [INFO] testing SuperVenus0725/StakingContract-Juno-/62c253b8e62b0de67bb151d554cce3af7619465b against master#8c0ec05f7dc9ef185eea9f36c5638e74e43935bf for pr-130285 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FStakingContract-Juno-" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuperVenus0725/StakingContract-Juno- on toolchain 8c0ec05f7dc9ef185eea9f36c5638e74e43935bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/SuperVenus0725/StakingContract-Juno- [INFO] finished tweaking git repo https://github.com/SuperVenus0725/StakingContract-Juno- [INFO] tweaked toml for git repo https://github.com/SuperVenus0725/StakingContract-Juno- written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SuperVenus0725/StakingContract-Juno- 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" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-derive v1.0.0-beta6 [INFO] [stderr] Downloaded cw721 v0.11.1 [INFO] [stderr] Downloaded cw721 v0.12.0 [INFO] [stderr] Downloaded cosmwasm-std v1.0.0-beta6 [INFO] [stderr] Downloaded cosmwasm-crypto v1.0.0-beta6 [INFO] [stderr] Downloaded cw721-base v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8d7a2519e6345e27a8a6a4a2b831dfa1175bd04c1f332d76759919919f34e74 [INFO] running `Command { std: "docker" "start" "-a" "f8d7a2519e6345e27a8a6a4a2b831dfa1175bd04c1f332d76759919919f34e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8d7a2519e6345e27a8a6a4a2b831dfa1175bd04c1f332d76759919919f34e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d7a2519e6345e27a8a6a4a2b831dfa1175bd04c1f332d76759919919f34e74", kill_on_drop: false }` [INFO] [stdout] f8d7a2519e6345e27a8a6a4a2b831dfa1175bd04c1f332d76759919919f34e74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00b78f7457f38373ea0c5e75ae9c0a2d097f5ae13f4ebd9be568210eff4c32f0 [INFO] running `Command { std: "docker" "start" "-a" "00b78f7457f38373ea0c5e75ae9c0a2d097f5ae13f4ebd9be568210eff4c32f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 serde v1.0.120 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [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 quote v1.0.8 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [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 crypto-bigint v0.2.10 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [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 cw-storage-plus v0.11.1 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0-beta [INFO] [stderr] Compiling cw721 v0.12.0 [INFO] [stderr] Compiling cw20 v0.12.1 [INFO] [stderr] Compiling cw721 v0.11.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 variable: `my_nfts` [INFO] [stdout] --> src/contract.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | |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: `k` [INFO] [stdout] --> src/contract.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.56s [INFO] running `Command { std: "docker" "inspect" "00b78f7457f38373ea0c5e75ae9c0a2d097f5ae13f4ebd9be568210eff4c32f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b78f7457f38373ea0c5e75ae9c0a2d097f5ae13f4ebd9be568210eff4c32f0", kill_on_drop: false }` [INFO] [stdout] 00b78f7457f38373ea0c5e75ae9c0a2d097f5ae13f4ebd9be568210eff4c32f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d00ae7d534799ebf04b8df448afe3a689d2464769c0ac1b853876c2664f6e38e [INFO] running `Command { std: "docker" "start" "-a" "d00ae7d534799ebf04b8df448afe3a689d2464769c0ac1b853876c2664f6e38e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [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 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 seahash v4.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling adler v0.2.3 [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 const_fn v0.4.5 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling loupe v0.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta [INFO] [stdout] warning: unused variable: `my_nfts` [INFO] [stdout] --> src/contract.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | |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: `k` [INFO] [stdout] --> src/contract.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | 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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmer-types v2.0.0 [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling cranelift-codegen v0.74.0 [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-engine-universal v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [INFO] [stderr] Compiling dynasmrt v1.0.1 [INFO] [stderr] Compiling wasmer-compiler-singlepass 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 variable: `my_nfts` [INFO] [stdout] --> src/contract.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | |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: `k` [INFO] [stdout] --> src/contract.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.44s [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" "d00ae7d534799ebf04b8df448afe3a689d2464769c0ac1b853876c2664f6e38e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d00ae7d534799ebf04b8df448afe3a689d2464769c0ac1b853876c2664f6e38e", kill_on_drop: false }` [INFO] [stdout] d00ae7d534799ebf04b8df448afe3a689d2464769c0ac1b853876c2664f6e38e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+8c0ec05f7dc9ef185eea9f36c5638e74e43935bf" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 981af24a673de9559b54432a046118397893b5ee2f99ccc483c603f96ca5966f [INFO] running `Command { std: "docker" "start" "-a" "981af24a673de9559b54432a046118397893b5ee2f99ccc483c603f96ca5966f", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `my_nfts` [INFO] [stderr] --> src/contract.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 119 | |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: `k` [INFO] [stderr] --> src/contract.rs:608:21 [INFO] [stderr] | [INFO] [stderr] 608 | 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 3 warnings [INFO] [stderr] warning: `Hope_Contract` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [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-9f4b791cc286c0ce) [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] thread 'contract::tests::testing' panicked at src/contract.rs:774:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Uint128(1) [INFO] [stdout] right: Uint128(2) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5af5d4023c9a - std::backtrace_rs::backtrace::libunwind::trace::hb26ad70b37260289 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5af5d4023c9a - std::backtrace_rs::backtrace::trace_unsynchronized::h2c0187153633e231 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5af5d4023c9a - std::sys::backtrace::_print_fmt::ha9596eb1af5e3a29 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5af5d4023c9a - ::fmt::h8f2981dcab006960 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5af5d404a54b - core::fmt::rt::Argument::fmt::h1029a118dbae0125 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5af5d404a54b - core::fmt::write::h25ada94a2189c1b9 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x5af5d4020993 - std::io::Write::write_fmt::h6ca394d5de12dd64 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x5af5d4023ae2 - std::sys::backtrace::BacktraceLock::print::hc25a90d456c1b686 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5af5d4025415 - std::panicking::default_hook::{{closure}}::h73dd81cb71929aa4 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5af5d4025208 - std::panicking::default_hook::h0e337668e919fc53 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5af5d3f34329 - as core::ops::function::Fn>::call::h0a5b2697e83d3de2 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 11: 0x5af5d3f34329 - test::test_main::{{closure}}::ha5c571fce018b26f [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x5af5d4025b28 - as core::ops::function::Fn>::call::h41d416f4073097a8 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2243:9 [INFO] [stdout] 13: 0x5af5d4025b28 - std::panicking::rust_panic_with_hook::h442c26b690a626f4 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5af5d40258f7 - std::panicking::begin_panic_handler::{{closure}}::h7cfa3ab758eb5a73 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x5af5d4024179 - std::sys::backtrace::__rust_end_short_backtrace::hf609a1dcd6f8b9f9 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5af5d4025584 - rust_begin_unwind [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5af5d40489d3 - core::panicking::panic_fmt::he4002baf06927918 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5af5d4048dd4 - core::panicking::assert_failed_inner::h91fb4a8613a12d33 [INFO] [stdout] 19: 0x5af5d3eb5d3c - core::panicking::assert_failed::hb1dcc5d09f1d75fc [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x5af5d3ecf08d - Hope_Contract::contract::tests::testing::h012326df25112739 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:774:9 [INFO] [stdout] 21: 0x5af5d3ecac17 - Hope_Contract::contract::tests::testing::{{closure}}::h4bc1ebe8b308ffbe [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:653:17 [INFO] [stdout] 22: 0x5af5d3ee93c6 - core::ops::function::FnOnce::call_once::he6680b9e82e08789 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5af5d3f38c9b - core::ops::function::FnOnce::call_once::he9dcba90b82d8683 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5af5d3f38c9b - test::__rust_begin_short_backtrace::hd3c7d260f12c8c4c [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:620:18 [INFO] [stdout] 25: 0x5af5d3f38518 - test::run_test_in_process::{{closure}}::h2a83a0a65ed3c222 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:643:60 [INFO] [stdout] 26: 0x5af5d3f38518 - as core::ops::function::FnOnce<()>>::call_once::h86af6a43b3d339fd [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5af5d3f38518 - std::panicking::try::do_call::h06bb3a6ef41e33d4 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x5af5d3f38518 - std::panicking::try::hbe4ce21e81168e19 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x5af5d3f38518 - std::panic::catch_unwind::h9216a5b93914ba30 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panic.rs:345:14 [INFO] [stdout] 30: 0x5af5d3f38518 - test::run_test_in_process::hd5f710dbb42ac3ac [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:643:27 [INFO] [stdout] 31: 0x5af5d3f38518 - test::run_test::{{closure}}::ha3c5aa83f018eb90 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:564:43 [INFO] [stdout] 32: 0x5af5d3efc814 - test::run_test::{{closure}}::h106c33754fb7ad93 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/test/src/lib.rs:594:41 [INFO] [stdout] 33: 0x5af5d3efc814 - std::sys::backtrace::__rust_begin_short_backtrace::h72b607f200d489e1 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x5af5d3efff62 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4c13dee51575b1d5 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 35: 0x5af5d3efff62 - as core::ops::function::FnOnce<()>>::call_once::hc15ba15cced82411 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5af5d3efff62 - std::panicking::try::do_call::ha2b96a5442f2b7a6 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x5af5d3efff62 - std::panicking::try::h3249b845d1609c7f [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x5af5d3efff62 - std::panic::catch_unwind::hb1234c1714481772 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/panic.rs:345:14 [INFO] [stdout] 39: 0x5af5d3efff62 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf2ecca2087a712d7 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 40: 0x5af5d3efff62 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h33604033fff0c135 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5af5d4029b3b - as core::ops::function::FnOnce>::call_once::hed0705102829bfb8 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 42: 0x5af5d4029b3b - as core::ops::function::FnOnce>::call_once::h88dbb0360840e1a3 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/alloc/src/boxed.rs:2229:9 [INFO] [stdout] 43: 0x5af5d4029b3b - std::sys::pal::unix::thread::Thread::new::thread_start::hed3d760d9bfb1ad1 [INFO] [stdout] at /rustc/8c0ec05f7dc9ef185eea9f36c5638e74e43935bf/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x72cb599b8ac3 - [INFO] [stdout] 45: 0x72cb59a49a04 - 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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "981af24a673de9559b54432a046118397893b5ee2f99ccc483c603f96ca5966f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "981af24a673de9559b54432a046118397893b5ee2f99ccc483c603f96ca5966f", kill_on_drop: false }` [INFO] [stdout] 981af24a673de9559b54432a046118397893b5ee2f99ccc483c603f96ca5966f