[INFO] cloning repository https://github.com/SuperVenus0725/HopeGalaxyNewStaking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperVenus0725/HopeGalaxyNewStaking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FHopeGalaxyNewStaking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FHopeGalaxyNewStaking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce7bfba2fdcecbec0ea8e13f46dfa4b0d3f9facb [INFO] testing SuperVenus0725/HopeGalaxyNewStaking against master#d3515155216e98c23440ea92c3f49c6a0d7101fc for pr-113843 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FHopeGalaxyNewStaking" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuperVenus0725/HopeGalaxyNewStaking on toolchain d3515155216e98c23440ea92c3f49c6a0d7101fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/SuperVenus0725/HopeGalaxyNewStaking [INFO] finished tweaking git repo https://github.com/SuperVenus0725/HopeGalaxyNewStaking [INFO] tweaked toml for git repo https://github.com/SuperVenus0725/HopeGalaxyNewStaking written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SuperVenus0725/HopeGalaxyNewStaking 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" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw721 v0.11.1 [INFO] [stderr] Downloaded cw721 v0.12.0 [INFO] [stderr] Downloaded enumset_derive v0.5.4 [INFO] [stderr] Downloaded wasmer-middlewares v2.0.0 [INFO] [stderr] Downloaded enumset v1.0.6 [INFO] [stderr] Downloaded loupe v0.1.3 [INFO] [stderr] Downloaded cw20 v0.12.1 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler v2.0.0 [INFO] [stderr] Downloaded rkyv_derive v0.6.7 [INFO] [stderr] Downloaded cw-storage-plus v0.12.1 [INFO] [stderr] Downloaded cw2 v0.12.1 [INFO] [stderr] Downloaded wasmer-engine-universal v2.0.0 [INFO] [stderr] Downloaded loupe-derive v0.1.3 [INFO] [stderr] Downloaded wasmer-derive v2.0.0 [INFO] [stderr] Downloaded memmap2 v0.2.0 [INFO] [stderr] Downloaded dynasmrt v1.0.1 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded cosmwasm-schema v1.0.0-beta [INFO] [stderr] Downloaded wasmer-object v2.0.0 [INFO] [stderr] Downloaded schemars_derive v0.8.6 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.0.0 [INFO] [stderr] Downloaded cosmwasm-storage v1.0.0-beta [INFO] [stderr] Downloaded schemars v0.8.6 [INFO] [stderr] Downloaded parity-wasm v0.42.1 [INFO] [stderr] Downloaded cw-storage-plus v0.11.1 [INFO] [stderr] Downloaded crypto-bigint v0.2.10 [INFO] [stderr] Downloaded cosmwasm-vm v1.0.0-beta [INFO] [stderr] Downloaded wasmer-vm v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Downloaded cw-utils v0.12.1 [INFO] [stderr] Downloaded rkyv v0.6.7 [INFO] [stderr] Downloaded der v0.4.4 [INFO] [stderr] Downloaded dynasm v1.0.1 [INFO] [stderr] Downloaded cw721-base v0.12.0 [INFO] [stderr] Downloaded wasmer v2.0.0 [INFO] [stderr] Downloaded wasmer-types v2.0.0 [INFO] [stderr] Downloaded wasmer-engine v2.0.0 [INFO] [stderr] Downloaded cw-utils v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6d3a846fcadf3ba9fe67356d4c225b43c12758935f4b037a74e75067035938f [INFO] running `Command { std: "docker" "start" "-a" "e6d3a846fcadf3ba9fe67356d4c225b43c12758935f4b037a74e75067035938f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6d3a846fcadf3ba9fe67356d4c225b43c12758935f4b037a74e75067035938f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d3a846fcadf3ba9fe67356d4c225b43c12758935f4b037a74e75067035938f", kill_on_drop: false }` [INFO] [stdout] e6d3a846fcadf3ba9fe67356d4c225b43c12758935f4b037a74e75067035938f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54063a5e4a3b04cdce83c994d9b27eeb0f4f4810df0aca36df672967a165f2b3 [INFO] running `Command { std: "docker" "start" "-a" "54063a5e4a3b04cdce83c994d9b27eeb0f4f4810df0aca36df672967a165f2b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [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 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 cpuid-bool v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling der v0.4.4 [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 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 getrandom v0.1.16 [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-bigint v0.2.10 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling signature v1.3.1 [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.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 imports: `AllNftInfoResponse`, `Cw721QueryMsg` [INFO] [stdout] --> src/contract.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use cw721::{Cw721ExecuteMsg, Cw721ReceiveMsg,Cw721QueryMsg, AllNftInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nft_address:String ; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 [unoptimized + debuginfo] target(s) in 18.59s [INFO] running `Command { std: "docker" "inspect" "54063a5e4a3b04cdce83c994d9b27eeb0f4f4810df0aca36df672967a165f2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54063a5e4a3b04cdce83c994d9b27eeb0f4f4810df0aca36df672967a165f2b3", kill_on_drop: false }` [INFO] [stdout] 54063a5e4a3b04cdce83c994d9b27eeb0f4f4810df0aca36df672967a165f2b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cc6a5fc7a923174717ea444a032d04b35b7869718cb93a4522ee346f6ba9349 [INFO] running `Command { std: "docker" "start" "-a" "1cc6a5fc7a923174717ea444a032d04b35b7869718cb93a4522ee346f6ba9349", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling region v2.2.0 [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [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 loupe v0.1.3 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regalloc v0.0.31 [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 gimli v0.24.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta [INFO] [stdout] warning: unused imports: `AllNftInfoResponse`, `Cw721QueryMsg` [INFO] [stdout] --> src/contract.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use cw721::{Cw721ExecuteMsg, Cw721ReceiveMsg,Cw721QueryMsg, AllNftInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nft_address:String ; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 darling v0.12.4 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling wasmer-compiler v2.0.0 [INFO] [stderr] Compiling cranelift-codegen v0.74.0 [INFO] [stderr] Compiling wasmer-engine v2.0.0 [INFO] [stderr] Compiling wasmer-object v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [INFO] [stderr] Compiling wasmer-engine-universal 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 imports: `AllNftInfoResponse`, `Cw721QueryMsg` [INFO] [stdout] --> src/contract.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use cw721::{Cw721ExecuteMsg, Cw721ReceiveMsg,Cw721QueryMsg, AllNftInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | let mut nft_address:String ; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 test [unoptimized + debuginfo] target(s) in 32.59s [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 2` [INFO] running `Command { std: "docker" "inspect" "1cc6a5fc7a923174717ea444a032d04b35b7869718cb93a4522ee346f6ba9349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc6a5fc7a923174717ea444a032d04b35b7869718cb93a4522ee346f6ba9349", kill_on_drop: false }` [INFO] [stdout] 1cc6a5fc7a923174717ea444a032d04b35b7869718cb93a4522ee346f6ba9349 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+d3515155216e98c23440ea92c3f49c6a0d7101fc" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6eca658a95b18c760ccafe35d9d6464ab2332b853496b7dc53d040570ad087ea [INFO] running `Command { std: "docker" "start" "-a" "6eca658a95b18c760ccafe35d9d6464ab2332b853496b7dc53d040570ad087ea", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AllNftInfoResponse`, `Cw721QueryMsg` [INFO] [stderr] --> src/contract.rs:12:46 [INFO] [stderr] | [INFO] [stderr] 12 | use cw721::{Cw721ExecuteMsg, Cw721ReceiveMsg,Cw721QueryMsg, AllNftInfoResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:195:9 [INFO] [stderr] | [INFO] [stderr] 195 | let mut nft_address:String ; [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [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 (run `cargo fix --lib -p Hope_Contract` to apply 2 suggestions) [INFO] [stderr] warning: `Hope_Contract` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/Hope_Contract-72826775f0446ca6) [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] "add nft address" [INFO] [stdout] "add token address" [INFO] [stdout] "set reward wallet" [INFO] [stdout] "set distribute period" [INFO] [stdout] "set staking period" [INFO] [stdout] "tokens of owner1" [INFO] [stdout] "tokens of owner2" [INFO] [stdout] "token informations of owner1" [INFO] [stdout] "unstake reveal1" [INFO] [stdout] thread 'contract::tests::testing' panicked at 'called `Result::unwrap()` on an `Err` value: CanNotDistribute', src/contract.rs:867:52 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e5bae8a0b1 - std::backtrace_rs::backtrace::libunwind::trace::h2703a10e9200794c [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e5bae8a0b1 - std::backtrace_rs::backtrace::trace_unsynchronized::h4844f7d488b44dc0 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e5bae8a0b1 - std::sys_common::backtrace::_print_fmt::hf45311442c372df0 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x55e5bae8a0b1 - ::fmt::h51751bf0e7490aba [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x55e5baeb41dc - core::fmt::rt::Argument::fmt::hd1fd9c2a99deb5d8 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/fmt/rt.rs:138:9 [INFO] [stdout] 5: 0x55e5baeb41dc - core::fmt::write::hbfbb2d31c1f0855c [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/fmt/mod.rs:1094:21 [INFO] [stdout] 6: 0x55e5bae8729e - std::io::Write::write_fmt::hbc06e15dd07a341d [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/io/mod.rs:1714:15 [INFO] [stdout] 7: 0x55e5bae89ec5 - std::sys_common::backtrace::_print::hdbe3ddcbbe0168c0 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x55e5bae89ec5 - std::sys_common::backtrace::print::hb26905a5b7786a7c [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x55e5bae8bbe3 - std::panicking::default_hook::{{closure}}::h8ebb81b0f88d6f0c [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:269:22 [INFO] [stdout] 10: 0x55e5bae8b880 - std::panicking::default_hook::h68ef778f73f0172f [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:285:9 [INFO] [stdout] 11: 0x55e5bad8d8a7 - as core::ops::function::Fn>::call::hae2e49ca62e027a7 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x55e5bad8d8a7 - test::test_main::{{closure}}::hfabcca8fcc567747 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x55e5bae8c2de - as core::ops::function::Fn>::call::h24d4a2aeda7029b9 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x55e5bae8c2de - std::panicking::rust_panic_with_hook::h802085966bb64488 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:709:13 [INFO] [stdout] 15: 0x55e5bae8c067 - std::panicking::begin_panic_handler::{{closure}}::h646997c92b8b8ce3 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:597:13 [INFO] [stdout] 16: 0x55e5bae8a516 - std::sys_common::backtrace::__rust_end_short_backtrace::h00c2f9b1ae29e02d [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys_common/backtrace.rs:151:18 [INFO] [stdout] 17: 0x55e5bae8bdb2 - rust_begin_unwind [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:593:5 [INFO] [stdout] 18: 0x55e5bacf74a3 - core::panicking::panic_fmt::hcb3f95bd29fc9a6f [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/panicking.rs:67:14 [INFO] [stdout] 19: 0x55e5bacf79f3 - core::result::unwrap_failed::h925ccb225247314d [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/result.rs:1651:5 [INFO] [stdout] 20: 0x55e5bad081eb - core::result::Result::unwrap::h21ace43073c4433a [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/result.rs:1076:23 [INFO] [stdout] 21: 0x55e5bad0f78d - Hope_Contract::contract::tests::testing::hf42d8f443cdf579b [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:867:9 [INFO] [stdout] 22: 0x55e5bad0a817 - Hope_Contract::contract::tests::testing::{{closure}}::hf4427085599001a3 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:679:18 [INFO] [stdout] 23: 0x55e5bad2fbe5 - core::ops::function::FnOnce::call_once::hae883dcd189b45e8 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x55e5bad92b4f - core::ops::function::FnOnce::call_once::h0617ecab077fa701 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x55e5bad92b4f - test::__rust_begin_short_backtrace::h5a61b0d3b3858a9e [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/test/src/lib.rs:626:18 [INFO] [stdout] 26: 0x55e5bad91b82 - test::run_test_in_process::{{closure}}::h612e19f1fff74c0b [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/test/src/lib.rs:649:60 [INFO] [stdout] 27: 0x55e5bad91b82 - as core::ops::function::FnOnce<()>>::call_once::h9c274bf226b4b405 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x55e5bad91b82 - std::panicking::try::do_call::h2e1fe1d6dd44ae26 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:500:40 [INFO] [stdout] 29: 0x55e5bad91b82 - std::panicking::try::hd56cf97b42cd7225 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:464:19 [INFO] [stdout] 30: 0x55e5bad91b82 - std::panic::catch_unwind::h73b3fd42fc280662 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x55e5bad91b82 - test::run_test_in_process::h89bc4bc707762a60 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/test/src/lib.rs:649:27 [INFO] [stdout] 32: 0x55e5bad91b82 - test::run_test::{{closure}}::hbb9d716625919f12 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/test/src/lib.rs:572:43 [INFO] [stdout] 33: 0x55e5bad589e4 - test::run_test::{{closure}}::h6b8e0276183b66a8 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/test/src/lib.rs:600:41 [INFO] [stdout] 34: 0x55e5bad589e4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hedd230a3e26fe7ae [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys_common/backtrace.rs:135:18 [INFO] [stdout] 35: 0x55e5bad5e6bb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h4db94156f406f673 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x55e5bad5e6bb - as core::ops::function::FnOnce<()>>::call_once::hbd354b464352c928 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x55e5bad5e6bb - std::panicking::try::do_call::ha2cf3b8f2d86484e [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:500:40 [INFO] [stdout] 38: 0x55e5bad5e6bb - std::panicking::try::h0f17c2aad7c9cec6 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panicking.rs:464:19 [INFO] [stdout] 39: 0x55e5bad5e6bb - std::panic::catch_unwind::hf1265b3f74892fe9 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x55e5bad5e6bb - std::thread::Builder::spawn_unchecked_::{{closure}}::h34c179833b973108 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x55e5bad5e6bb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hfb7aff8ad36f3e68 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x55e5bae908e5 - as core::ops::function::FnOnce>::call_once::h97566ec5ca724d12 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 43: 0x55e5bae908e5 - as core::ops::function::FnOnce>::call_once::h8965e3547219fbf7 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 44: 0x55e5bae908e5 - std::sys::unix::thread::Thread::new::thread_start::hfb921fb13d012ef9 [INFO] [stdout] at /rustc/d3515155216e98c23440ea92c3f49c6a0d7101fc/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7f4095e25b43 - [INFO] [stdout] 46: 0x7f4095eb6bb4 - __clone [INFO] [stdout] 47: 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" "6eca658a95b18c760ccafe35d9d6464ab2332b853496b7dc53d040570ad087ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eca658a95b18c760ccafe35d9d6464ab2332b853496b7dc53d040570ad087ea", kill_on_drop: false }` [INFO] [stdout] 6eca658a95b18c760ccafe35d9d6464ab2332b853496b7dc53d040570ad087ea