[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/ce7bfba2fdcecbec0ea8e13f46dfa4b0d3f9facb against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FHopeGalaxyNewStaking" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuperVenus0725/HopeGalaxyNewStaking on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-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-1-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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars v0.8.6 [INFO] [stderr] Downloaded wasmer-object v2.0.0 [INFO] [stderr] Downloaded crypto-bigint v0.2.10 [INFO] [stderr] Downloaded wasmer-middlewares v2.0.0 [INFO] [stderr] Downloaded wasmer-derive v2.0.0 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded wasmer-engine v2.0.0 [INFO] [stderr] Downloaded wasmer-types v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Downloaded parity-wasm v0.42.1 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Downloaded wasmer v2.0.0 [INFO] [stderr] Downloaded rkyv v0.6.7 [INFO] [stderr] Downloaded wasmer-vm v2.0.0 [INFO] [stderr] Downloaded cw20 v0.12.1 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.0.0 [INFO] [stderr] Downloaded wasmer-engine-universal v2.0.0 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded cw-utils v0.12.1 [INFO] [stderr] Downloaded cw721 v0.12.0 [INFO] [stderr] Downloaded cw721-base v0.12.0 [INFO] [stderr] Downloaded schemars_derive v0.8.6 [INFO] [stderr] Downloaded rkyv_derive v0.6.7 [INFO] [stderr] Downloaded cw721 v0.11.1 [INFO] [stderr] Downloaded cosmwasm-vm v1.0.0-beta [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 321899fb974c9ad3b39b18747735ec5f0ffa86171a7593b724394ec9cb012531 [INFO] running `Command { std: "docker" "start" "-a" "321899fb974c9ad3b39b18747735ec5f0ffa86171a7593b724394ec9cb012531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "321899fb974c9ad3b39b18747735ec5f0ffa86171a7593b724394ec9cb012531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321899fb974c9ad3b39b18747735ec5f0ffa86171a7593b724394ec9cb012531", kill_on_drop: false }` [INFO] [stdout] 321899fb974c9ad3b39b18747735ec5f0ffa86171a7593b724394ec9cb012531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f7882357d1fc0bc6ebd84a1f8acd5842570914cc1820946e87a6512fc939053 [INFO] running `Command { std: "docker" "start" "-a" "8f7882357d1fc0bc6ebd84a1f8acd5842570914cc1820946e87a6512fc939053", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling typenum v1.12.0 [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 getrandom v0.2.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling group v0.10.0 [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 uint v0.9.1 [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 signature v1.3.1 [INFO] [stderr] Compiling sha2 v0.9.2 [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 cw2 v0.12.1 [INFO] [stderr] Compiling cw721 v0.12.0 [INFO] [stderr] Compiling cw721 v0.11.1 [INFO] [stderr] Compiling cw20 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` and `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` profile [unoptimized + debuginfo] target(s) in 16.57s [INFO] running `Command { std: "docker" "inspect" "8f7882357d1fc0bc6ebd84a1f8acd5842570914cc1820946e87a6512fc939053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7882357d1fc0bc6ebd84a1f8acd5842570914cc1820946e87a6512fc939053", kill_on_drop: false }` [INFO] [stdout] 8f7882357d1fc0bc6ebd84a1f8acd5842570914cc1820946e87a6512fc939053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42750fe09fbe16672231c2cd23adad900d85edef28235e12d0f7841b4901d7d2 [INFO] running `Command { std: "docker" "start" "-a" "42750fe09fbe16672231c2cd23adad900d85edef28235e12d0f7841b4901d7d2", 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 ident_case v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.5 [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 darling_core v0.12.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 rkyv_derive v0.6.7 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling loupe v0.1.3 [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 more-asserts v0.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling addr2line v0.14.1 [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 darling v0.12.4 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling wasmer-types v2.0.0 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.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-core v0.1.17 [INFO] [stderr] Compiling wasmer-compiler v2.0.0 [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 wasmer-engine v2.0.0 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling tracing v0.1.22 [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 leb128 v0.2.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling wasmer-object v2.0.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling wasmer-engine-universal v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta [INFO] [stdout] warning: unused imports: `AllNftInfoResponse` and `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 cranelift-codegen v0.74.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` and `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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 36.53s [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" "42750fe09fbe16672231c2cd23adad900d85edef28235e12d0f7841b4901d7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42750fe09fbe16672231c2cd23adad900d85edef28235e12d0f7841b4901d7d2", kill_on_drop: false }` [INFO] [stdout] 42750fe09fbe16672231c2cd23adad900d85edef28235e12d0f7841b4901d7d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f12771ae57a0e21a17b42faa991b2027393ab8331e5d42066029ce6cc2955d4 [INFO] running `Command { std: "docker" "start" "-a" "1f12771ae57a0e21a17b42faa991b2027393ab8331e5d42066029ce6cc2955d4", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AllNftInfoResponse` and `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 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/Hope_Contract-171e7aab69a4fc5a) [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 src/contract.rs:867:52: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: CanNotDistribute [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6073caf7ce55 - std::backtrace_rs::backtrace::libunwind::trace::h649ab3318d3445c5 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x6073caf7ce55 - std::backtrace_rs::backtrace::trace_unsynchronized::hf4bb60c3387150c3 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x6073caf7ce55 - std::sys::backtrace::_print_fmt::hd9186c800e44bd00 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:65:5 [INFO] [stdout] 3: 0x6073caf7ce55 - ::fmt::h1b9dad2a88e955ff [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:40:26 [INFO] [stdout] 4: 0x6073cafa292b - core::fmt::rt::Argument::fmt::h351a7824f737a6a0 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6073cafa292b - core::fmt::write::h4b5a1270214bc4a7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/fmt/mod.rs:1182:21 [INFO] [stdout] 6: 0x6073caf7a76f - std::io::Write::write_fmt::h9d1e399061051a36 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/io/mod.rs:1827:15 [INFO] [stdout] 7: 0x6073caf7e671 - std::sys::backtrace::BacktraceLock::print::h68d41b51481bce5c [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:43:9 [INFO] [stdout] 8: 0x6073caf7e671 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:269:22 [INFO] [stdout] 9: 0x6073caf7e218 - std::panicking::default_hook::h3cacb9c27561ad33 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:293:9 [INFO] [stdout] 10: 0x6073cae807ca - as core::ops::function::Fn>::call::hd212b1446b2b2077 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 [INFO] [stdout] 11: 0x6073cae807ca - test::test_main::{{closure}}::hd15ff34f3f68988b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:136:21 [INFO] [stdout] 12: 0x6073caf7ef0f - as core::ops::function::Fn>::call::hce7569f4ca5d1b64 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2084:9 [INFO] [stdout] 13: 0x6073caf7ef0f - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:808:13 [INFO] [stdout] 14: 0x6073caf7eb37 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x6073caf7d319 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x6073caf7e7c4 - rust_begin_unwind [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x6073cadec243 - core::panicking::panic_fmt::h3d8fc78294164da7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x6073cadec796 - core::result::unwrap_failed::hfa79a499befff387 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:1679:5 [INFO] [stdout] 19: 0x6073cadf660c - core::result::Result::unwrap::h957f2e7ba488fa3e [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/result.rs:1102:23 [INFO] [stdout] 20: 0x6073cadf660c - Hope_Contract::contract::tests::testing::hf747a7b1771c537c [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:867:9 [INFO] [stdout] 21: 0x6073cadeff57 - Hope_Contract::contract::tests::testing::{{closure}}::h3fba04d5aa1414fa [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:679:17 [INFO] [stdout] 22: 0x6073cae0a636 - core::ops::function::FnOnce::call_once::hcb6511789cd0d09f [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x6073cae84e0b - core::ops::function::FnOnce::call_once::h81f56a195fe4862e [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6073cae84e0b - test::__rust_begin_short_backtrace::h919c79c8b896f9e2 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:624:18 [INFO] [stdout] 25: 0x6073cae846b5 - test::run_test_in_process::{{closure}}::h7b3d5751c5b4dd75 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:647:60 [INFO] [stdout] 26: 0x6073cae846b5 - as core::ops::function::FnOnce<()>>::call_once::hdabd61465e4dbd80 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x6073cae846b5 - std::panicking::try::do_call::hc813c79fd64b0a90 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x6073cae846b5 - std::panicking::try::h055c5de7e7bfc209 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19 [INFO] [stdout] 29: 0x6073cae846b5 - std::panic::catch_unwind::h4265d6525195c807 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14 [INFO] [stdout] 30: 0x6073cae846b5 - test::run_test_in_process::he72c277a35f96567 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:647:27 [INFO] [stdout] 31: 0x6073cae846b5 - test::run_test::{{closure}}::h974e632522c0fbcf [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:568:43 [INFO] [stdout] 32: 0x6073cae4c6a4 - test::run_test::{{closure}}::hdc2c89ce8b601dda [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/test/src/lib.rs:598:41 [INFO] [stdout] 33: 0x6073cae4c6a4 - std::sys::backtrace::__rust_begin_short_backtrace::h342cb8e53aeb2076 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x6073cae4fdd2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h67b1b5c1709ad95b [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 35: 0x6073cae4fdd2 - as core::ops::function::FnOnce<()>>::call_once::hd8c7a030ea8b7676 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x6073cae4fdd2 - std::panicking::try::do_call::h512c2ab2c15b7d31 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x6073cae4fdd2 - std::panicking::try::h5c2903f8937bc868 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panicking.rs:521:19 [INFO] [stdout] 38: 0x6073cae4fdd2 - std::panic::catch_unwind::h242c80217c2dbece [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/panic.rs:350:14 [INFO] [stdout] 39: 0x6073cae4fdd2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6cb4494ebdd8caf7 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 40: 0x6073cae4fdd2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h42193b008049ba94 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x6073caf82fdb - as core::ops::function::FnOnce>::call_once::ha1963004222e7822 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 [INFO] [stdout] 42: 0x6073caf82fdb - as core::ops::function::FnOnce>::call_once::h1086ced1f7c494c2 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/alloc/src/boxed.rs:2070:9 [INFO] [stdout] 43: 0x6073caf82fdb - std::sys::pal::unix::thread::Thread::new::thread_start::ha8af9c992ef0b208 [INFO] [stdout] at /rustc/eeb90cda1969383f56a2637cbd3037bdf598841c/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7d12bee5cac3 - [INFO] [stdout] 45: 0x7d12beeeda04 - 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.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1f12771ae57a0e21a17b42faa991b2027393ab8331e5d42066029ce6cc2955d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f12771ae57a0e21a17b42faa991b2027393ab8331e5d42066029ce6cc2955d4", kill_on_drop: false }` [INFO] [stdout] 1f12771ae57a0e21a17b42faa991b2027393ab8331e5d42066029ce6cc2955d4