[INFO] fetching crate cw-erc20 0.10.0... [INFO] testing cw-erc20-0.10.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cw-erc20 0.10.0 into /workspace/builds/worker-0-tc1/source [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking crates.io crate cw-erc20 0.10.0 [INFO] finished tweaking crates.io crate cw-erc20 0.10.0 [INFO] tweaked toml for crates.io crate cw-erc20 0.10.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cw-erc20 0.10.0 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 crates.io crate cw-erc20 0.10.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmer-middlewares v1.0.2 [INFO] [stderr] Downloaded wat v1.0.33 [INFO] [stderr] Downloaded cosmwasm-schema v0.14.0 [INFO] [stderr] Downloaded wasmer-derive v1.0.2 [INFO] [stderr] Downloaded cranelift-entity v0.68.0 [INFO] [stderr] Downloaded wasmer-types v1.0.2 [INFO] [stderr] Downloaded cosmwasm-derive v0.14.0 [INFO] [stderr] Downloaded wasmer-object v1.0.2 [INFO] [stderr] Downloaded wasmer-vm v1.0.2 [INFO] [stderr] Downloaded cosmwasm-storage v0.14.0 [INFO] [stderr] Downloaded ff v0.8.0 [INFO] [stderr] Downloaded der v0.1.0 [INFO] [stderr] Downloaded k256 v0.7.3 [INFO] [stderr] Downloaded cosmwasm-std v0.14.0 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v1.0.2 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.68.0 [INFO] [stderr] Downloaded wasmparser v0.65.0 [INFO] [stderr] Downloaded wast v32.0.0 [INFO] [stderr] Downloaded bitvec v0.18.5 [INFO] [stderr] Downloaded pkcs8 v0.3.3 [INFO] [stderr] Downloaded elliptic-curve v0.8.5 [INFO] [stderr] Downloaded cranelift-frontend v0.68.0 [INFO] [stderr] Downloaded const-oid v0.4.5 [INFO] [stderr] Downloaded cranelift-bforest v0.68.0 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded wasmer-engine v1.0.2 [INFO] [stderr] Downloaded target-lexicon v0.11.1 [INFO] [stderr] Downloaded wasmer-compiler v1.0.2 [INFO] [stderr] Downloaded wasmer-engine-native v1.0.2 [INFO] [stderr] Downloaded ecdsa v0.10.2 [INFO] [stderr] Downloaded group v0.8.0 [INFO] [stderr] Downloaded cosmwasm-crypto v0.14.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.68.0 [INFO] [stderr] Downloaded wasmer-engine-jit v1.0.2 [INFO] [stderr] Downloaded wasmer v1.0.2 [INFO] [stderr] Downloaded cranelift-codegen v0.68.0 [INFO] [stderr] Downloaded cosmwasm-vm v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3d7671958ef34987ec3cfb5344b93b5cb40700a8a16ea61d7cd55e3478b897d [INFO] running `Command { std: "docker" "start" "-a" "c3d7671958ef34987ec3cfb5344b93b5cb40700a8a16ea61d7cd55e3478b897d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3d7671958ef34987ec3cfb5344b93b5cb40700a8a16ea61d7cd55e3478b897d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d7671958ef34987ec3cfb5344b93b5cb40700a8a16ea61d7cd55e3478b897d", kill_on_drop: false }` [INFO] [stdout] c3d7671958ef34987ec3cfb5344b93b5cb40700a8a16ea61d7cd55e3478b897d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] c8197e9e48f03af372ceda413cfce6f2006322f164707f1614cd4b9e3500a192 [INFO] running `Command { std: "docker" "start" "-a" "c8197e9e48f03af372ceda413cfce6f2006322f164707f1614cd4b9e3500a192", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.14.0 [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 v0.14.0 [INFO] [stderr] Compiling cosmwasm-std v0.14.0 [INFO] [stderr] Compiling cosmwasm-storage v0.14.0 [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 41.22s [INFO] running `Command { std: "docker" "inspect" "c8197e9e48f03af372ceda413cfce6f2006322f164707f1614cd4b9e3500a192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8197e9e48f03af372ceda413cfce6f2006322f164707f1614cd4b9e3500a192", kill_on_drop: false }` [INFO] [stdout] c8197e9e48f03af372ceda413cfce6f2006322f164707f1614cd4b9e3500a192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] 79532318bd58248daf6ec943ba02cde3cc3e13ea36d81801f6b7b457d6940272 [INFO] running `Command { std: "docker" "start" "-a" "79532318bd58248daf6ec943ba02cde3cc3e13ea36d81801f6b7b457d6940272", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling target-lexicon v0.11.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling adler v0.2.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 indexmap v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling wasmer-types v1.0.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling wasmer-vm v1.0.2 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasmparser v0.65.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.1 [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 ppv-lite86 v0.2.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling gimli v0.22.0 [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 cranelift-bforest v0.68.0 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling wasmer-compiler v1.0.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling wasmer-engine v1.0.2 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Compiling wasmer-object v1.0.2 [INFO] [stderr] Compiling wast v32.0.0 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wasmer-engine-jit v1.0.2 [INFO] [stderr] Compiling wasmer-derive v1.0.2 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling wasmer-engine-native v1.0.2 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling cosmwasm-schema v0.14.0 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wat v1.0.33 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 [INFO] [stderr] Compiling dynasmrt v1.0.1 [INFO] [stderr] Compiling wasmer-compiler-singlepass v1.0.2 [INFO] [stderr] Compiling cranelift-frontend v0.68.0 [INFO] [stderr] Compiling wasmer v1.0.2 [INFO] [stderr] Compiling wasmer-middlewares v1.0.2 [INFO] [stderr] Compiling cosmwasm-vm v0.14.0 [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:1066:53 [INFO] [stdout] | [INFO] [stdout] 1066 | 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:1073:40 [INFO] [stdout] | [INFO] [stdout] 1073 | 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:1078:66 [INFO] [stdout] | [INFO] [stdout] 1078 | 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:1082:68 [INFO] [stdout] | [INFO] [stdout] 1082 | 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:1087:29 [INFO] [stdout] | [INFO] [stdout] 1087 | 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:1127:53 [INFO] [stdout] | [INFO] [stdout] 1127 | 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:1134:40 [INFO] [stdout] | [INFO] [stdout] 1134 | 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:1145:29 [INFO] [stdout] | [INFO] [stdout] 1145 | 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:1176:53 [INFO] [stdout] | [INFO] [stdout] 1176 | 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:1183:40 [INFO] [stdout] | [INFO] [stdout] 1183 | 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:1194:29 [INFO] [stdout] | [INFO] [stdout] 1194 | 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 1m 30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0, wasmer-compiler-singlepass v1.0.2, wasmparser v0.65.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "79532318bd58248daf6ec943ba02cde3cc3e13ea36d81801f6b7b457d6940272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79532318bd58248daf6ec943ba02cde3cc3e13ea36d81801f6b7b457d6940272", kill_on_drop: false }` [INFO] [stdout] 79532318bd58248daf6ec943ba02cde3cc3e13ea36d81801f6b7b457d6940272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6d020a228fb4b81e4ecf6074af8f0e004b2322fb538808019687bb5248bf55e4 [INFO] running `Command { std: "docker" "start" "-a" "6d020a228fb4b81e4ecf6074af8f0e004b2322fb538808019687bb5248bf55e4", 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:1066:53 [INFO] [stderr] | [INFO] [stderr] 1066 | 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:1073:40 [INFO] [stderr] | [INFO] [stderr] 1073 | 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:1078:66 [INFO] [stderr] | [INFO] [stderr] 1078 | 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:1082:68 [INFO] [stderr] | [INFO] [stderr] 1082 | 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:1087:29 [INFO] [stderr] | [INFO] [stderr] 1087 | 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:1127:53 [INFO] [stderr] | [INFO] [stderr] 1127 | 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:1134:40 [INFO] [stderr] | [INFO] [stderr] 1134 | 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:1145:29 [INFO] [stderr] | [INFO] [stderr] 1145 | 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:1176:53 [INFO] [stderr] | [INFO] [stderr] 1176 | 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:1183:40 [INFO] [stderr] | [INFO] [stderr] 1183 | 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:1194:29 [INFO] [stderr] | [INFO] [stderr] 1194 | 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.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.68.0, wasmer-compiler-singlepass v1.0.2, wasmparser v0.65.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cw_erc20-929ed7641b1fac1a) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test contract::tests::approve::has_zero_allowance_by_default ... ok [INFO] [stdout] test contract::tests::approve::can_set_allowance ... ok [INFO] [stdout] test contract::tests::burn::fails_on_insufficient_balance ... ok [INFO] [stdout] test contract::tests::burn::can_burn_from_existing_account ... ok [INFO] [stdout] test contract::tests::burn::can_burn_zero_amount ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_name_too_short ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_large_decimals ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_name_too_long ... 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_empty_balance ... ok [INFO] [stdout] test contract::tests::instantiate::works_with_multiple_balances ... ok [INFO] [stdout] test contract::tests::query::can_query_balance_of_nonexisting_address ... 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::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::transfer::can_send_to_sender ... ok [INFO] [stdout] test contract::tests::transfer::can_send_zero_amount ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_non_existent_recipient ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_existing_recipient ... 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::query::can_query_allowance_of_existing_addresses ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d020a228fb4b81e4ecf6074af8f0e004b2322fb538808019687bb5248bf55e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d020a228fb4b81e4ecf6074af8f0e004b2322fb538808019687bb5248bf55e4", kill_on_drop: false }` [INFO] [stdout] 6d020a228fb4b81e4ecf6074af8f0e004b2322fb538808019687bb5248bf55e4