[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] checking furysport/furycontracts against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffurysport%2Ffurycontracts" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/furysport/furycontracts on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-4-tc1/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-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-4-tc1/source/contracts/terraswap_factory/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-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-4-tc1/source/contracts/terraswap_pair/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] [stderr] Updating git repository `https://github.com/terra-money/terra-cosmwasm` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw-utils v0.13.2 [INFO] [stderr] Downloaded cw20-base v0.13.2 [INFO] [stderr] Downloaded cw-utils v0.11.1 [INFO] [stderr] Downloaded cw0 v0.10.3 [INFO] [stderr] Downloaded cw20 v0.11.1 [INFO] [stderr] Downloaded cw20 v0.13.2 [INFO] [stderr] Downloaded signature v1.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899ec39c983ad43e4c03d966c6df4bbd853c745c3b928c0859814cd34d051c3d [INFO] running `Command { std: "docker" "start" "-a" "899ec39c983ad43e4c03d966c6df4bbd853c745c3b928c0859814cd34d051c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899ec39c983ad43e4c03d966c6df4bbd853c745c3b928c0859814cd34d051c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899ec39c983ad43e4c03d966c6df4bbd853c745c3b928c0859814cd34d051c3d", kill_on_drop: false }` [INFO] [stdout] 899ec39c983ad43e4c03d966c6df4bbd853c745c3b928c0859814cd34d051c3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c0cc5b812db70bf67844ef59d026bf09a703c8b4242b74a9422c8151e08c5ea [INFO] running `Command { std: "docker" "start" "-a" "7c0cc5b812db70bf67844ef59d026bf09a703c8b4242b74a9422c8151e08c5ea", 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 version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking base64ct v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking dyn-clone v1.0.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking forward_ref v1.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking ed25519-zebra v3.0.0 [INFO] [stderr] Checking serde-json-wasm v0.4.1 [INFO] [stderr] Checking cosmwasm-crypto v1.0.0 [INFO] [stderr] Checking cosmwasm-std v1.0.0 [INFO] [stderr] Checking cosmwasm-schema v1.0.0 [INFO] [stderr] Checking cw0 v0.9.1 (/opt/rustwide/workdir/packages/cw0) [INFO] [stderr] Checking cw-storage-plus v0.9.1 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Checking cw-utils v0.13.2 [INFO] [stderr] Checking cosmwasm-storage v1.0.0 [INFO] [stderr] Checking cw-storage-plus v0.13.2 [INFO] [stderr] Checking cw-utils v0.11.1 [INFO] [stderr] Checking cw0 v0.10.3 [INFO] [stderr] Checking cosmwasm-bignumber v3.0.0-beta.0 (https://github.com/terra-money/terra-cosmwasm?branch=feature/wasm-1.0#86abe815) [INFO] [stderr] Checking cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1) [INFO] [stderr] Checking cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20) [INFO] [stderr] Checking cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721) [INFO] [stderr] Checking cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [INFO] [stderr] Checking cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Checking cw2 v0.9.1 (/opt/rustwide/workdir/packages/cw2) [INFO] [stderr] Checking cw4 v0.9.1 (/opt/rustwide/workdir/packages/cw4) [INFO] [stderr] Checking cw20 v0.13.2 [INFO] [stderr] Checking cw20 v0.11.1 [INFO] [stderr] Checking cw-controllers v0.9.1 (/opt/rustwide/workdir/packages/controllers) [INFO] [stderr] Checking cw2 v0.13.2 [INFO] [stderr] Checking cw20-base v0.9.1 (/opt/rustwide/workdir/contracts/cw20-base) [INFO] [stderr] Checking vest-n-distribute v0.9.1 (/opt/rustwide/workdir/contracts/vest-n-distribute) [INFO] [stderr] Checking club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking) [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, and `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: `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 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 imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, and `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/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] [stderr] Checking terraswap v2.6.1 (/opt/rustwide/workdir/packages/terraswap) [INFO] [stderr] Checking cw20-base v0.13.2 [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 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 imports: `Addr`, `CosmosMsg`, `SubMsg`, `WasmMsg`, `coins`, and `from_binary` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2250:24 [INFO] [stdout] | [INFO] [stdout] 2250 | use cosmwasm_std::{Addr, coins, CosmosMsg, from_binary, StdError, SubMsg, WasmMsg}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [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: 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: 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: 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 `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] [stdout] warning: 4 warnings emitted [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: 10 warnings emitted [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: 7 warnings emitted [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: 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: 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] [stdout] warning: 18 warnings emitted [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: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2279:13 [INFO] [stdout] | [INFO] [stdout] 2279 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2338:13 [INFO] [stdout] | [INFO] [stdout] 2338 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2419:13 [INFO] [stdout] | [INFO] [stdout] 2419 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2489:13 [INFO] [stdout] | [INFO] [stdout] 2489 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2514:16 [INFO] [stdout] | [INFO] [stdout] 2514 | Ok(mut cod) => { [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:2530:16 [INFO] [stdout] | [INFO] [stdout] 2530 | Ok(mut cod) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2619:13 [INFO] [stdout] | [INFO] [stdout] 2619 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2628:13 [INFO] [stdout] | [INFO] [stdout] 2628 | let owner1_info = mock_info("owner001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `staker6Info` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2681:13 [INFO] [stdout] | [INFO] [stdout] 2681 | let staker6Info = mock_info("staker006", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_staker6Info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2643:16 [INFO] [stdout] | [INFO] [stdout] 2643 | Ok(mut cod) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2726:13 [INFO] [stdout] | [INFO] [stdout] 2726 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3045:13 [INFO] [stdout] | [INFO] [stdout] 3045 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [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: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3144:13 [INFO] [stdout] | [INFO] [stdout] 3144 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [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 variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3239:13 [INFO] [stdout] | [INFO] [stdout] 3239 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3354:13 [INFO] [stdout] | [INFO] [stdout] 3354 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minting_contract_info` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3471:13 [INFO] [stdout] | [INFO] [stdout] 3471 | let minting_contract_info = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minting_contract_info` [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: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3638:13 [INFO] [stdout] | [INFO] [stdout] 3638 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3803:13 [INFO] [stdout] | [INFO] [stdout] 3803 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mintingContractInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking terra-swap-proxy v1.0.0 (/opt/rustwide/workdir/contracts/proxy) [INFO] [stderr] Checking gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool) [INFO] [stderr] Checking terraswap-factory v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_factory) [INFO] [stderr] Checking terraswap-pair v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_pair) [INFO] [stderr] Checking terraswap-token v0.0.0 (/opt/rustwide/workdir/contracts/terraswap_token) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:755:16 [INFO] [stdout] | [INFO] [stdout] 755 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_pair/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` 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] = note: `#[warn(dead_code)]` on by default [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: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_factory/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [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: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2278:13 [INFO] [stdout] | [INFO] [stdout] 2278 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2279:13 [INFO] [stdout] | [INFO] [stdout] 2279 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2289:9 [INFO] [stdout] | [INFO] [stdout] 2289 | / buy_a_club( [INFO] [stdout] 2290 | | deps.as_mut(), [INFO] [stdout] 2291 | | mock_env(), [INFO] [stdout] 2292 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2297 | | SET_AUTO_STAKE, [INFO] [stdout] 2298 | | ); [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] 2289 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2337:13 [INFO] [stdout] | [INFO] [stdout] 2337 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2338:13 [INFO] [stdout] | [INFO] [stdout] 2338 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2373:9 [INFO] [stdout] | [INFO] [stdout] 2373 | / claim_owner_rewards( [INFO] [stdout] 2374 | | deps.as_mut(), [INFO] [stdout] 2375 | | mock_env(), [INFO] [stdout] 2376 | | owner1_info.clone(), [INFO] [stdout] 2377 | | "owner001".to_string(), [INFO] [stdout] 2378 | | "CLUB001".to_string(), [INFO] [stdout] 2379 | | ); [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] 2373 | let _ = claim_owner_rewards( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfter` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2381:13 [INFO] [stdout] | [INFO] [stdout] 2381 | let queryResAfter = query_club_ownership_details(&mut deps.storage, "CLUB001".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2418:13 [INFO] [stdout] | [INFO] [stdout] 2418 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2419:13 [INFO] [stdout] | [INFO] [stdout] 2419 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2429:9 [INFO] [stdout] | [INFO] [stdout] 2429 | / buy_a_club( [INFO] [stdout] 2430 | | deps.as_mut(), [INFO] [stdout] 2431 | | mock_env(), [INFO] [stdout] 2432 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2437 | | SET_AUTO_STAKE, [INFO] [stdout] 2438 | | ); [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] 2429 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2441:9 [INFO] [stdout] | [INFO] [stdout] 2441 | / buy_a_club( [INFO] [stdout] 2442 | | deps.as_mut(), [INFO] [stdout] 2443 | | mock_env(), [INFO] [stdout] 2444 | | owner2_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2449 | | SET_AUTO_STAKE, [INFO] [stdout] 2450 | | ); [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] 2441 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2488:13 [INFO] [stdout] | [INFO] [stdout] 2488 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2489:13 [INFO] [stdout] | [INFO] [stdout] 2489 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2502:9 [INFO] [stdout] | [INFO] [stdout] 2502 | / assign_a_club( [INFO] [stdout] 2503 | | deps.as_mut(), [INFO] [stdout] 2504 | | mock_env(), [INFO] [stdout] 2505 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2509 | | SET_AUTO_STAKE, [INFO] [stdout] 2510 | | ); [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] 2502 | let _ = assign_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes0` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2512:13 [INFO] [stdout] | [INFO] [stdout] 2512 | let queryRes0 = query_club_ownership_details(&mut deps.storage, "CLUB001".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2526:9 [INFO] [stdout] | [INFO] [stdout] 2526 | release_club(deps.as_mut(), mock_env(), owner1_info.clone(), "owner001".to_string(), "CLUB001".to_string()); [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] 2526 | let _ = release_club(deps.as_mut(), mock_env(), owner1_info.clone(), "owner001".to_string(), "CLUB001".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes1` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2528:13 [INFO] [stdout] | [INFO] [stdout] 2528 | let queryRes1 = query_club_ownership_details(&mut deps.storage, "CLUB001".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2542:9 [INFO] [stdout] | [INFO] [stdout] 2542 | / assign_a_club( [INFO] [stdout] 2543 | | deps.as_mut(), [INFO] [stdout] 2544 | | mock_env(), [INFO] [stdout] 2545 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2549 | | SET_AUTO_STAKE, [INFO] [stdout] 2550 | | ); [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] 2542 | let _ = assign_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2553:9 [INFO] [stdout] | [INFO] [stdout] 2553 | release_club(deps.as_mut(), mock_env(), owner2_info.clone(), "owner002".to_string(), "CLUB001".to_string()); [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] 2553 | let _ = release_club(deps.as_mut(), mock_env(), owner2_info.clone(), "owner002".to_string(), "CLUB001".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes2` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2555:13 [INFO] [stdout] | [INFO] [stdout] 2555 | let queryRes2 = query_club_ownership_details(&mut deps.storage, "CLUB001".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2562:17 [INFO] [stdout] | [INFO] [stdout] 2562 | CLUB_OWNERSHIP_DETAILS.save(&mut deps.storage, "CLUB001".to_string(), &cod); [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] 2562 | let _ = CLUB_OWNERSHIP_DETAILS.save(&mut deps.storage, "CLUB001".to_string(), &cod); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2571:9 [INFO] [stdout] | [INFO] [stdout] 2571 | / assign_a_club( [INFO] [stdout] 2572 | | deps.as_mut(), [INFO] [stdout] 2573 | | mock_env(), [INFO] [stdout] 2574 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2578 | | SET_AUTO_STAKE, [INFO] [stdout] 2579 | | ); [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] 2571 | let _ = assign_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes3` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2581:13 [INFO] [stdout] | [INFO] [stdout] 2581 | let queryRes3 = query_club_ownership_details(&mut deps.storage, "CLUB001".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2618:13 [INFO] [stdout] | [INFO] [stdout] 2618 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2619:13 [INFO] [stdout] | [INFO] [stdout] 2619 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2631:9 [INFO] [stdout] | [INFO] [stdout] 2631 | / assign_a_club( [INFO] [stdout] 2632 | | deps.as_mut(), [INFO] [stdout] 2633 | | mock_env(), [INFO] [stdout] 2634 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2638 | | SET_AUTO_STAKE, [INFO] [stdout] 2639 | | ); [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] 2631 | let _ = assign_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes0` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2641:13 [INFO] [stdout] | [INFO] [stdout] 2641 | let queryRes0 = query_club_ownership_details(&mut deps.storage, "CLUB001".to_string()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker6Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2681:13 [INFO] [stdout] | [INFO] [stdout] 2681 | let staker6Info = mock_info("staker006", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker6_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2682:9 [INFO] [stdout] | [INFO] [stdout] 2682 | / assign_stakes_to_a_club( [INFO] [stdout] 2683 | | deps.as_mut(), [INFO] [stdout] 2684 | | mock_env(), [INFO] [stdout] 2685 | | adminInfo.clone(), [INFO] [stdout] 2686 | | stake_list, [INFO] [stdout] 2687 | | "CLUB001".to_string(), [INFO] [stdout] 2688 | | ); [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] 2682 | let _ = assign_stakes_to_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes1` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2690:13 [INFO] [stdout] | [INFO] [stdout] 2690 | let queryRes1 = query_all_stakes(&mut deps.storage, user_address_list); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2725:13 [INFO] [stdout] | [INFO] [stdout] 2725 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2726:13 [INFO] [stdout] | [INFO] [stdout] 2726 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2764:17 [INFO] [stdout] | [INFO] [stdout] 2764 | CLUB_OWNERSHIP_DETAILS.save(&mut deps.storage, "CLUB001".to_string(), &cod); [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] 2764 | let _ = CLUB_OWNERSHIP_DETAILS.save(&mut deps.storage, "CLUB001".to_string(), &cod); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2772:9 [INFO] [stdout] | [INFO] [stdout] 2772 | / release_club( [INFO] [stdout] 2773 | | deps.as_mut(), [INFO] [stdout] 2774 | | mock_env(), [INFO] [stdout] 2775 | | owner1_info.clone(), [INFO] [stdout] 2776 | | "owner001".to_string(), [INFO] [stdout] 2777 | | "CLUB001".to_string(), [INFO] [stdout] 2778 | | ); [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] 2772 | let _ = release_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterReleasing` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2780:13 [INFO] [stdout] | [INFO] [stdout] 2780 | let queryResAfterReleasing = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_releasing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterSellingByPrevOwner` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2806:13 [INFO] [stdout] | [INFO] [stdout] 2806 | let queryResAfterSellingByPrevOwner = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_selling_by_prev_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2843:13 [INFO] [stdout] | [INFO] [stdout] 2843 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2844:13 [INFO] [stdout] | [INFO] [stdout] 2844 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2854:9 [INFO] [stdout] | [INFO] [stdout] 2854 | / buy_a_club( [INFO] [stdout] 2855 | | deps.as_mut(), [INFO] [stdout] 2856 | | mock_env(), [INFO] [stdout] 2857 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2862 | | SET_AUTO_STAKE, [INFO] [stdout] 2863 | | ); [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] 2854 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2865:9 [INFO] [stdout] | [INFO] [stdout] 2865 | / release_club( [INFO] [stdout] 2866 | | deps.as_mut(), [INFO] [stdout] 2867 | | mock_env(), [INFO] [stdout] 2868 | | owner1_info.clone(), [INFO] [stdout] 2869 | | "owner001".to_string(), [INFO] [stdout] 2870 | | "CLUB001".to_string(), [INFO] [stdout] 2871 | | ); [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] 2865 | let _ = release_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2881:17 [INFO] [stdout] | [INFO] [stdout] 2881 | CLUB_OWNERSHIP_DETAILS.save(&mut deps.storage, "CLUB001".to_string(), &cod); [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] 2881 | let _ = CLUB_OWNERSHIP_DETAILS.save(&mut deps.storage, "CLUB001".to_string(), &cod); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2889:13 [INFO] [stdout] | [INFO] [stdout] 2889 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2890:9 [INFO] [stdout] | [INFO] [stdout] 2890 | / stake_on_a_club( [INFO] [stdout] 2891 | | deps.as_mut(), [INFO] [stdout] 2892 | | mock_env(), [INFO] [stdout] 2893 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2897 | | SET_AUTO_STAKE, [INFO] [stdout] 2898 | | ); [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] 2890 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2900:9 [INFO] [stdout] | [INFO] [stdout] 2900 | / increase_reward_amount( [INFO] [stdout] 2901 | | deps.as_mut(), [INFO] [stdout] 2902 | | mock_env(), [INFO] [stdout] 2903 | | mintingContractInfo.clone(), [INFO] [stdout] 2904 | | "reward_from abc".to_string(), [INFO] [stdout] 2905 | | Uint128::from(1000000u128), [INFO] [stdout] 2906 | | ); [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] 2900 | let _ = increase_reward_amount( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2912:9 [INFO] [stdout] | [INFO] [stdout] 2912 | calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), staker_list1.clone(), club_name1, true, true); [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] 2912 | let _ = calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), staker_list1.clone(), club_name1, true, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2915:9 [INFO] [stdout] | [INFO] [stdout] 2915 | / release_club( [INFO] [stdout] 2916 | | deps.as_mut(), [INFO] [stdout] 2917 | | mock_env(), [INFO] [stdout] 2918 | | owner1_info.clone(), [INFO] [stdout] 2919 | | "owner001".to_string(), [INFO] [stdout] 2920 | | "CLUB001".to_string(), [INFO] [stdout] 2921 | | ); [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] 2915 | let _ = release_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterReleasing` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2923:13 [INFO] [stdout] | [INFO] [stdout] 2923 | let queryResAfterReleasing = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_releasing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2948:9 [INFO] [stdout] | [INFO] [stdout] 2948 | / buy_a_club( [INFO] [stdout] 2949 | | deps.as_mut(), [INFO] [stdout] 2950 | | mock_env(), [INFO] [stdout] 2951 | | owner2_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2956 | | SET_AUTO_STAKE, [INFO] [stdout] 2957 | | ); [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] 2948 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterSellingByPrevOwner` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2959:13 [INFO] [stdout] | [INFO] [stdout] 2959 | let queryResAfterSellingByPrevOwner = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_selling_by_prev_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3005:9 [INFO] [stdout] | [INFO] [stdout] 3005 | claim_previous_owner_rewards(deps.as_mut(), owner1_info.clone(), "owner001".to_string()); [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] 3005 | let _ = claim_previous_owner_rewards(deps.as_mut(), owner1_info.clone(), "owner001".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryPrevOwnerDetailsAfterRewardClaim` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3006:13 [INFO] [stdout] | [INFO] [stdout] 3006 | let queryPrevOwnerDetailsAfterRewardClaim = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_prev_owner_details_after_reward_claim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3044:13 [INFO] [stdout] | [INFO] [stdout] 3044 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3045:13 [INFO] [stdout] | [INFO] [stdout] 3045 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3055:9 [INFO] [stdout] | [INFO] [stdout] 3055 | / buy_a_club( [INFO] [stdout] 3056 | | deps.as_mut(), [INFO] [stdout] 3057 | | mock_env(), [INFO] [stdout] 3058 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3063 | | false, // NO AUTO STAKE [INFO] [stdout] 3064 | | ); [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] 3055 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3067:13 [INFO] [stdout] | [INFO] [stdout] 3067 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3068:9 [INFO] [stdout] | [INFO] [stdout] 3068 | / stake_on_a_club( [INFO] [stdout] 3069 | | deps.as_mut(), [INFO] [stdout] 3070 | | mock_env(), [INFO] [stdout] 3071 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3075 | | false, // NO AUTO STAKE [INFO] [stdout] 3076 | | ); [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] 3068 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3078:9 [INFO] [stdout] | [INFO] [stdout] 3078 | / increase_reward_amount( [INFO] [stdout] 3079 | | deps.as_mut(), [INFO] [stdout] 3080 | | mock_env(), [INFO] [stdout] 3081 | | adminInfo.clone(), [INFO] [stdout] 3082 | | "reward_from abc".to_string(), [INFO] [stdout] 3083 | | Uint128::from(1000000u128), [INFO] [stdout] 3084 | | ); [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] 3078 | let _ = increase_reward_amount( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3090:9 [INFO] [stdout] | [INFO] [stdout] 3090 | calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), staker_list1.clone(), club_name1, true, true); [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] 3090 | let _ = calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), staker_list1.clone(), club_name1, true, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3095:13 [INFO] [stdout] | [INFO] [stdout] 3095 | let queryRes = query_all_stakes(&mut deps.storage, user_address_list); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3143:13 [INFO] [stdout] | [INFO] [stdout] 3143 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3144:13 [INFO] [stdout] | [INFO] [stdout] 3144 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3154:9 [INFO] [stdout] | [INFO] [stdout] 3154 | / buy_a_club( [INFO] [stdout] 3155 | | deps.as_mut(), [INFO] [stdout] 3156 | | mock_env(), [INFO] [stdout] 3157 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3162 | | SET_AUTO_STAKE, [INFO] [stdout] 3163 | | ); [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] 3154 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3165:13 [INFO] [stdout] | [INFO] [stdout] 3165 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3166:9 [INFO] [stdout] | [INFO] [stdout] 3166 | / stake_on_a_club( [INFO] [stdout] 3167 | | deps.as_mut(), [INFO] [stdout] 3168 | | mock_env(), [INFO] [stdout] 3169 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3173 | | SET_AUTO_STAKE, [INFO] [stdout] 3174 | | ); [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] 3166 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3175:9 [INFO] [stdout] | [INFO] [stdout] 3175 | / stake_on_a_club( [INFO] [stdout] 3176 | | deps.as_mut(), [INFO] [stdout] 3177 | | mock_env(), [INFO] [stdout] 3178 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3182 | | SET_AUTO_STAKE, [INFO] [stdout] 3183 | | ); [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] 3175 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3184:9 [INFO] [stdout] | [INFO] [stdout] 3184 | / stake_on_a_club( [INFO] [stdout] 3185 | | deps.as_mut(), [INFO] [stdout] 3186 | | mock_env(), [INFO] [stdout] 3187 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3191 | | SET_AUTO_STAKE, [INFO] [stdout] 3192 | | ); [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] 3184 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3238:13 [INFO] [stdout] | [INFO] [stdout] 3238 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3239:13 [INFO] [stdout] | [INFO] [stdout] 3239 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3249:9 [INFO] [stdout] | [INFO] [stdout] 3249 | / buy_a_club( [INFO] [stdout] 3250 | | deps.as_mut(), [INFO] [stdout] 3251 | | mock_env(), [INFO] [stdout] 3252 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3257 | | SET_AUTO_STAKE, [INFO] [stdout] 3258 | | ); [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] 3249 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_factory/src/contract.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3260:13 [INFO] [stdout] | [INFO] [stdout] 3260 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3261:9 [INFO] [stdout] | [INFO] [stdout] 3261 | / stake_on_a_club( [INFO] [stdout] 3262 | | deps.as_mut(), [INFO] [stdout] 3263 | | mock_env(), [INFO] [stdout] 3264 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3268 | | SET_AUTO_STAKE, [INFO] [stdout] 3269 | | ); [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] 3261 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3270:9 [INFO] [stdout] | [INFO] [stdout] 3270 | / withdraw_stake_from_a_club( [INFO] [stdout] 3271 | | deps.as_mut(), [INFO] [stdout] 3272 | | mock_env(), [INFO] [stdout] 3273 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3277 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3278 | | ); [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] 3270 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3279:9 [INFO] [stdout] | [INFO] [stdout] 3279 | / withdraw_stake_from_a_club( [INFO] [stdout] 3280 | | deps.as_mut(), [INFO] [stdout] 3281 | | mock_env(), [INFO] [stdout] 3282 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3286 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3287 | | ); [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] 3279 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_factory/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3288:9 [INFO] [stdout] | [INFO] [stdout] 3288 | / withdraw_stake_from_a_club( [INFO] [stdout] 3289 | | deps.as_mut(), [INFO] [stdout] 3290 | | mock_env(), [INFO] [stdout] 3291 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3295 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3296 | | ); [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] 3288 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3319:13 [INFO] [stdout] | [INFO] [stdout] 3319 | let queryBonds = query_all_bonds(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3353:13 [INFO] [stdout] | [INFO] [stdout] 3353 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3354:13 [INFO] [stdout] | [INFO] [stdout] 3354 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `owner1Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3363:13 [INFO] [stdout] | [INFO] [stdout] 3363 | let owner1Info = mock_info("owner001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3364:9 [INFO] [stdout] | [INFO] [stdout] 3364 | / buy_a_club( [INFO] [stdout] 3365 | | deps.as_mut(), [INFO] [stdout] 3366 | | mock_env(), [INFO] [stdout] 3367 | | owner1Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3372 | | SET_AUTO_STAKE, [INFO] [stdout] 3373 | | ); [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] 3364 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3375:13 [INFO] [stdout] | [INFO] [stdout] 3375 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3376:9 [INFO] [stdout] | [INFO] [stdout] 3376 | / stake_on_a_club( [INFO] [stdout] 3377 | | deps.as_mut(), [INFO] [stdout] 3378 | | mock_env(), [INFO] [stdout] 3379 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3383 | | SET_AUTO_STAKE, [INFO] [stdout] 3384 | | ); [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] 3376 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | / withdraw_stake_from_a_club( [INFO] [stdout] 3386 | | deps.as_mut(), [INFO] [stdout] 3387 | | mock_env(), [INFO] [stdout] 3388 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3392 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3393 | | ); [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] 3385 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3394:9 [INFO] [stdout] | [INFO] [stdout] 3394 | / withdraw_stake_from_a_club( [INFO] [stdout] 3395 | | deps.as_mut(), [INFO] [stdout] 3396 | | mock_env(), [INFO] [stdout] 3397 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3401 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3402 | | ); [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] 3394 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3403:9 [INFO] [stdout] | [INFO] [stdout] 3403 | / withdraw_stake_from_a_club( [INFO] [stdout] 3404 | | deps.as_mut(), [INFO] [stdout] 3405 | | mock_env(), [INFO] [stdout] 3406 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3410 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3411 | | ); [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] 3403 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3412:9 [INFO] [stdout] | [INFO] [stdout] 3412 | / withdraw_stake_from_a_club( [INFO] [stdout] 3413 | | deps.as_mut(), [INFO] [stdout] 3414 | | mock_env(), [INFO] [stdout] 3415 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3419 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3420 | | ); [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] 3412 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3436:13 [INFO] [stdout] | [INFO] [stdout] 3436 | let queryBonds = query_all_bonds(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3481:9 [INFO] [stdout] | [INFO] [stdout] 3481 | / buy_a_club( [INFO] [stdout] 3482 | | deps.as_mut(), [INFO] [stdout] 3483 | | mock_env(), [INFO] [stdout] 3484 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3489 | | SET_AUTO_STAKE, [INFO] [stdout] 3490 | | ); [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] 3481 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3492:13 [INFO] [stdout] | [INFO] [stdout] 3492 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3493:9 [INFO] [stdout] | [INFO] [stdout] 3493 | / stake_on_a_club( [INFO] [stdout] 3494 | | deps.as_mut(), [INFO] [stdout] 3495 | | mock_env(), [INFO] [stdout] 3496 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3500 | | SET_AUTO_STAKE, [INFO] [stdout] 3501 | | ); [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] 3493 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3502:9 [INFO] [stdout] | [INFO] [stdout] 3502 | / withdraw_stake_from_a_club( [INFO] [stdout] 3503 | | deps.as_mut(), [INFO] [stdout] 3504 | | mock_env(), [INFO] [stdout] 3505 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3509 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3510 | | ); [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] 3502 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3511:9 [INFO] [stdout] | [INFO] [stdout] 3511 | / withdraw_stake_from_a_club( [INFO] [stdout] 3512 | | deps.as_mut(), [INFO] [stdout] 3513 | | mock_env(), [INFO] [stdout] 3514 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3518 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3519 | | ); [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] 3511 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3520:9 [INFO] [stdout] | [INFO] [stdout] 3520 | / withdraw_stake_from_a_club( [INFO] [stdout] 3521 | | deps.as_mut(), [INFO] [stdout] 3522 | | mock_env(), [INFO] [stdout] 3523 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3527 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3528 | | ); [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] 3520 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3529:9 [INFO] [stdout] | [INFO] [stdout] 3529 | / withdraw_stake_from_a_club( [INFO] [stdout] 3530 | | deps.as_mut(), [INFO] [stdout] 3531 | | mock_env(), [INFO] [stdout] 3532 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3536 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3537 | | ); [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] 3529 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3553:13 [INFO] [stdout] | [INFO] [stdout] 3553 | let queryBonds = query_all_bonds(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3573:13 [INFO] [stdout] | [INFO] [stdout] 3573 | let stakerInfo = mock_info("staker002", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3574:9 [INFO] [stdout] | [INFO] [stdout] 3574 | / stake_on_a_club( [INFO] [stdout] 3575 | | deps.as_mut(), [INFO] [stdout] 3576 | | mock_env(), [INFO] [stdout] 3577 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3581 | | SET_AUTO_STAKE, [INFO] [stdout] 3582 | | ); [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] 3574 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3583:9 [INFO] [stdout] | [INFO] [stdout] 3583 | / withdraw_stake_from_a_club( [INFO] [stdout] 3584 | | deps.as_mut(), [INFO] [stdout] 3585 | | mock_env(), [INFO] [stdout] 3586 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3590 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3591 | | ); [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] 3583 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3593:13 [INFO] [stdout] | [INFO] [stdout] 3593 | let queryBonds = query_club_bonding_details_for_user( [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3637:13 [INFO] [stdout] | [INFO] [stdout] 3637 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3638:13 [INFO] [stdout] | [INFO] [stdout] 3638 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3639:9 [INFO] [stdout] | [INFO] [stdout] 3639 | / instantiate( [INFO] [stdout] 3640 | | deps.as_mut(), [INFO] [stdout] 3641 | | mock_env(), [INFO] [stdout] 3642 | | adminInfo.clone(), [INFO] [stdout] 3643 | | instantiate_msg, [INFO] [stdout] 3644 | | ); [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] 3639 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3647:9 [INFO] [stdout] | [INFO] [stdout] 3647 | / buy_a_club( [INFO] [stdout] 3648 | | deps.as_mut(), [INFO] [stdout] 3649 | | mock_env(), [INFO] [stdout] 3650 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3655 | | SET_AUTO_STAKE, [INFO] [stdout] 3656 | | ); [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] 3647 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3658:13 [INFO] [stdout] | [INFO] [stdout] 3658 | let stakerInfo = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3659:9 [INFO] [stdout] | [INFO] [stdout] 3659 | / stake_on_a_club( [INFO] [stdout] 3660 | | deps.as_mut(), [INFO] [stdout] 3661 | | mock_env(), [INFO] [stdout] 3662 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3666 | | SET_AUTO_STAKE, [INFO] [stdout] 3667 | | ); [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] 3659 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3668:9 [INFO] [stdout] | [INFO] [stdout] 3668 | / withdraw_stake_from_a_club( [INFO] [stdout] 3669 | | deps.as_mut(), [INFO] [stdout] 3670 | | mock_env(), [INFO] [stdout] 3671 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3675 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3676 | | ); [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] 3668 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3677:9 [INFO] [stdout] | [INFO] [stdout] 3677 | / withdraw_stake_from_a_club( [INFO] [stdout] 3678 | | deps.as_mut(), [INFO] [stdout] 3679 | | mock_env(), [INFO] [stdout] 3680 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3684 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3685 | | ); [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] 3677 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3686:9 [INFO] [stdout] | [INFO] [stdout] 3686 | / withdraw_stake_from_a_club( [INFO] [stdout] 3687 | | deps.as_mut(), [INFO] [stdout] 3688 | | mock_env(), [INFO] [stdout] 3689 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3693 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3694 | | ); [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] 3686 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 208 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3695:9 [INFO] [stdout] | [INFO] [stdout] 3695 | / withdraw_stake_from_a_club( [INFO] [stdout] 3696 | | deps.as_mut(), [INFO] [stdout] 3697 | | mock_env(), [INFO] [stdout] 3698 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3702 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3703 | | ); [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] 3695 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:462:16 [INFO] [stdout] | [INFO] [stdout] 462 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/terraswap_pair/src/contract.rs:755:16 [INFO] [stdout] | [INFO] [stdout] 755 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3744:21 [INFO] [stdout] | [INFO] [stdout] 3744 | CLUB_BONDING_DETAILS.save(&mut deps.storage, (&club_name.clone(), &user_addr.clone()), &updated_bonds); [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] 3744 | let _ = CLUB_BONDING_DETAILS.save(&mut deps.storage, (&club_name.clone(), &user_addr.clone()), &updated_bonds); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3802:13 [INFO] [stdout] | [INFO] [stdout] 3802 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3803:13 [INFO] [stdout] | [INFO] [stdout] 3803 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3824:13 [INFO] [stdout] | [INFO] [stdout] 3824 | let stakerInfo = mock_info("staker001", &[coin(10, "uusd")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `staker_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3825:9 [INFO] [stdout] | [INFO] [stdout] 3825 | / stake_on_a_club( [INFO] [stdout] 3826 | | deps.as_mut(), [INFO] [stdout] 3827 | | mock_env(), [INFO] [stdout] 3828 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3832 | | SET_AUTO_STAKE, [INFO] [stdout] 3833 | | ); [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] 3825 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> contracts/terraswap_pair/src/response.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3834:9 [INFO] [stdout] | [INFO] [stdout] 3834 | / withdraw_stake_from_a_club( [INFO] [stdout] 3835 | | deps.as_mut(), [INFO] [stdout] 3836 | | mock_env(), [INFO] [stdout] 3837 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3841 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3842 | | ); [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] 3834 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3843:9 [INFO] [stdout] | [INFO] [stdout] 3843 | / withdraw_stake_from_a_club( [INFO] [stdout] 3844 | | deps.as_mut(), [INFO] [stdout] 3845 | | mock_env(), [INFO] [stdout] 3846 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3850 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3851 | | ); [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] 3843 | let _ = withdraw_stake_from_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3883:13 [INFO] [stdout] | [INFO] [stdout] 3883 | let queryBonds = query_all_bonds(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_bonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3927:13 [INFO] [stdout] | [INFO] [stdout] 3927 | let adminInfo = mock_info("admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `admin_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mintingContractInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3928:13 [INFO] [stdout] | [INFO] [stdout] 3928 | let mintingContractInfo = mock_info("minting_admin11111", &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `minting_contract_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `owner1Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3938:13 [INFO] [stdout] | [INFO] [stdout] 3938 | let owner1Info = mock_info("owner001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3939:9 [INFO] [stdout] | [INFO] [stdout] 3939 | / buy_a_club( [INFO] [stdout] 3940 | | deps.as_mut(), [INFO] [stdout] 3941 | | mock_env(), [INFO] [stdout] 3942 | | owner1Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3947 | | SET_AUTO_STAKE, [INFO] [stdout] 3948 | | ); [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] 3939 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `owner2Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3949:13 [INFO] [stdout] | [INFO] [stdout] 3949 | let owner2Info = mock_info("owner002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `owner2_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3950:9 [INFO] [stdout] | [INFO] [stdout] 3950 | / buy_a_club( [INFO] [stdout] 3951 | | deps.as_mut(), [INFO] [stdout] 3952 | | mock_env(), [INFO] [stdout] 3953 | | owner2Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3958 | | SET_AUTO_STAKE, [INFO] [stdout] 3959 | | ); [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] 3950 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `owner3Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3960:13 [INFO] [stdout] | [INFO] [stdout] 3960 | let owner3Info = mock_info("owner003", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `owner3_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3961:9 [INFO] [stdout] | [INFO] [stdout] 3961 | / buy_a_club( [INFO] [stdout] 3962 | | deps.as_mut(), [INFO] [stdout] 3963 | | mock_env(), [INFO] [stdout] 3964 | | owner3Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3969 | | SET_AUTO_STAKE, [INFO] [stdout] 3970 | | ); [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] 3961 | let _ = buy_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker1Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3972:13 [INFO] [stdout] | [INFO] [stdout] 3972 | let staker1Info = mock_info("staker001", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3973:9 [INFO] [stdout] | [INFO] [stdout] 3973 | / stake_on_a_club( [INFO] [stdout] 3974 | | deps.as_mut(), [INFO] [stdout] 3975 | | mock_env(), [INFO] [stdout] 3976 | | staker1Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3980 | | SET_AUTO_STAKE, [INFO] [stdout] 3981 | | ); [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] 3973 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker2Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3983:13 [INFO] [stdout] | [INFO] [stdout] 3983 | let staker2Info = mock_info("staker002", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker2_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3984:9 [INFO] [stdout] | [INFO] [stdout] 3984 | / stake_on_a_club( [INFO] [stdout] 3985 | | deps.as_mut(), [INFO] [stdout] 3986 | | mock_env(), [INFO] [stdout] 3987 | | staker2Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3991 | | SET_AUTO_STAKE, [INFO] [stdout] 3992 | | ); [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] 3984 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker3Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3994:13 [INFO] [stdout] | [INFO] [stdout] 3994 | let staker3Info = mock_info("staker003", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker3_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3995:9 [INFO] [stdout] | [INFO] [stdout] 3995 | / stake_on_a_club( [INFO] [stdout] 3996 | | deps.as_mut(), [INFO] [stdout] 3997 | | mock_env(), [INFO] [stdout] 3998 | | staker3Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 4002 | | SET_AUTO_STAKE, [INFO] [stdout] 4003 | | ); [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] 3995 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker4Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4005:13 [INFO] [stdout] | [INFO] [stdout] 4005 | let staker4Info = mock_info("staker004", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker4_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4006:9 [INFO] [stdout] | [INFO] [stdout] 4006 | / stake_on_a_club( [INFO] [stdout] 4007 | | deps.as_mut(), [INFO] [stdout] 4008 | | mock_env(), [INFO] [stdout] 4009 | | staker4Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 4013 | | SET_AUTO_STAKE, [INFO] [stdout] 4014 | | ); [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] 4006 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker5Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4016:13 [INFO] [stdout] | [INFO] [stdout] 4016 | let staker5Info = mock_info("staker005", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker5_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4017:9 [INFO] [stdout] | [INFO] [stdout] 4017 | / stake_on_a_club( [INFO] [stdout] 4018 | | deps.as_mut(), [INFO] [stdout] 4019 | | mock_env(), [INFO] [stdout] 4020 | | staker5Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 4024 | | SET_AUTO_STAKE, [INFO] [stdout] 4025 | | ); [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] 4017 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `staker6Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4027:13 [INFO] [stdout] | [INFO] [stdout] 4027 | let staker6Info = mock_info("staker006", &[coin(10, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `staker6_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4028:9 [INFO] [stdout] | [INFO] [stdout] 4028 | / stake_on_a_club( [INFO] [stdout] 4029 | | deps.as_mut(), [INFO] [stdout] 4030 | | mock_env(), [INFO] [stdout] 4031 | | staker6Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 4035 | | SET_AUTO_STAKE, [INFO] [stdout] 4036 | | ); [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] 4028 | let _ = stake_on_a_club( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes0` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4048:13 [INFO] [stdout] | [INFO] [stdout] 4048 | let queryRes0 = query_all_stakes(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `query_res0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4060:9 [INFO] [stdout] | [INFO] [stdout] 4060 | / increase_reward_amount( [INFO] [stdout] 4061 | | deps.as_mut(), [INFO] [stdout] 4062 | | mock_env(), [INFO] [stdout] 4063 | | adminInfo.clone(), [INFO] [stdout] 4064 | | "reward_from abc".to_string(), [INFO] [stdout] 4065 | | Uint128::from(1000000u128), [INFO] [stdout] 4066 | | ); [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] 4060 | let _ = increase_reward_amount( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes00` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4068:13 [INFO] [stdout] | [INFO] [stdout] 4068 | let queryRes00 = query_all_stakes(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_res00` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryReward` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4079:17 [INFO] [stdout] | [INFO] [stdout] 4079 | let mut queryReward = query_reward_amount(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `query_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4082:9 [INFO] [stdout] | [INFO] [stdout] 4082 | calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), user_address_list.clone(), club_name1, true, false); [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] 4082 | let _ = calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), user_address_list.clone(), club_name1, true, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes01` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4084:13 [INFO] [stdout] | [INFO] [stdout] 4084 | let queryRes01 = query_all_stakes(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_res01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4098:9 [INFO] [stdout] | [INFO] [stdout] 4098 | calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), user_address_list.clone(), club_name2, false, false); [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] 4098 | let _ = calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), user_address_list.clone(), club_name2, false, false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes01` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4100:13 [INFO] [stdout] | [INFO] [stdout] 4100 | let queryRes01 = query_all_stakes(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `query_res01` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4114:9 [INFO] [stdout] | [INFO] [stdout] 4114 | calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), user_address_list.clone(), club_name3, false, true); [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] 4114 | let _ = calculate_and_distribute_rewards(deps.as_mut(), mock_env(), adminInfo.clone(), user_address_list.clone(), club_name3, false, true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4119:13 [INFO] [stdout] | [INFO] [stdout] 4119 | let queryRes = query_all_stakes(&mut deps.storage, user_address_list.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4165:9 [INFO] [stdout] | [INFO] [stdout] 4165 | / increase_reward_amount( [INFO] [stdout] 4166 | | deps.as_mut(), [INFO] [stdout] 4167 | | mock_env(), [INFO] [stdout] 4168 | | mintingContractInfo.clone(), [INFO] [stdout] 4169 | | "reward_from abc".to_string(), [INFO] [stdout] 4170 | | Uint128::from(1000000u128), [INFO] [stdout] 4171 | | ); [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] 4165 | let _ = increase_reward_amount( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4245:9 [INFO] [stdout] | [INFO] [stdout] 4245 | / increase_reward_amount( [INFO] [stdout] 4246 | | deps.as_mut(), [INFO] [stdout] 4247 | | mock_env(), [INFO] [stdout] 4248 | | mintingContractInfo.clone(), [INFO] [stdout] 4249 | | "reward_from def".to_string(), [INFO] [stdout] 4250 | | Uint128::from(1000000u128), [INFO] [stdout] 4251 | | ); [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] 4245 | let _ = increase_reward_amount( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryReward` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4253:13 [INFO] [stdout] | [INFO] [stdout] 4253 | let queryReward = query_reward_amount(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `query_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 220 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: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1287:16 [INFO] [stdout] | [INFO] [stdout] 1287 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1396:16 [INFO] [stdout] | [INFO] [stdout] 1396 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1287:16 [INFO] [stdout] | [INFO] [stdout] 1287 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/proxy/src/contract.rs:1396:16 [INFO] [stdout] | [INFO] [stdout] 1396 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 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` and `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` and `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` and `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` and `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`, and `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 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` and `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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cosmwasm_std::Addr` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use cosmwasm_std::Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REWARD` and `INITIAL_REFUND_AMOUNT` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::contract::{CLAIMED_REWARD, GAME_CANCELLED, GAME_COMPLETED, GAME_POOL_OPEN, INITIAL_REFUND_AMOUNT, instantiate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `claim_refund` and `claim_reward` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::execute::{cancel_game, claim_refund, claim_reward, create_pool, game_pool_bid_submit, game_pool_reward_distribute, lock_ga... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_team_count_for_user_in_pool_type` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::query::{get_team_count_for_user_in_pool_type, query_game_details, query_pool_details, query_team_details}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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` and `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` and `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` and `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`, and `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 `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: 8 warnings emitted [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: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: `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: `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: `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: `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: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: `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: `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: 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: 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: `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: 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: 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: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [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: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let owner1_info = mock_info("owner001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let owner1_info = mock_info("owner001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poolDetail` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | Ok(poolDetail) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poolDetail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let owner1_info = mock_info("gamer001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:761:13 [INFO] [stdout] | [INFO] [stdout] 761 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:817:13 [INFO] [stdout] | [INFO] [stdout] 817 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:890:13 [INFO] [stdout] | [INFO] [stdout] 890 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:991:16 [INFO] [stdout] | [INFO] [stdout] 991 | Ok(game_pool_reward_distribute_rsp) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1019:13 [INFO] [stdout] | [INFO] [stdout] 1019 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1091:13 [INFO] [stdout] | [INFO] [stdout] 1091 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancelInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1107:13 [INFO] [stdout] | [INFO] [stdout] 1107 | let cancelInfo = mock_info("cancelInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancelInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancel_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1108:13 [INFO] [stdout] | [INFO] [stdout] 1108 | let cancel_rsp = cancel_game(deps.as_mut(), mock_env(), adminInfo.clone()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancel_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1133:13 [INFO] [stdout] | [INFO] [stdout] 1133 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cancelInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1294:13 [INFO] [stdout] | [INFO] [stdout] 1294 | let cancelInfo = mock_info("cancelInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cancelInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1299:16 [INFO] [stdout] | [INFO] [stdout] 1299 | Ok(game_pool_reward_distribute_rsp) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1327:13 [INFO] [stdout] | [INFO] [stdout] 1327 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1522:16 [INFO] [stdout] | [INFO] [stdout] 1522 | Ok(game_pool_reward_distribute_rsp) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1596:13 [INFO] [stdout] | [INFO] [stdout] 1596 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1669:13 [INFO] [stdout] | [INFO] [stdout] 1669 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1771:16 [INFO] [stdout] | [INFO] [stdout] 1771 | Ok(game_pool_reward_distribute_rsp) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1864:13 [INFO] [stdout] | [INFO] [stdout] 1864 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instantiate_msg` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1939:13 [INFO] [stdout] | [INFO] [stdout] 1939 | let instantiate_msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instantiate_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1950:13 [INFO] [stdout] | [INFO] [stdout] 1950 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2043:17 [INFO] [stdout] | [INFO] [stdout] 2043 | Err(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2057:13 [INFO] [stdout] | [INFO] [stdout] 2057 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2129:13 [INFO] [stdout] | [INFO] [stdout] 2129 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2231:16 [INFO] [stdout] | [INFO] [stdout] 2231 | Ok(game_pool_reward_distribute_rsp) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_cancel_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2252:16 [INFO] [stdout] | [INFO] [stdout] 2252 | Ok(game_cancel_rsp) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_cancel_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2238:13 [INFO] [stdout] | [INFO] [stdout] 2238 | let mut query_game_status_res = query_game_details(&mut 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: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2268:13 [INFO] [stdout] | [INFO] [stdout] 2268 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2376:16 [INFO] [stdout] | [INFO] [stdout] 2376 | Ok(game_pool_reward_distribute_rsp) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2389:13 [INFO] [stdout] | [INFO] [stdout] 2389 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2455:16 [INFO] [stdout] | [INFO] [stdout] 2455 | Ok(game_pool_reward_distribute_rsp) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2472:13 [INFO] [stdout] | [INFO] [stdout] 2472 | let owner1_info = mock_info("gamer002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_owner1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instantiate_msg` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2547:13 [INFO] [stdout] | [INFO] [stdout] 2547 | let instantiate_msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instantiate_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2558:13 [INFO] [stdout] | [INFO] [stdout] 2558 | let rewardInfo = mock_info("rewardinfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewardInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2660:16 [INFO] [stdout] | [INFO] [stdout] 2660 | Ok(game_pool_reward_distribute_rsp) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp_2` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2698:16 [INFO] [stdout] | [INFO] [stdout] 2698 | Ok(game_pool_reward_distribute_rsp_2) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_pool_reward_distribute_rsp_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instantiate_msg` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2717:13 [INFO] [stdout] | [INFO] [stdout] 2717 | let instantiate_msg = InstantiateMsg { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instantiate_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] [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: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / instantiate( [INFO] [stdout] 33 | | deps.as_mut(), [INFO] [stdout] 34 | | mock_env(), [INFO] [stdout] 35 | | adminInfo.clone(), [INFO] [stdout] 36 | | instantiate_msg, [INFO] [stdout] 37 | | ); [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] 32 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / instantiate( [INFO] [stdout] 71 | | deps.as_mut(), [INFO] [stdout] 72 | | mock_env(), [INFO] [stdout] 73 | | adminInfo.clone(), [INFO] [stdout] 74 | | instantiate_msg, [INFO] [stdout] 75 | | ); [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] 70 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | / instantiate( [INFO] [stdout] 127 | | deps.as_mut(), [INFO] [stdout] 128 | | mock_env(), [INFO] [stdout] 129 | | adminInfo.clone(), [INFO] [stdout] 130 | | instantiate_msg, [INFO] [stdout] 131 | | ); [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] 126 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / instantiate( [INFO] [stdout] 212 | | deps.as_mut(), [INFO] [stdout] 213 | | mock_env(), [INFO] [stdout] 214 | | adminInfo.clone(), [INFO] [stdout] 215 | | instantiate_msg, [INFO] [stdout] 216 | | ); [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] 211 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | / set_pool_type_params( [INFO] [stdout] 241 | | deps.as_mut(), [INFO] [stdout] 242 | | mock_env(), [INFO] [stdout] 243 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 249 | | rake_list, [INFO] [stdout] 250 | | ); [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] 240 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | / game_pool_bid_submit( [INFO] [stdout] 272 | | deps.as_mut(), [INFO] [stdout] 273 | | mock_env(), [INFO] [stdout] 274 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 281 | | None, [INFO] [stdout] 282 | | ); [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] 271 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | / instantiate( [INFO] [stdout] 315 | | deps.as_mut(), [INFO] [stdout] 316 | | mock_env(), [INFO] [stdout] 317 | | adminInfo.clone(), [INFO] [stdout] 318 | | instantiate_msg, [INFO] [stdout] 319 | | ); [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] 314 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / set_pool_type_params( [INFO] [stdout] 344 | | deps.as_mut(), [INFO] [stdout] 345 | | mock_env(), [INFO] [stdout] 346 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 352 | | rake_list, [INFO] [stdout] 353 | | ); [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] 343 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | / game_pool_bid_submit( [INFO] [stdout] 375 | | deps.as_mut(), [INFO] [stdout] 376 | | mock_env(), [INFO] [stdout] 377 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 384 | | None, [INFO] [stdout] 385 | | ); [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] 374 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | / game_pool_bid_submit( [INFO] [stdout] 387 | | deps.as_mut(), [INFO] [stdout] 388 | | mock_env(), [INFO] [stdout] 389 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 396 | | None, [INFO] [stdout] 397 | | ); [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] 386 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | / instantiate( [INFO] [stdout] 431 | | deps.as_mut(), [INFO] [stdout] 432 | | mock_env(), [INFO] [stdout] 433 | | adminInfo.clone(), [INFO] [stdout] 434 | | instantiate_msg, [INFO] [stdout] 435 | | ); [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] 430 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | / set_pool_type_params( [INFO] [stdout] 460 | | deps.as_mut(), [INFO] [stdout] 461 | | mock_env(), [INFO] [stdout] 462 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 468 | | rake_list.clone(), [INFO] [stdout] 469 | | ); [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] 459 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | / set_pool_type_params( [INFO] [stdout] 471 | | deps.as_mut(), [INFO] [stdout] 472 | | mock_env(), [INFO] [stdout] 473 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 479 | | rake_list.clone(), [INFO] [stdout] 480 | | ); [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] 470 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | / game_pool_bid_submit( [INFO] [stdout] 540 | | deps.as_mut(), [INFO] [stdout] 541 | | mock_env(), [INFO] [stdout] 542 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 549 | | None, [INFO] [stdout] 550 | | ); [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] 539 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | / game_pool_bid_submit( [INFO] [stdout] 552 | | deps.as_mut(), [INFO] [stdout] 553 | | mock_env(), [INFO] [stdout] 554 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 561 | | None, [INFO] [stdout] 562 | | ); [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] 551 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | / game_pool_bid_submit( [INFO] [stdout] 564 | | deps.as_mut(), [INFO] [stdout] 565 | | mock_env(), [INFO] [stdout] 566 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 573 | | None, [INFO] [stdout] 574 | | ); [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] 563 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | / game_pool_bid_submit( [INFO] [stdout] 576 | | deps.as_mut(), [INFO] [stdout] 577 | | mock_env(), [INFO] [stdout] 578 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 585 | | None, [INFO] [stdout] 586 | | ); [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] 575 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:600:9 [INFO] [stdout] | [INFO] [stdout] 600 | / game_pool_bid_submit( [INFO] [stdout] 601 | | deps.as_mut(), [INFO] [stdout] 602 | | mock_env(), [INFO] [stdout] 603 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 610 | | None, [INFO] [stdout] 611 | | ); [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] 600 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:612:9 [INFO] [stdout] | [INFO] [stdout] 612 | / game_pool_bid_submit( [INFO] [stdout] 613 | | deps.as_mut(), [INFO] [stdout] 614 | | mock_env(), [INFO] [stdout] 615 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 622 | | None, [INFO] [stdout] 623 | | ); [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] 612 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | / game_pool_bid_submit( [INFO] [stdout] 625 | | deps.as_mut(), [INFO] [stdout] 626 | | mock_env(), [INFO] [stdout] 627 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 634 | | None, [INFO] [stdout] 635 | | ); [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] 624 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | / game_pool_bid_submit( [INFO] [stdout] 650 | | deps.as_mut(), [INFO] [stdout] 651 | | mock_env(), [INFO] [stdout] 652 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 659 | | None, [INFO] [stdout] 660 | | ); [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] 649 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | / game_pool_bid_submit( [INFO] [stdout] 662 | | deps.as_mut(), [INFO] [stdout] 663 | | mock_env(), [INFO] [stdout] 664 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 671 | | None, [INFO] [stdout] 672 | | ); [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] 661 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | / instantiate( [INFO] [stdout] 705 | | deps.as_mut(), [INFO] [stdout] 706 | | mock_env(), [INFO] [stdout] 707 | | adminInfo.clone(), [INFO] [stdout] 708 | | instantiate_msg, [INFO] [stdout] 709 | | ); [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] 704 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:732:9 [INFO] [stdout] | [INFO] [stdout] 732 | / set_pool_type_params( [INFO] [stdout] 733 | | deps.as_mut(), [INFO] [stdout] 734 | | mock_env(), [INFO] [stdout] 735 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 741 | | rake_list.clone(), [INFO] [stdout] 742 | | ); [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] 732 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | / game_pool_bid_submit( [INFO] [stdout] 765 | | deps.as_mut(), [INFO] [stdout] 766 | | mock_env(), [INFO] [stdout] 767 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 774 | | None, [INFO] [stdout] 775 | | ); [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] 764 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | / game_pool_bid_submit( [INFO] [stdout] 777 | | deps.as_mut(), [INFO] [stdout] 778 | | mock_env(), [INFO] [stdout] 779 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 786 | | None, [INFO] [stdout] 787 | | ); [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] 776 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 788 | / game_pool_bid_submit( [INFO] [stdout] 789 | | deps.as_mut(), [INFO] [stdout] 790 | | mock_env(), [INFO] [stdout] 791 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 798 | | None, [INFO] [stdout] 799 | | ); [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] 788 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:833:9 [INFO] [stdout] | [INFO] [stdout] 833 | / instantiate( [INFO] [stdout] 834 | | deps.as_mut(), [INFO] [stdout] 835 | | mock_env(), [INFO] [stdout] 836 | | adminInfo.clone(), [INFO] [stdout] 837 | | instantiate_msg, [INFO] [stdout] 838 | | ); [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] 833 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | / set_pool_type_params( [INFO] [stdout] 862 | | deps.as_mut(), [INFO] [stdout] 863 | | mock_env(), [INFO] [stdout] 864 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 870 | | rake_list.clone(), [INFO] [stdout] 871 | | ); [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] 861 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | / game_pool_bid_submit( [INFO] [stdout] 894 | | deps.as_mut(), [INFO] [stdout] 895 | | mock_env(), [INFO] [stdout] 896 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 903 | | None, [INFO] [stdout] 904 | | ); [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] 893 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:905:9 [INFO] [stdout] | [INFO] [stdout] 905 | / game_pool_bid_submit( [INFO] [stdout] 906 | | deps.as_mut(), [INFO] [stdout] 907 | | mock_env(), [INFO] [stdout] 908 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 915 | | None, [INFO] [stdout] 916 | | ); [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] 905 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:917:9 [INFO] [stdout] | [INFO] [stdout] 917 | / game_pool_bid_submit( [INFO] [stdout] 918 | | deps.as_mut(), [INFO] [stdout] 919 | | mock_env(), [INFO] [stdout] 920 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 927 | | None, [INFO] [stdout] 928 | | ); [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] 917 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1009:21 [INFO] [stdout] | [INFO] [stdout] 1009 | for team in team_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] 1009 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1009 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1034:9 [INFO] [stdout] | [INFO] [stdout] 1034 | / instantiate( [INFO] [stdout] 1035 | | deps.as_mut(), [INFO] [stdout] 1036 | | mock_env(), [INFO] [stdout] 1037 | | adminInfo.clone(), [INFO] [stdout] 1038 | | instantiate_msg, [INFO] [stdout] 1039 | | ); [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] 1034 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | / set_pool_type_params( [INFO] [stdout] 1063 | | deps.as_mut(), [INFO] [stdout] 1064 | | mock_env(), [INFO] [stdout] 1065 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1071 | | rake_list.clone(), [INFO] [stdout] 1072 | | ); [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] 1062 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1094:9 [INFO] [stdout] | [INFO] [stdout] 1094 | / game_pool_bid_submit( [INFO] [stdout] 1095 | | deps.as_mut(), [INFO] [stdout] 1096 | | mock_env(), [INFO] [stdout] 1097 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1104 | | None, [INFO] [stdout] 1105 | | ); [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] 1094 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | / instantiate( [INFO] [stdout] 1150 | | deps.as_mut(), [INFO] [stdout] 1151 | | mock_env(), [INFO] [stdout] 1152 | | adminInfo.clone(), [INFO] [stdout] 1153 | | instantiate_msg, [INFO] [stdout] 1154 | | ); [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] 1149 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | / set_pool_type_params( [INFO] [stdout] 1178 | | deps.as_mut(), [INFO] [stdout] 1179 | | mock_env(), [INFO] [stdout] 1180 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1186 | | rake_list.clone(), [INFO] [stdout] 1187 | | ); [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] 1177 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1209:9 [INFO] [stdout] | [INFO] [stdout] 1209 | / game_pool_bid_submit( [INFO] [stdout] 1210 | | deps.as_mut(), [INFO] [stdout] 1211 | | mock_env(), [INFO] [stdout] 1212 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1219 | | None, [INFO] [stdout] 1220 | | ); [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] 1209 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1221:9 [INFO] [stdout] | [INFO] [stdout] 1221 | / game_pool_bid_submit( [INFO] [stdout] 1222 | | deps.as_mut(), [INFO] [stdout] 1223 | | mock_env(), [INFO] [stdout] 1224 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1231 | | None, [INFO] [stdout] 1232 | | ); [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] 1221 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1233:9 [INFO] [stdout] | [INFO] [stdout] 1233 | / game_pool_bid_submit( [INFO] [stdout] 1234 | | deps.as_mut(), [INFO] [stdout] 1235 | | mock_env(), [INFO] [stdout] 1236 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1243 | | None, [INFO] [stdout] 1244 | | ); [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] 1233 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1317:21 [INFO] [stdout] | [INFO] [stdout] 1317 | for team in team_details { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1317 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1317 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1343:9 [INFO] [stdout] | [INFO] [stdout] 1343 | / instantiate( [INFO] [stdout] 1344 | | deps.as_mut(), [INFO] [stdout] 1345 | | mock_env(), [INFO] [stdout] 1346 | | adminInfo.clone(), [INFO] [stdout] 1347 | | instantiate_msg, [INFO] [stdout] 1348 | | ); [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] 1343 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1371:9 [INFO] [stdout] | [INFO] [stdout] 1371 | / set_pool_type_params( [INFO] [stdout] 1372 | | deps.as_mut(), [INFO] [stdout] 1373 | | mock_env(), [INFO] [stdout] 1374 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1380 | | rake_list.clone(), [INFO] [stdout] 1381 | | ); [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] 1371 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1414:9 [INFO] [stdout] | [INFO] [stdout] 1414 | / instantiate( [INFO] [stdout] 1415 | | deps.as_mut(), [INFO] [stdout] 1416 | | mock_env(), [INFO] [stdout] 1417 | | rewardInfo.clone(), [INFO] [stdout] 1418 | | instantiate_msg, [INFO] [stdout] 1419 | | ); [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] 1414 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1422:9 [INFO] [stdout] | [INFO] [stdout] 1422 | / game_pool_bid_submit( [INFO] [stdout] 1423 | | deps.as_mut(), [INFO] [stdout] 1424 | | mock_env(), [INFO] [stdout] 1425 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1432 | | None, [INFO] [stdout] 1433 | | ); [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] 1422 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1434:9 [INFO] [stdout] | [INFO] [stdout] 1434 | / game_pool_bid_submit( [INFO] [stdout] 1435 | | deps.as_mut(), [INFO] [stdout] 1436 | | mock_env(), [INFO] [stdout] 1437 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1444 | | None, [INFO] [stdout] 1445 | | ); [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] 1434 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1446:9 [INFO] [stdout] | [INFO] [stdout] 1446 | / game_pool_bid_submit( [INFO] [stdout] 1447 | | deps.as_mut(), [INFO] [stdout] 1448 | | mock_env(), [INFO] [stdout] 1449 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1456 | | None, [INFO] [stdout] 1457 | | ); [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] 1446 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1540:21 [INFO] [stdout] | [INFO] [stdout] 1540 | for team in team_details { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1540 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1540 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1580:21 [INFO] [stdout] | [INFO] [stdout] 1580 | for team in team_details { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1580 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1580 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1612:9 [INFO] [stdout] | [INFO] [stdout] 1612 | / instantiate( [INFO] [stdout] 1613 | | deps.as_mut(), [INFO] [stdout] 1614 | | mock_env(), [INFO] [stdout] 1615 | | adminInfo.clone(), [INFO] [stdout] 1616 | | instantiate_msg, [INFO] [stdout] 1617 | | ); [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] 1612 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1640:9 [INFO] [stdout] | [INFO] [stdout] 1640 | / set_pool_type_params( [INFO] [stdout] 1641 | | deps.as_mut(), [INFO] [stdout] 1642 | | mock_env(), [INFO] [stdout] 1643 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1649 | | rake_list.clone(), [INFO] [stdout] 1650 | | ); [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] 1640 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1672:9 [INFO] [stdout] | [INFO] [stdout] 1672 | / game_pool_bid_submit( [INFO] [stdout] 1673 | | deps.as_mut(), [INFO] [stdout] 1674 | | mock_env(), [INFO] [stdout] 1675 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1682 | | None, [INFO] [stdout] 1683 | | ); [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] 1672 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1684:9 [INFO] [stdout] | [INFO] [stdout] 1684 | / game_pool_bid_submit( [INFO] [stdout] 1685 | | deps.as_mut(), [INFO] [stdout] 1686 | | mock_env(), [INFO] [stdout] 1687 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1694 | | None, [INFO] [stdout] 1695 | | ); [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] 1684 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1696:9 [INFO] [stdout] | [INFO] [stdout] 1696 | / game_pool_bid_submit( [INFO] [stdout] 1697 | | deps.as_mut(), [INFO] [stdout] 1698 | | mock_env(), [INFO] [stdout] 1699 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1706 | | None, [INFO] [stdout] 1707 | | ); [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] 1696 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1789:21 [INFO] [stdout] | [INFO] [stdout] 1789 | for team in team_details { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1789 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1789 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1828:21 [INFO] [stdout] | [INFO] [stdout] 1828 | for team in team_details { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1828 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1828 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1880:9 [INFO] [stdout] | [INFO] [stdout] 1880 | / instantiate( [INFO] [stdout] 1881 | | deps.as_mut(), [INFO] [stdout] 1882 | | mock_env(), [INFO] [stdout] 1883 | | adminInfo.clone(), [INFO] [stdout] 1884 | | instantiate_msg, [INFO] [stdout] 1885 | | ); [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] 1880 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1908:9 [INFO] [stdout] | [INFO] [stdout] 1908 | / set_pool_type_params( [INFO] [stdout] 1909 | | deps.as_mut(), [INFO] [stdout] 1910 | | mock_env(), [INFO] [stdout] 1911 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1917 | | rake_list.clone(), [INFO] [stdout] 1918 | | ); [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] 1908 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1953:9 [INFO] [stdout] | [INFO] [stdout] 1953 | / game_pool_bid_submit( [INFO] [stdout] 1954 | | deps.as_mut(), [INFO] [stdout] 1955 | | mock_env(), [INFO] [stdout] 1956 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1963 | | None, [INFO] [stdout] 1964 | | ); [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] 1953 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1965:9 [INFO] [stdout] | [INFO] [stdout] 1965 | / game_pool_bid_submit( [INFO] [stdout] 1966 | | deps.as_mut(), [INFO] [stdout] 1967 | | mock_env(), [INFO] [stdout] 1968 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1975 | | None, [INFO] [stdout] 1976 | | ); [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] 1965 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1977:9 [INFO] [stdout] | [INFO] [stdout] 1977 | / game_pool_bid_submit( [INFO] [stdout] 1978 | | deps.as_mut(), [INFO] [stdout] 1979 | | mock_env(), [INFO] [stdout] 1980 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1987 | | None, [INFO] [stdout] 1988 | | ); [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] 1977 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2072:9 [INFO] [stdout] | [INFO] [stdout] 2072 | / instantiate( [INFO] [stdout] 2073 | | deps.as_mut(), [INFO] [stdout] 2074 | | mock_env(), [INFO] [stdout] 2075 | | adminInfo.clone(), [INFO] [stdout] 2076 | | instantiate_msg, [INFO] [stdout] 2077 | | ); [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] 2072 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2100:9 [INFO] [stdout] | [INFO] [stdout] 2100 | / set_pool_type_params( [INFO] [stdout] 2101 | | deps.as_mut(), [INFO] [stdout] 2102 | | mock_env(), [INFO] [stdout] 2103 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2109 | | rake_list.clone(), [INFO] [stdout] 2110 | | ); [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] 2100 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2133:9 [INFO] [stdout] | [INFO] [stdout] 2133 | / game_pool_bid_submit( [INFO] [stdout] 2134 | | deps.as_mut(), [INFO] [stdout] 2135 | | mock_env(), [INFO] [stdout] 2136 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2143 | | None, [INFO] [stdout] 2144 | | ); [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] 2133 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2145:9 [INFO] [stdout] | [INFO] [stdout] 2145 | / game_pool_bid_submit( [INFO] [stdout] 2146 | | deps.as_mut(), [INFO] [stdout] 2147 | | mock_env(), [INFO] [stdout] 2148 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2155 | | None, [INFO] [stdout] 2156 | | ); [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] 2145 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2157:9 [INFO] [stdout] | [INFO] [stdout] 2157 | / game_pool_bid_submit( [INFO] [stdout] 2158 | | deps.as_mut(), [INFO] [stdout] 2159 | | mock_env(), [INFO] [stdout] 2160 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2167 | | None, [INFO] [stdout] 2168 | | ); [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] 2157 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2284:9 [INFO] [stdout] | [INFO] [stdout] 2284 | / instantiate( [INFO] [stdout] 2285 | | deps.as_mut(), [INFO] [stdout] 2286 | | mock_env(), [INFO] [stdout] 2287 | | adminInfo.clone(), [INFO] [stdout] 2288 | | instantiate_msg, [INFO] [stdout] 2289 | | ); [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] 2284 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2312:9 [INFO] [stdout] | [INFO] [stdout] 2312 | / set_pool_type_params( [INFO] [stdout] 2313 | | deps.as_mut(), [INFO] [stdout] 2314 | | mock_env(), [INFO] [stdout] 2315 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2321 | | rake_list.clone(), [INFO] [stdout] 2322 | | ); [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] 2312 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2392:9 [INFO] [stdout] | [INFO] [stdout] 2392 | / game_pool_bid_submit( [INFO] [stdout] 2393 | | deps.as_mut(), [INFO] [stdout] 2394 | | mock_env(), [INFO] [stdout] 2395 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2402 | | None, [INFO] [stdout] 2403 | | ); [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] 2392 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2404:9 [INFO] [stdout] | [INFO] [stdout] 2404 | / game_pool_bid_submit( [INFO] [stdout] 2405 | | deps.as_mut(), [INFO] [stdout] 2406 | | mock_env(), [INFO] [stdout] 2407 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2414 | | None, [INFO] [stdout] 2415 | | ); [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] 2404 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2416:9 [INFO] [stdout] | [INFO] [stdout] 2416 | / game_pool_bid_submit( [INFO] [stdout] 2417 | | deps.as_mut(), [INFO] [stdout] 2418 | | mock_env(), [INFO] [stdout] 2419 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2426 | | None, [INFO] [stdout] 2427 | | ); [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] 2416 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2488:9 [INFO] [stdout] | [INFO] [stdout] 2488 | / instantiate( [INFO] [stdout] 2489 | | deps.as_mut(), [INFO] [stdout] 2490 | | mock_env(), [INFO] [stdout] 2491 | | adminInfo.clone(), [INFO] [stdout] 2492 | | instantiate_msg, [INFO] [stdout] 2493 | | ); [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] 2488 | let _ = instantiate( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2516:9 [INFO] [stdout] | [INFO] [stdout] 2516 | / set_pool_type_params( [INFO] [stdout] 2517 | | deps.as_mut(), [INFO] [stdout] 2518 | | mock_env(), [INFO] [stdout] 2519 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2525 | | rake_list.clone(), [INFO] [stdout] 2526 | | ); [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] 2516 | let _ = set_pool_type_params( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2561:9 [INFO] [stdout] | [INFO] [stdout] 2561 | / game_pool_bid_submit( [INFO] [stdout] 2562 | | deps.as_mut(), [INFO] [stdout] 2563 | | mock_env(), [INFO] [stdout] 2564 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2571 | | None, [INFO] [stdout] 2572 | | ); [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] 2561 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2573:9 [INFO] [stdout] | [INFO] [stdout] 2573 | / game_pool_bid_submit( [INFO] [stdout] 2574 | | deps.as_mut(), [INFO] [stdout] 2575 | | mock_env(), [INFO] [stdout] 2576 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2583 | | None, [INFO] [stdout] 2584 | | ); [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] 2573 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2585:9 [INFO] [stdout] | [INFO] [stdout] 2585 | / game_pool_bid_submit( [INFO] [stdout] 2586 | | deps.as_mut(), [INFO] [stdout] 2587 | | mock_env(), [INFO] [stdout] 2588 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2595 | | None, [INFO] [stdout] 2596 | | ); [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] 2585 | let _ = game_pool_bid_submit( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2678:21 [INFO] [stdout] | [INFO] [stdout] 2678 | for team in team_details { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 2678 | while let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 2678 | if let Ok(team) = team_details { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2751:9 [INFO] [stdout] | [INFO] [stdout] 2751 | set_platform_fee_wallets(deps.as_mut(), adminInfo, rake_list); [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] 2751 | let _ = set_platform_fee_wallets(deps.as_mut(), adminInfo, rake_list); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2755:23 [INFO] [stdout] | [INFO] [stdout] 2755 | for wallet in wallets { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 2755 | while let Ok(wallet) = wallets { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 2755 | if let Ok(wallet) = wallets { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 175 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.52s [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" "7c0cc5b812db70bf67844ef59d026bf09a703c8b4242b74a9422c8151e08c5ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0cc5b812db70bf67844ef59d026bf09a703c8b4242b74a9422c8151e08c5ea", kill_on_drop: false }` [INFO] [stdout] 7c0cc5b812db70bf67844ef59d026bf09a703c8b4242b74a9422c8151e08c5ea