[INFO] cloning repository https://github.com/furysport/furycontracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/furysport/furycontracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurysport%2Ffurycontracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurysport%2Ffurycontracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abf7f9d8270e10d33d6d0872de40c3390382b157 [INFO] building furysport/furycontracts against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurysport%2Ffurycontracts" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furysport/furycontracts on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/furysport/furycontracts [INFO] finished tweaking git repo https://github.com/furysport/furycontracts [INFO] tweaked toml for git repo https://github.com/furysport/furycontracts written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/furysport/furycontracts 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "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-2-tc1/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-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-2-tc1/source/contracts/terraswap_factory/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-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-2-tc1/source/contracts/terraswap_pair/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/terra-money/terra-cosmwasm` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw20 v0.11.1 [INFO] [stderr] Downloaded schemars v0.8.10 [INFO] [stderr] Downloaded schemars_derive v0.8.10 [INFO] [stderr] Downloaded cw-utils v0.11.1 [INFO] [stderr] Downloaded cw20 v0.13.2 [INFO] [stderr] Downloaded cw20-base v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e80b8696e871409174f52c8e1010af48d5f86d8e7d86603bb9b17660c50ffeaa [INFO] running `Command { std: "docker" "start" "-a" "e80b8696e871409174f52c8e1010af48d5f86d8e7d86603bb9b17660c50ffeaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e80b8696e871409174f52c8e1010af48d5f86d8e7d86603bb9b17660c50ffeaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80b8696e871409174f52c8e1010af48d5f86d8e7d86603bb9b17660c50ffeaa", kill_on_drop: false }` [INFO] [stdout] e80b8696e871409174f52c8e1010af48d5f86d8e7d86603bb9b17660c50ffeaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5930b45483c4379732420aaa827529fde4d434d08403fbc518922f3f3e10b62d [INFO] running `Command { std: "docker" "start" "-a" "5930b45483c4379732420aaa827529fde4d434d08403fbc518922f3f3e10b62d", 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/packages/terraswap/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/terraswap_factory/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/terraswap_pair/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `cw1-subkeys` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1-whitelist` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1155-base` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-atomic-swap` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-bonding` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-escrow` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-ics20` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-merkle-airdrop` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-staking` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `club-staking`? [INFO] [stderr] warning: profile package spec `cw3-fixed-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw3-flex-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-group` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-stake` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw721-base` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `cw20-base`? [INFO] [stderr] warning: profile package spec `cw721-metadata-uri` in profile `release` did not match any packages [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling base64ct v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0 [INFO] [stderr] Compiling cosmwasm-std v1.0.0 [INFO] [stderr] Compiling cw0 v0.9.1 (/opt/rustwide/workdir/packages/cw0) [INFO] [stderr] Compiling cw-utils v0.13.2 [INFO] [stderr] Compiling cw-storage-plus v0.9.1 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Compiling cosmwasm-storage v1.0.0 [INFO] [stderr] Compiling cw-storage-plus v0.13.2 [INFO] [stderr] Compiling cw-utils v0.11.1 [INFO] [stderr] Compiling cosmwasm-bignumber v3.0.0-beta.0 (https://github.com/terra-money/terra-cosmwasm?branch=feature/wasm-1.0#86abe815) [INFO] [stderr] Compiling cw0 v0.10.3 [INFO] [stderr] Compiling cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1) [INFO] [stderr] Compiling cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20) [INFO] [stderr] Compiling cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [INFO] [stderr] Compiling cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721) [INFO] [stderr] Compiling cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Compiling cw2 v0.9.1 (/opt/rustwide/workdir/packages/cw2) [INFO] [stderr] Compiling cw20 v0.13.2 [INFO] [stderr] Compiling cw20 v0.11.1 [INFO] [stderr] Compiling cw-controllers v0.9.1 (/opt/rustwide/workdir/packages/controllers) [INFO] [stderr] Compiling cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4) [INFO] [stderr] Compiling cw2 v0.13.2 [INFO] [stderr] Compiling terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap) [INFO] [stderr] Compiling cw20-base v0.13.2 [INFO] [stderr] Compiling cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base) [INFO] [stderr] Compiling vest-n-distribute v0.9.1 (/opt/rustwide/workdir/contracts/vest-n-distribute) [INFO] [stderr] Compiling club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking) [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw_storage_plus::Map` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cw_storage_plus::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/club-staking/src/msg.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{Coin, Timestamp}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> contracts/club-staking/src/msg.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_fury_equivalent_to_ust` should have an upper camel case name [INFO] [stdout] --> contracts/club-staking/src/msg.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | get_fury_equivalent_to_ust { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetFuryEquivalentToUst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_ust_equivalent_to_fury` should have an upper camel case name [INFO] [stdout] --> contracts/club-staking/src/msg.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(some) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_some` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut sub_req_id = 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [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/cw20-base/src/contract.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut config = TOKEN_INFO.load(deps.storage)?; [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/cw20-base/src/contract.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut config = TOKEN_INFO.load(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/cw20-base/src/contract.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let mut config = TOKEN_INFO.load(deps.storage)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds_lapsed` is never read [INFO] [stdout] --> contracts/vest-n-distribute/src/execute.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut seconds_lapsed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_balance` is never used [INFO] [stdout] --> contracts/vest-n-distribute/src/query.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn query_balance(deps: Deps, address: String) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [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: `msg` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | 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/club-staking/src/contract.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | mut deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | env: 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] --> contracts/club-staking/src/contract.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | mut deps: DepsMut, [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: value assigned to `previous_owners_reward_amount` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | let mut current_time = env.block.time; [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/club-staking/src/contract.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | let mut release_start_time = owner.start_timestamp; [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/club-staking/src/contract.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | let mut release_locking_duration = owner.locking_period; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_owners_reward_amount` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | let mut current_time = env.block.time; [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/club-staking/src/contract.rs:624:17 [INFO] [stdout] | [INFO] [stdout] 624 | let mut release_start_time = owner.start_timestamp; [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/club-staking/src/contract.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | let mut release_locking_duration = owner.locking_period; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:726:14 [INFO] [stdout] | [INFO] [stdout] 726 | pub fn reply(deps: DepsMut, env: Env, reply: Reply) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 726 | pub fn reply(deps: DepsMut, env: Env, reply: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staker_addr` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | let staker_addr = deps.api.addr_validate(&staker)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staker_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:849:13 [INFO] [stdout] | [INFO] [stdout] 849 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | let owner = ownership_details.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let mut staker = stake.staker_address.clone(); [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/club-staking/src/contract.rs:943:13 [INFO] [stdout] | [INFO] [stdout] 943 | let mut amount = stake.staked_amount; [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/club-staking/src/contract.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | let mut auto_stake = stake.auto_stake; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stakes` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1045:13 [INFO] [stdout] | [INFO] [stdout] 1045 | let mut stakes = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `transfer_confirmed` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1073:13 [INFO] [stdout] | [INFO] [stdout] 1073 | let mut transfer_confirmed = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | let owner = ownership_details.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1084:21 [INFO] [stdout] | [INFO] [stdout] 1084 | let mut bonds = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1074:9 [INFO] [stdout] | [INFO] [stdout] 1074 | let mut action = "withdraw_stake".to_string(); [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/club-staking/src/contract.rs:1075:9 [INFO] [stdout] | [INFO] [stdout] 1075 | let mut burn_amount = Uint128::zero(); [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/club-staking/src/contract.rs:1079:13 [INFO] [stdout] | [INFO] [stdout] 1079 | let mut bonded_amount = Uint128::zero(); [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/club-staking/src/contract.rs:1085:17 [INFO] [stdout] | [INFO] [stdout] 1085 | let mut all_bonds = CLUB_BONDING_DETAILS.may_load(deps.storage, (&club_name.clone(), &staker.clone()))?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1414:5 [INFO] [stdout] | [INFO] [stdout] 1414 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reward_from` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1416:5 [INFO] [stdout] | [INFO] [stdout] 1416 | reward_from: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `owner_reward` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1629:13 [INFO] [stdout] | [INFO] [stdout] 1629 | let mut owner_reward = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1599:9 [INFO] [stdout] | [INFO] [stdout] 1599 | let mut winning_clubs_info: WinningClubDetails; [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/club-staking/src/contract.rs:1693:21 [INFO] [stdout] | [INFO] [stdout] 1693 | for mut stake in staking_details { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2182:13 [INFO] [stdout] | [INFO] [stdout] 2182 | let mut bonds: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_IMMEDIATE_WITHDRAWAL` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const NO_IMMEDIATE_WITHDRAWAL: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLUB_LOCKING_DURATION` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const CLUB_LOCKING_DURATION: u64 = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `received_message` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn received_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `periodically_refund_stakeouts` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn periodically_refund_stakeouts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | for previous_owner_detail in previous_ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 234 | while let Some(previous_owner_detail) = previous_ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(previous_owner_detail) = previous_ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | for owner_detail in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 292 | while let Some(owner_detail) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(owner_detail) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 442 | for owner in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 442 | while let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 442 | if let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:622:22 [INFO] [stdout] | [INFO] [stdout] 622 | for owner in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 622 | while let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 622 | if let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:761:18 [INFO] [stdout] | [INFO] [stdout] 761 | for owner in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 761 | while let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 761 | if let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1608:9 [INFO] [stdout] | [INFO] [stdout] 1608 | WINNING_CLUB_DETAILS_SNAPSHOT.save(deps.storage, &winning_clubs_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1608 | let _ = WINNING_CLUB_DETAILS_SNAPSHOT.save(deps.storage, &winning_clubs_info); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling terraswap-factory v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_factory) [INFO] [stderr] Compiling terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair) [INFO] [stderr] Compiling terra-swap-proxy v1.0.0 (/opt/rustwide/workdir/contracts/proxy) [INFO] [stderr] Compiling terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token) [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool) [INFO] [stdout] warning: unused import: `ContractResult` [INFO] [stdout] --> contracts/proxy/src/contract.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | ContractResult, CosmosMsg, Decimal, Deps, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1479:12 [INFO] [stdout] | [INFO] [stdout] 1479 | if (asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1479 - if (asset.info.is_native_token()) { [INFO] [stdout] 1479 + if asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1482:12 [INFO] [stdout] | [INFO] [stdout] 1482 | if (!asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1482 - if (!asset.info.is_native_token()) { [INFO] [stdout] 1482 + if !asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1504:12 [INFO] [stdout] | [INFO] [stdout] 1504 | if (asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1504 - if (asset.info.is_native_token()) { [INFO] [stdout] 1504 + if asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1507:12 [INFO] [stdout] | [INFO] [stdout] 1507 | if (!asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1507 - if (!asset.info.is_native_token()) { [INFO] [stdout] 1507 + if !asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/proxy/src/msg.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Binary, Decimal, Timestamp, Uint128, Uint64}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bound` [INFO] [stdout] --> contracts/proxy/src/state.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Bound, Item, Map}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | PROXY_ADDRESS.save(deps.storage, &msg.proxy_contract_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = PROXY_ADDRESS.save(deps.storage, &msg.proxy_contract_addr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::OverflowOperation::Add` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cosmwasm_std::OverflowOperation::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::_serde_json::ser::State` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use schemars::_serde_json::ser::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_team_details` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | save_team_details, set_platform_fee_wallets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::{Cw20ReceiveMsg, Logo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SwapBalanceDetails` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state::{GameResult, SwapBalanceDetails, WalletPercentage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_fury_equivalent_to_ust` should have an upper camel case name [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | get_fury_equivalent_to_ust { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetFuryEquivalentToUst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_ust_equivalent_to_fury` should have an upper camel case name [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND`, `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | env: Env, [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: `info` [INFO] [stdout] --> contracts/proxy/src/contract.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/proxy/src/contract.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut sub_req_id = 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let asset = Asset { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:662:13 [INFO] [stdout] | [INFO] [stdout] 662 | let asset = Asset { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/proxy/src/contract.rs:656:5 [INFO] [stdout] | [INFO] [stdout] 656 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:930:17 [INFO] [stdout] | [INFO] [stdout] 930 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 868 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:948:5 [INFO] [stdout] | [INFO] [stdout] 948 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/proxy/src/contract.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1026 | let mut bonds = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1107:13 [INFO] [stdout] | [INFO] [stdout] 1107 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/proxy/src/contract.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | let mut funds_to_send = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1256:9 [INFO] [stdout] | [INFO] [stdout] 1256 | let pf_asset = Asset { info: AssetInfo::NativeToken { denom: String::from(get_symbol(&deps)?) }, amount: platform_fees.amount }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1377:17 [INFO] [stdout] | [INFO] [stdout] 1377 | for event in sub_msg.events { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1604:9 [INFO] [stdout] | [INFO] [stdout] 1604 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FAR_IN_FUTURE` should have a snake case name [INFO] [stdout] --> contracts/proxy/src/contract.rs:1019:9 [INFO] [stdout] | [INFO] [stdout] 1019 | let FAR_IN_FUTURE = env.block.time.plus_seconds(2000 * 24 * 60 * 60).seconds(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `far_in_future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [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: `msg` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pool_type` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let pool_type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pool_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_type` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pool_type = ptd; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `asset` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut asset: Asset = Asset { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | 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/gaming-pool/src/execute.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | let mut pool_team_details; [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: value assigned to `refund_in_ust_fees` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | let mut refund_in_ust_fees = Uint128::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 764 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:742:5 [INFO] [stdout] | [INFO] [stdout] 742 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `platform_fee` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | let platform_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_platform_fee` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_count` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | let pool_count = pool_details.current_teams_count; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `platform_fee` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 967 | platform_fee = query_platform_fees(pool_type_details.pool_fee, platform_fee_in_percentage, config.transaction_fee.clone())?.platform_... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_fee` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let pool_fee: Uint128 = pool_type_details.pool_fee; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `all_teams` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | let mut all_teams: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reward_total` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | let reward_total; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_reward_total` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reward_total` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | reward_total = total_current; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reward_total` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | reward_total = reward_given_so_far; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 868 | game_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1080:13 [INFO] [stdout] | [INFO] [stdout] 1080 | let mut funds_to_send = vec![Coin { [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/gaming-pool/src/execute.rs:1128:12 [INFO] [stdout] | [INFO] [stdout] 1128 | Ok(mut swap) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `team_rank` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut team_rank = INITIAL_TEAM_RANK; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_team_rank` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `team_points` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut team_points = INITIAL_TEAM_POINTS; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_team_points` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_rank` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | team_rank = team.team_rank; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_points` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | team_points = team.team_points; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5930b45483c4379732420aaa827529fde4d434d08403fbc518922f3f3e10b62d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5930b45483c4379732420aaa827529fde4d434d08403fbc518922f3f3e10b62d", kill_on_drop: false }` [INFO] [stdout] 5930b45483c4379732420aaa827529fde4d434d08403fbc518922f3f3e10b62d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0338d4cfe0f93c5cbea4547f4069ca91366c5608a92f94efc93d8d021aa49e3e [INFO] running `Command { std: "docker" "start" "-a" "0338d4cfe0f93c5cbea4547f4069ca91366c5608a92f94efc93d8d021aa49e3e", 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/packages/terraswap/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/terraswap_factory/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/terraswap_pair/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `cw1-subkeys` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1-whitelist` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1155-base` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-atomic-swap` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-bonding` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-escrow` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-ics20` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-merkle-airdrop` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-staking` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `club-staking`? [INFO] [stderr] warning: profile package spec `cw3-fixed-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw3-flex-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-group` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-stake` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw721-base` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `cw20-base`? [INFO] [stderr] warning: profile package spec `cw721-metadata-uri` in profile `release` did not match any packages [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1)` has the same output filename as the example target `schema` in package `club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1)` has the same output filename as the example target `schema` in package `club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155)` has the same output filename as the example target `schema` in package `cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155)` has the same output filename as the example target `schema` in package `cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20)` has the same output filename as the example target `schema` in package `cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20)` has the same output filename as the example target `schema` in package `cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base)` has the same output filename as the example target `schema` in package `cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base)` has the same output filename as the example target `schema` in package `cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3)` has the same output filename as the example target `schema` in package `cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3)` has the same output filename as the example target `schema` in package `cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4)` has the same output filename as the example target `schema` in package `cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4)` has the same output filename as the example target `schema` in package `cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721)` has the same output filename as the example target `schema` in package `cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721)` has the same output filename as the example target `schema` in package `cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool)` has the same output filename as the example target `schema` in package `cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool)` has the same output filename as the example target `schema` in package `cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terra-swap-proxy v1.0.0 (/opt/rustwide/workdir/contracts/proxy)` has the same output filename as the example target `schema` in package `gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terra-swap-proxy v1.0.0 (/opt/rustwide/workdir/contracts/proxy)` has the same output filename as the example target `schema` in package `gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap)` has the same output filename as the example target `schema` in package `terra-swap-proxy v1.0.0 (/opt/rustwide/workdir/contracts/proxy)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap)` has the same output filename as the example target `schema` in package `terra-swap-proxy v1.0.0 (/opt/rustwide/workdir/contracts/proxy)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-factory v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_factory)` has the same output filename as the example target `schema` in package `terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-factory v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_factory)` has the same output filename as the example target `schema` in package `terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair)` has the same output filename as the example target `schema` in package `terraswap-factory v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_factory)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair)` has the same output filename as the example target `schema` in package `terraswap-factory v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_factory)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token)` has the same output filename as the example target `schema` in package `terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token)` has the same output filename as the example target `schema` in package `terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `vest-n-distribute v0.9.1 (/opt/rustwide/workdir/contracts/vest-n-distribute)` has the same output filename as the example target `schema` in package `terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `vest-n-distribute v0.9.1 (/opt/rustwide/workdir/contracts/vest-n-distribute)` has the same output filename as the example target `schema` in package `terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema.dwp [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] Compiling cosmwasm-schema v1.0.0 [INFO] [stderr] Compiling cw-storage-plus v0.9.1 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Compiling cw0 v0.9.1 (/opt/rustwide/workdir/packages/cw0) [INFO] [stderr] Compiling cw-controllers v0.9.1 (/opt/rustwide/workdir/packages/controllers) [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut config = TOKEN_INFO.load(deps.storage)?; [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/cw20-base/src/contract.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut config = TOKEN_INFO.load(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/cw20-base/src/contract.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let mut config = TOKEN_INFO.load(deps.storage)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(some) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_some` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut sub_req_id = 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds_lapsed` is never read [INFO] [stdout] --> contracts/vest-n-distribute/src/execute.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut seconds_lapsed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_balance` is never used [INFO] [stdout] --> contracts/vest-n-distribute/src/query.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn query_balance(deps: Deps, address: String) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw_storage_plus::Map` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cw_storage_plus::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/club-staking/src/msg.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{Coin, Timestamp}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg` [INFO] [stdout] --> contracts/club-staking/src/msg.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cw20::Cw20ReceiveMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_fury_equivalent_to_ust` should have an upper camel case name [INFO] [stdout] --> contracts/club-staking/src/msg.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | get_fury_equivalent_to_ust { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetFuryEquivalentToUst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_ust_equivalent_to_fury` should have an upper camel case name [INFO] [stdout] --> contracts/club-staking/src/msg.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [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: `msg` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | 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/club-staking/src/contract.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | mut deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | env: 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] --> contracts/club-staking/src/contract.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | mut deps: DepsMut, [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: value assigned to `previous_owners_reward_amount` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | let mut current_time = env.block.time; [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/club-staking/src/contract.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | let mut release_start_time = owner.start_timestamp; [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/club-staking/src/contract.rs:445:17 [INFO] [stdout] | [INFO] [stdout] 445 | let mut release_locking_duration = owner.locking_period; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_owners_reward_amount` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | let mut current_time = env.block.time; [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/club-staking/src/contract.rs:624:17 [INFO] [stdout] | [INFO] [stdout] 624 | let mut release_start_time = owner.start_timestamp; [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/club-staking/src/contract.rs:625:17 [INFO] [stdout] | [INFO] [stdout] 625 | let mut release_locking_duration = owner.locking_period; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:726:14 [INFO] [stdout] | [INFO] [stdout] 726 | pub fn reply(deps: DepsMut, env: Env, reply: Reply) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:726:29 [INFO] [stdout] | [INFO] [stdout] 726 | pub fn reply(deps: DepsMut, env: Env, reply: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staker_addr` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | let staker_addr = deps.api.addr_validate(&staker)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staker_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:849:13 [INFO] [stdout] | [INFO] [stdout] 849 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | let owner = ownership_details.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let mut staker = stake.staker_address.clone(); [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/club-staking/src/contract.rs:943:13 [INFO] [stdout] | [INFO] [stdout] 943 | let mut amount = stake.staked_amount; [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/club-staking/src/contract.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | let mut auto_stake = stake.auto_stake; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stakes` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1045:13 [INFO] [stdout] | [INFO] [stdout] 1045 | let mut stakes = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `transfer_confirmed` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1073:13 [INFO] [stdout] | [INFO] [stdout] 1073 | let mut transfer_confirmed = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | let owner = ownership_details.unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1084:21 [INFO] [stdout] | [INFO] [stdout] 1084 | let mut bonds = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1074:9 [INFO] [stdout] | [INFO] [stdout] 1074 | let mut action = "withdraw_stake".to_string(); [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/club-staking/src/contract.rs:1075:9 [INFO] [stdout] | [INFO] [stdout] 1075 | let mut burn_amount = Uint128::zero(); [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/club-staking/src/contract.rs:1079:13 [INFO] [stdout] | [INFO] [stdout] 1079 | let mut bonded_amount = Uint128::zero(); [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/club-staking/src/contract.rs:1085:17 [INFO] [stdout] | [INFO] [stdout] 1085 | let mut all_bonds = CLUB_BONDING_DETAILS.may_load(deps.storage, (&club_name.clone(), &staker.clone()))?; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1414:5 [INFO] [stdout] | [INFO] [stdout] 1414 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reward_from` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1416:5 [INFO] [stdout] | [INFO] [stdout] 1416 | reward_from: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `owner_reward` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1629:13 [INFO] [stdout] | [INFO] [stdout] 1629 | let mut owner_reward = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1599:9 [INFO] [stdout] | [INFO] [stdout] 1599 | let mut winning_clubs_info: WinningClubDetails; [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/club-staking/src/contract.rs:1693:21 [INFO] [stdout] | [INFO] [stdout] 1693 | for mut stake in staking_details { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2182:13 [INFO] [stdout] | [INFO] [stdout] 2182 | let mut bonds: Vec = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_IMMEDIATE_WITHDRAWAL` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const NO_IMMEDIATE_WITHDRAWAL: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLUB_LOCKING_DURATION` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const CLUB_LOCKING_DURATION: u64 = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `received_message` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn received_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `periodically_refund_stakeouts` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:336:4 [INFO] [stdout] | [INFO] [stdout] 336 | fn periodically_refund_stakeouts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | for previous_owner_detail in previous_ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 234 | while let Some(previous_owner_detail) = previous_ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(previous_owner_detail) = previous_ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | for owner_detail in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 292 | while let Some(owner_detail) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(owner_detail) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 442 | for owner in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 442 | while let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 442 | if let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:622:22 [INFO] [stdout] | [INFO] [stdout] 622 | for owner in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 622 | while let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 622 | if let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/club-staking/src/contract.rs:761:18 [INFO] [stdout] | [INFO] [stdout] 761 | for owner in ownership_details { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 761 | while let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 761 | if let Some(owner) = ownership_details { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1608:9 [INFO] [stdout] | [INFO] [stdout] 1608 | WINNING_CLUB_DETAILS_SNAPSHOT.save(deps.storage, &winning_clubs_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1608 | let _ = WINNING_CLUB_DETAILS_SNAPSHOT.save(deps.storage, &winning_clubs_info); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw2 v0.9.1 (/opt/rustwide/workdir/packages/cw2) [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::OverflowOperation::Add` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cosmwasm_std::OverflowOperation::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::_serde_json::ser::State` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use schemars::_serde_json::ser::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `save_team_details` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | save_team_details, set_platform_fee_wallets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20::{Cw20ReceiveMsg, Logo}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SwapBalanceDetails` [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::state::{GameResult, SwapBalanceDetails, WalletPercentage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_fury_equivalent_to_ust` should have an upper camel case name [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | get_fury_equivalent_to_ust { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetFuryEquivalentToUst` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `get_ust_equivalent_to_fury` should have an upper camel case name [INFO] [stdout] --> contracts/gaming-pool/src/msg.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND`, `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [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: `msg` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pool_type` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let pool_type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pool_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_type` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pool_type = ptd; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `asset` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut asset: Asset = Asset { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | 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/gaming-pool/src/execute.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | let mut pool_team_details; [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: value assigned to `refund_in_ust_fees` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | let mut refund_in_ust_fees = Uint128::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:764:17 [INFO] [stdout] | [INFO] [stdout] 764 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:742:5 [INFO] [stdout] | [INFO] [stdout] 742 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `platform_fee` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | let platform_fee; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_platform_fee` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_count` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | let pool_count = pool_details.current_teams_count; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `platform_fee` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 967 | platform_fee = query_platform_fees(pool_type_details.pool_fee, platform_fee_in_percentage, config.transaction_fee.clone())?.platform_... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_fee` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let pool_fee: Uint128 = pool_type_details.pool_fee; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_fee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `all_teams` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:981:13 [INFO] [stdout] | [INFO] [stdout] 981 | let mut all_teams: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reward_total` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | let reward_total; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_reward_total` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reward_total` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | reward_total = total_current; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `reward_total` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | reward_total = reward_given_so_far; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 868 | game_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1080:13 [INFO] [stdout] | [INFO] [stdout] 1080 | let mut funds_to_send = vec![Coin { [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/gaming-pool/src/execute.rs:1128:12 [INFO] [stdout] | [INFO] [stdout] 1128 | Ok(mut swap) => { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `team_rank` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let mut team_rank = INITIAL_TEAM_RANK; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_team_rank` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `team_points` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let mut team_points = INITIAL_TEAM_POINTS; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_team_points` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_rank` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | team_rank = team.team_rank; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `team_points` is never read [INFO] [stdout] --> contracts/gaming-pool/src/query.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | team_points = team.team_points; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContractResult` [INFO] [stdout] --> contracts/proxy/src/contract.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | ContractResult, CosmosMsg, Decimal, Deps, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1479:12 [INFO] [stdout] | [INFO] [stdout] 1479 | if (asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1479 - if (asset.info.is_native_token()) { [INFO] [stdout] 1479 + if asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1482:12 [INFO] [stdout] | [INFO] [stdout] 1482 | if (!asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1482 - if (!asset.info.is_native_token()) { [INFO] [stdout] 1482 + if !asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1504:12 [INFO] [stdout] | [INFO] [stdout] 1504 | if (asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1504 - if (asset.info.is_native_token()) { [INFO] [stdout] 1504 + if asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> contracts/proxy/src/contract.rs:1507:12 [INFO] [stdout] | [INFO] [stdout] 1507 | if (!asset.info.is_native_token()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1507 - if (!asset.info.is_native_token()) { [INFO] [stdout] 1507 + if !asset.info.is_native_token() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/proxy/src/msg.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Binary, Decimal, Timestamp, Uint128, Uint64}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bound` [INFO] [stdout] --> contracts/proxy/src/state.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use cw_storage_plus::{Bound, Item, Map}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | env: Env, [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: `info` [INFO] [stdout] --> contracts/proxy/src/contract.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/proxy/src/contract.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut sub_req_id = 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let asset = Asset { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:662:13 [INFO] [stdout] | [INFO] [stdout] 662 | let asset = Asset { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/proxy/src/contract.rs:656:5 [INFO] [stdout] | [INFO] [stdout] 656 | deps: DepsMut, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:930:17 [INFO] [stdout] | [INFO] [stdout] 930 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auto_stake` [INFO] [stdout] --> contracts/proxy/src/contract.rs:868:5 [INFO] [stdout] | [INFO] [stdout] 868 | auto_stake: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auto_stake` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/proxy/src/contract.rs:948:5 [INFO] [stdout] | [INFO] [stdout] 948 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/proxy/src/contract.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1026 | let mut bonds = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1107:13 [INFO] [stdout] | [INFO] [stdout] 1107 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/proxy/src/contract.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | let mut funds_to_send = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1256:9 [INFO] [stdout] | [INFO] [stdout] 1256 | let pf_asset = Asset { info: AssetInfo::NativeToken { denom: String::from(get_symbol(&deps)?) }, amount: platform_fees.amount }; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1377:17 [INFO] [stdout] | [INFO] [stdout] 1377 | for event in sub_msg.events { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pf_asset` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1604:9 [INFO] [stdout] | [INFO] [stdout] 1604 | let pf_asset = Asset { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pf_asset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FAR_IN_FUTURE` should have a snake case name [INFO] [stdout] --> contracts/proxy/src/contract.rs:1019:9 [INFO] [stdout] | [INFO] [stdout] 1019 | let FAR_IN_FUTURE = env.block.time.plus_seconds(2000 * 24 * 60 * 60).seconds(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `far_in_future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | PROXY_ADDRESS.save(deps.storage, &msg.proxy_contract_addr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = PROXY_ADDRESS.save(deps.storage, &msg.proxy_contract_addr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap) [INFO] [stderr] Compiling vest-n-distribute v0.9.1 (/opt/rustwide/workdir/contracts/vest-n-distribute) [INFO] [stderr] Compiling cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base) [INFO] [stderr] Compiling cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1) [INFO] [stderr] Compiling terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token) [INFO] [stderr] Compiling terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair) [INFO] [stderr] Compiling gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool) [INFO] [stderr] Compiling cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Compiling club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking) [INFO] [stdout] warning: unused import: `distribute_vested` [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::execute::{calculate_tokens_for_this_period, distribute_vested}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_dependencies` [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use cosmwasm_std::testing::{mock_dependencies, mock_env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_dependencies` [INFO] [stdout] --> contracts/cw20-base/src/enumerable.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | use cosmwasm_std::testing::{mock_dependencies, mock_dependencies_with_balance, mock_env, mock_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(some) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_some` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut sub_req_id = 1; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let mut config = TOKEN_INFO.load(deps.storage)?; [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/cw20-base/src/contract.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let mut config = TOKEN_INFO.load(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/cw20-base/src/contract.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let mut config = TOKEN_INFO.load(deps.storage)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `seconds_lapsed` is never read [INFO] [stdout] --> contracts/vest-n-distribute/src/execute.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut seconds_lapsed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1436:13 [INFO] [stdout] | [INFO] [stdout] 1436 | let mut remove_list = Vec::new(); [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/cw20-base/src/contract.rs:1543:13 [INFO] [stdout] | [INFO] [stdout] 1543 | let mut remove_list = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_balance` is never used [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_balance>(deps: Deps, address: T) -> Uint128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_balance` is never used [INFO] [stdout] --> contracts/vest-n-distribute/src/query.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn query_balance(deps: Deps, address: String) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1384:9 [INFO] [stdout] | [INFO] [stdout] 1384 | set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1384 | let _ = set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1385:9 [INFO] [stdout] | [INFO] [stdout] 1385 | restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), wallet_whitelist, remove_list.clone()); [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] 1385 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), wallet_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1386:9 [INFO] [stdout] | [INFO] [stdout] 1386 | restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), contract_whitelist, remove_list.clone()); [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] 1386 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), contract_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1398:9 [INFO] [stdout] | [INFO] [stdout] 1398 | restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), empty_add_list.clone(), remove_list.clone()); [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] 1398 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), empty_add_list.clone(), remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1402:9 [INFO] [stdout] | [INFO] [stdout] 1402 | restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), empty_add_list.clone(), remove_list.clone()); [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] 1402 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), empty_add_list.clone(), remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1442:9 [INFO] [stdout] | [INFO] [stdout] 1442 | set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [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] 1442 | let _ = set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1443:9 [INFO] [stdout] | [INFO] [stdout] 1443 | restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), wallet_whitelist, remove_list.clone()); [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] 1443 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), wallet_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1444:9 [INFO] [stdout] | [INFO] [stdout] 1444 | restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), contract_whitelist, remove_list.clone()); [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] 1444 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), contract_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1549:9 [INFO] [stdout] | [INFO] [stdout] 1549 | set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info2.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [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] 1549 | let _ = set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info2.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1550:9 [INFO] [stdout] | [INFO] [stdout] 1550 | restricted_wallet_list_update(deps.as_mut(), env.clone(), info2.clone(), wallet_whitelist, remove_list.clone()); [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] 1550 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info2.clone(), wallet_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1551:9 [INFO] [stdout] | [INFO] [stdout] 1551 | restricted_contract_list_update(deps.as_mut(), env.clone(), info2.clone(), contract_whitelist, remove_list.clone()); [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] 1551 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info2.clone(), contract_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cw20-base` (lib test); 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/bin/rustc --crate-name cw20_base --edition=2018 contracts/cw20-base/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=9d752e057c57d37f -C extra-filename=-9d752e057c57d37f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cosmwasm_schema=/opt/rustwide/target/debug/deps/libcosmwasm_schema-2c971cf95e06d3e4.rlib --extern cosmwasm_std=/opt/rustwide/target/debug/deps/libcosmwasm_std-08cf0ebe0fa40623.rlib --extern cw_storage_plus=/opt/rustwide/target/debug/deps/libcw_storage_plus-5ce73837e52123a2.rlib --extern cw0=/opt/rustwide/target/debug/deps/libcw0-da79709d49f1b02d.rlib --extern cw2=/opt/rustwide/target/debug/deps/libcw2-89e5ec6aeff483fd.rlib --extern cw20=/opt/rustwide/target/debug/deps/libcw20-a11d2ae4a62bef0f.rlib --extern schemars=/opt/rustwide/target/debug/deps/libschemars-3bd7d4d2fb1717b7.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-519e3050e5bf0fc9.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-79faabd687b79cd1.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `terraswap` (lib test) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/bin/rustc --crate-name terraswap --edition=2018 packages/terraswap/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=23c911e2965f9d3b -C extra-filename=-23c911e2965f9d3b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cosmwasm_schema=/opt/rustwide/target/debug/deps/libcosmwasm_schema-2c971cf95e06d3e4.rlib --extern cosmwasm_std=/opt/rustwide/target/debug/deps/libcosmwasm_std-08cf0ebe0fa40623.rlib --extern cosmwasm_storage=/opt/rustwide/target/debug/deps/libcosmwasm_storage-333d08abcbd9e735.rlib --extern cw20=/opt/rustwide/target/debug/deps/libcw20-fa2ba637646aa14a.rlib --extern protobuf=/opt/rustwide/target/debug/deps/libprotobuf-31ae4eed39c54db9.rlib --extern schemars=/opt/rustwide/target/debug/deps/libschemars-3bd7d4d2fb1717b7.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-519e3050e5bf0fc9.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `cw-storage-plus` (lib test) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/bin/rustc --crate-name cw_storage_plus --edition=2018 packages/storage-plus/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="iterator"' -C metadata=7cc49d18e20a5303 -C extra-filename=-7cc49d18e20a5303 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern cosmwasm_std=/opt/rustwide/target/debug/deps/libcosmwasm_std-08cf0ebe0fa40623.rlib --extern schemars=/opt/rustwide/target/debug/deps/libschemars-3bd7d4d2fb1717b7.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-519e3050e5bf0fc9.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0338d4cfe0f93c5cbea4547f4069ca91366c5608a92f94efc93d8d021aa49e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0338d4cfe0f93c5cbea4547f4069ca91366c5608a92f94efc93d8d021aa49e3e", kill_on_drop: false }` [INFO] [stdout] 0338d4cfe0f93c5cbea4547f4069ca91366c5608a92f94efc93d8d021aa49e3e