[INFO] cloning repository https://github.com/ganzaro/cosmwasm-erc20 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ganzaro/cosmwasm-erc20" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fganzaro%2Fcosmwasm-erc20", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fganzaro%2Fcosmwasm-erc20'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7fcb07274f8eb4670a07b6e317921d092f9291e [INFO] testing ganzaro/cosmwasm-erc20 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fganzaro%2Fcosmwasm-erc20" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/ganzaro/cosmwasm-erc20 [INFO] finished tweaking git repo https://github.com/ganzaro/cosmwasm-erc20 [INFO] tweaked toml for git repo https://github.com/ganzaro/cosmwasm-erc20 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ganzaro/cosmwasm-erc20 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/ganzaro/cosmwasm-erc20 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 thiserror v1.0.23 [INFO] [stderr] Downloaded wasmer-middlewares v2.0.0 [INFO] [stderr] Downloaded wasmer-vm v2.0.0 [INFO] [stderr] Downloaded more-asserts v0.2.1 [INFO] [stderr] Downloaded wasmer-engine-universal v2.0.0 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded wasmer-types v2.0.0 [INFO] [stderr] Downloaded schemars_derive v0.8.6 [INFO] [stderr] Downloaded serde_json v1.0.61 [INFO] [stderr] Downloaded schemars v0.8.6 [INFO] [stderr] Downloaded cosmwasm-schema v1.0.0-beta [INFO] [stderr] Downloaded leb128 v0.2.4 [INFO] [stderr] Downloaded wasmer-derive v2.0.0 [INFO] [stderr] Downloaded const-oid v0.6.1 [INFO] [stderr] Downloaded const_fn v0.4.5 [INFO] [stderr] Downloaded pin-project-lite v0.2.4 [INFO] [stderr] Downloaded dynasmrt v1.0.1 [INFO] [stderr] Downloaded redox_syscall v0.2.4 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded ecdsa v0.12.4 [INFO] [stderr] Downloaded enumset v1.0.6 [INFO] [stderr] Downloaded memmap2 v0.2.0 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded wasmer-engine v2.0.0 [INFO] [stderr] Downloaded cosmwasm-storage v1.0.0-beta [INFO] [stderr] Downloaded signature v1.3.1 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded rkyv_derive v0.6.7 [INFO] [stderr] Downloaded loupe v0.1.3 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded group v0.10.0 [INFO] [stderr] Downloaded cosmwasm-crypto v1.0.0-beta [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded wasi v0.10.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded cranelift-bforest v0.74.0 [INFO] [stderr] Downloaded crypto-bigint v0.2.10 [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded cranelift-entity v0.74.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded cc v1.0.66 [INFO] [stderr] Downloaded pkcs8 v0.7.6 [INFO] [stderr] Downloaded der v0.4.4 [INFO] [stderr] Downloaded rkyv v0.6.7 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Downloaded parity-wasm v0.42.1 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Downloaded k256 v0.9.6 [INFO] [stderr] Downloaded rand v0.8.2 [INFO] [stderr] Downloaded cosmwasm-std v1.0.0-beta [INFO] [stderr] Downloaded dynasm v1.0.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded wasmparser v0.78.2 [INFO] [stderr] Downloaded wasmer v2.0.0 [INFO] [stderr] Downloaded indexmap v1.6.1 [INFO] [stderr] Downloaded tracing v0.1.22 [INFO] [stderr] Downloaded regalloc v0.0.31 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.74.0 [INFO] [stderr] Downloaded elliptic-curve v0.10.6 [INFO] [stderr] Downloaded uint v0.9.1 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded cranelift-frontend v0.74.0 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded enumset_derive v0.5.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.1 [INFO] [stderr] Downloaded target-lexicon v0.12.2 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.0.0 [INFO] [stderr] Downloaded which v4.0.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.11 [INFO] [stderr] Downloaded wasmer-compiler v2.0.0 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded libc v0.2.82 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.74.0 [INFO] [stderr] Downloaded loupe-derive v0.1.3 [INFO] [stderr] Downloaded spki v0.4.1 [INFO] [stderr] Downloaded cosmwasm-derive v1.0.0-beta [INFO] [stderr] Downloaded wasmer-object v2.0.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded thiserror-impl v1.0.23 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] [stderr] Downloaded hex v0.4.2 [INFO] [stderr] Downloaded cranelift-codegen v0.74.0 [INFO] [stderr] Downloaded cosmwasm-vm v1.0.0-beta [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] 7f0c2d51540b7a582043748e68782423dfce0ebb65a94f0fd5cbc087b6be9789 [INFO] running `Command { std: "docker" "start" "-a" "7f0c2d51540b7a582043748e68782423dfce0ebb65a94f0fd5cbc087b6be9789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f0c2d51540b7a582043748e68782423dfce0ebb65a94f0fd5cbc087b6be9789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0c2d51540b7a582043748e68782423dfce0ebb65a94f0fd5cbc087b6be9789", kill_on_drop: false }` [INFO] [stdout] 7f0c2d51540b7a582043748e68782423dfce0ebb65a94f0fd5cbc087b6be9789 [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] 56032b56606ba55eb4a8d3fe87a6045a2052c3fa92a3452be4d5a6a936abb10e [INFO] running `Command { std: "docker" "start" "-a" "56032b56606ba55eb4a8d3fe87a6045a2052c3fa92a3452be4d5a6a936abb10e", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling const-oid v0.6.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling der v0.4.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling pkcs8 v0.7.6 [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 sha2 v0.9.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling schemars_derive v0.8.6 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0-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 36.65s [INFO] running `Command { std: "docker" "inspect" "56032b56606ba55eb4a8d3fe87a6045a2052c3fa92a3452be4d5a6a936abb10e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56032b56606ba55eb4a8d3fe87a6045a2052c3fa92a3452be4d5a6a936abb10e", kill_on_drop: false }` [INFO] [stdout] 56032b56606ba55eb4a8d3fe87a6045a2052c3fa92a3452be4d5a6a936abb10e [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] 061bd3689aaed02388667c5e97efadd12fa645117edeb3eb5909e541e7d92797 [INFO] running `Command { std: "docker" "start" "-a" "061bd3689aaed02388667c5e97efadd12fa645117edeb3eb5909e541e7d92797", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling hashbrown v0.9.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 ptr_meta_derive v0.1.4 [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 darling_core v0.12.4 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling loupe v0.1.3 [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 wasmer-vm v2.0.0 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memmap2 v0.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling wasmer-types v2.0.0 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling enumset_derive v0.5.4 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling enumset v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling wasmer-compiler v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dynasm v1.0.1 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling wasmer-engine v2.0.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 leb128 v0.2.4 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling wasmer-engine-universal v2.0.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling wasmer-object v2.0.0 [INFO] [stderr] Compiling parity-wasm v0.42.1 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [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 cranelift-codegen v0.74.0 [INFO] [stderr] Compiling dynasmrt v1.0.1 [INFO] [stderr] Compiling wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Compiling cranelift-frontend v0.74.0 [INFO] [stderr] Compiling wasmer v2.0.0 [INFO] [stderr] Compiling wasmer-middlewares v2.0.0 [INFO] [stderr] Compiling cosmwasm-vm v1.0.0-beta [INFO] [stderr] Compiling 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:1038:53 [INFO] [stdout] | [INFO] [stdout] 1038 | 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:1045:40 [INFO] [stdout] | [INFO] [stdout] 1045 | 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:1050:66 [INFO] [stdout] | [INFO] [stdout] 1050 | 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:1054:68 [INFO] [stdout] | [INFO] [stdout] 1054 | 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:1059:29 [INFO] [stdout] | [INFO] [stdout] 1059 | 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:1099:53 [INFO] [stdout] | [INFO] [stdout] 1099 | 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:1106:40 [INFO] [stdout] | [INFO] [stdout] 1106 | 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:1117:29 [INFO] [stdout] | [INFO] [stdout] 1117 | 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:1148:53 [INFO] [stdout] | [INFO] [stdout] 1148 | 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:1155:40 [INFO] [stdout] | [INFO] [stdout] 1155 | 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:1166:29 [INFO] [stdout] | [INFO] [stdout] 1166 | 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 49s [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 2` [INFO] running `Command { std: "docker" "inspect" "061bd3689aaed02388667c5e97efadd12fa645117edeb3eb5909e541e7d92797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "061bd3689aaed02388667c5e97efadd12fa645117edeb3eb5909e541e7d92797", kill_on_drop: false }` [INFO] [stdout] 061bd3689aaed02388667c5e97efadd12fa645117edeb3eb5909e541e7d92797 [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] 0614ae59c27dee78b69b0e5b2ca0c256bb54383f470b67e5df8dc9fb79681a02 [INFO] running `Command { std: "docker" "start" "-a" "0614ae59c27dee78b69b0e5b2ca0c256bb54383f470b67e5df8dc9fb79681a02", 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:1038:53 [INFO] [stderr] | [INFO] [stderr] 1038 | 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:1045:40 [INFO] [stderr] | [INFO] [stderr] 1045 | 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:1050:66 [INFO] [stderr] | [INFO] [stderr] 1050 | 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:1054:68 [INFO] [stderr] | [INFO] [stderr] 1054 | 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:1059:29 [INFO] [stderr] | [INFO] [stderr] 1059 | 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:1099:53 [INFO] [stderr] | [INFO] [stderr] 1099 | 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:1106:40 [INFO] [stderr] | [INFO] [stderr] 1106 | 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:1117:29 [INFO] [stderr] | [INFO] [stderr] 1117 | 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:1148:53 [INFO] [stderr] | [INFO] [stderr] 1148 | 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:1155:40 [INFO] [stderr] | [INFO] [stderr] 1155 | 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:1166:29 [INFO] [stderr] | [INFO] [stderr] 1166 | 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.35s [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 2` [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 28 tests [INFO] [stdout] test contract::tests::instantiate::fails_for_name_too_long ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_name_too_short ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_symbol_too_long ... ok [INFO] [stdout] test contract::tests::approve::has_zero_allowance_by_default ... 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::fails_for_large_decimals ... 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::works_with_balance_larger_than_64_bit ... ok [INFO] [stdout] test contract::tests::instantiate::fails_for_symbol_lowercase ... ok [INFO] [stdout] test contract::tests::instantiate::works_with_empty_balance ... ok [INFO] [stdout] test contract::tests::approve::can_set_allowance ... ok [INFO] [stdout] test contract::tests::query::can_query_allowance_of_existing_addresses ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_existing_recipient ... ok [INFO] [stdout] test contract::tests::query::can_query_balance_of_existing_address ... ok [INFO] [stdout] test contract::tests::burn::fails_on_insufficient_balance ... ok [INFO] [stdout] test contract::tests::transfer::fails_on_insufficient_balance ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_non_existent_recipient ... ok [INFO] [stdout] test contract::tests::query::can_query_balance_of_nonexisting_address ... ok [INFO] [stdout] test contract::tests::transfer::can_send_zero_amount ... 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::instantiate::works_with_multiple_balances ... ok [INFO] [stdout] test contract::tests::transfer::can_send_to_sender ... ok [INFO] [stdout] test contract::tests::query::can_query_allowance_of_nonexisting_owner ... ok [INFO] [stdout] test contract::tests::transfer_from::works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0614ae59c27dee78b69b0e5b2ca0c256bb54383f470b67e5df8dc9fb79681a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0614ae59c27dee78b69b0e5b2ca0c256bb54383f470b67e5df8dc9fb79681a02", kill_on_drop: false }` [INFO] [stdout] 0614ae59c27dee78b69b0e5b2ca0c256bb54383f470b67e5df8dc9fb79681a02