[INFO] fetching crate loterra 2.0.0... [INFO] testing loterra-2.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate loterra 2.0.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking crates.io crate loterra 2.0.0 [INFO] finished tweaking crates.io crate loterra 2.0.0 [INFO] tweaked toml for crates.io crate loterra 2.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate loterra 2.0.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 loterra 2.0.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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw-storage-plus v0.6.1 [INFO] [stderr] Downloaded groupy v0.3.1 [INFO] [stderr] Downloaded cosmwasm-derive v0.14.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.14.0 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.0.0 [INFO] [stderr] Downloaded cw0 v0.6.2 [INFO] [stderr] Downloaded terra-cosmwasm v2.0.0 [INFO] [stderr] Downloaded cw-multi-test v0.6.1 [INFO] [stderr] Downloaded cw20 v0.6.2 [INFO] [stderr] Downloaded cosmwasm-std v0.14.0 [INFO] [stderr] Downloaded loterra-staking-contract v2.0.2 [INFO] [stderr] Downloaded terrand v2.0.0 [INFO] [stderr] Downloaded cosmwasm-storage v0.14.0 [INFO] [stderr] Downloaded cosmwasm-crypto v0.14.0 [INFO] [stderr] Downloaded bigint v4.4.3 [INFO] [stderr] Downloaded fff_derive v0.2.2 [INFO] [stderr] Downloaded fff v0.2.3 [INFO] [stderr] Downloaded cpufeatures v0.1.4 [INFO] [stderr] Downloaded crunchy v0.1.6 [INFO] [stderr] Downloaded paired v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f633b532fa43f0a19aaa33eb111b4d49274e24696fd55516477ae835cc2e7432 [INFO] running `Command { std: "docker" "start" "-a" "f633b532fa43f0a19aaa33eb111b4d49274e24696fd55516477ae835cc2e7432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f633b532fa43f0a19aaa33eb111b4d49274e24696fd55516477ae835cc2e7432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f633b532fa43f0a19aaa33eb111b4d49274e24696fd55516477ae835cc2e7432", kill_on_drop: false }` [INFO] [stdout] f633b532fa43f0a19aaa33eb111b4d49274e24696fd55516477ae835cc2e7432 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9d216a007a121877e699baed25773cd723cd2ab3f763885dac2f6321b19de623 [INFO] running `Command { std: "docker" "start" "-a" "9d216a007a121877e699baed25773cd723cd2ab3f763885dac2f6321b19de623", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling fff v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hkdf v0.10.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.25 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.14.0 [INFO] [stderr] Compiling fff_derive v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling groupy v0.3.1 [INFO] [stderr] Compiling paired v0.21.0 [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 cw-storage-plus v0.6.1 [INFO] [stderr] Compiling cw0 v0.6.2 [INFO] [stderr] Compiling terra-cosmwasm v2.0.0 [INFO] [stderr] Compiling cosmwasm-storage v0.14.0 [INFO] [stderr] Compiling cosmwasm-bignumber v2.0.0 [INFO] [stderr] Compiling cw20 v0.6.2 [INFO] [stderr] Compiling terrand v2.0.0 [INFO] [stderr] Compiling loterra-staking-contract v2.0.2 [INFO] [stderr] Compiling loterra v2.0.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 19.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [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" "9d216a007a121877e699baed25773cd723cd2ab3f763885dac2f6321b19de623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d216a007a121877e699baed25773cd723cd2ab3f763885dac2f6321b19de623", kill_on_drop: false }` [INFO] [stdout] 9d216a007a121877e699baed25773cd723cd2ab3f763885dac2f6321b19de623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1fc553174ee11e40652c2d17ab3bc57b58b8c1db99a6c60eff833b54a55afa40 [INFO] running `Command { std: "docker" "start" "-a" "1fc553174ee11e40652c2d17ab3bc57b58b8c1db99a6c60eff833b54a55afa40", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v0.14.0 [INFO] [stderr] Compiling cw-multi-test v0.6.1 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling loterra v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Uint64` [INFO] [stdout] --> src/contract.rs:1314:38 [INFO] [stdout] | [INFO] [stdout] 1314 | use cosmwasm_std::{Api, Uint128, Uint64}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/contract.rs:1413:17 [INFO] [stdout] | [INFO] [stdout] 1413 | (state [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1416 | .unwrap()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1413 ~ state [INFO] [stdout] 1414 | .block_time_play [INFO] [stdout] 1415 | .checked_sub(state.every_block_time_play / DIV_BLOCK_TIME_BY_X) [INFO] [stdout] 1416 ~ .unwrap(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint64` [INFO] [stdout] --> src/contract.rs:1994:39 [INFO] [stdout] | [INFO] [stdout] 1994 | use cosmwasm_std::{CosmosMsg, Uint64}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_all` [INFO] [stdout] --> src/contract.rs:1351:13 [INFO] [stdout] | [INFO] [stdout] 1351 | let before_all = before_all(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_all` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_all` [INFO] [stdout] --> src/contract.rs:1358:13 [INFO] [stdout] | [INFO] [stdout] 1358 | let before_all = before_all(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `before_all` [INFO] [stdout] --> src/contract.rs:1367:13 [INFO] [stdout] | [INFO] [stdout] 1367 | let before_all = before_all(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:1392:17 [INFO] [stdout] | [INFO] [stdout] 1392 | let mut state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/contract.rs:1436:17 [INFO] [stdout] | [INFO] [stdout] 1436 | let addr = deps [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:1667:17 [INFO] [stdout] | [INFO] [stdout] 1667 | let res = execute( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:1703:17 [INFO] [stdout] | [INFO] [stdout] 1703 | let res = execute( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/contract.rs:1966:17 [INFO] [stdout] | [INFO] [stdout] 1966 | let state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:2504:17 [INFO] [stdout] | [INFO] [stdout] 2504 | let mut state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:2537:17 [INFO] [stdout] | [INFO] [stdout] 2537 | let mut state_before = read_state(deps.as_ref().storage).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:2598:17 [INFO] [stdout] | [INFO] [stdout] 2598 | let mut state_before = read_state(deps.as_ref().storage).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jackpot_before` [INFO] [stdout] --> src/contract.rs:2736:17 [INFO] [stdout] | [INFO] [stdout] 2736 | let jackpot_before = JACKPOT [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jackpot_after` [INFO] [stdout] --> src/contract.rs:2743:17 [INFO] [stdout] | [INFO] [stdout] 2743 | let jackpot_after = JACKPOT [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jackpot_before` [INFO] [stdout] --> src/contract.rs:2853:17 [INFO] [stdout] | [INFO] [stdout] 2853 | let jackpot_before = JACKPOT [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jackpot_after` [INFO] [stdout] --> src/contract.rs:2859:17 [INFO] [stdout] | [INFO] [stdout] 2859 | let jackpot_after = JACKPOT [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/contract.rs:2902:17 [INFO] [stdout] | [INFO] [stdout] 2902 | let state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jackpot_before` [INFO] [stdout] --> src/contract.rs:2971:17 [INFO] [stdout] | [INFO] [stdout] 2971 | let jackpot_before = JACKPOT [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jackpot_after` [INFO] [stdout] --> src/contract.rs:2977:17 [INFO] [stdout] | [INFO] [stdout] 2977 | let jackpot_after = JACKPOT [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:4007:17 [INFO] [stdout] | [INFO] [stdout] 4007 | let res = handle_renounce(deps.as_mut(), env, info); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4009:17 [INFO] [stdout] | [INFO] [stdout] 4009 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:4010:17 [INFO] [stdout] | [INFO] [stdout] 4010 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4070:17 [INFO] [stdout] | [INFO] [stdout] 4070 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:4071:17 [INFO] [stdout] | [INFO] [stdout] 4071 | let info = mock_info(before_all.default_sender_owner.as_str().clone(), &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4130:17 [INFO] [stdout] | [INFO] [stdout] 4130 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:4131:17 [INFO] [stdout] | [INFO] [stdout] 4131 | let info = mock_info(before_all.default_sender_owner.as_str().clone(), &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4170:17 [INFO] [stdout] | [INFO] [stdout] 4170 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:4171:17 [INFO] [stdout] | [INFO] [stdout] 4171 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4225:17 [INFO] [stdout] | [INFO] [stdout] 4225 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:4226:17 [INFO] [stdout] | [INFO] [stdout] 4226 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4280:17 [INFO] [stdout] | [INFO] [stdout] 4280 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:4281:17 [INFO] [stdout] | [INFO] [stdout] 4281 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4320:17 [INFO] [stdout] | [INFO] [stdout] 4320 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:4335:17 [INFO] [stdout] | [INFO] [stdout] 4335 | let env = mock_env(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/mock_querier.rs:172:54 [INFO] [stdout] | [INFO] [stdout] 172 | QueryRequest::Custom(TerraQueryWrapper { route, query_data }) => match query_data { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `route: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terrand_response` is never read [INFO] [stdout] --> src/mock_querier.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct WasmMockQuerier { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 23 | base: MockQuerier, [INFO] [stdout] 24 | terrand_response: TerrandResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mock_querier.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl TerrandResponse { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 36 | pub fn new(randomness: Binary, worker: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mock_querier.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl GetAllBondedResponse { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(total_bonded: Uint128) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/contract.rs:1519:61 [INFO] [stdout] | [INFO] [stdout] 1519 | mock_info(before_all.default_sender.as_str().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] = 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:1538:61 [INFO] [stdout] | [INFO] [stdout] 1538 | mock_info(before_all.default_sender.as_str().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:2209:59 [INFO] [stdout] | [INFO] [stdout] 2209 | before_all.default_sender_two.as_str().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:2237:74 [INFO] [stdout] | [INFO] [stdout] 2237 | let info = mock_info(before_all.default_sender_owner.as_str().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:2290:55 [INFO] [stdout] | [INFO] [stdout] 2290 | before_all.default_sender.as_str().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:2308:59 [INFO] [stdout] | [INFO] [stdout] 2308 | before_all.default_sender_two.as_str().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:2396:68 [INFO] [stdout] | [INFO] [stdout] 2396 | let info = mock_info(before_all.default_sender.as_str().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:2413:51 [INFO] [stdout] | [INFO] [stdout] 2413 | before_all.default_sender.as_str().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:2453:68 [INFO] [stdout] | [INFO] [stdout] 2453 | let info = mock_info(before_all.default_sender.as_str().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:2486:68 [INFO] [stdout] | [INFO] [stdout] 2486 | let info = mock_info(before_all.default_sender.as_str().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:2520:68 [INFO] [stdout] | [INFO] [stdout] 2520 | let info = mock_info(before_all.default_sender.as_str().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:2627:72 [INFO] [stdout] | [INFO] [stdout] 2627 | let info = mock_info(before_all.default_sender_two.as_str().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:2675:68 [INFO] [stdout] | [INFO] [stdout] 2675 | let info = mock_info(before_all.default_sender.as_str().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:2787:72 [INFO] [stdout] | [INFO] [stdout] 2787 | let info = mock_info(before_all.default_sender_two.as_str().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:2910:68 [INFO] [stdout] | [INFO] [stdout] 2910 | let info = mock_info(before_all.default_sender.as_str().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:3006:68 [INFO] [stdout] | [INFO] [stdout] 3006 | let info = mock_info(before_all.default_sender.as_str().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:3036:68 [INFO] [stdout] | [INFO] [stdout] 3036 | let info = mock_info(before_all.default_sender.as_str().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:3063:51 [INFO] [stdout] | [INFO] [stdout] 3063 | before_all.default_sender.as_str().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:3142:68 [INFO] [stdout] | [INFO] [stdout] 3142 | let info = mock_info(before_all.default_sender.as_str().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:3333:68 [INFO] [stdout] | [INFO] [stdout] 3333 | let info = mock_info(before_all.default_sender.as_str().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:3447:74 [INFO] [stdout] | [INFO] [stdout] 3447 | let info = mock_info(before_all.default_sender_owner.as_str().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:3476:68 [INFO] [stdout] | [INFO] [stdout] 3476 | let info = mock_info(before_all.default_sender.as_str().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:3529:51 [INFO] [stdout] | [INFO] [stdout] 3529 | before_all.default_sender.as_str().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:3577:68 [INFO] [stdout] | [INFO] [stdout] 3577 | let info = mock_info(before_all.default_sender.as_str().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:3600:68 [INFO] [stdout] | [INFO] [stdout] 3600 | let info = mock_info(before_all.default_sender.as_str().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:3635:68 [INFO] [stdout] | [INFO] [stdout] 3635 | let info = mock_info(before_all.default_sender.as_str().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:3725:51 [INFO] [stdout] | [INFO] [stdout] 3725 | before_all.default_sender.as_str().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:3751:68 [INFO] [stdout] | [INFO] [stdout] 3751 | let info = mock_info(before_all.default_sender.as_str().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:3775:72 [INFO] [stdout] | [INFO] [stdout] 3775 | let info = mock_info(before_all.default_sender_two.as_str().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:3796:68 [INFO] [stdout] | [INFO] [stdout] 3796 | let info = mock_info(before_all.default_sender.as_str().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:3867:51 [INFO] [stdout] | [INFO] [stdout] 3867 | before_all.default_sender.as_str().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:3911:68 [INFO] [stdout] | [INFO] [stdout] 3911 | let info = mock_info(before_all.default_sender.as_str().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:3933:68 [INFO] [stdout] | [INFO] [stdout] 3933 | let info = mock_info(before_all.default_sender.as_str().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:3972:68 [INFO] [stdout] | [INFO] [stdout] 3972 | let info = mock_info(before_all.default_sender.as_str().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:4006:74 [INFO] [stdout] | [INFO] [stdout] 4006 | let info = mock_info(before_all.default_sender_owner.as_str().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:4010:68 [INFO] [stdout] | [INFO] [stdout] 4010 | let info = mock_info(before_all.default_sender.as_str().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:4014:68 [INFO] [stdout] | [INFO] [stdout] 4014 | let info = mock_info(before_all.default_sender.as_str().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:4023:68 [INFO] [stdout] | [INFO] [stdout] 4023 | let info = mock_info(before_all.default_sender.as_str().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:4071:74 [INFO] [stdout] | [INFO] [stdout] 4071 | let info = mock_info(before_all.default_sender_owner.as_str().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:4075:68 [INFO] [stdout] | [INFO] [stdout] 4075 | let info = mock_info(before_all.default_sender.as_str().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:4084:68 [INFO] [stdout] | [INFO] [stdout] 4084 | let info = mock_info(before_all.default_sender.as_str().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:4131:74 [INFO] [stdout] | [INFO] [stdout] 4131 | let info = mock_info(before_all.default_sender_owner.as_str().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:4135:68 [INFO] [stdout] | [INFO] [stdout] 4135 | let info = mock_info(before_all.default_sender.as_str().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:4144:68 [INFO] [stdout] | [INFO] [stdout] 4144 | let info = mock_info(before_all.default_sender.as_str().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:4171:68 [INFO] [stdout] | [INFO] [stdout] 4171 | let info = mock_info(before_all.default_sender.as_str().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:4175:68 [INFO] [stdout] | [INFO] [stdout] 4175 | let info = mock_info(before_all.default_sender.as_str().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:4184:68 [INFO] [stdout] | [INFO] [stdout] 4184 | let info = mock_info(before_all.default_sender.as_str().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:4201:68 [INFO] [stdout] | [INFO] [stdout] 4201 | let info = mock_info(before_all.default_sender.as_str().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:4226:68 [INFO] [stdout] | [INFO] [stdout] 4226 | let info = mock_info(before_all.default_sender.as_str().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:4230:68 [INFO] [stdout] | [INFO] [stdout] 4230 | let info = mock_info(before_all.default_sender.as_str().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:4239:68 [INFO] [stdout] | [INFO] [stdout] 4239 | let info = mock_info(before_all.default_sender.as_str().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:4256:68 [INFO] [stdout] | [INFO] [stdout] 4256 | let info = mock_info(before_all.default_sender.as_str().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:4281:68 [INFO] [stdout] | [INFO] [stdout] 4281 | let info = mock_info(before_all.default_sender.as_str().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:4285:68 [INFO] [stdout] | [INFO] [stdout] 4285 | let info = mock_info(before_all.default_sender.as_str().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:4294:68 [INFO] [stdout] | [INFO] [stdout] 4294 | let info = mock_info(before_all.default_sender.as_str().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:4396:74 [INFO] [stdout] | [INFO] [stdout] 4396 | let info = mock_info(before_all.default_sender_owner.as_str().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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [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" "1fc553174ee11e40652c2d17ab3bc57b58b8c1db99a6c60eff833b54a55afa40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc553174ee11e40652c2d17ab3bc57b58b8c1db99a6c60eff833b54a55afa40", kill_on_drop: false }` [INFO] [stdout] 1fc553174ee11e40652c2d17ab3bc57b58b8c1db99a6c60eff833b54a55afa40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0387131cbec377815d3f9a9a32e1fa33e2df36c71662aa8a611122ac7763f914 [INFO] running `Command { std: "docker" "start" "-a" "0387131cbec377815d3f9a9a32e1fa33e2df36c71662aa8a611122ac7763f914", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Uint64` [INFO] [stderr] --> src/contract.rs:1314:38 [INFO] [stderr] | [INFO] [stderr] 1314 | use cosmwasm_std::{Api, Uint128, Uint64}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/contract.rs:1413:17 [INFO] [stderr] | [INFO] [stderr] 1413 | (state [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 1416 | .unwrap()), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1413 ~ state [INFO] [stderr] 1414 | .block_time_play [INFO] [stderr] 1415 | .checked_sub(state.every_block_time_play / DIV_BLOCK_TIME_BY_X) [INFO] [stderr] 1416 ~ .unwrap(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Uint64` [INFO] [stderr] --> src/contract.rs:1994:39 [INFO] [stderr] | [INFO] [stderr] 1994 | use cosmwasm_std::{CosmosMsg, Uint64}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `before_all` [INFO] [stderr] --> src/contract.rs:1351:13 [INFO] [stderr] | [INFO] [stderr] 1351 | let before_all = before_all(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_all` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `before_all` [INFO] [stderr] --> src/contract.rs:1358:13 [INFO] [stderr] | [INFO] [stderr] 1358 | let before_all = before_all(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_all` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `before_all` [INFO] [stderr] --> src/contract.rs:1367:13 [INFO] [stderr] | [INFO] [stderr] 1367 | let before_all = before_all(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_before_all` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:1392:17 [INFO] [stderr] | [INFO] [stderr] 1392 | let mut state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/contract.rs:1436:17 [INFO] [stderr] | [INFO] [stderr] 1436 | let addr = deps [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/contract.rs:1667:17 [INFO] [stderr] | [INFO] [stderr] 1667 | let res = execute( [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/contract.rs:1703:17 [INFO] [stderr] | [INFO] [stderr] 1703 | let res = execute( [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/contract.rs:1966:17 [INFO] [stderr] | [INFO] [stderr] 1966 | let state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:2504:17 [INFO] [stderr] | [INFO] [stderr] 2504 | let mut state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:2537:17 [INFO] [stderr] | [INFO] [stderr] 2537 | let mut state_before = read_state(deps.as_ref().storage).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/contract.rs:2598:17 [INFO] [stderr] | [INFO] [stderr] 2598 | let mut state_before = read_state(deps.as_ref().storage).unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jackpot_before` [INFO] [stderr] --> src/contract.rs:2736:17 [INFO] [stderr] | [INFO] [stderr] 2736 | let jackpot_before = JACKPOT [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_before` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jackpot_after` [INFO] [stderr] --> src/contract.rs:2743:17 [INFO] [stderr] | [INFO] [stderr] 2743 | let jackpot_after = JACKPOT [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_after` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jackpot_before` [INFO] [stderr] --> src/contract.rs:2853:17 [INFO] [stderr] | [INFO] [stderr] 2853 | let jackpot_before = JACKPOT [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_before` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jackpot_after` [INFO] [stderr] --> src/contract.rs:2859:17 [INFO] [stderr] | [INFO] [stderr] 2859 | let jackpot_after = JACKPOT [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_after` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/contract.rs:2902:17 [INFO] [stderr] | [INFO] [stderr] 2902 | let state = read_state(deps.as_ref().storage).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jackpot_before` [INFO] [stderr] --> src/contract.rs:2971:17 [INFO] [stderr] | [INFO] [stderr] 2971 | let jackpot_before = JACKPOT [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_before` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `jackpot_after` [INFO] [stderr] --> src/contract.rs:2977:17 [INFO] [stderr] | [INFO] [stderr] 2977 | let jackpot_after = JACKPOT [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jackpot_after` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/contract.rs:4007:17 [INFO] [stderr] | [INFO] [stderr] 4007 | let res = handle_renounce(deps.as_mut(), env, info); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4009:17 [INFO] [stderr] | [INFO] [stderr] 4009 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:4010:17 [INFO] [stderr] | [INFO] [stderr] 4010 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4070:17 [INFO] [stderr] | [INFO] [stderr] 4070 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:4071:17 [INFO] [stderr] | [INFO] [stderr] 4071 | let info = mock_info(before_all.default_sender_owner.as_str().clone(), &[]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4130:17 [INFO] [stderr] | [INFO] [stderr] 4130 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:4131:17 [INFO] [stderr] | [INFO] [stderr] 4131 | let info = mock_info(before_all.default_sender_owner.as_str().clone(), &[]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4170:17 [INFO] [stderr] | [INFO] [stderr] 4170 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:4171:17 [INFO] [stderr] | [INFO] [stderr] 4171 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4225:17 [INFO] [stderr] | [INFO] [stderr] 4225 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:4226:17 [INFO] [stderr] | [INFO] [stderr] 4226 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4280:17 [INFO] [stderr] | [INFO] [stderr] 4280 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:4281:17 [INFO] [stderr] | [INFO] [stderr] 4281 | let info = mock_info(before_all.default_sender.as_str().clone(), &[]); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4320:17 [INFO] [stderr] | [INFO] [stderr] 4320 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:4335:17 [INFO] [stderr] | [INFO] [stderr] 4335 | let env = mock_env(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `route` [INFO] [stderr] --> src/mock_querier.rs:172:54 [INFO] [stderr] | [INFO] [stderr] 172 | QueryRequest::Custom(TerraQueryWrapper { route, query_data }) => match query_data { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `route: _` [INFO] [stderr] [INFO] [stderr] warning: field `terrand_response` is never read [INFO] [stderr] --> src/mock_querier.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct WasmMockQuerier { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 23 | base: MockQuerier, [INFO] [stderr] 24 | terrand_response: TerrandResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/mock_querier.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl TerrandResponse { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 36 | pub fn new(randomness: Binary, worker: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/mock_querier.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 56 | impl GetAllBondedResponse { [INFO] [stderr] | ------------------------- associated function in this implementation [INFO] [stderr] 57 | pub fn new(total_bonded: Uint128) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/contract.rs:1519:61 [INFO] [stderr] | [INFO] [stderr] 1519 | mock_info(before_all.default_sender.as_str().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] = 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:1538:61 [INFO] [stderr] | [INFO] [stderr] 1538 | mock_info(before_all.default_sender.as_str().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:2209:59 [INFO] [stderr] | [INFO] [stderr] 2209 | before_all.default_sender_two.as_str().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:2237:74 [INFO] [stderr] | [INFO] [stderr] 2237 | let info = mock_info(before_all.default_sender_owner.as_str().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:2290:55 [INFO] [stderr] | [INFO] [stderr] 2290 | before_all.default_sender.as_str().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:2308:59 [INFO] [stderr] | [INFO] [stderr] 2308 | before_all.default_sender_two.as_str().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:2396:68 [INFO] [stderr] | [INFO] [stderr] 2396 | let info = mock_info(before_all.default_sender.as_str().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:2413:51 [INFO] [stderr] | [INFO] [stderr] 2413 | before_all.default_sender.as_str().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:2453:68 [INFO] [stderr] | [INFO] [stderr] 2453 | let info = mock_info(before_all.default_sender.as_str().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:2486:68 [INFO] [stderr] | [INFO] [stderr] 2486 | let info = mock_info(before_all.default_sender.as_str().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:2520:68 [INFO] [stderr] | [INFO] [stderr] 2520 | let info = mock_info(before_all.default_sender.as_str().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:2627:72 [INFO] [stderr] | [INFO] [stderr] 2627 | let info = mock_info(before_all.default_sender_two.as_str().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:2675:68 [INFO] [stderr] | [INFO] [stderr] 2675 | let info = mock_info(before_all.default_sender.as_str().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:2787:72 [INFO] [stderr] | [INFO] [stderr] 2787 | let info = mock_info(before_all.default_sender_two.as_str().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:2910:68 [INFO] [stderr] | [INFO] [stderr] 2910 | let info = mock_info(before_all.default_sender.as_str().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:3006:68 [INFO] [stderr] | [INFO] [stderr] 3006 | let info = mock_info(before_all.default_sender.as_str().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:3036:68 [INFO] [stderr] | [INFO] [stderr] 3036 | let info = mock_info(before_all.default_sender.as_str().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:3063:51 [INFO] [stderr] | [INFO] [stderr] 3063 | before_all.default_sender.as_str().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:3142:68 [INFO] [stderr] | [INFO] [stderr] 3142 | let info = mock_info(before_all.default_sender.as_str().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:3333:68 [INFO] [stderr] | [INFO] [stderr] 3333 | let info = mock_info(before_all.default_sender.as_str().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:3447:74 [INFO] [stderr] | [INFO] [stderr] 3447 | let info = mock_info(before_all.default_sender_owner.as_str().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:3476:68 [INFO] [stderr] | [INFO] [stderr] 3476 | let info = mock_info(before_all.default_sender.as_str().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:3529:51 [INFO] [stderr] | [INFO] [stderr] 3529 | before_all.default_sender.as_str().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:3577:68 [INFO] [stderr] | [INFO] [stderr] 3577 | let info = mock_info(before_all.default_sender.as_str().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:3600:68 [INFO] [stderr] | [INFO] [stderr] 3600 | let info = mock_info(before_all.default_sender.as_str().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:3635:68 [INFO] [stderr] | [INFO] [stderr] 3635 | let info = mock_info(before_all.default_sender.as_str().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:3725:51 [INFO] [stderr] | [INFO] [stderr] 3725 | before_all.default_sender.as_str().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:3751:68 [INFO] [stderr] | [INFO] [stderr] 3751 | let info = mock_info(before_all.default_sender.as_str().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:3775:72 [INFO] [stderr] | [INFO] [stderr] 3775 | let info = mock_info(before_all.default_sender_two.as_str().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:3796:68 [INFO] [stderr] | [INFO] [stderr] 3796 | let info = mock_info(before_all.default_sender.as_str().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:3867:51 [INFO] [stderr] | [INFO] [stderr] 3867 | before_all.default_sender.as_str().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:3911:68 [INFO] [stderr] | [INFO] [stderr] 3911 | let info = mock_info(before_all.default_sender.as_str().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:3933:68 [INFO] [stderr] | [INFO] [stderr] 3933 | let info = mock_info(before_all.default_sender.as_str().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:3972:68 [INFO] [stderr] | [INFO] [stderr] 3972 | let info = mock_info(before_all.default_sender.as_str().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:4006:74 [INFO] [stderr] | [INFO] [stderr] 4006 | let info = mock_info(before_all.default_sender_owner.as_str().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:4010:68 [INFO] [stderr] | [INFO] [stderr] 4010 | let info = mock_info(before_all.default_sender.as_str().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:4014:68 [INFO] [stderr] | [INFO] [stderr] 4014 | let info = mock_info(before_all.default_sender.as_str().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:4023:68 [INFO] [stderr] | [INFO] [stderr] 4023 | let info = mock_info(before_all.default_sender.as_str().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:4071:74 [INFO] [stderr] | [INFO] [stderr] 4071 | let info = mock_info(before_all.default_sender_owner.as_str().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:4075:68 [INFO] [stderr] | [INFO] [stderr] 4075 | let info = mock_info(before_all.default_sender.as_str().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:4084:68 [INFO] [stderr] | [INFO] [stderr] 4084 | let info = mock_info(before_all.default_sender.as_str().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:4131:74 [INFO] [stderr] | [INFO] [stderr] 4131 | let info = mock_info(before_all.default_sender_owner.as_str().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:4135:68 [INFO] [stderr] | [INFO] [stderr] 4135 | let info = mock_info(before_all.default_sender.as_str().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:4144:68 [INFO] [stderr] | [INFO] [stderr] 4144 | let info = mock_info(before_all.default_sender.as_str().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:4171:68 [INFO] [stderr] | [INFO] [stderr] 4171 | let info = mock_info(before_all.default_sender.as_str().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:4175:68 [INFO] [stderr] | [INFO] [stderr] 4175 | let info = mock_info(before_all.default_sender.as_str().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:4184:68 [INFO] [stderr] | [INFO] [stderr] 4184 | let info = mock_info(before_all.default_sender.as_str().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:4201:68 [INFO] [stderr] | [INFO] [stderr] 4201 | let info = mock_info(before_all.default_sender.as_str().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:4226:68 [INFO] [stderr] | [INFO] [stderr] 4226 | let info = mock_info(before_all.default_sender.as_str().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:4230:68 [INFO] [stderr] | [INFO] [stderr] 4230 | let info = mock_info(before_all.default_sender.as_str().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:4239:68 [INFO] [stderr] | [INFO] [stderr] 4239 | let info = mock_info(before_all.default_sender.as_str().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:4256:68 [INFO] [stderr] | [INFO] [stderr] 4256 | let info = mock_info(before_all.default_sender.as_str().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:4281:68 [INFO] [stderr] | [INFO] [stderr] 4281 | let info = mock_info(before_all.default_sender.as_str().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:4285:68 [INFO] [stderr] | [INFO] [stderr] 4285 | let info = mock_info(before_all.default_sender.as_str().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:4294:68 [INFO] [stderr] | [INFO] [stderr] 4294 | let info = mock_info(before_all.default_sender.as_str().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:4396:74 [INFO] [stderr] | [INFO] [stderr] 4396 | let info = mock_info(before_all.default_sender_owner.as_str().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: `loterra` (lib) generated 1 warning [INFO] [stderr] warning: `loterra` (lib test) generated 96 warnings (run `cargo fix --lib -p loterra --tests` to apply 63 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [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/loterra-6dd2977f742ae808) [INFO] [stdout] [INFO] [stdout] running 62 tests [INFO] [stdout] test contract::tests::claim::no_winning_combination ... ok [INFO] [stdout] test contract::tests::claim::claim_is_closed ... ok [INFO] [stdout] test contract::tests::collect::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::claim::no_combination ... ok [INFO] [stdout] test contract::tests::collect::no_winners ... ok [INFO] [stdout] test contract::tests::collect::no_jackpot_rewards ... ok [INFO] [stdout] test contract::tests::collect::security_active ... ok [INFO] [stdout] test contract::tests::play::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::get_round_play ... ok [INFO] [stdout] test contract::tests::collect::collect_jackpot_is_closed ... ok [INFO] [stdout] test contract::tests::play::not_allowed_registration_in_progress ... ok [INFO] [stdout] test contract::tests::collect::some_winner_sender_excluded ... ok [INFO] [stdout] test contract::tests::play::security_active ... ok [INFO] [stdout] test contract::tests::collect::contract_balance_empty ... ok [INFO] [stdout] test contract::tests::claim::success ... ok [INFO] [stdout] test contract::tests::collect::success_multiple_win ... ok [INFO] [stdout] test contract::tests::play::multi_contract_call_terrand ... ok [INFO] [stdout] test contract::tests::collect::success_collecting_for_someone ... ok [INFO] [stdout] test contract::tests::present::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::present::error_with_proposal_not_expired_yet_and_less_50_percent_weight_vote ... ok [INFO] [stdout] test contract::tests::play::success_no_big_winner ... ok [INFO] [stdout] test contract::tests::play::success ... ok [INFO] [stdout] test contract::tests::present::poll_still_in_progress ... ok [INFO] [stdout] test contract::tests::present::poll_expired ... ok [INFO] [stdout] test contract::tests::collect::success ... ok [INFO] [stdout] test contract::tests::proper_init ... ok [INFO] [stdout] test contract::tests::play::success_bonus_holder_end_fee_superior_20_percent ... ok [INFO] [stdout] test contract::tests::present::success_dao_funding ... ok [INFO] [stdout] test contract::tests::present::success_security_migration ... ok [INFO] [stdout] test contract::tests::proposal::description_max_error ... ok [INFO] [stdout] test contract::tests::present::success_staking_migration ... ok [INFO] [stdout] test contract::tests::present::success_with_reject ... ok [INFO] [stdout] test contract::tests::proposal::all_proposal_amount_error ... ok [INFO] [stdout] test contract::tests::proposal::description_min_error ... ok [INFO] [stdout] test contract::tests::proposal::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::register::register_fail_if_sender_sent_empty_funds ... ok [INFO] [stdout] test contract::tests::register::register_fail_if_sender_sent_wrong_denom ... ok [INFO] [stdout] test contract::tests::present::success_with_proposal_not_expired_yet_and_more_50_percent_weight_vote ... ok [INFO] [stdout] test contract::tests::register::register_fail_if_sender_sent_multiple_denom ... ok [INFO] [stdout] test contract::tests::register::register_fail_multiple_wrong_combination ... ok [INFO] [stdout] test contract::tests::register::register_fail_sent_too_much_or_less ... ok [INFO] [stdout] test contract::tests::present::success_with_passed ... ok [INFO] [stdout] test contract::tests::register::register_fail_lottery_about_to_start ... ok [INFO] [stdout] test contract::tests::register::register_fail_wrong_combination ... ok [INFO] [stdout] test contract::tests::register::security_active ... ok [INFO] [stdout] test contract::tests::register::register_success ... ok [INFO] [stdout] test contract::tests::proposal::success ... ok [INFO] [stdout] test contract::tests::reject::only_creator_can_reject ... ok [INFO] [stdout] test contract::tests::renounce::only_admin ... ok [INFO] [stdout] test contract::tests::reject::success ... ok [INFO] [stdout] test contract::tests::reject::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::renounce::safe_lock_on ... ok [INFO] [stdout] test contract::tests::reject::poll_expired ... ok [INFO] [stdout] test contract::tests::safe_lock::only_admin ... ok [INFO] [stdout] test contract::tests::renounce::success ... ok [INFO] [stdout] test contract::tests::safe_lock::success ... ok [INFO] [stdout] test contract::tests::testing_saved_address_winner ... ok [INFO] [stdout] test contract::tests::vote::only_stakers_with_bonded_tokens_can_vote ... ok [INFO] [stdout] test contract::tests::vote::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::vote::poll_deactivated ... ok [INFO] [stdout] test contract::tests::vote::poll_expired ... ok [INFO] [stdout] test contract::tests::vote::success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 62 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0387131cbec377815d3f9a9a32e1fa33e2df36c71662aa8a611122ac7763f914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0387131cbec377815d3f9a9a32e1fa33e2df36c71662aa8a611122ac7763f914", kill_on_drop: false }` [INFO] [stdout] 0387131cbec377815d3f9a9a32e1fa33e2df36c71662aa8a611122ac7763f914