[INFO] fetching crate cw-erc20 0.10.0... [INFO] building cw-erc20-0.10.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate cw-erc20 0.10.0 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cw-erc20 0.10.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded wasmer-middlewares v1.0.2 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded serde_derive_internals v0.25.0 [INFO] [stderr] Downloaded wasmer-vm v1.0.2 [INFO] [stderr] Downloaded wast v32.0.0 [INFO] [stderr] Downloaded regalloc v0.0.31 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded cosmwasm-schema v0.14.0 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded pkcs8 v0.3.3 [INFO] [stderr] Downloaded cosmwasm-storage v0.14.0 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded elliptic-curve v0.8.5 [INFO] [stderr] Downloaded bitvec v0.18.5 [INFO] [stderr] Downloaded memmap2 v0.2.0 [INFO] [stderr] Downloaded cranelift-entity v0.68.0 [INFO] [stderr] Downloaded ff v0.8.0 [INFO] [stderr] Downloaded const-oid v0.4.5 [INFO] [stderr] Downloaded k256 v0.7.3 [INFO] [stderr] Downloaded cosmwasm-std v0.14.0 [INFO] [stderr] Downloaded wasmparser v0.65.0 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded cosmwasm-crypto v0.14.0 [INFO] [stderr] Downloaded parity-wasm v0.42.1 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.68.0 [INFO] [stderr] Downloaded dynasm v1.0.1 [INFO] [stderr] Downloaded wasmer-derive v1.0.2 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded wasmer-compiler v1.0.2 [INFO] [stderr] Downloaded more-asserts v0.2.1 [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded cranelift-bforest v0.68.0 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Downloaded signature v1.2.2 [INFO] [stderr] Downloaded der v0.1.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.68.0 [INFO] [stderr] Downloaded enumset_derive v0.5.4 [INFO] [stderr] Downloaded enumset v1.0.6 [INFO] [stderr] Downloaded ecdsa v0.10.2 [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v1.0.2 [INFO] [stderr] Downloaded bincode v1.3.1 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded target-lexicon v0.11.1 [INFO] [stderr] Downloaded wasmer-object v1.0.2 [INFO] [stderr] Downloaded which v4.0.2 [INFO] [stderr] Downloaded wasmer-engine-native v1.0.2 [INFO] [stderr] Downloaded leb128 v0.2.4 [INFO] [stderr] Downloaded wat v1.0.33 [INFO] [stderr] Downloaded wasmer v1.0.2 [INFO] [stderr] Downloaded wasmer-types v1.0.2 [INFO] [stderr] Downloaded syn v1.0.67 [INFO] [stderr] Downloaded group v0.8.0 [INFO] [stderr] Downloaded cosmwasm-derive v0.14.0 [INFO] [stderr] Downloaded cranelift-frontend v0.68.0 [INFO] [stderr] Downloaded cranelift-codegen v0.68.0 [INFO] [stderr] Downloaded dynasmrt v1.0.1 [INFO] [stderr] Downloaded wasmer-engine-jit v1.0.2 [INFO] [stderr] Downloaded wasmer-engine v1.0.2 [INFO] [stderr] Downloaded cosmwasm-vm v0.14.0 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d3f85a6493065fa2752be6cf230b647af784ff39ec6373f81c881d91cd6f1ce [INFO] running `Command { std: "docker" "start" "-a" "3d3f85a6493065fa2752be6cf230b647af784ff39ec6373f81c881d91cd6f1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d3f85a6493065fa2752be6cf230b647af784ff39ec6373f81c881d91cd6f1ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3f85a6493065fa2752be6cf230b647af784ff39ec6373f81c881d91cd6f1ce", kill_on_drop: false }` [INFO] [stdout] 3d3f85a6493065fa2752be6cf230b647af784ff39ec6373f81c881d91cd6f1ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f761138a026bca29f62e80f04d6b6043015a2d9e5260571cfd6bbbb248af40cd [INFO] running `Command { std: "docker" "start" "-a" "f761138a026bca29f62e80f04d6b6043015a2d9e5260571cfd6bbbb248af40cd", 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 funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling der v0.1.0 [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 generic-array v0.14.4 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.8 [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 k256 v0.7.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling cosmwasm-derive v0.14.0 [INFO] [stderr] Compiling schemars_derive v0.8.3 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.44s [INFO] running `Command { std: "docker" "inspect" "f761138a026bca29f62e80f04d6b6043015a2d9e5260571cfd6bbbb248af40cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f761138a026bca29f62e80f04d6b6043015a2d9e5260571cfd6bbbb248af40cd", kill_on_drop: false }` [INFO] [stdout] f761138a026bca29f62e80f04d6b6043015a2d9e5260571cfd6bbbb248af40cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e567b6009ce2c73d0a191f0a92e2cffd0cfc50e9396eebd02803284a6c26c5 [INFO] running `Command { std: "docker" "start" "-a" "a4e567b6009ce2c73d0a191f0a92e2cffd0cfc50e9396eebd02803284a6c26c5", 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 target-lexicon v0.11.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling cranelift-entity v0.68.0 [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 wasmer-types v1.0.2 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 [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 rayon v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling wasmer-vm v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling cranelift-bforest v0.68.0 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling rand v0.8.2 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling wasmer-compiler-cranelift v1.0.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling wast v32.0.0 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling wasmer-derive v1.0.2 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Compiling cosmwasm-schema v0.14.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling wasmer-compiler v1.0.2 [INFO] [stderr] Compiling wasmer-engine v1.0.2 [INFO] [stderr] Compiling wasmer-object v1.0.2 [INFO] [stderr] Compiling wat v1.0.33 [INFO] [stderr] Compiling wasmer-engine-jit v1.0.2 [INFO] [stderr] Compiling wasmer-engine-native v1.0.2 [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 17s [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 4` [INFO] running `Command { std: "docker" "inspect" "a4e567b6009ce2c73d0a191f0a92e2cffd0cfc50e9396eebd02803284a6c26c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e567b6009ce2c73d0a191f0a92e2cffd0cfc50e9396eebd02803284a6c26c5", kill_on_drop: false }` [INFO] [stdout] a4e567b6009ce2c73d0a191f0a92e2cffd0cfc50e9396eebd02803284a6c26c5