[INFO] cloning repository https://github.com/Haseeb30000/sefi-stakepool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haseeb30000/sefi-stakepool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2Fsefi-stakepool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2Fsefi-stakepool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9f916f4a05a3c21b90a24b0fc202d91104361bc0
[INFO] checking Haseeb30000/sefi-stakepool against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaseeb30000%2Fsefi-stakepool" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Haseeb30000/sefi-stakepool on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Haseeb30000/sefi-stakepool
[INFO] finished tweaking git repo https://github.com/Haseeb30000/sefi-stakepool
[INFO] tweaked toml for git repo https://github.com/Haseeb30000/sefi-stakepool written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Haseeb30000/sefi-stakepool 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-5-tc1/source/contracts/dev-fund/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-5-tc1/source/contracts/lp-staking/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] [stderr]     Updating git repository `https://github.com/enigmampc/SecretNetwork`
[INFO] [stderr]     Updating git repository `https://github.com/enigmampc/secret-toolkit`
[INFO] [stderr]     Updating git repository `https://github.com/apache/teaclave-sgx-sdk.git`
[INFO] [stderr]     Updating git submodule `https://github.com/WebAssembly/testsuite`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cbindgen v0.13.2
[INFO] [stderr]   Downloaded rust_decimal v1.14.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c5cef3cfe27ab934c222fb0c0bf5650a3ff255952ffaa950dbfe5fb2a030aa2
[INFO] running `Command { std: "docker" "start" "-a" "1c5cef3cfe27ab934c222fb0c0bf5650a3ff255952ffaa950dbfe5fb2a030aa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c5cef3cfe27ab934c222fb0c0bf5650a3ff255952ffaa950dbfe5fb2a030aa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c5cef3cfe27ab934c222fb0c0bf5650a3ff255952ffaa950dbfe5fb2a030aa2", kill_on_drop: false }`
[INFO] [stdout] 1c5cef3cfe27ab934c222fb0c0bf5650a3ff255952ffaa950dbfe5fb2a030aa2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c97fcadcd7c09a1ebbca6948d3d52d3bd2842bea296c14845b516116317424ae
[INFO] running `Command { std: "docker" "start" "-a" "c97fcadcd7c09a1ebbca6948d3d52d3bd2842bea296c14845b516116317424ae", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/contracts/dev-fund/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/contracts/lp-staking/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling schemars v0.7.6
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking subtle v2.4.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling cbindgen v0.13.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking parity-wasm v0.41.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7)
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]     Checking rust_decimal v1.14.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking hmac-drbg v0.2.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha2 v0.9.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]     Checking libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling snafu-derive v0.6.10
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling schemars_derive v0.7.6
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]     Checking snafu v0.6.10
[INFO] [stderr]     Checking serde-json-wasm v0.2.3
[INFO] [stderr]     Checking bincode2 v2.0.1
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca)
[INFO] [stderr]     Checking cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92)
[INFO] [stderr]     Checking cosmwasm-schema v0.9.4
[INFO] [stderr]     Checking secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649)
[INFO] [stderr]     Checking cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?rev=004c6bc#004c6bca)
[INFO] [stderr]     Checking secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649)
[INFO] [stderr]     Checking secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649)
[INFO] [stderr]     Checking secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649)
[INFO] [stderr]     Checking secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649)
[INFO] [stderr]     Checking secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?branch=debug-print#e960c649)
[INFO] [stderr]     Checking scrt-finance v0.1.0 (/opt/rustwide/workdir/packages/scrt-finance)
[INFO] [stderr]     Checking gov-token v0.1.0 (/opt/rustwide/workdir/contracts/gov-token)
[INFO] [stderr]    Compiling enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92)
[INFO] [stderr]     Checking dev-fund v0.1.0 (/opt/rustwide/workdir/contracts/dev-fund)
[INFO] [stderr]     Checking cashback-minter v0.1.0 (/opt/rustwide/workdir/contracts/cashback-minter)
[INFO] [stderr]     Checking secret-poll v0.1.0 (/opt/rustwide/workdir/contracts/secret-poll)
[INFO] [stderr]     Checking weight-master v0.1.0 (/opt/rustwide/workdir/contracts/weight-master)
[INFO] [stderr]     Checking lp-staking v0.1.0 (/opt/rustwide/workdir/contracts/lp-staking)
[INFO] [stderr]     Checking cashback-token v0.1.0 (/opt/rustwide/workdir/contracts/cashback)
[INFO] [stdout] warning: unused imports: `Uint128` and `WasmMsg`
[INFO] [stdout]  --> contracts/secret-poll/src/contract.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 |     StdError, StdResult, Storage, Uint128, WasmMsg,
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> contracts/weight-master/src/contract.rs:380:9
[INFO] [stdout]     |
[INFO] [stdout] 380 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> contracts/secret-poll/src/contract.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mock_dependencies` and `mock_env`
[INFO] [stdout]    --> contracts/secret-poll/src/contract.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |     use cosmwasm_std::testing::{mock_dependencies, mock_env};
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StdError`, `coins`, and `from_binary`
[INFO] [stdout]    --> contracts/secret-poll/src/contract.rs:139:24
[INFO] [stdout]     |
[INFO] [stdout] 139 |     use cosmwasm_std::{coins, from_binary, StdError};
[INFO] [stdout]     |                        ^^^^^  ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mock_dependencies` and `mock_env`
[INFO] [stdout]    --> contracts/weight-master/src/contract.rs:381:33
[INFO] [stdout]     |
[INFO] [stdout] 381 |     use cosmwasm_std::testing::{mock_dependencies, mock_env};
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `StdError`, `coins`, and `from_binary`
[INFO] [stdout]    --> contracts/weight-master/src/contract.rs:382:24
[INFO] [stdout]     |
[INFO] [stdout] 382 |     use cosmwasm_std::{coins, from_binary, StdError};
[INFO] [stdout]     |                        ^^^^^  ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug_print`
[INFO] [stdout]  --> contracts/lp-staking/src/contract.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     debug_print, from_binary, to_binary, Api, Binary, CosmosMsg, Env, Extern, HandleResponse,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RngCore`
[INFO] [stdout]   --> contracts/lp-staking/src/contract.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | use rand::{RngCore, SeedableRng};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |       ///Why entropy and seed are the same here
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 104 | /     let a_lottery = Lottery {
[INFO] [stdout] 105 | |         entries: Vec::default(),
[INFO] [stdout] 106 | |         entropy: prng_seed_hashed.to_vec(),
[INFO] [stdout] 107 | |         start_height: height + 1,
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |         duration
[INFO] [stdout] 111 | |     };
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HumanAddr`
[INFO] [stdout]  --> contracts/lp-staking/src/querier.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     to_binary, Api, Extern, HumanAddr, Querier, QueryRequest, StdError, StdResult, Storage,
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Env`, `StdError`, and `StdResult`
[INFO] [stdout]  --> contracts/lp-staking/src/state.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm_std::{HumanAddr, CanonicalAddr, Uint128, Storage, Env, StdResult, StdError};
[INFO] [stdout]   |                                                                ^^^  ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     deps: &mut Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     env: Env,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     deps: &Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     msg: QueryMsg,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:326:9
[INFO] [stdout]     |
[INFO] [stdout] 326 |     let mut reward_pool = update_rewards(deps, /*&env, &config,*/ rewards)?;
[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: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:395:9
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug_print`
[INFO] [stdout]  --> contracts/lp-staking/src/contract.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     debug_print, from_binary, to_binary, Api, Binary, CosmosMsg, Env, Extern, HandleResponse,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RngCore`
[INFO] [stdout]   --> contracts/lp-staking/src/contract.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | use rand::{RngCore, SeedableRng};
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |       ///Why entropy and seed are the same here
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 104 | /     let a_lottery = Lottery {
[INFO] [stdout] 105 | |         entries: Vec::default(),
[INFO] [stdout] 106 | |         entropy: prng_seed_hashed.to_vec(),
[INFO] [stdout] 107 | |         start_height: height + 1,
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |         duration
[INFO] [stdout] 111 | |     };
[INFO] [stdout]     | |______- rustdoc does not generate documentation for statements
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CreateViewingKey`, `Receive`, `Redeem`, and `SetViewingKey`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:767:60
[INFO] [stdout]     |
[INFO] [stdout] 767 |     use scrt_finance::lp_staking_msg::LPStakingHandleMsg::{Receive, Redeem, SetViewingKey, CreateViewingKey};
[INFO] [stdout]     |                                                            ^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Empty`, `coins`, and `from_binary`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:776:9
[INFO] [stdout]     |
[INFO] [stdout] 776 |         coins, from_binary, BlockInfo, Coin, ContractInfo, Empty, MessageInfo, StdError, WasmMsg,
[INFO] [stdout]     |         ^^^^^  ^^^^^^^^^^^                                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:778:9
[INFO] [stdout]     |
[INFO] [stdout] 778 |     use rand::Rng;
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scrt_finance::lp_staking_msg::LPStakingHandleAnswer`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:779:9
[INFO] [stdout]     |
[INFO] [stdout] 779 |     use scrt_finance::lp_staking_msg::LPStakingHandleAnswer;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:780:17
[INFO] [stdout]     |
[INFO] [stdout] 780 |     use serde::{Deserialize, Serialize};
[INFO] [stdout]     |                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HumanAddr`
[INFO] [stdout]  --> contracts/lp-staking/src/querier.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 |     to_binary, Api, Extern, HumanAddr, Querier, QueryRequest, StdError, StdResult, Storage,
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Env`, `StdError`, and `StdResult`
[INFO] [stdout]  --> contracts/lp-staking/src/state.rs:1:64
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cosmwasm_std::{HumanAddr, CanonicalAddr, Uint128, Storage, Env, StdResult, StdError};
[INFO] [stdout]   |                                                                ^^^  ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:457:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_rewards`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:627:9
[INFO] [stdout]     |
[INFO] [stdout] 627 |     let new_rewards = query_pending(deps, block)?;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rewards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |     let user = TypedStore::<UserInfo, S>::attach(&deps.storage)
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Uint128` and `WasmMsg`
[INFO] [stdout]  --> contracts/secret-poll/src/contract.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 |     StdError, StdResult, Storage, Uint128, WasmMsg,
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REWARD_SCALE` is never used
[INFO] [stdout]   --> contracts/lp-staking/src/constants.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const REWARD_SCALE: u128 = 1_000_000_000_000; // 10 ^ 12
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sha_256` is never used
[INFO] [stdout]  --> contracts/lp-staking/src/rand.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sha_256(data: &[u8]) -> [u8; 32] {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Prng` is never constructed
[INFO] [stdout]   --> contracts/lp-staking/src/rand.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Prng {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `rand_bytes` are never used
[INFO] [stdout]   --> contracts/lp-staking/src/rand.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Prng {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(seed: &[u8], entropy: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn rand_bytes(&mut self) -> [u8; 32] {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let _ = &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:384:5
[INFO] [stdout]     |
[INFO] [stdout] 384 | /     &a_lottery.entries.push((
[INFO] [stdout] 385 | |         sender_address,
[INFO] [stdout] 386 | |         Uint128::from(account_balance + amount),
[INFO] [stdout] 387 | |         user.start_height,
[INFO] [stdout] 388 | |     ));
[INFO] [stdout]     | |______^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 384 |     let _ = &a_lottery.entries.push((
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:389:5
[INFO] [stdout]     |
[INFO] [stdout] 389 |     &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let _ = &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:390:5
[INFO] [stdout]     |
[INFO] [stdout] 390 |     &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 390 |     let _ = &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:391:5
[INFO] [stdout]     |
[INFO] [stdout] 391 |     lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 391 |     let _ = lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |         &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 442 |         let _ = &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:444:5
[INFO] [stdout]     |
[INFO] [stdout] 444 | /     &a_lottery.entries.push((
[INFO] [stdout] 445 | |         sender_address.clone(),
[INFO] [stdout] 446 | |         Uint128::from(account_balance - amount),
[INFO] [stdout] 447 | |         user.start_height,
[INFO] [stdout] 448 | |     ));
[INFO] [stdout]     | |______^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 444 |     let _ = &a_lottery.entries.push((
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 450 |     let _ = &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 |     &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 451 |     let _ = &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:452:5
[INFO] [stdout]     |
[INFO] [stdout] 452 |     lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 452 |     let _ = lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cosmwasm_schema`
[INFO] [stdout]  --> contracts/weight-master/examples/schema.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cosmwasm_schema::{export_schema, remove_schemas, schema_for};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cosmwasm_schema`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cosmwasm_std::{export_schema, remove_schemas, schema_for};
[INFO] [stdout]   |     ~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `weight_master::msg`
[INFO] [stdout]  --> contracts/weight-master/examples/schema.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use weight_master::msg::{CountResponse, HandleMsg, InitMsg, QueryMsg};
[INFO] [stdout]   |                    ^^^ could not find `msg` in `weight_master`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `weight_master::state::State`
[INFO] [stdout]  --> contracts/weight-master/examples/schema.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use weight_master::state::State;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weight-master` (example "schema") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 |     deps: &mut Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     env: Env,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     deps: &Extern<S, A, Q>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> contracts/secret-poll/src/contract.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     msg: QueryMsg,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:326:9
[INFO] [stdout]     |
[INFO] [stdout] 326 |     let mut reward_pool = update_rewards(deps, /*&env, &config,*/ rewards)?;
[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: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:395:9
[INFO] [stdout]     |
[INFO] [stdout] 395 |     let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[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]    --> contracts/lp-staking/src/contract.rs:457:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[INFO] [stdout]     |         ----^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_rewards`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:627:9
[INFO] [stdout]     |
[INFO] [stdout] 627 |     let new_rewards = query_pending(deps, block)?;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rewards`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:629:9
[INFO] [stdout]     |
[INFO] [stdout] 629 |     let user = TypedStore::<UserInfo, S>::attach(&deps.storage)
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_user`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:840:9
[INFO] [stdout]     |
[INFO] [stdout] 840 |         env: Env,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:850:13
[INFO] [stdout]     |
[INFO] [stdout] 850 |         let mut rewards = 100;
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:891:13
[INFO] [stdout]     |
[INFO] [stdout] 891 |         let env = mock_env("admin", &[], 10);
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:924:13
[INFO] [stdout]     |
[INFO] [stdout] 924 |         let config: Config = TypedStoreMut::attach(&mut deps.storage).load(CONFIG_KEY).unwrap();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unwrapped_msg`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:944:13
[INFO] [stdout]     |
[INFO] [stdout] 944 |         let unwrapped_msg = handle(&mut deps, env.clone(), handle_msg).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:948:13
[INFO] [stdout]     |
[INFO] [stdout] 948 |         let mut user = TypedStore::attach(&deps.storage)
[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]    --> contracts/lp-staking/src/contract.rs:956:13
[INFO] [stdout]     |
[INFO] [stdout] 956 |         let mut a_lottery = lottery(&mut deps.storage).load().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]    --> contracts/lp-staking/src/contract.rs:963:13
[INFO] [stdout]     |
[INFO] [stdout] 963 |         let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[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]    --> contracts/lp-staking/src/contract.rs:964:13
[INFO] [stdout]     |
[INFO] [stdout] 964 |         let mut reward_pool: RewardPool = rewards_store.load(REWARD_POOL_KEY).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unwrapped_msg`
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:986:13
[INFO] [stdout]     |
[INFO] [stdout] 986 |         let unwrapped_msg = handle(&mut deps, env.clone(), handle_msg).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:991:13
[INFO] [stdout]     |
[INFO] [stdout] 991 |         let mut user = TypedStore::attach(&deps.storage)
[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]    --> contracts/lp-staking/src/contract.rs:997:13
[INFO] [stdout]     |
[INFO] [stdout] 997 |         let mut a_lottery = lottery(&mut deps.storage).load().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]     --> contracts/lp-staking/src/contract.rs:1001:13
[INFO] [stdout]      |
[INFO] [stdout] 1001 |         let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[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]     --> contracts/lp-staking/src/contract.rs:1002:13
[INFO] [stdout]      |
[INFO] [stdout] 1002 |         let mut reward_pool: RewardPool = rewards_store.load(REWARD_POOL_KEY).unwrap();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unwrapped_msg`
[INFO] [stdout]     --> contracts/lp-staking/src/contract.rs:1022:13
[INFO] [stdout]      |
[INFO] [stdout] 1022 |         let unwrapped_msg = handle(&mut deps, env.clone(), handle_msg).unwrap();
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `unwrapped_msg`
[INFO] [stdout]     --> contracts/lp-staking/src/contract.rs:1027:13
[INFO] [stdout]      |
[INFO] [stdout] 1027 |         let unwrapped_msg = handle(&mut deps, env.clone(), handle_msg).unwrap();
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unwrapped_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> contracts/lp-staking/src/contract.rs:1029:13
[INFO] [stdout]      |
[INFO] [stdout] 1029 |         let mut a_lottery = lottery(&mut deps.storage).load().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]     --> contracts/lp-staking/src/contract.rs:1034:13
[INFO] [stdout]      |
[INFO] [stdout] 1034 |         let mut rewards_store = TypedStoreMut::attach(&mut deps.storage);
[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]     --> contracts/lp-staking/src/contract.rs:1035:13
[INFO] [stdout]      |
[INFO] [stdout] 1035 |         let mut reward_pool: RewardPool = rewards_store.load(REWARD_POOL_KEY).unwrap();
[INFO] [stdout]      |             ----^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REWARD_SCALE` is never used
[INFO] [stdout]   --> contracts/lp-staking/src/constants.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const REWARD_SCALE: u128 = 1_000_000_000_000; // 10 ^ 12
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `master_update_allocation` is never used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:838:8
[INFO] [stdout]     |
[INFO] [stdout] 838 |     fn master_update_allocation<S: Storage, A: Api, Q: Querier>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MasterHandleAnswer` is never used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:883:14
[INFO] [stdout]     |
[INFO] [stdout] 883 |     pub enum MasterHandleAnswer {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sha_256` is never used
[INFO] [stdout]  --> contracts/lp-staking/src/rand.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn sha_256(data: &[u8]) -> [u8; 32] {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:379:9
[INFO] [stdout]     |
[INFO] [stdout] 379 |         &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 379 |         let _ = &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:384:5
[INFO] [stdout]     |
[INFO] [stdout] 384 | /     &a_lottery.entries.push((
[INFO] [stdout] 385 | |         sender_address,
[INFO] [stdout] 386 | |         Uint128::from(account_balance + amount),
[INFO] [stdout] 387 | |         user.start_height,
[INFO] [stdout] 388 | |     ));
[INFO] [stdout]     | |______^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 384 |     let _ = &a_lottery.entries.push((
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:389:5
[INFO] [stdout]     |
[INFO] [stdout] 389 |     &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let _ = &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:390:5
[INFO] [stdout]     |
[INFO] [stdout] 390 |     &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 390 |     let _ = &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:391:5
[INFO] [stdout]     |
[INFO] [stdout] 391 |     lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 391 |     let _ = lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:442:9
[INFO] [stdout]     |
[INFO] [stdout] 442 |         &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 442 |         let _ = &a_lottery.entries.retain(|(k, _,_)| k != &sender_address);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:444:5
[INFO] [stdout]     |
[INFO] [stdout] 444 | /     &a_lottery.entries.push((
[INFO] [stdout] 445 | |         sender_address.clone(),
[INFO] [stdout] 446 | |         Uint128::from(account_balance - amount),
[INFO] [stdout] 447 | |         user.start_height,
[INFO] [stdout] 448 | |     ));
[INFO] [stdout]     | |______^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 444 |     let _ = &a_lottery.entries.push((
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 450 |     let _ = &a_lottery.entropy.extend(&env.block.height.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 |     &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 451 |     let _ = &a_lottery.entropy.extend(&env.block.time.to_be_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> contracts/lp-staking/src/contract.rs:452:5
[INFO] [stdout]     |
[INFO] [stdout] 452 |     lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 452 |     let _ = lottery(&mut deps.storage).save(&a_lottery);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c97fcadcd7c09a1ebbca6948d3d52d3bd2842bea296c14845b516116317424ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c97fcadcd7c09a1ebbca6948d3d52d3bd2842bea296c14845b516116317424ae", kill_on_drop: false }`
[INFO] [stdout] c97fcadcd7c09a1ebbca6948d3d52d3bd2842bea296c14845b516116317424ae
