[INFO] cloning repository https://github.com/LoTerra/loterra-staking-contract [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-staking-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc3d952bdfd982f0e09eb289e8f842304ca064dd [INFO] checking LoTerra/loterra-staking-contract against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoTerra%2Floterra-staking-contract" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LoTerra/loterra-staking-contract on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config [INFO] started tweaking git repo https://github.com/LoTerra/loterra-staking-contract [INFO] finished tweaking git repo https://github.com/LoTerra/loterra-staking-contract [INFO] tweaked toml for git repo https://github.com/LoTerra/loterra-staking-contract written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/LoTerra/loterra-staking-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7df762140c24e409021c23563ef56084ad6b50a0354abd164809f5363ee1ad92 [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" "7df762140c24e409021c23563ef56084ad6b50a0354abd164809f5363ee1ad92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7df762140c24e409021c23563ef56084ad6b50a0354abd164809f5363ee1ad92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df762140c24e409021c23563ef56084ad6b50a0354abd164809f5363ee1ad92", kill_on_drop: false }` [INFO] [stdout] 7df762140c24e409021c23563ef56084ad6b50a0354abd164809f5363ee1ad92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c356b4eef88eca4ecb98a4a7b81f6b96734acd686d4d1f3ec40c1060d095773 [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" "4c356b4eef88eca4ecb98a4a7b81f6b96734acd686d4d1f3ec40c1060d095773", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking serde-json-wasm v0.2.3 [INFO] [stderr] Checking cosmwasm-std v0.10.1 [INFO] [stderr] Checking cosmwasm-schema v0.10.1 [INFO] [stderr] Checking terra-cosmwasm v1.2.4 [INFO] [stderr] Checking cosmwasm-storage v0.10.1 [INFO] [stderr] Checking loterra-staking v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::msg::QueryMsg` [INFO] [stdout] --> src/mock_querier.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::msg::QueryMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CanonicalAddr`, `StdResult` [INFO] [stdout] --> src/mock_querier.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | from_slice, to_binary, Api, Binary, CanonicalAddr, Coin, Empty, Extern, HumanAddr, Querier, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | QuerierResult, QueryRequest, StdResult, SystemError, Uint128, WasmQuery, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_storage::to_length_prefixed` [INFO] [stdout] --> src/mock_querier.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_storage::to_length_prefixed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::DeserializeOwned` [INFO] [stdout] --> src/mock_querier.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::DeserializeOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/mock_querier.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mock_querier.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:609:13 [INFO] [stdout] | [INFO] [stdout] 609 | let env = mock_env("creator", &coins(1000, "earth")); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:791:17 [INFO] [stdout] | [INFO] [stdout] 791 | let res = handle(&mut deps, env.clone(), msg.clone()).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:865:17 [INFO] [stdout] | [INFO] [stdout] 865 | let res = handle(&mut deps, env.clone(), msg.clone()).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:909:17 [INFO] [stdout] | [INFO] [stdout] 909 | let res = handle(&mut deps, env.clone(), msg.clone()).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:974:17 [INFO] [stdout] | [INFO] [stdout] 974 | let res = handle(&mut deps, env.clone(), msg.clone()).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:979:17 [INFO] [stdout] | [INFO] [stdout] 979 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1004:17 [INFO] [stdout] | [INFO] [stdout] 1004 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1039:17 [INFO] [stdout] | [INFO] [stdout] 1039 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1044:17 [INFO] [stdout] | [INFO] [stdout] 1044 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1125:17 [INFO] [stdout] | [INFO] [stdout] 1125 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1156:17 [INFO] [stdout] | [INFO] [stdout] 1156 | let res = handle(&mut deps, env.clone(), msg.clone()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store` [INFO] [stdout] --> src/contract.rs:1157:17 [INFO] [stdout] | [INFO] [stdout] 1157 | let store = staking_storage(&mut deps.storage) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/contract.rs:1208:17 [INFO] [stdout] | [INFO] [stdout] 1208 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1399:17 [INFO] [stdout] | [INFO] [stdout] 1399 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1405:17 [INFO] [stdout] | [INFO] [stdout] 1405 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1411:17 [INFO] [stdout] | [INFO] [stdout] 1411 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1498:17 [INFO] [stdout] | [INFO] [stdout] 1498 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1504:17 [INFO] [stdout] | [INFO] [stdout] 1504 | let res = handle(&mut deps, env.clone(), msg.clone()).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:1510:17 [INFO] [stdout] | [INFO] [stdout] 1510 | let res = handle(&mut deps, env.clone(), msg.clone()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `default_contract_address_two` [INFO] [stdout] --> src/contract.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | default_contract_address_two: HumanAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `terrand_response` [INFO] [stdout] --> src/mock_querier.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | terrand_response: TerrandResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mock_querier.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(randomness: Binary, worker: HumanAddr) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mock_querier.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(balance: Uint128) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mock_querier.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(total_bonded: Uint128) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mock_querier.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_token_balances` [INFO] [stdout] --> src/mock_querier.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn with_token_balances(&mut self, balances: Uint128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_holder` [INFO] [stdout] --> src/mock_querier.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_holder( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.54s [INFO] running `Command { std: "docker" "inspect" "4c356b4eef88eca4ecb98a4a7b81f6b96734acd686d4d1f3ec40c1060d095773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c356b4eef88eca4ecb98a4a7b81f6b96734acd686d4d1f3ec40c1060d095773", kill_on_drop: false }` [INFO] [stdout] 4c356b4eef88eca4ecb98a4a7b81f6b96734acd686d4d1f3ec40c1060d095773