[INFO] cloning repository https://github.com/elitexdream/cw20_with_fee [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elitexdream/cw20_with_fee" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felitexdream%2Fcw20_with_fee", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felitexdream%2Fcw20_with_fee'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e9cd3922d38919a33f6345d9f01190321d6401d [INFO] testing elitexdream/cw20_with_fee against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felitexdream%2Fcw20_with_fee" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/elitexdream/cw20_with_fee [INFO] finished tweaking git repo https://github.com/elitexdream/cw20_with_fee [INFO] tweaked toml for git repo https://github.com/elitexdream/cw20_with_fee written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elitexdream/cw20_with_fee on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elitexdream/cw20_with_fee 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rkyv v0.6.7 [INFO] [stderr] Downloaded wasmer-middlewares v2.0.0 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded schemars_derive v0.8.6 [INFO] [stderr] Downloaded wasmer-types v2.0.0 [INFO] [stderr] Downloaded schemars v0.8.6 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Downloaded wasmer-vm v2.0.0 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded cosmwasm-schema v1.0.0-beta [INFO] [stderr] Downloaded target-lexicon v0.12.2 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded which v4.0.2 [INFO] [stderr] Downloaded cosmwasm-storage v1.0.0-beta [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded dynasm v1.0.1 [INFO] [stderr] Downloaded wasi v0.10.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded wasmer v2.0.0 [INFO] [stderr] Downloaded parity-wasm v0.42.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.4 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.0.0 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded enumset_derive v0.5.4 [INFO] [stderr] Downloaded cosmwasm-vm v1.0.0-beta [INFO] [stderr] Downloaded k256 v0.9.6 [INFO] [stderr] Downloaded cosmwasm-std v1.0.0-beta [INFO] [stderr] Downloaded rand v0.8.2 [INFO] [stderr] Downloaded backtrace v0.3.56 [INFO] [stderr] Downloaded wasmer-compiler v2.0.0 [INFO] [stderr] Downloaded wasmer-engine v2.0.0 [INFO] [stderr] Downloaded wasmer-engine-universal v2.0.0 [INFO] [stderr] Downloaded loupe v0.1.3 [INFO] [stderr] Downloaded rkyv_derive v0.6.7 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded elliptic-curve v0.10.6 [INFO] [stderr] Downloaded dynasmrt v1.0.1 [INFO] [stderr] Downloaded wasmer-derive v2.0.0 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] [stderr] Downloaded wasmer-object v2.0.0 [INFO] [stderr] Downloaded loupe-derive v0.1.3 [INFO] [stderr] Downloaded crypto-bigint v0.2.10 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded cosmwasm-crypto v1.0.0-beta [INFO] [stderr] Downloaded cosmwasm-derive v1.0.0-beta [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded memmap2 v0.2.0 [INFO] [stderr] Downloaded enumset v1.0.6 [INFO] [stderr] Downloaded der v0.4.4 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b8bd52e66f848c1022fadceadb8dce1f86b0e74ccbacd0cfe5fb25052ee0df7 [INFO] running `Command { std: "docker" "start" "-a" "4b8bd52e66f848c1022fadceadb8dce1f86b0e74ccbacd0cfe5fb25052ee0df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b8bd52e66f848c1022fadceadb8dce1f86b0e74ccbacd0cfe5fb25052ee0df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8bd52e66f848c1022fadceadb8dce1f86b0e74ccbacd0cfe5fb25052ee0df7", kill_on_drop: false }` [INFO] [stdout] 4b8bd52e66f848c1022fadceadb8dce1f86b0e74ccbacd0cfe5fb25052ee0df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7eaee856f69a006815459f8832c2b16bed0c638213b6c69762fbda0809d10e72 [INFO] running `Command { std: "docker" "start" "-a" "7eaee856f69a006815459f8832c2b16bed0c638213b6c69762fbda0809d10e72", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.10 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling sha2 v0.9.2 [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-beta [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta [INFO] [stderr] Compiling cosmwasm-storage v1.0.0-beta [INFO] [stderr] Compiling cw-erc20 v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.34s [INFO] running `Command { std: "docker" "inspect" "7eaee856f69a006815459f8832c2b16bed0c638213b6c69762fbda0809d10e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eaee856f69a006815459f8832c2b16bed0c638213b6c69762fbda0809d10e72", kill_on_drop: false }` [INFO] [stdout] 7eaee856f69a006815459f8832c2b16bed0c638213b6c69762fbda0809d10e72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8ac1cc2842c753b87643966f4b74f8987caa48b5b23a3159507365d2191a74a6 [INFO] running `Command { std: "docker" "start" "-a" "8ac1cc2842c753b87643966f4b74f8987caa48b5b23a3159507365d2191a74a6", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling target-lexicon v0.12.2 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [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 cc v1.0.66 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [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 ptr_meta v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasmparser v0.78.2 [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 cranelift-entity v0.74.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling loupe v0.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling rand v0.8.2 [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 addr2line v0.14.1 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling backtrace v0.3.56 [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: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling wasmer-types v2.0.0 [INFO] [stderr] Compiling tracing v0.1.22 [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 cw-erc20 v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1341:53 [INFO] [stdout] | [INFO] [stdout] 1341 | let (env, info) = mock_env_height(&owner.clone(), 450, 550); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1348:40 [INFO] [stdout] | [INFO] [stdout] 1348 | attr("owner", owner.clone().to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1353:66 [INFO] [stdout] | [INFO] [stdout] 1353 | get_balance(&deps.storage, &Addr::unchecked(owner.clone())), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1357:68 [INFO] [stdout] | [INFO] [stdout] 1357 | get_allowance(&deps.storage, &Addr::unchecked(owner.clone()), &spender), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1362:29 [INFO] [stdout] | [INFO] [stdout] 1362 | owner: owner.clone().to_string().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1402:53 [INFO] [stdout] | [INFO] [stdout] 1402 | let (env, info) = mock_env_height(&owner.clone(), 450, 550); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1409:40 [INFO] [stdout] | [INFO] [stdout] 1409 | attr("owner", owner.clone().to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1420:29 [INFO] [stdout] | [INFO] [stdout] 1420 | owner: owner.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1451:53 [INFO] [stdout] | [INFO] [stdout] 1451 | let (env, info) = mock_env_height(&owner.clone(), 450, 550); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1458:40 [INFO] [stdout] | [INFO] [stdout] 1458 | attr("owner", owner.clone().to_string()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1469:29 [INFO] [stdout] | [INFO] [stdout] 1469 | owner: owner.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.26s [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" "8ac1cc2842c753b87643966f4b74f8987caa48b5b23a3159507365d2191a74a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac1cc2842c753b87643966f4b74f8987caa48b5b23a3159507365d2191a74a6", kill_on_drop: false }` [INFO] [stdout] 8ac1cc2842c753b87643966f4b74f8987caa48b5b23a3159507365d2191a74a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eba289561dd8639a030708c72f8f5aa1a545c6f4c5cd2169d6ae6be361c6ad6f [INFO] running `Command { std: "docker" "start" "-a" "eba289561dd8639a030708c72f8f5aa1a545c6f4c5cd2169d6ae6be361c6ad6f", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: `cw-erc20` (lib) generated 1 warning [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1341:53 [INFO] [stderr] | [INFO] [stderr] 1341 | let (env, info) = mock_env_height(&owner.clone(), 450, 550); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1348:40 [INFO] [stderr] | [INFO] [stderr] 1348 | attr("owner", owner.clone().to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1353:66 [INFO] [stderr] | [INFO] [stderr] 1353 | get_balance(&deps.storage, &Addr::unchecked(owner.clone())), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1357:68 [INFO] [stderr] | [INFO] [stderr] 1357 | get_allowance(&deps.storage, &Addr::unchecked(owner.clone()), &spender), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1362:29 [INFO] [stderr] | [INFO] [stderr] 1362 | owner: owner.clone().to_string().to_string(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1402:53 [INFO] [stderr] | [INFO] [stderr] 1402 | let (env, info) = mock_env_height(&owner.clone(), 450, 550); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1409:40 [INFO] [stderr] | [INFO] [stderr] 1409 | attr("owner", owner.clone().to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1420:29 [INFO] [stderr] | [INFO] [stderr] 1420 | owner: owner.clone().to_string(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1451:53 [INFO] [stderr] | [INFO] [stderr] 1451 | let (env, info) = mock_env_height(&owner.clone(), 450, 550); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1458:40 [INFO] [stderr] | [INFO] [stderr] 1458 | attr("owner", owner.clone().to_string()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1469:29 [INFO] [stderr] | [INFO] [stderr] 1469 | owner: owner.clone().to_string(), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `cw-erc20` (lib test) generated 11 warnings (run `cargo fix --lib -p cw-erc20 --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [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/x86_64-unknown-linux-musl/debug/deps/cw_erc20-fbd10d67f51bb9dc) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test contract::tests::approve::has_zero_allowance_by_default ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_large_decimals ... ok [INFO] [stdout] test contract::tests::burn::fails_on_insufficient_balance ... ok [INFO] [stdout] test contract::tests::burn::can_burn_zero_amount ... ok [INFO] [stdout] test contract::tests::burn::can_burn_from_existing_account ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_name_too_long ... ok [INFO] [stdout] test contract::tests::approve::can_set_allowance ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_name_too_short ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_symbol_lowercase ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_symbol_too_long ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_symbol_too_short ... ok [INFO] [stdout] test contract::tests::instantiate::works ... ok [INFO] [stdout] test contract::tests::instantiate::works_with_balance_larger_than_53_bit ... ok [INFO] [stdout] test contract::tests::instantiate::works_with_balance_larger_than_64_bit ... ok [INFO] [stdout] test contract::tests::instantiate::works_with_empty_balance ... ok [INFO] [stdout] test contract::tests::instantiate::works_with_multiple_balances ... ok [INFO] [stdout] test contract::tests::query::can_query_allowance_of_existing_addresses ... ok [INFO] [stdout] test contract::tests::query::can_query_balance_of_existing_address ... ok [INFO] [stdout] test contract::tests::query::can_query_allowance_of_nonexisting_owner ... ok [INFO] [stdout] test contract::tests::query::can_query_balance_of_nonexisting_address ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_existing_recipient ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_non_existent_recipient ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_sender ... ok [INFO] [stdout] test contract::tests::transfer::can_send_zero_amount ... ok [INFO] [stdout] test contract::tests::transfer::fails_on_insufficient_balance ... ok [INFO] [stdout] test contract::tests::transfer_from::fails_when_allowance_is_set_but_balance_too_low ... ok [INFO] [stdout] test contract::tests::transfer_from::fails_when_allowance_too_low ... ok [INFO] [stdout] test contract::tests::transfer_from::works ... ok [INFO] [stdout] test contract::tests::transfer_with_fee::can_send_with_fee ... ok [INFO] [stdout] test contract::tests::transfer_with_fee::send_token_and_withdraw ... ok [INFO] [stdout] test contract::tests::transfer_with_fee::set_fee_percentage ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eba289561dd8639a030708c72f8f5aa1a545c6f4c5cd2169d6ae6be361c6ad6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba289561dd8639a030708c72f8f5aa1a545c6f4c5cd2169d6ae6be361c6ad6f", kill_on_drop: false }` [INFO] [stdout] eba289561dd8639a030708c72f8f5aa1a545c6f4c5cd2169d6ae6be361c6ad6f