[INFO] cloning repository https://github.com/LoTerra/loterra-dao [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LoTerra/loterra-dao" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-dao", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-dao'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87571ea0310a9dc0a55b8fb087187f58c9c72d8d [INFO] testing LoTerra/loterra-dao against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-dao" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LoTerra/loterra-dao on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/.cargo/config [INFO] started tweaking git repo https://github.com/LoTerra/loterra-dao [INFO] finished tweaking git repo https://github.com/LoTerra/loterra-dao [INFO] tweaked toml for git repo https://github.com/LoTerra/loterra-dao written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/LoTerra/loterra-dao already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-std v0.14.0 [INFO] [stderr] Downloaded bitvec v0.18.5 [INFO] [stderr] Downloaded k256 v0.7.3 [INFO] [stderr] Downloaded signature v1.2.2 [INFO] [stderr] Downloaded cw-storage-plus v0.6.0 [INFO] [stderr] Downloaded cosmwasm-derive v0.14.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.14.1 [INFO] [stderr] Downloaded elliptic-curve v0.8.5 [INFO] [stderr] Downloaded terra-cosmwasm v2.0.0 [INFO] [stderr] Downloaded cw20 v0.6.2 [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded cw0 v0.6.2 [INFO] [stderr] Downloaded ff v0.8.0 [INFO] [stderr] Downloaded group v0.8.0 [INFO] [stderr] Downloaded pkcs8 v0.3.3 [INFO] [stderr] Downloaded ecdsa v0.10.2 [INFO] [stderr] Downloaded cosmwasm-crypto v0.14.0 [INFO] [stderr] Downloaded const-oid v0.4.5 [INFO] [stderr] Downloaded der v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f633971f6c977120ea2325f6ce5c80392575bee71d9ae6e5d9dff09161e3887a [INFO] running `Command { std: "docker" "start" "-a" "f633971f6c977120ea2325f6ce5c80392575bee71d9ae6e5d9dff09161e3887a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f633971f6c977120ea2325f6ce5c80392575bee71d9ae6e5d9dff09161e3887a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f633971f6c977120ea2325f6ce5c80392575bee71d9ae6e5d9dff09161e3887a", kill_on_drop: false }` [INFO] [stdout] f633971f6c977120ea2325f6ce5c80392575bee71d9ae6e5d9dff09161e3887a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 367462b9e674dcc480ce7d9c3f6926f49390357a5ce5cc9f6660ba9160afbc79 [INFO] running `Command { std: "docker" "start" "-a" "367462b9e674dcc480ce7d9c3f6926f49390357a5ce5cc9f6660ba9160afbc79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.24 [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 cw0 v0.6.2 [INFO] [stderr] Compiling terra-cosmwasm v2.0.0 [INFO] [stderr] Compiling cw-storage-plus v0.6.0 [INFO] [stderr] Compiling cw20 v0.6.2 [INFO] [stderr] Compiling loterra-dao v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "367462b9e674dcc480ce7d9c3f6926f49390357a5ce5cc9f6660ba9160afbc79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367462b9e674dcc480ce7d9c3f6926f49390357a5ce5cc9f6660ba9160afbc79", kill_on_drop: false }` [INFO] [stdout] 367462b9e674dcc480ce7d9c3f6926f49390357a5ce5cc9f6660ba9160afbc79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc63b3ab75bb48e479bf04f0234ec117788cb7c331d8d5d55d060382eac8a981 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fc63b3ab75bb48e479bf04f0234ec117788cb7c331d8d5d55d060382eac8a981", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v0.14.1 [INFO] [stderr] Compiling loterra-dao v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `from_binary` [INFO] [stdout] --> src/contract.rs:810:31 [INFO] [stdout] | [INFO] [stdout] 810 | use cosmwasm_std::{coins, from_binary}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/contract.rs:1443:48 [INFO] [stdout] | [INFO] [stdout] 1443 | use cosmwasm_std::{Api, Coin, Decimal, Event}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Attribute`, `BankMsg`, `CosmosMsg` [INFO] [stdout] --> src/contract.rs:1788:28 [INFO] [stdout] | [INFO] [stdout] 1788 | use cosmwasm_std::{Attribute, BankMsg, Coin, CosmosMsg, Decimal, Event}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | let res = instantiate(deps, mock_env(), info, msg).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/contract.rs:1772:17 [INFO] [stdout] | [INFO] [stdout] 1772 | let reply = reply(deps.as_mut(), mock_env(), Reply { id: 0, result }).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:2043:17 [INFO] [stdout] | [INFO] [stdout] 2043 | 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:2044:17 [INFO] [stdout] | [INFO] [stdout] 2044 | 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: `reply` [INFO] [stdout] --> src/contract.rs:2071:17 [INFO] [stdout] | [INFO] [stdout] 2071 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:2107:17 [INFO] [stdout] | [INFO] [stdout] 2107 | 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: `reply` [INFO] [stdout] --> src/contract.rs:2117:17 [INFO] [stdout] | [INFO] [stdout] 2117 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:2170:17 [INFO] [stdout] | [INFO] [stdout] 2170 | 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:2171:17 [INFO] [stdout] | [INFO] [stdout] 2171 | 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: `reply` [INFO] [stdout] --> src/contract.rs:2198:17 [INFO] [stdout] | [INFO] [stdout] 2198 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:2222:17 [INFO] [stdout] | [INFO] [stdout] 2222 | 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:2223:17 [INFO] [stdout] | [INFO] [stdout] 2223 | 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: `res` [INFO] [stdout] --> src/contract.rs:2243:17 [INFO] [stdout] | [INFO] [stdout] 2243 | let res = execute(deps.as_mut(), env, info, msg).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:2265:17 [INFO] [stdout] | [INFO] [stdout] 2265 | 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: `reply` [INFO] [stdout] --> src/contract.rs:2274:17 [INFO] [stdout] | [INFO] [stdout] 2274 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:2292:17 [INFO] [stdout] | [INFO] [stdout] 2292 | let res = execute(deps.as_mut(), env, info, msg).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rep` [INFO] [stdout] --> src/contract.rs:2321:17 [INFO] [stdout] | [INFO] [stdout] 2321 | let rep = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:2335:17 [INFO] [stdout] | [INFO] [stdout] 2335 | let res = execute(deps.as_mut(), env.clone(), info, msg).unwrap(); [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:2352:17 [INFO] [stdout] | [INFO] [stdout] 2352 | let res = reply(deps.as_mut(), env.clone(), rep).unwrap(); [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:2374:17 [INFO] [stdout] | [INFO] [stdout] 2374 | let res = reply(deps.as_mut(), env, rep).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/mock_querier.rs:178:54 [INFO] [stdout] | [INFO] [stdout] 178 | QueryRequest::Custom(TerraQueryWrapper { route, query_data }) => match query_data { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `route: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_poll_dao_funding` [INFO] [stdout] --> src/contract.rs:1844:12 [INFO] [stdout] | [INFO] [stdout] 1844 | fn create_poll_dao_funding(deps: DepsMut) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_poll_statking_contract_migration` [INFO] [stdout] --> src/contract.rs:1868:12 [INFO] [stdout] | [INFO] [stdout] 1868 | fn create_poll_statking_contract_migration(deps: DepsMut) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `terrand_response` [INFO] [stdout] --> src/mock_querier.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | terrand_response: TerrandResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mock_querier.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(randomness: Binary, worker: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mock_querier.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(total_bonded: Uint128) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.00s [INFO] running `Command { std: "docker" "inspect" "fc63b3ab75bb48e479bf04f0234ec117788cb7c331d8d5d55d060382eac8a981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc63b3ab75bb48e479bf04f0234ec117788cb7c331d8d5d55d060382eac8a981", kill_on_drop: false }` [INFO] [stdout] fc63b3ab75bb48e479bf04f0234ec117788cb7c331d8d5d55d060382eac8a981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ee5479cf2929c9ff5e6c0406e5c9903eff5c1bc2d0550c3f5cb791be5c4a4d8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ee5479cf2929c9ff5e6c0406e5c9903eff5c1bc2d0550c3f5cb791be5c4a4d8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `from_binary` [INFO] [stderr] --> src/contract.rs:810:31 [INFO] [stderr] | [INFO] [stderr] 810 | use cosmwasm_std::{coins, from_binary}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> src/contract.rs:1443:48 [INFO] [stderr] | [INFO] [stderr] 1443 | use cosmwasm_std::{Api, Coin, Decimal, Event}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Attribute`, `BankMsg`, `CosmosMsg` [INFO] [stderr] --> src/contract.rs:1788:28 [INFO] [stderr] | [INFO] [stderr] 1788 | use cosmwasm_std::{Attribute, BankMsg, Coin, CosmosMsg, Decimal, Event}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/contract.rs:838:13 [INFO] [stderr] | [INFO] [stderr] 838 | let res = instantiate(deps, mock_env(), info, msg).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reply` [INFO] [stderr] --> src/contract.rs:1772:17 [INFO] [stderr] | [INFO] [stderr] 1772 | let reply = reply(deps.as_mut(), mock_env(), Reply { id: 0, result }).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:2043:17 [INFO] [stderr] | [INFO] [stderr] 2043 | 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:2044:17 [INFO] [stderr] | [INFO] [stderr] 2044 | 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: `reply` [INFO] [stderr] --> src/contract.rs:2071:17 [INFO] [stderr] | [INFO] [stderr] 2071 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:2107:17 [INFO] [stderr] | [INFO] [stderr] 2107 | 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: `reply` [INFO] [stderr] --> src/contract.rs:2117:17 [INFO] [stderr] | [INFO] [stderr] 2117 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:2170:17 [INFO] [stderr] | [INFO] [stderr] 2170 | 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:2171:17 [INFO] [stderr] | [INFO] [stderr] 2171 | 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: `reply` [INFO] [stderr] --> src/contract.rs:2198:17 [INFO] [stderr] | [INFO] [stderr] 2198 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> src/contract.rs:2222:17 [INFO] [stderr] | [INFO] [stderr] 2222 | 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:2223:17 [INFO] [stderr] | [INFO] [stderr] 2223 | 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: `res` [INFO] [stderr] --> src/contract.rs:2243:17 [INFO] [stderr] | [INFO] [stderr] 2243 | let res = execute(deps.as_mut(), env, info, msg).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/contract.rs:2265:17 [INFO] [stderr] | [INFO] [stderr] 2265 | 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: `reply` [INFO] [stderr] --> src/contract.rs:2274:17 [INFO] [stderr] | [INFO] [stderr] 2274 | let reply = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/contract.rs:2292:17 [INFO] [stderr] | [INFO] [stderr] 2292 | let res = execute(deps.as_mut(), env, info, msg).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rep` [INFO] [stderr] --> src/contract.rs:2321:17 [INFO] [stderr] | [INFO] [stderr] 2321 | let rep = reply(deps.as_mut(), env.clone(), Reply { id: 0, result }).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rep` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> src/contract.rs:2335:17 [INFO] [stderr] | [INFO] [stderr] 2335 | let res = execute(deps.as_mut(), env.clone(), info, msg).unwrap(); [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:2352:17 [INFO] [stderr] | [INFO] [stderr] 2352 | let res = reply(deps.as_mut(), env.clone(), rep).unwrap(); [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:2374:17 [INFO] [stderr] | [INFO] [stderr] 2374 | let res = reply(deps.as_mut(), env, rep).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `route` [INFO] [stderr] --> src/mock_querier.rs:178:54 [INFO] [stderr] | [INFO] [stderr] 178 | QueryRequest::Custom(TerraQueryWrapper { route, query_data }) => match query_data { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `route: _` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_poll_dao_funding` [INFO] [stderr] --> src/contract.rs:1844:12 [INFO] [stderr] | [INFO] [stderr] 1844 | fn create_poll_dao_funding(deps: DepsMut) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_poll_statking_contract_migration` [INFO] [stderr] --> src/contract.rs:1868:12 [INFO] [stderr] | [INFO] [stderr] 1868 | fn create_poll_statking_contract_migration(deps: DepsMut) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `terrand_response` [INFO] [stderr] --> src/mock_querier.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | terrand_response: TerrandResponse, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/mock_querier.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn new(randomness: Binary, worker: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/mock_querier.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn new(total_bonded: Uint128) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: 29 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/loterra_dao-f3f816be5ad599ee) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test contract::tests::proposal::send_funds ... ok [INFO] [stdout] test contract::tests::present::poll_expired_but_quorum_not_reached ... ok [INFO] [stdout] test contract::tests::proposal::description_min_error ... ok [INFO] [stdout] test contract::tests::reject::only_creator_can_reject ... ok [INFO] [stdout] test contract::tests::proposal::description_max_error ... ok [INFO] [stdout] test contract::tests::present::poll_expired_and_quorum_reached ... ok [INFO] [stdout] test contract::tests::proposal::all_proposal_amount_error ... ok [INFO] [stdout] test contract::tests::present::reply_lottery ... 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::vote::poll_expired ... ok [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::vote::poll_deactivated ... ok [INFO] [stdout] test contract::tests::present::poll_expired ... ok [INFO] [stdout] test contract::tests::present::success_with_reject ... ok [INFO] [stdout] test contract::tests::vote::success ... ok [INFO] [stdout] test contract::tests::reject::success ... ok [INFO] [stdout] test contract::tests::reject::poll_expired ... ok [INFO] [stdout] test contract::tests::reject::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::proposal::success ... ok [INFO] [stdout] test contract::tests::vote::only_stakers_with_bonded_tokens_can_vote ... ok [INFO] [stdout] test contract::tests::present::success_with_passed ... ok [INFO] [stdout] test contract::tests::present::poll_still_in_progress ... ok [INFO] [stderr] Doc-tests loterra-dao [INFO] [stdout] test contract::tests::vote::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::present::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::present::success_with_proposal_not_expired_yet_and_more_50_percent_weight_vote ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ee5479cf2929c9ff5e6c0406e5c9903eff5c1bc2d0550c3f5cb791be5c4a4d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee5479cf2929c9ff5e6c0406e5c9903eff5c1bc2d0550c3f5cb791be5c4a4d8", kill_on_drop: false }` [INFO] [stdout] 8ee5479cf2929c9ff5e6c0406e5c9903eff5c1bc2d0550c3f5cb791be5c4a4d8