[INFO] cloning repository https://github.com/SuperVenus0725/PunksMint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperVenus0725/PunksMint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FPunksMint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FPunksMint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac58a78b5c356e03db41183299e56ece0afef813 [INFO] testing SuperVenus0725/PunksMint/ac58a78b5c356e03db41183299e56ece0afef813 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperVenus0725%2FPunksMint" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SuperVenus0725/PunksMint on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/SuperVenus0725/PunksMint [INFO] finished tweaking git repo https://github.com/SuperVenus0725/PunksMint [INFO] tweaked toml for git repo https://github.com/SuperVenus0725/PunksMint written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SuperVenus0725/PunksMint 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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ac0934be1526bdbeeed3f476b40ee38c53c79c83d2add489e93f15a1e4d2569 [INFO] running `Command { std: "docker" "start" "-a" "9ac0934be1526bdbeeed3f476b40ee38c53c79c83d2add489e93f15a1e4d2569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ac0934be1526bdbeeed3f476b40ee38c53c79c83d2add489e93f15a1e4d2569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ac0934be1526bdbeeed3f476b40ee38c53c79c83d2add489e93f15a1e4d2569", kill_on_drop: false }` [INFO] [stdout] 9ac0934be1526bdbeeed3f476b40ee38c53c79c83d2add489e93f15a1e4d2569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc3829e6682111b1bb7c71467f5f0e41409f36c01f4fb53d49126a7d157bd6a7 [INFO] running `Command { std: "docker" "start" "-a" "dc3829e6682111b1bb7c71467f5f0e41409f36c01f4fb53d49126a7d157bd6a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [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 serde_json v1.0.61 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [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.5.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling crypto-bigint v0.2.10 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling schemars_derive v0.8.6 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-beta6 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta6 [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta6 [INFO] [stderr] Compiling cw-utils v0.12.1 [INFO] [stderr] Compiling cw-storage-plus v0.12.1 [INFO] [stderr] Compiling cw-utils v0.11.1 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0-beta [INFO] [stderr] Compiling 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 Juno_Punks v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | |mut user_info|->StdResult<_>{ [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 `Juno_Punks` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `juno_punks` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.36s [INFO] running `Command { std: "docker" "inspect" "dc3829e6682111b1bb7c71467f5f0e41409f36c01f4fb53d49126a7d157bd6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3829e6682111b1bb7c71467f5f0e41409f36c01f4fb53d49126a7d157bd6a7", kill_on_drop: false }` [INFO] [stdout] dc3829e6682111b1bb7c71467f5f0e41409f36c01f4fb53d49126a7d157bd6a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f941c5a44a1e9e52743347b0a1e06348c659260cc6b1fd4c7f234a0b15e9318 [INFO] running `Command { std: "docker" "start" "-a" "4f941c5a44a1e9e52743347b0a1e06348c659260cc6b1fd4c7f234a0b15e9318", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling region v2.2.0 [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 cranelift-entity v0.74.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling loupe v0.1.3 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling tempfile v3.2.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 variable: `info` [INFO] [stdout] --> src/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | |mut user_info|->StdResult<_>{ [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 `Juno_Punks` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `juno_punks` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling enumset_derive v0.5.4 [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 dynasmrt v1.0.1 [INFO] [stderr] Compiling wasmer-engine-universal v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [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 Juno_Punks v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | |mut user_info|->StdResult<_>{ [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.34s [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" "4f941c5a44a1e9e52743347b0a1e06348c659260cc6b1fd4c7f234a0b15e9318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f941c5a44a1e9e52743347b0a1e06348c659260cc6b1fd4c7f234a0b15e9318", kill_on_drop: false }` [INFO] [stdout] 4f941c5a44a1e9e52743347b0a1e06348c659260cc6b1fd4c7f234a0b15e9318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d180fd1500a2f3d75703406b6477f86f39d567e53d94b147a6379180697d4da7 [INFO] running `Command { std: "docker" "start" "-a" "d180fd1500a2f3d75703406b6477f86f39d567e53d94b147a6379180697d4da7", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | info: MessageInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | env: Env, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | |mut user_info|->StdResult<_>{ [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 `Juno_Punks` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `juno_punks` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `Juno_Punks` (lib) generated 4 warnings (run `cargo fix --lib -p Juno_Punks` to apply 1 suggestion) [INFO] [stderr] warning: `Juno_Punks` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [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/Juno_Punks-576c6943a3f9d440) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test contract::tests::buy_token ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- contract::tests::buy_token stdout ---- [INFO] [stdout] thread 'contract::tests::buy_token' panicked at src/contract.rs:331:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Wasm(Execute { contract_addr: "nft_address1", msg: Binary(7b226d696e74223a7b22746f6b656e5f6964223a224a756e6f50756e6b732e31222c226f776e6572223a2263726561746f72222c22746f6b656e5f757269223a2275726c312e6a736f6e222c22657874656e73696f6e223a7b226e616d65223a2232222c226465736372697074696f6e223a2264657363222c22696d616765223a22696d616765222c22646e61223a22646e61222c2265646974696f6e223a312c2264617465223a3132332c2261747472696275746573223a5b7b2274726169745f74797065223a22313233222c2276616c7565223a22636c61757365227d5d2c22636f6d70696c6572223a22636f6d70696c6572227d7d7d), funds: [] }) [INFO] [stdout] right: Wasm(Execute { contract_addr: "nft_address1", msg: Binary(7b226d696e74223a7b22746f6b656e5f6964223a224a756e6f50756e6b732e31222c226f776e6572223a2263726561746f72222c22746f6b656e5f757269223a2275726c312e6a736f6e222c22657874656e73696f6e223a7b226e616d65223a6e756c6c2c226465736372697074696f6e223a6e756c6c2c22696d616765223a6e756c6c2c22646e61223a6e756c6c2c2265646974696f6e223a6e756c6c2c2264617465223a6e756c6c2c2261747472696275746573223a5b7b2274726169745f74797065223a6e756c6c2c2276616c7565223a6e756c6c7d5d2c22636f6d70696c6572223a6e756c6c7d7d7d), funds: [] }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x645fd9630fca - std::backtrace_rs::backtrace::libunwind::trace::h4d70d1fc3f387ba0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x645fd9630fca - std::backtrace_rs::backtrace::trace_unsynchronized::h36ec8598f89aa10d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x645fd9630fca - std::sys::backtrace::_print_fmt::h28554e34eddafd0e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x645fd9630fca - ::fmt::hcfddd6c618da2362 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x645fd9656993 - core::fmt::rt::Argument::fmt::h61c6663ef797a8d8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x645fd9656993 - core::fmt::write::hd107f06dbaee3bcd [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x645fd962e2c3 - std::io::Write::write_fmt::he91cdb71d5735485 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x645fd9630e12 - std::sys::backtrace::BacktraceLock::print::h0aaa3c788fc54962 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x645fd963242a - std::panicking::default_hook::{{closure}}::ha21be3bf10424d59 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x645fd9632234 - std::panicking::default_hook::h7c625ca31e6655f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x645fd9540929 - as core::ops::function::Fn>::call::h27e62728b51ac345 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x645fd9540929 - test::test_main::{{closure}}::hbed48e9da271eb2d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x645fd9632ac8 - as core::ops::function::Fn>::call::hd23f1b4f57a7d85e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x645fd9632ac8 - std::panicking::rust_panic_with_hook::h4dfaea2b0d4c7530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x645fd963288a - std::panicking::begin_panic_handler::{{closure}}::hb745add2af2f30cf [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x645fd96314a9 - std::sys::backtrace::__rust_end_short_backtrace::h06673da104b2a94d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x645fd963251c - rust_begin_unwind [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x645fd94c8a60 - core::panicking::panic_fmt::h7e8d81c8d715d530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x645fd94c8e2b - core::panicking::assert_failed_inner::hb732d27ddda1ebd6 [INFO] [stdout] 19: 0x645fd94edb8a - core::panicking::assert_failed::hba3c4d4ff974f398 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x645fd9508021 - Juno_Punks::contract::tests::buy_token::had3593f397373f99 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:331:9 [INFO] [stdout] 21: 0x645fd9504c37 - Juno_Punks::contract::tests::buy_token::{{closure}}::h49d926b8fd5afefd [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:232:19 [INFO] [stdout] 22: 0x645fd94f3e56 - core::ops::function::FnOnce::call_once::hc8a80eb34b8f6d35 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x645fd954521b - core::ops::function::FnOnce::call_once::h5ce2090d0ba06760 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x645fd954521b - test::__rust_begin_short_backtrace::h49e973657dd86077 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:621:18 [INFO] [stdout] 25: 0x645fd9544ae7 - test::run_test_in_process::{{closure}}::hb4c111032eacbf3c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:60 [INFO] [stdout] 26: 0x645fd9544ae7 - as core::ops::function::FnOnce<()>>::call_once::hc84870afebfce019 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x645fd9544ae7 - std::panicking::try::do_call::hce598b5d1a04cf08 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x645fd9544ae7 - std::panicking::try::h25a7aea9d63b441f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x645fd9544ae7 - std::panic::catch_unwind::h4b12b06a11af50d2 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x645fd9544ae7 - test::run_test_in_process::hd69883821bd30381 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:27 [INFO] [stdout] 31: 0x645fd9544ae7 - test::run_test::{{closure}}::he160a756db6d8677 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:565:43 [INFO] [stdout] 32: 0x645fd9509d14 - test::run_test::{{closure}}::h2e90a3191e3e0ce0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:595:41 [INFO] [stdout] 33: 0x645fd9509d14 - std::sys::backtrace::__rust_begin_short_backtrace::he01c960b1833637c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x645fd950d47e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30b75746266698d7 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 35: 0x645fd950d47e - as core::ops::function::FnOnce<()>>::call_once::h6a5dff2677e9a6c5 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x645fd950d47e - std::panicking::try::do_call::h5e069e9a53dd16f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x645fd950d47e - std::panicking::try::h0f789115e2be34bc [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x645fd950d47e - std::panic::catch_unwind::h5caa505f99ba7d23 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x645fd950d47e - std::thread::Builder::spawn_unchecked_::{{closure}}::ha405b857d4a0e18b [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 40: 0x645fd950d47e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3c96c07e3187855 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x645fd963681b - as core::ops::function::FnOnce>::call_once::hfe31dd51cc8f40d6 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x645fd963681b - as core::ops::function::FnOnce>::call_once::h424186ab2917e76f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x645fd963681b - std::sys::pal::unix::thread::Thread::new::thread_start::h5bbddfcb1fc1838d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7a20e97ebac3 - [INFO] [stdout] 45: 0x7a20e987ca04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] contract::tests::buy_token [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" "d180fd1500a2f3d75703406b6477f86f39d567e53d94b147a6379180697d4da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d180fd1500a2f3d75703406b6477f86f39d567e53d94b147a6379180697d4da7", kill_on_drop: false }` [INFO] [stdout] d180fd1500a2f3d75703406b6477f86f39d567e53d94b147a6379180697d4da7