[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 master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-dao" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LoTerra/loterra-dao on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7/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-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c975ff0bc0dccc856bd30219b37c0a423ef913fdc307775c1ff9a2ea09e821a9 [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" "c975ff0bc0dccc856bd30219b37c0a423ef913fdc307775c1ff9a2ea09e821a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c975ff0bc0dccc856bd30219b37c0a423ef913fdc307775c1ff9a2ea09e821a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c975ff0bc0dccc856bd30219b37c0a423ef913fdc307775c1ff9a2ea09e821a9", kill_on_drop: false }` [INFO] [stdout] c975ff0bc0dccc856bd30219b37c0a423ef913fdc307775c1ff9a2ea09e821a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d45e45684b68df2a38408cf02f40f3559c971446ec29cb084fa367a1702d7a [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" "f1d45e45684b68df2a38408cf02f40f3559c971446ec29cb084fa367a1702d7a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.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 serde v1.0.126 [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 schemars v0.8.3 [INFO] [stderr] Compiling cosmwasm-std v0.14.0 [INFO] [stderr] Compiling cw0 v0.6.2 [INFO] [stderr] Compiling cw-storage-plus v0.6.0 [INFO] [stderr] Compiling terra-cosmwasm v2.0.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 21s [INFO] running `Command { std: "docker" "inspect" "f1d45e45684b68df2a38408cf02f40f3559c971446ec29cb084fa367a1702d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d45e45684b68df2a38408cf02f40f3559c971446ec29cb084fa367a1702d7a", kill_on_drop: false }` [INFO] [stdout] f1d45e45684b68df2a38408cf02f40f3559c971446ec29cb084fa367a1702d7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0cf928606233e7d0cb9ab7002de56754349073e2d1ee55a1919349074903893 [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" "d0cf928606233e7d0cb9ab7002de56754349073e2d1ee55a1919349074903893", 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 9.91s [INFO] running `Command { std: "docker" "inspect" "d0cf928606233e7d0cb9ab7002de56754349073e2d1ee55a1919349074903893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0cf928606233e7d0cb9ab7002de56754349073e2d1ee55a1919349074903893", kill_on_drop: false }` [INFO] [stdout] d0cf928606233e7d0cb9ab7002de56754349073e2d1ee55a1919349074903893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb8b3e6486acea4835f2e4bc3dfe5b13bab8d6d3a9af748b0fc18a199af72881 [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" "bb8b3e6486acea4835f2e4bc3dfe5b13bab8d6d3a9af748b0fc18a199af72881", 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::present::poll_still_in_progress ... ok [INFO] [stdout] test contract::tests::present::reply_lottery ... ok [INFO] [stdout] test contract::tests::present::poll_expired ... ok [INFO] [stdout] test contract::tests::present::poll_expired_and_quorum_reached ... 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::present::success_with_proposal_not_expired_yet_and_more_50_percent_weight_vote ... ok [INFO] [stdout] test contract::tests::proper_initialization ... 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::proposal::send_funds ... ok [INFO] [stdout] test contract::tests::vote::poll_deactivated ... ok [INFO] [stdout] test contract::tests::reject::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::present::success_with_reject ... 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::vote::do_not_send_funds ... ok [INFO] [stdout] test contract::tests::vote::only_stakers_with_bonded_tokens_can_vote ... ok [INFO] [stdout] test contract::tests::vote::success ... ok [INFO] [stdout] test contract::tests::present::success_with_passed ... ok [INFO] [stdout] test contract::tests::proposal::all_proposal_amount_error ... ok [INFO] [stdout] test contract::tests::reject::poll_expired ... ok [INFO] [stdout] test contract::tests::vote::poll_expired ... ok [INFO] [stdout] test contract::tests::reject::success ... ok [INFO] [stdout] test contract::tests::proposal::success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] Doc-tests loterra-dao [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" "bb8b3e6486acea4835f2e4bc3dfe5b13bab8d6d3a9af748b0fc18a199af72881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb8b3e6486acea4835f2e4bc3dfe5b13bab8d6d3a9af748b0fc18a199af72881", kill_on_drop: false }` [INFO] [stdout] bb8b3e6486acea4835f2e4bc3dfe5b13bab8d6d3a9af748b0fc18a199af72881