[INFO] cloning repository https://github.com/crll9/smartContracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crll9/smartContracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11b2c76e1604ea4c9b80a0c7da8ce93cf297461a [INFO] checking crll9/smartContracts against try#0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 for pr-98456-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crll9/smartContracts on toolchain 0c46a61b05fb97ea2e031df461bcb1436e3c5bc3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/crll9/smartContracts [INFO] finished tweaking git repo https://github.com/crll9/smartContracts [INFO] tweaked toml for git repo https://github.com/crll9/smartContracts written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/crll9/smartContracts already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "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-3/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] df5f0cae80734271cdb5ec3aecf3de46ae35236b5644ab09eeb6a4b3d500f19c [INFO] running `Command { std: "docker" "start" "-a" "df5f0cae80734271cdb5ec3aecf3de46ae35236b5644ab09eeb6a4b3d500f19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df5f0cae80734271cdb5ec3aecf3de46ae35236b5644ab09eeb6a4b3d500f19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5f0cae80734271cdb5ec3aecf3de46ae35236b5644ab09eeb6a4b3d500f19c", kill_on_drop: false }` [INFO] [stdout] df5f0cae80734271cdb5ec3aecf3de46ae35236b5644ab09eeb6a4b3d500f19c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+0c46a61b05fb97ea2e031df461bcb1436e3c5bc3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f8a93ed90096ff949414efa85a3650460db95748cb2b6e7941309e7be1641a7f [INFO] running `Command { std: "docker" "start" "-a" "f8a93ed90096ff949414efa85a3650460db95748cb2b6e7941309e7be1641a7f", 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: 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 proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking const-oid v0.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Checking dyn-clone v1.0.4 [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 anyhow v1.0.43 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking spki v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking pkcs8 v0.7.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.2.4 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.16.7 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking thiserror v1.0.28 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.1 [INFO] [stderr] Checking cosmwasm-crypto v0.16.7 [INFO] [stderr] Checking cosmwasm-std v0.16.6 [INFO] [stderr] Checking cosmwasm-schema v0.16.1 [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 cw0 v0.8.1 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cw-storage-plus v0.8.1 [INFO] [stderr] Checking cosmwasm-storage v0.16.1 [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 cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [INFO] [stderr] Checking cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Checking cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721) [INFO] [stderr] Checking cw20 v0.8.1 [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 cw-multi-test v0.9.1 (/opt/rustwide/workdir/packages/multi-test) [INFO] [stderr] Checking cw-controllers v0.9.1 (/opt/rustwide/workdir/packages/controllers) [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 crll-airdrop v0.9.1 (/opt/rustwide/workdir/contracts/crll-airdrop) [INFO] [stderr] Checking astroport v1.0.1 [INFO] [stderr] Checking terraswap v2.4.1 (/opt/rustwide/workdir/packages/terraswap) [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`, `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 imports: `WasmMsg`, `attr` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | attr, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Order, Response, StdError, StdResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse`, `Cw20Coin`, `Cw20ExecuteMsg`, `Cw20ReceiveMsg`, `Expiration` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AllowanceResponse, BalanceResponse, Cw20Coin, Cw20ExecuteMsg, Cw20ReceiveMsg, Expiration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deduct_allowance` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | deduct_allowance, execute_burn_from, execute_decrease_allowance, execute_increase_allowance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIRDROP_CONTRACT_WALLET` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AIRDROP_CONTRACT_WALLET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllAccountsResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use cw20::{AllAccountsResponse, AllAllowancesResponse, AllowanceInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/crll-airdrop/src/state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Timestamp, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `SubMsg`, `Timestamp`, `WasmMsg`, `coins` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | use cosmwasm_std::{coins, CosmosMsg, SubMsg, Timestamp, WasmMsg}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Coin`, `TokenInfoResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | use cw20::{Cw20Coin, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | use crate::msg::{ExecuteMsg, InstantiateMsg}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg`, `attr` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | attr, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Order, Response, StdError, StdResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse`, `Cw20Coin`, `Cw20ExecuteMsg`, `Cw20ReceiveMsg`, `Expiration` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AllowanceResponse, BalanceResponse, Cw20Coin, Cw20ExecuteMsg, Cw20ReceiveMsg, Expiration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deduct_allowance` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | deduct_allowance, execute_burn_from, execute_decrease_allowance, execute_increase_allowance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIRDROP_CONTRACT_WALLET` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AIRDROP_CONTRACT_WALLET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `CosmosMsg`, `StdError`, `SubMsg`, `WasmMsg`, `coins`, `from_binary` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:827:24 [INFO] [stdout] | [INFO] [stdout] 827 | use cosmwasm_std::{coins, from_binary, Addr, CosmosMsg, StdError, SubMsg, WasmMsg}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::msg::InstantiateMarketingInfo` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | use crate::msg::InstantiateMarketingInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllAccountsResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use cw20::{AllAccountsResponse, AllAllowancesResponse, AllowanceInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Uint128`, `coins` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | use cosmwasm_std::{coins, DepsMut, Uint128}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Coin`, `Expiration`, `TokenInfoResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | use cw20::{Cw20Coin, Expiration, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::msg::{ExecuteMsg, InstantiateMsg}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/crll-airdrop/src/state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Timestamp, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | 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: 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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | 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: 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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(LOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(UNLOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `luna_details` is assigned to, but never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let luna_details; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_luna_details` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `luna_details` is never read [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | luna_details = od; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | 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/crll-airdrop/src/contract.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `luna_airdrop_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | luna_airdrop_reward_amount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_luna_airdrop_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activity_eligible_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activity_eligible_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | 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/crll-airdrop/src/contract.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(user) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | 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/crll-airdrop/src/contract.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activity_eligible_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activity_eligible_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | 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/crll-airdrop/src/contract.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | 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/crll-airdrop/src/contract.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | 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/crll-airdrop/src/contract.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | 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/crll-airdrop/src/contract.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | 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/crll-airdrop/src/contract.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_after` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | start_after, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_after: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | limit, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut activity_eligible_reward_amount = Uint128::zero(); [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/crll-airdrop/src/contract.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | let mut activity_eligible_reward_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/cw20-base/src/contract.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | 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:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | 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:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | 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:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | 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:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | 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:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | 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: 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: 3 warnings emitted [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: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(LOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(UNLOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `luna_details` is assigned to, but never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let luna_details; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_luna_details` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `luna_details` is never read [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | luna_details = od; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | 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/crll-airdrop/src/contract.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `luna_airdrop_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | luna_airdrop_reward_amount: Uint128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_luna_airdrop_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activity_eligible_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:360:21 [INFO] [stdout] | [INFO] [stdout] 360 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activity_eligible_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | 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/crll-airdrop/src/contract.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(user) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:420:17 [INFO] [stdout] | [INFO] [stdout] 420 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | 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/crll-airdrop/src/contract.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activity_eligible_reward_amount` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | let mut activity_eligible_reward_amount = Uint128::zero(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activity_eligible_reward_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | 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/crll-airdrop/src/contract.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 486 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | 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/crll-airdrop/src/contract.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | 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/crll-airdrop/src/contract.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:617:5 [INFO] [stdout] | [INFO] [stdout] 617 | 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/crll-airdrop/src/contract.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 711 | 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/crll-airdrop/src/contract.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_after` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | start_after, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_after: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | limit, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `limit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instantiate_msg` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1109:13 [INFO] [stdout] | [INFO] [stdout] 1109 | 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: `instantiate_msg` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1168:13 [INFO] [stdout] | [INFO] [stdout] 1168 | 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: `instantiate_msg` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1251:13 [INFO] [stdout] | [INFO] [stdout] 1251 | 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: `instantiate_msg` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1377:13 [INFO] [stdout] | [INFO] [stdout] 1377 | 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1433:13 [INFO] [stdout] | [INFO] [stdout] 1433 | let mut remove_list = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAIN_WALLET` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const MAIN_WALLET: &str = "terra1t3czdl5h4w4qwgkzs80fdstj0z7rfv9v2j6uh3"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | let mut activity_eligible_reward_amount = Uint128::zero(); [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:1540:13 [INFO] [stdout] | [INFO] [stdout] 1540 | let mut remove_list = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_OF_USER_ACTIVITIES` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | const NUM_OF_USER_ACTIVITIES: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOCKED` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | const LOCKED: u128 = 1u128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNLOCKED` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | const UNLOCKED: u128 = 0u128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_contract_lock_status` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn get_contract_lock_status ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_contract_lock_status` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn set_contract_lock_status ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_luna_user_details` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 258 | fn create_luna_user_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_luna_user_list_details` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:321:4 [INFO] [stdout] | [INFO] [stdout] 321 | fn update_luna_user_list_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_luna_user_details` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:483:4 [INFO] [stdout] | [INFO] [stdout] 483 | fn update_luna_user_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_activity` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:550:4 [INFO] [stdout] | [INFO] [stdout] 550 | fn create_activity( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_activity_eligibility_reward_amount` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:579:4 [INFO] [stdout] | [INFO] [stdout] 579 | fn update_activity_eligibility_reward_amount( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user_activity` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:615:4 [INFO] [stdout] | [INFO] [stdout] 615 | fn update_user_activity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_qualified_flag_for_all_luna_users_and_non_exempt_activities` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:709:4 [INFO] [stdout] | [INFO] [stdout] 709 | fn clear_qualified_flag_for_all_luna_users_and_non_exempt_activities( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_all_activities` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:783:4 [INFO] [stdout] | [INFO] [stdout] 783 | fn query_all_activities(storage: &dyn Storage) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_all_user_activities` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:798:4 [INFO] [stdout] | [INFO] [stdout] 798 | fn query_all_user_activities(storage: &dyn Storage) -> StdResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | let mut activity_eligible_reward_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/crll-airdrop/src/contract.rs:1010:8 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut user_reward = UserRewardInfo { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1382:9 [INFO] [stdout] | [INFO] [stdout] 1382 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1383:9 [INFO] [stdout] | [INFO] [stdout] 1383 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1395:9 [INFO] [stdout] | [INFO] [stdout] 1395 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1399:9 [INFO] [stdout] | [INFO] [stdout] 1399 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1439:9 [INFO] [stdout] | [INFO] [stdout] 1439 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1440:9 [INFO] [stdout] | [INFO] [stdout] 1440 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1441:9 [INFO] [stdout] | [INFO] [stdout] 1441 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1546:9 [INFO] [stdout] | [INFO] [stdout] 1546 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1547:9 [INFO] [stdout] | [INFO] [stdout] 1547 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs:1548:9 [INFO] [stdout] | [INFO] [stdout] 1548 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `user1Info` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | let user1Info = mock_info("LunaUser001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user1_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | / create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 840 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | let queryRes = query_luna_user_details(&mut deps.storage, "LunaUser001".to_string()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user2Info` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:853:13 [INFO] [stdout] | [INFO] [stdout] 853 | let user2Info = mock_info("LunaUser002", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user2_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | / create_luna_user_details(deps.as_mut(), mock_env(), user2Info.clone(), "LunaUser002".to_string(), [INFO] [stdout] 855 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:857:13 [INFO] [stdout] | [INFO] [stdout] 857 | let queryRes = query_luna_user_details(&mut deps.storage, "LunaUser002".to_string()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rewardInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:878:13 [INFO] [stdout] | [INFO] [stdout] 878 | let rewardInfo = mock_info("rewardInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 881 | | STAKING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:882:9 [INFO] [stdout] | [INFO] [stdout] 882 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 883 | | GAMING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(11u128)); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:884:9 [INFO] [stdout] | [INFO] [stdout] 884 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 885 | | LIQUIDITY_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(42u128)); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:900:17 [INFO] [stdout] | [INFO] [stdout] 900 | let userInfo = mock_info(&username, &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:901:13 [INFO] [stdout] | [INFO] [stdout] 901 | / create_luna_user_details(deps.as_mut(), mock_env(), userInfo.clone(), username.clone(), [INFO] [stdout] 902 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | let queryRes = query_luna_user_details(&mut deps.storage, username.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/crll-airdrop/src/contract.rs:919:9 [INFO] [stdout] | [INFO] [stdout] 919 | clear_qualified_flag_for_all_luna_users_and_non_exempt_activities(deps.as_mut(), mock_env(), rewardInfo.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:930:17 [INFO] [stdout] | [INFO] [stdout] 930 | let queryRes = query_luna_user_details (&deps.storage, user); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryAllUserActRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:942:13 [INFO] [stdout] | [INFO] [stdout] 942 | let queryAllUserActRes = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_all_user_act_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | / update_luna_user_list_details(deps.as_mut(), mock_env(), rewardInfo.clone(), total_count, [INFO] [stdout] 959 | | user_name_list_for_final_processing, qualified_list_for_final_processing, rw_amount_list_for_final_processing); [INFO] [stdout] | |_______________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:970:17 [INFO] [stdout] | [INFO] [stdout] 970 | let queryRes = query_luna_user_details (&deps.storage, user); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rewardInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | let rewardInfo = mock_info("rewardInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 995 | | STAKING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 997 | | GAMING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(11u128)); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:998:9 [INFO] [stdout] | [INFO] [stdout] 998 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 999 | | LIQUIDITY_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(42u128)); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1019:3 [INFO] [stdout] | [INFO] [stdout] 1019 | / update_activity_reward_for_users (deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1020 | | "STAKING_ACTIVITY".to_string(), user_name_list_for_final_processing.clone()); [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1031:17 [INFO] [stdout] | [INFO] [stdout] 1031 | let queryRes = query_luna_user_details (&deps.storage, user); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryAllUserActRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | let queryAllUserActRes = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_all_user_act_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1061:3 [INFO] [stdout] | [INFO] [stdout] 1061 | / update_activity_reward_for_users (deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1062 | | "LUNA_ACTIVITY".to_string(), user_name_list_for_final_processing.clone()); [INFO] [stdout] | |______________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1073:17 [INFO] [stdout] | [INFO] [stdout] 1073 | let queryRes = query_luna_user_details (&deps.storage, user); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryAllUserActRes_2` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1085:13 [INFO] [stdout] | [INFO] [stdout] 1085 | let queryAllUserActRes_2 = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_all_user_act_res_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rewardInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1113:13 [INFO] [stdout] | [INFO] [stdout] 1113 | let rewardInfo = mock_info("rewardInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1115:9 [INFO] [stdout] | [INFO] [stdout] 1115 | set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user1Info` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1117:13 [INFO] [stdout] | [INFO] [stdout] 1117 | let user1Info = mock_info("LunaUser001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1118:9 [INFO] [stdout] | [INFO] [stdout] 1118 | / create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1119 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1122 | | STAKING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1124 | | GAMING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(11u128)); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1125:9 [INFO] [stdout] | [INFO] [stdout] 1125 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1126 | | LIQUIDITY_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(42u128)); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | let queryRes = query_all_user_activities(&mut deps.storage); [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/crll-airdrop/src/contract.rs:1142:9 [INFO] [stdout] | [INFO] [stdout] 1142 | / update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1143 | | STAKING_ACTIVITY.to_string(), QUALIFIED_FOR_REWARD); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfter` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1145:13 [INFO] [stdout] | [INFO] [stdout] 1145 | let queryResAfter = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rewardInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1172:13 [INFO] [stdout] | [INFO] [stdout] 1172 | let rewardInfo = mock_info("rewardInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1174:9 [INFO] [stdout] | [INFO] [stdout] 1174 | set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user1Info` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | let user1Info = mock_info("LunaUser001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | / create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1178 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1180:9 [INFO] [stdout] | [INFO] [stdout] 1180 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1181 | | LUNA_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1183 | | STAKING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1184 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1185 | | GAMING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(11u128)); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1186:9 [INFO] [stdout] | [INFO] [stdout] 1186 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1187 | | LIQUIDITY_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(42u128)); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1189:13 [INFO] [stdout] | [INFO] [stdout] 1189 | let queryRes = query_all_user_activities(&mut deps.storage); [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/crll-airdrop/src/contract.rs:1203:9 [INFO] [stdout] | [INFO] [stdout] 1203 | / update_activity_eligibility_reward_amount(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1204 | | STAKING_ACTIVITY.to_string(), Uint128::from(88u128)); [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterUpdateEligible` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1205:13 [INFO] [stdout] | [INFO] [stdout] 1205 | let queryResAfterUpdateEligible = query_all_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_update_eligible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1225:9 [INFO] [stdout] | [INFO] [stdout] 1225 | / update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1226 | | STAKING_ACTIVITY.to_string(), QUALIFIED_FOR_REWARD); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterUpdateUser` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1228:13 [INFO] [stdout] | [INFO] [stdout] 1228 | let queryResAfterUpdateUser = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_update_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rewardInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1255:13 [INFO] [stdout] | [INFO] [stdout] 1255 | let rewardInfo = mock_info("rewardInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user1Info` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1259:13 [INFO] [stdout] | [INFO] [stdout] 1259 | let user1Info = mock_info("LunaUser001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1260:9 [INFO] [stdout] | [INFO] [stdout] 1260 | / create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1261 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1263:9 [INFO] [stdout] | [INFO] [stdout] 1263 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1264 | | LUNA_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1265:9 [INFO] [stdout] | [INFO] [stdout] 1265 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1266 | | STAKING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1267:9 [INFO] [stdout] | [INFO] [stdout] 1267 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1268 | | GAMING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(11u128)); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1269:9 [INFO] [stdout] | [INFO] [stdout] 1269 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1270 | | LIQUIDITY_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(42u128)); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1273:13 [INFO] [stdout] | [INFO] [stdout] 1273 | let queryRes = query_all_user_activities(&mut deps.storage); [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/crll-airdrop/src/contract.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | / update_activity_eligibility_reward_amount(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1288 | | STAKING_ACTIVITY.to_string(), Uint128::from(88u128)); [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterUpdateEligible` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | let queryResAfterUpdateEligible = query_all_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_update_eligible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1309:9 [INFO] [stdout] | [INFO] [stdout] 1309 | / update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1310 | | STAKING_ACTIVITY.to_string(), QUALIFIED_FOR_REWARD); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterUpdateUser` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1312:13 [INFO] [stdout] | [INFO] [stdout] 1312 | let queryResAfterUpdateUser = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_update_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1340:9 [INFO] [stdout] | [INFO] [stdout] 1340 | / update_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1341 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterClaimReward` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1358:13 [INFO] [stdout] | [INFO] [stdout] 1358 | let queryResAfterClaimReward = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_claim_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rewardInfo` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1381:13 [INFO] [stdout] | [INFO] [stdout] 1381 | let rewardInfo = mock_info("rewardInfo", &[]); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `reward_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1383:9 [INFO] [stdout] | [INFO] [stdout] 1383 | set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `user1Info` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | let user1Info = mock_info("LunaUser001", &[coin(1000, "stake")]); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user1_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1386:9 [INFO] [stdout] | [INFO] [stdout] 1386 | / create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1387 | | NOT_QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1389:9 [INFO] [stdout] | [INFO] [stdout] 1389 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1390 | | LUNA_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1392 | | STAKING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(33u128)); [INFO] [stdout] | |____________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1393:9 [INFO] [stdout] | [INFO] [stdout] 1393 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1394 | | GAMING_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(11u128)); [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1395:9 [INFO] [stdout] | [INFO] [stdout] 1395 | / create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1396 | | LIQUIDITY_ACTIVITY.to_string(), LUNA_ACTIVITY.to_string(), Uint128::from(42u128)); [INFO] [stdout] | |______________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1398:13 [INFO] [stdout] | [INFO] [stdout] 1398 | let queryRes = query_all_user_activities(&mut deps.storage); [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/crll-airdrop/src/contract.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | / update_activity_eligibility_reward_amount(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] 1413 | | STAKING_ACTIVITY.to_string(), Uint128::from(88u128)); [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterUpdateEligible` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1414:13 [INFO] [stdout] | [INFO] [stdout] 1414 | let queryResAfterUpdateEligible = query_all_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_update_eligible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1434:9 [INFO] [stdout] | [INFO] [stdout] 1434 | / update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1435 | | STAKING_ACTIVITY.to_string(), QUALIFIED_FOR_REWARD); [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterUpdateUser` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1437:13 [INFO] [stdout] | [INFO] [stdout] 1437 | let queryResAfterUpdateUser = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_update_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1451:9 [INFO] [stdout] | [INFO] [stdout] 1451 | / update_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] 1452 | | QUALIFIED_FOR_REWARD, Uint128::from(100u128)); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterClaimReward` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1469:13 [INFO] [stdout] | [INFO] [stdout] 1469 | let queryResAfterClaimReward = query_all_user_activities(&mut deps.storage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `query_res_after_claim_reward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1487:9 [INFO] [stdout] | [INFO] [stdout] 1487 | set_contract_lock_status (deps.as_mut(), Uint128::from(LOCKED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1488:13 [INFO] [stdout] | [INFO] [stdout] 1488 | let queryRes = get_contract_lock_status(deps.as_mut()); [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/crll-airdrop/src/contract.rs:1498:9 [INFO] [stdout] | [INFO] [stdout] 1498 | set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:1499:13 [INFO] [stdout] | [INFO] [stdout] 1499 | let queryRes = get_contract_lock_status(deps.as_mut()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `query_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 141 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking) [INFO] [stderr] Checking gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool) [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`, `from_binary` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2243:24 [INFO] [stdout] | [INFO] [stdout] 2243 | 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:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | 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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | 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 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:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | 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:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | 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/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::_serde_json::ser::State` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | 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:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | 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:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | 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: `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`, `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`, `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`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND`, `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::_serde_json::ser::State` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | 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:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | 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:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | get_ust_equivalent_to_fury { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GetUstEquivalentToFury` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div`, `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND`, `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | 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:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | 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:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | 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:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | 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:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [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:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | 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: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:719:14 [INFO] [stdout] | [INFO] [stdout] 719 | 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:719:29 [INFO] [stdout] | [INFO] [stdout] 719 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | 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:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | 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:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | 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:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | 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 `stakes` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1038:13 [INFO] [stdout] | [INFO] [stdout] 1038 | 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:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | 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:1070:13 [INFO] [stdout] | [INFO] [stdout] 1070 | 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:1077:21 [INFO] [stdout] | [INFO] [stdout] 1077 | 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: unused variable: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1407:5 [INFO] [stdout] | [INFO] [stdout] 1407 | 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:1409:5 [INFO] [stdout] | [INFO] [stdout] 1409 | 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:1622:13 [INFO] [stdout] | [INFO] [stdout] 1622 | 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: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2175:13 [INFO] [stdout] | [INFO] [stdout] 2175 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | 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:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | 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:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let mut current_time = env.block.time; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | 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:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | 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 does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | 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:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | 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:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | 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:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | 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:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | 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:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | 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:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | 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:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [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:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let mut previous_owners_reward_amount = Uint128::from(0u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | 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: unused variable: `deps` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:719:14 [INFO] [stdout] | [INFO] [stdout] 719 | 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:719:29 [INFO] [stdout] | [INFO] [stdout] 719 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | 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: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | 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:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | 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:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | 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:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | 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:395:16 [INFO] [stdout] | [INFO] [stdout] 395 | 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/club-staking/src/contract.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 935 | 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:936:13 [INFO] [stdout] | [INFO] [stdout] 936 | 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:937:13 [INFO] [stdout] | [INFO] [stdout] 937 | let mut auto_stake = stake.auto_stake; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | 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/gaming-pool/src/testing.rs:399:17 [INFO] [stdout] | [INFO] [stdout] 399 | 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:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | 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: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | 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:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | 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:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | 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:754:13 [INFO] [stdout] | [INFO] [stdout] 754 | 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: value assigned to `stakes` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1038:13 [INFO] [stdout] | [INFO] [stdout] 1038 | 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: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:810:13 [INFO] [stdout] | [INFO] [stdout] 810 | 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:882:13 [INFO] [stdout] | [INFO] [stdout] 882 | 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: value assigned to `transfer_confirmed` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | 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: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:983:16 [INFO] [stdout] | [INFO] [stdout] 983 | 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:1011:13 [INFO] [stdout] | [INFO] [stdout] 1011 | 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: `owner` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1070:13 [INFO] [stdout] | [INFO] [stdout] 1070 | 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: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1082:13 [INFO] [stdout] | [INFO] [stdout] 1082 | 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:1098:13 [INFO] [stdout] | [INFO] [stdout] 1098 | 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: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1077:21 [INFO] [stdout] | [INFO] [stdout] 1077 | 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: unused variable: `cancel_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1099:13 [INFO] [stdout] | [INFO] [stdout] 1099 | 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:1124:13 [INFO] [stdout] | [INFO] [stdout] 1124 | 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: `env` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1407:5 [INFO] [stdout] | [INFO] [stdout] 1407 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewardInfo` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1196:13 [INFO] [stdout] | [INFO] [stdout] 1196 | 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:1284:13 [INFO] [stdout] | [INFO] [stdout] 1284 | 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: `reward_from` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1409:5 [INFO] [stdout] | [INFO] [stdout] 1409 | reward_from: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reward_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1289:16 [INFO] [stdout] | [INFO] [stdout] 1289 | 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: value assigned to `owner_reward` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1622:13 [INFO] [stdout] | [INFO] [stdout] 1622 | 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: value assigned to `bonds` is never read [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2175:13 [INFO] [stdout] | [INFO] [stdout] 2175 | 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:2271:13 [INFO] [stdout] | [INFO] [stdout] 2271 | 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:2329:13 [INFO] [stdout] | [INFO] [stdout] 2329 | 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:2409:13 [INFO] [stdout] | [INFO] [stdout] 2409 | 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:2478:13 [INFO] [stdout] | [INFO] [stdout] 2478 | 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:2607:13 [INFO] [stdout] | [INFO] [stdout] 2607 | 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:2616:13 [INFO] [stdout] | [INFO] [stdout] 2616 | 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:2669:13 [INFO] [stdout] | [INFO] [stdout] 2669 | 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: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2713:13 [INFO] [stdout] | [INFO] [stdout] 2713 | 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:3030:13 [INFO] [stdout] | [INFO] [stdout] 3030 | 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:3128:13 [INFO] [stdout] | [INFO] [stdout] 3128 | 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:3222:13 [INFO] [stdout] | [INFO] [stdout] 3222 | 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:3336:13 [INFO] [stdout] | [INFO] [stdout] 3336 | 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/gaming-pool/src/testing.rs:1317:13 [INFO] [stdout] | [INFO] [stdout] 1317 | 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:1510:16 [INFO] [stdout] | [INFO] [stdout] 1510 | 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:1584:13 [INFO] [stdout] | [INFO] [stdout] 1584 | 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:1656:13 [INFO] [stdout] | [INFO] [stdout] 1656 | 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:1758:16 [INFO] [stdout] | [INFO] [stdout] 1758 | 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:1851:13 [INFO] [stdout] | [INFO] [stdout] 1851 | 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:1925:13 [INFO] [stdout] | [INFO] [stdout] 1925 | 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:1935:13 [INFO] [stdout] | [INFO] [stdout] 1935 | 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:2028:17 [INFO] [stdout] | [INFO] [stdout] 2028 | 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:2042:13 [INFO] [stdout] | [INFO] [stdout] 2042 | 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:2113:13 [INFO] [stdout] | [INFO] [stdout] 2113 | 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:2215:16 [INFO] [stdout] | [INFO] [stdout] 2215 | 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:2236:16 [INFO] [stdout] | [INFO] [stdout] 2236 | 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: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2252:13 [INFO] [stdout] | [INFO] [stdout] 2252 | 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: `minting_contract_info` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3452:13 [INFO] [stdout] | [INFO] [stdout] 3452 | 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 variable: `game_pool_reward_distribute_rsp` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2359:16 [INFO] [stdout] | [INFO] [stdout] 2359 | 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:2372:13 [INFO] [stdout] | [INFO] [stdout] 2372 | 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:2438:16 [INFO] [stdout] | [INFO] [stdout] 2438 | 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: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3618:13 [INFO] [stdout] | [INFO] [stdout] 3618 | 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/gaming-pool/src/testing.rs:2455:13 [INFO] [stdout] | [INFO] [stdout] 2455 | 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:2529:13 [INFO] [stdout] | [INFO] [stdout] 2529 | 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:2539:13 [INFO] [stdout] | [INFO] [stdout] 2539 | 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:2641:16 [INFO] [stdout] | [INFO] [stdout] 2641 | 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:2679:16 [INFO] [stdout] | [INFO] [stdout] 2679 | 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:2698:13 [INFO] [stdout] | [INFO] [stdout] 2698 | 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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 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:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | 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:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | 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:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | 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:968:9 [INFO] [stdout] | [INFO] [stdout] 968 | 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:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | 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:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | 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:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | 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:1023:13 [INFO] [stdout] | [INFO] [stdout] 1023 | 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:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | game_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1073:9 [INFO] [stdout] | [INFO] [stdout] 1073 | let config = CONFIG.load(deps.storage)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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: unused variable: `mintingContractInfo` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3782:13 [INFO] [stdout] | [INFO] [stdout] 3782 | 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: 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | 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:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | 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:1072:13 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1078:17 [INFO] [stdout] | [INFO] [stdout] 1078 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | 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:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | 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:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | 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:617:17 [INFO] [stdout] | [INFO] [stdout] 617 | 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:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:935:13 [INFO] [stdout] | [INFO] [stdout] 935 | let mut staker = stake.staker_address.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | 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:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | 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 does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:936:13 [INFO] [stdout] | [INFO] [stdout] 936 | 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:937:13 [INFO] [stdout] | [INFO] [stdout] 937 | let mut auto_stake = stake.auto_stake; [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:1592:9 [INFO] [stdout] | [INFO] [stdout] 1592 | 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:1686:21 [INFO] [stdout] | [INFO] [stdout] 1686 | for mut stake in staking_details { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 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:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | 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:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | 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:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | 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:968:9 [INFO] [stdout] | [INFO] [stdout] 968 | 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:980:13 [INFO] [stdout] | [INFO] [stdout] 980 | 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:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | 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:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | 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:1023:13 [INFO] [stdout] | [INFO] [stdout] 1023 | 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:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | game_id: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1073:9 [INFO] [stdout] | [INFO] [stdout] 1073 | let config = CONFIG.load(deps.storage)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | 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:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | 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:1072:13 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1078:17 [INFO] [stdout] | [INFO] [stdout] 1078 | 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: 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: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1592:9 [INFO] [stdout] | [INFO] [stdout] 1592 | 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:1686:21 [INFO] [stdout] | [INFO] [stdout] 1686 | for mut stake in staking_details { [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:1079:13 [INFO] [stdout] | [INFO] [stdout] 1079 | 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: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: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1127:12 [INFO] [stdout] | [INFO] [stdout] 1127 | Ok(mut swap) => { [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:1079:13 [INFO] [stdout] | [INFO] [stdout] 1079 | 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:1127:12 [INFO] [stdout] | [INFO] [stdout] 1127 | Ok(mut swap) => { [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:2503:16 [INFO] [stdout] | [INFO] [stdout] 2503 | 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:2519:16 [INFO] [stdout] | [INFO] [stdout] 2519 | 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:2631:16 [INFO] [stdout] | [INFO] [stdout] 2631 | Ok(mut cod) => { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLUB_LOCKING_DURATION` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:39:1 [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:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | 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:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn periodically_refund_stakeouts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1601:9 [INFO] [stdout] | [INFO] [stdout] 1601 | WINNING_CLUB_DETAILS_SNAPSHOT.save(deps.storage, &winning_clubs_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2270:13 [INFO] [stdout] | [INFO] [stdout] 2270 | 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:2271:13 [INFO] [stdout] | [INFO] [stdout] 2271 | 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:2281:9 [INFO] [stdout] | [INFO] [stdout] 2281 | / buy_a_club( [INFO] [stdout] 2282 | | deps.as_mut(), [INFO] [stdout] 2283 | | mock_env(), [INFO] [stdout] 2284 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2289 | | SET_AUTO_STAKE, [INFO] [stdout] 2290 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2328:13 [INFO] [stdout] | [INFO] [stdout] 2328 | 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:2329:13 [INFO] [stdout] | [INFO] [stdout] 2329 | 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:2364:9 [INFO] [stdout] | [INFO] [stdout] 2364 | / claim_owner_rewards( [INFO] [stdout] 2365 | | deps.as_mut(), [INFO] [stdout] 2366 | | mock_env(), [INFO] [stdout] 2367 | | owner1_info.clone(), [INFO] [stdout] 2368 | | "Owner001".to_string(), [INFO] [stdout] 2369 | | "CLUB001".to_string(), [INFO] [stdout] 2370 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfter` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2372:13 [INFO] [stdout] | [INFO] [stdout] 2372 | 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:2408:13 [INFO] [stdout] | [INFO] [stdout] 2408 | 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:2409:13 [INFO] [stdout] | [INFO] [stdout] 2409 | 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:2419:9 [INFO] [stdout] | [INFO] [stdout] 2419 | / buy_a_club( [INFO] [stdout] 2420 | | deps.as_mut(), [INFO] [stdout] 2421 | | mock_env(), [INFO] [stdout] 2422 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2427 | | SET_AUTO_STAKE, [INFO] [stdout] 2428 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2431:9 [INFO] [stdout] | [INFO] [stdout] 2431 | / buy_a_club( [INFO] [stdout] 2432 | | deps.as_mut(), [INFO] [stdout] 2433 | | mock_env(), [INFO] [stdout] 2434 | | owner2_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2439 | | SET_AUTO_STAKE, [INFO] [stdout] 2440 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2477:13 [INFO] [stdout] | [INFO] [stdout] 2477 | 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:2478:13 [INFO] [stdout] | [INFO] [stdout] 2478 | 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:2491:9 [INFO] [stdout] | [INFO] [stdout] 2491 | / assign_a_club( [INFO] [stdout] 2492 | | deps.as_mut(), [INFO] [stdout] 2493 | | mock_env(), [INFO] [stdout] 2494 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2498 | | SET_AUTO_STAKE, [INFO] [stdout] 2499 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes0` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2501:13 [INFO] [stdout] | [INFO] [stdout] 2501 | 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:2515:9 [INFO] [stdout] | [INFO] [stdout] 2515 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes1` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2517:13 [INFO] [stdout] | [INFO] [stdout] 2517 | 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:2531:9 [INFO] [stdout] | [INFO] [stdout] 2531 | / assign_a_club( [INFO] [stdout] 2532 | | deps.as_mut(), [INFO] [stdout] 2533 | | mock_env(), [INFO] [stdout] 2534 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2538 | | SET_AUTO_STAKE, [INFO] [stdout] 2539 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes2` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2544:13 [INFO] [stdout] | [INFO] [stdout] 2544 | 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:2551:17 [INFO] [stdout] | [INFO] [stdout] 2551 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2560:9 [INFO] [stdout] | [INFO] [stdout] 2560 | / assign_a_club( [INFO] [stdout] 2561 | | deps.as_mut(), [INFO] [stdout] 2562 | | mock_env(), [INFO] [stdout] 2563 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2567 | | SET_AUTO_STAKE, [INFO] [stdout] 2568 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes3` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2570:13 [INFO] [stdout] | [INFO] [stdout] 2570 | 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:2606:13 [INFO] [stdout] | [INFO] [stdout] 2606 | 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:2607:13 [INFO] [stdout] | [INFO] [stdout] 2607 | 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:2619:9 [INFO] [stdout] | [INFO] [stdout] 2619 | / assign_a_club( [INFO] [stdout] 2620 | | deps.as_mut(), [INFO] [stdout] 2621 | | mock_env(), [INFO] [stdout] 2622 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2626 | | SET_AUTO_STAKE, [INFO] [stdout] 2627 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes0` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2629:13 [INFO] [stdout] | [INFO] [stdout] 2629 | 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:2669:13 [INFO] [stdout] | [INFO] [stdout] 2669 | 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:2670:9 [INFO] [stdout] | [INFO] [stdout] 2670 | / assign_stakes_to_a_club( [INFO] [stdout] 2671 | | deps.as_mut(), [INFO] [stdout] 2672 | | mock_env(), [INFO] [stdout] 2673 | | adminInfo.clone(), [INFO] [stdout] 2674 | | stake_list, [INFO] [stdout] 2675 | | "CLUB001".to_string(), [INFO] [stdout] 2676 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes1` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2678:13 [INFO] [stdout] | [INFO] [stdout] 2678 | 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:2712:13 [INFO] [stdout] | [INFO] [stdout] 2712 | 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:2713:13 [INFO] [stdout] | [INFO] [stdout] 2713 | 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:2751:17 [INFO] [stdout] | [INFO] [stdout] 2751 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2759:9 [INFO] [stdout] | [INFO] [stdout] 2759 | / release_club( [INFO] [stdout] 2760 | | deps.as_mut(), [INFO] [stdout] 2761 | | mock_env(), [INFO] [stdout] 2762 | | owner1_info.clone(), [INFO] [stdout] 2763 | | "Owner001".to_string(), [INFO] [stdout] 2764 | | "CLUB001".to_string(), [INFO] [stdout] 2765 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterReleasing` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2767:13 [INFO] [stdout] | [INFO] [stdout] 2767 | 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:2793:13 [INFO] [stdout] | [INFO] [stdout] 2793 | 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:2829:13 [INFO] [stdout] | [INFO] [stdout] 2829 | 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:2830:13 [INFO] [stdout] | [INFO] [stdout] 2830 | 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:2840:9 [INFO] [stdout] | [INFO] [stdout] 2840 | / buy_a_club( [INFO] [stdout] 2841 | | deps.as_mut(), [INFO] [stdout] 2842 | | mock_env(), [INFO] [stdout] 2843 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2848 | | SET_AUTO_STAKE, [INFO] [stdout] 2849 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2851:9 [INFO] [stdout] | [INFO] [stdout] 2851 | / release_club( [INFO] [stdout] 2852 | | deps.as_mut(), [INFO] [stdout] 2853 | | mock_env(), [INFO] [stdout] 2854 | | owner1_info.clone(), [INFO] [stdout] 2855 | | "Owner001".to_string(), [INFO] [stdout] 2856 | | "CLUB001".to_string(), [INFO] [stdout] 2857 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2867:17 [INFO] [stdout] | [INFO] [stdout] 2867 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2875:13 [INFO] [stdout] | [INFO] [stdout] 2875 | 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:2876:9 [INFO] [stdout] | [INFO] [stdout] 2876 | / stake_on_a_club( [INFO] [stdout] 2877 | | deps.as_mut(), [INFO] [stdout] 2878 | | mock_env(), [INFO] [stdout] 2879 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2883 | | SET_AUTO_STAKE, [INFO] [stdout] 2884 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2886:9 [INFO] [stdout] | [INFO] [stdout] 2886 | / increase_reward_amount( [INFO] [stdout] 2887 | | deps.as_mut(), [INFO] [stdout] 2888 | | mock_env(), [INFO] [stdout] 2889 | | mintingContractInfo.clone(), [INFO] [stdout] 2890 | | "reward_from abc".to_string(), [INFO] [stdout] 2891 | | Uint128::from(1000000u128), [INFO] [stdout] 2892 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2898:9 [INFO] [stdout] | [INFO] [stdout] 2898 | 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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2901:9 [INFO] [stdout] | [INFO] [stdout] 2901 | / release_club( [INFO] [stdout] 2902 | | deps.as_mut(), [INFO] [stdout] 2903 | | mock_env(), [INFO] [stdout] 2904 | | owner1_info.clone(), [INFO] [stdout] 2905 | | "Owner001".to_string(), [INFO] [stdout] 2906 | | "CLUB001".to_string(), [INFO] [stdout] 2907 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterReleasing` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2909:13 [INFO] [stdout] | [INFO] [stdout] 2909 | 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:2934:9 [INFO] [stdout] | [INFO] [stdout] 2934 | / buy_a_club( [INFO] [stdout] 2935 | | deps.as_mut(), [INFO] [stdout] 2936 | | mock_env(), [INFO] [stdout] 2937 | | owner2_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2942 | | SET_AUTO_STAKE, [INFO] [stdout] 2943 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryResAfterSellingByPrevOwner` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2945:13 [INFO] [stdout] | [INFO] [stdout] 2945 | 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:2991:9 [INFO] [stdout] | [INFO] [stdout] 2991 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryPrevOwnerDetailsAfterRewardClaim` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:2992:13 [INFO] [stdout] | [INFO] [stdout] 2992 | 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:3029:13 [INFO] [stdout] | [INFO] [stdout] 3029 | 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:3030:13 [INFO] [stdout] | [INFO] [stdout] 3030 | 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:3040:9 [INFO] [stdout] | [INFO] [stdout] 3040 | / buy_a_club( [INFO] [stdout] 3041 | | deps.as_mut(), [INFO] [stdout] 3042 | | mock_env(), [INFO] [stdout] 3043 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3048 | | false, // NO AUTO STAKE [INFO] [stdout] 3049 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3052:13 [INFO] [stdout] | [INFO] [stdout] 3052 | 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:3053:9 [INFO] [stdout] | [INFO] [stdout] 3053 | / stake_on_a_club( [INFO] [stdout] 3054 | | deps.as_mut(), [INFO] [stdout] 3055 | | mock_env(), [INFO] [stdout] 3056 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3060 | | false, // NO AUTO STAKE [INFO] [stdout] 3061 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3063:9 [INFO] [stdout] | [INFO] [stdout] 3063 | / increase_reward_amount( [INFO] [stdout] 3064 | | deps.as_mut(), [INFO] [stdout] 3065 | | mock_env(), [INFO] [stdout] 3066 | | adminInfo.clone(), [INFO] [stdout] 3067 | | "reward_from abc".to_string(), [INFO] [stdout] 3068 | | Uint128::from(1000000u128), [INFO] [stdout] 3069 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3075:9 [INFO] [stdout] | [INFO] [stdout] 3075 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3080:13 [INFO] [stdout] | [INFO] [stdout] 3080 | 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:3127:13 [INFO] [stdout] | [INFO] [stdout] 3127 | 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:3128:13 [INFO] [stdout] | [INFO] [stdout] 3128 | 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:3138:9 [INFO] [stdout] | [INFO] [stdout] 3138 | / buy_a_club( [INFO] [stdout] 3139 | | deps.as_mut(), [INFO] [stdout] 3140 | | mock_env(), [INFO] [stdout] 3141 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3146 | | SET_AUTO_STAKE, [INFO] [stdout] 3147 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3149:13 [INFO] [stdout] | [INFO] [stdout] 3149 | 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:3150:9 [INFO] [stdout] | [INFO] [stdout] 3150 | / stake_on_a_club( [INFO] [stdout] 3151 | | deps.as_mut(), [INFO] [stdout] 3152 | | mock_env(), [INFO] [stdout] 3153 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3157 | | SET_AUTO_STAKE, [INFO] [stdout] 3158 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3159:9 [INFO] [stdout] | [INFO] [stdout] 3159 | / stake_on_a_club( [INFO] [stdout] 3160 | | deps.as_mut(), [INFO] [stdout] 3161 | | mock_env(), [INFO] [stdout] 3162 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3166 | | SET_AUTO_STAKE, [INFO] [stdout] 3167 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3168:9 [INFO] [stdout] | [INFO] [stdout] 3168 | / stake_on_a_club( [INFO] [stdout] 3169 | | deps.as_mut(), [INFO] [stdout] 3170 | | mock_env(), [INFO] [stdout] 3171 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3175 | | SET_AUTO_STAKE, [INFO] [stdout] 3176 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3221:13 [INFO] [stdout] | [INFO] [stdout] 3221 | 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:3222:13 [INFO] [stdout] | [INFO] [stdout] 3222 | 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:3232:9 [INFO] [stdout] | [INFO] [stdout] 3232 | / buy_a_club( [INFO] [stdout] 3233 | | deps.as_mut(), [INFO] [stdout] 3234 | | mock_env(), [INFO] [stdout] 3235 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3240 | | SET_AUTO_STAKE, [INFO] [stdout] 3241 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3243:13 [INFO] [stdout] | [INFO] [stdout] 3243 | 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:3244:9 [INFO] [stdout] | [INFO] [stdout] 3244 | / stake_on_a_club( [INFO] [stdout] 3245 | | deps.as_mut(), [INFO] [stdout] 3246 | | mock_env(), [INFO] [stdout] 3247 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3251 | | SET_AUTO_STAKE, [INFO] [stdout] 3252 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3253:9 [INFO] [stdout] | [INFO] [stdout] 3253 | / withdraw_stake_from_a_club( [INFO] [stdout] 3254 | | deps.as_mut(), [INFO] [stdout] 3255 | | mock_env(), [INFO] [stdout] 3256 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3260 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3261 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3262:9 [INFO] [stdout] | [INFO] [stdout] 3262 | / withdraw_stake_from_a_club( [INFO] [stdout] 3263 | | deps.as_mut(), [INFO] [stdout] 3264 | | mock_env(), [INFO] [stdout] 3265 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3269 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3270 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3271:9 [INFO] [stdout] | [INFO] [stdout] 3271 | / withdraw_stake_from_a_club( [INFO] [stdout] 3272 | | deps.as_mut(), [INFO] [stdout] 3273 | | mock_env(), [INFO] [stdout] 3274 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3278 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3279 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3302:13 [INFO] [stdout] | [INFO] [stdout] 3302 | 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:3335:13 [INFO] [stdout] | [INFO] [stdout] 3335 | 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:3336:13 [INFO] [stdout] | [INFO] [stdout] 3336 | 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:3345:13 [INFO] [stdout] | [INFO] [stdout] 3345 | 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:3346:9 [INFO] [stdout] | [INFO] [stdout] 3346 | / buy_a_club( [INFO] [stdout] 3347 | | deps.as_mut(), [INFO] [stdout] 3348 | | mock_env(), [INFO] [stdout] 3349 | | owner1Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3354 | | SET_AUTO_STAKE, [INFO] [stdout] 3355 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3357:13 [INFO] [stdout] | [INFO] [stdout] 3357 | 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:3358:9 [INFO] [stdout] | [INFO] [stdout] 3358 | / stake_on_a_club( [INFO] [stdout] 3359 | | deps.as_mut(), [INFO] [stdout] 3360 | | mock_env(), [INFO] [stdout] 3361 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3365 | | SET_AUTO_STAKE, [INFO] [stdout] 3366 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3367:9 [INFO] [stdout] | [INFO] [stdout] 3367 | / withdraw_stake_from_a_club( [INFO] [stdout] 3368 | | deps.as_mut(), [INFO] [stdout] 3369 | | mock_env(), [INFO] [stdout] 3370 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3374 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3375 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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 | / withdraw_stake_from_a_club( [INFO] [stdout] 3377 | | deps.as_mut(), [INFO] [stdout] 3378 | | mock_env(), [INFO] [stdout] 3379 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3383 | | IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3384 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3418:13 [INFO] [stdout] | [INFO] [stdout] 3418 | 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:3462:9 [INFO] [stdout] | [INFO] [stdout] 3462 | / buy_a_club( [INFO] [stdout] 3463 | | deps.as_mut(), [INFO] [stdout] 3464 | | mock_env(), [INFO] [stdout] 3465 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3470 | | SET_AUTO_STAKE, [INFO] [stdout] 3471 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3473:13 [INFO] [stdout] | [INFO] [stdout] 3473 | 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:3474:9 [INFO] [stdout] | [INFO] [stdout] 3474 | / stake_on_a_club( [INFO] [stdout] 3475 | | deps.as_mut(), [INFO] [stdout] 3476 | | mock_env(), [INFO] [stdout] 3477 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3481 | | SET_AUTO_STAKE, [INFO] [stdout] 3482 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3483:9 [INFO] [stdout] | [INFO] [stdout] 3483 | / withdraw_stake_from_a_club( [INFO] [stdout] 3484 | | deps.as_mut(), [INFO] [stdout] 3485 | | mock_env(), [INFO] [stdout] 3486 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3490 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3491 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3492:9 [INFO] [stdout] | [INFO] [stdout] 3492 | / withdraw_stake_from_a_club( [INFO] [stdout] 3493 | | deps.as_mut(), [INFO] [stdout] 3494 | | mock_env(), [INFO] [stdout] 3495 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3499 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3500 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3501:9 [INFO] [stdout] | [INFO] [stdout] 3501 | / withdraw_stake_from_a_club( [INFO] [stdout] 3502 | | deps.as_mut(), [INFO] [stdout] 3503 | | mock_env(), [INFO] [stdout] 3504 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3508 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3509 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3510:9 [INFO] [stdout] | [INFO] [stdout] 3510 | / withdraw_stake_from_a_club( [INFO] [stdout] 3511 | | deps.as_mut(), [INFO] [stdout] 3512 | | mock_env(), [INFO] [stdout] 3513 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3517 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3518 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3534:13 [INFO] [stdout] | [INFO] [stdout] 3534 | 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:3554:13 [INFO] [stdout] | [INFO] [stdout] 3554 | 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:3555:9 [INFO] [stdout] | [INFO] [stdout] 3555 | / stake_on_a_club( [INFO] [stdout] 3556 | | deps.as_mut(), [INFO] [stdout] 3557 | | mock_env(), [INFO] [stdout] 3558 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3562 | | SET_AUTO_STAKE, [INFO] [stdout] 3563 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3564:9 [INFO] [stdout] | [INFO] [stdout] 3564 | / withdraw_stake_from_a_club( [INFO] [stdout] 3565 | | deps.as_mut(), [INFO] [stdout] 3566 | | mock_env(), [INFO] [stdout] 3567 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3571 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3572 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3574:13 [INFO] [stdout] | [INFO] [stdout] 3574 | 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:3617:13 [INFO] [stdout] | [INFO] [stdout] 3617 | 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:3618:13 [INFO] [stdout] | [INFO] [stdout] 3618 | 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:3619:9 [INFO] [stdout] | [INFO] [stdout] 3619 | / instantiate( [INFO] [stdout] 3620 | | deps.as_mut(), [INFO] [stdout] 3621 | | mock_env(), [INFO] [stdout] 3622 | | adminInfo.clone(), [INFO] [stdout] 3623 | | instantiate_msg, [INFO] [stdout] 3624 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3627:9 [INFO] [stdout] | [INFO] [stdout] 3627 | / buy_a_club( [INFO] [stdout] 3628 | | deps.as_mut(), [INFO] [stdout] 3629 | | mock_env(), [INFO] [stdout] 3630 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3635 | | SET_AUTO_STAKE, [INFO] [stdout] 3636 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stakerInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3638:13 [INFO] [stdout] | [INFO] [stdout] 3638 | 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:3639:9 [INFO] [stdout] | [INFO] [stdout] 3639 | / stake_on_a_club( [INFO] [stdout] 3640 | | deps.as_mut(), [INFO] [stdout] 3641 | | mock_env(), [INFO] [stdout] 3642 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3646 | | SET_AUTO_STAKE, [INFO] [stdout] 3647 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3648:9 [INFO] [stdout] | [INFO] [stdout] 3648 | / withdraw_stake_from_a_club( [INFO] [stdout] 3649 | | deps.as_mut(), [INFO] [stdout] 3650 | | mock_env(), [INFO] [stdout] 3651 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3655 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3656 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3657:9 [INFO] [stdout] | [INFO] [stdout] 3657 | / withdraw_stake_from_a_club( [INFO] [stdout] 3658 | | deps.as_mut(), [INFO] [stdout] 3659 | | mock_env(), [INFO] [stdout] 3660 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3664 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3665 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3666:9 [INFO] [stdout] | [INFO] [stdout] 3666 | / withdraw_stake_from_a_club( [INFO] [stdout] 3667 | | deps.as_mut(), [INFO] [stdout] 3668 | | mock_env(), [INFO] [stdout] 3669 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3673 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3674 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3675:9 [INFO] [stdout] | [INFO] [stdout] 3675 | / withdraw_stake_from_a_club( [INFO] [stdout] 3676 | | deps.as_mut(), [INFO] [stdout] 3677 | | mock_env(), [INFO] [stdout] 3678 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3682 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3683 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3724:21 [INFO] [stdout] | [INFO] [stdout] 3724 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `adminInfo` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3781:13 [INFO] [stdout] | [INFO] [stdout] 3781 | 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:3782:13 [INFO] [stdout] | [INFO] [stdout] 3782 | 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:3803:13 [INFO] [stdout] | [INFO] [stdout] 3803 | 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:3804:9 [INFO] [stdout] | [INFO] [stdout] 3804 | / stake_on_a_club( [INFO] [stdout] 3805 | | deps.as_mut(), [INFO] [stdout] 3806 | | mock_env(), [INFO] [stdout] 3807 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3811 | | SET_AUTO_STAKE, [INFO] [stdout] 3812 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3813:9 [INFO] [stdout] | [INFO] [stdout] 3813 | / withdraw_stake_from_a_club( [INFO] [stdout] 3814 | | deps.as_mut(), [INFO] [stdout] 3815 | | mock_env(), [INFO] [stdout] 3816 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3820 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3821 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3822:9 [INFO] [stdout] | [INFO] [stdout] 3822 | / withdraw_stake_from_a_club( [INFO] [stdout] 3823 | | deps.as_mut(), [INFO] [stdout] 3824 | | mock_env(), [INFO] [stdout] 3825 | | stakerInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3829 | | NO_IMMEDIATE_WITHDRAWAL, [INFO] [stdout] 3830 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryBonds` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3862:13 [INFO] [stdout] | [INFO] [stdout] 3862 | 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:3905:13 [INFO] [stdout] | [INFO] [stdout] 3905 | 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:3906:13 [INFO] [stdout] | [INFO] [stdout] 3906 | 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:3916:13 [INFO] [stdout] | [INFO] [stdout] 3916 | 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:3917:9 [INFO] [stdout] | [INFO] [stdout] 3917 | / buy_a_club( [INFO] [stdout] 3918 | | deps.as_mut(), [INFO] [stdout] 3919 | | mock_env(), [INFO] [stdout] 3920 | | owner1Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3925 | | SET_AUTO_STAKE, [INFO] [stdout] 3926 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `owner2Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3927:13 [INFO] [stdout] | [INFO] [stdout] 3927 | 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:3928:9 [INFO] [stdout] | [INFO] [stdout] 3928 | / buy_a_club( [INFO] [stdout] 3929 | | deps.as_mut(), [INFO] [stdout] 3930 | | mock_env(), [INFO] [stdout] 3931 | | owner2Info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 3936 | | SET_AUTO_STAKE, [INFO] [stdout] 3937 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `owner3Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3938:13 [INFO] [stdout] | [INFO] [stdout] 3938 | 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:3939:9 [INFO] [stdout] | [INFO] [stdout] 3939 | / buy_a_club( [INFO] [stdout] 3940 | | deps.as_mut(), [INFO] [stdout] 3941 | | mock_env(), [INFO] [stdout] 3942 | | owner3Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `staker1Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3950:13 [INFO] [stdout] | [INFO] [stdout] 3950 | 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:3951:9 [INFO] [stdout] | [INFO] [stdout] 3951 | / stake_on_a_club( [INFO] [stdout] 3952 | | deps.as_mut(), [INFO] [stdout] 3953 | | mock_env(), [INFO] [stdout] 3954 | | staker1Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `staker2Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3961:13 [INFO] [stdout] | [INFO] [stdout] 3961 | 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:3962:9 [INFO] [stdout] | [INFO] [stdout] 3962 | / stake_on_a_club( [INFO] [stdout] 3963 | | deps.as_mut(), [INFO] [stdout] 3964 | | mock_env(), [INFO] [stdout] 3965 | | staker2Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `staker3Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3972:13 [INFO] [stdout] | [INFO] [stdout] 3972 | 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: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 | | staker3Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `staker4Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3983:13 [INFO] [stdout] | [INFO] [stdout] 3983 | 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: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 | | staker4Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `staker5Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:3994:13 [INFO] [stdout] | [INFO] [stdout] 3994 | 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: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 | | staker5Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `staker6Info` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4005:13 [INFO] [stdout] | [INFO] [stdout] 4005 | 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: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 | | staker6Info.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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes0` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4026:13 [INFO] [stdout] | [INFO] [stdout] 4026 | 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:4038:9 [INFO] [stdout] | [INFO] [stdout] 4038 | / increase_reward_amount( [INFO] [stdout] 4039 | | deps.as_mut(), [INFO] [stdout] 4040 | | mock_env(), [INFO] [stdout] 4041 | | adminInfo.clone(), [INFO] [stdout] 4042 | | "reward_from abc".to_string(), [INFO] [stdout] 4043 | | Uint128::from(1000000u128), [INFO] [stdout] 4044 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes00` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4046:13 [INFO] [stdout] | [INFO] [stdout] 4046 | 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:4057:17 [INFO] [stdout] | [INFO] [stdout] 4057 | 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:4060:9 [INFO] [stdout] | [INFO] [stdout] 4060 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes01` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4062:13 [INFO] [stdout] | [INFO] [stdout] 4062 | 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:4076:9 [INFO] [stdout] | [INFO] [stdout] 4076 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes01` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4078:13 [INFO] [stdout] | [INFO] [stdout] 4078 | 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:4092:9 [INFO] [stdout] | [INFO] [stdout] 4092 | 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] [INFO] [stdout] [INFO] [stdout] warning: variable `queryRes` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4097:13 [INFO] [stdout] | [INFO] [stdout] 4097 | 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:4143:9 [INFO] [stdout] | [INFO] [stdout] 4143 | / increase_reward_amount( [INFO] [stdout] 4144 | | deps.as_mut(), [INFO] [stdout] 4145 | | mock_env(), [INFO] [stdout] 4146 | | mintingContractInfo.clone(), [INFO] [stdout] 4147 | | "reward_from abc".to_string(), [INFO] [stdout] 4148 | | Uint128::from(1000000u128), [INFO] [stdout] 4149 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4222:9 [INFO] [stdout] | [INFO] [stdout] 4222 | / increase_reward_amount( [INFO] [stdout] 4223 | | deps.as_mut(), [INFO] [stdout] 4224 | | mock_env(), [INFO] [stdout] 4225 | | mintingContractInfo.clone(), [INFO] [stdout] 4226 | | "reward_from def".to_string(), [INFO] [stdout] 4227 | | Uint128::from(1000000u128), [INFO] [stdout] 4228 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `queryReward` should have a snake case name [INFO] [stdout] --> contracts/club-staking/src/contract.rs:4230:13 [INFO] [stdout] | [INFO] [stdout] 4230 | 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: 215 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_IMMEDIATE_WITHDRAWAL` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:28:1 [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:1 [INFO] [stdout] | [INFO] [stdout] 39 | const CLUB_LOCKING_DURATION: u64 = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `received_message` is never used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | 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:329:4 [INFO] [stdout] | [INFO] [stdout] 329 | fn periodically_refund_stakeouts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1601:9 [INFO] [stdout] | [INFO] [stdout] 1601 | WINNING_CLUB_DETAILS_SNAPSHOT.save(deps.storage, &winning_clubs_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2222:13 [INFO] [stdout] | [INFO] [stdout] 2222 | 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] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / instantiate( [INFO] [stdout] 32 | | deps.as_mut(), [INFO] [stdout] 33 | | mock_env(), [INFO] [stdout] 34 | | adminInfo.clone(), [INFO] [stdout] 35 | | instantiate_msg, [INFO] [stdout] 36 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / instantiate( [INFO] [stdout] 69 | | deps.as_mut(), [INFO] [stdout] 70 | | mock_env(), [INFO] [stdout] 71 | | adminInfo.clone(), [INFO] [stdout] 72 | | instantiate_msg, [INFO] [stdout] 73 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / instantiate( [INFO] [stdout] 124 | | deps.as_mut(), [INFO] [stdout] 125 | | mock_env(), [INFO] [stdout] 126 | | adminInfo.clone(), [INFO] [stdout] 127 | | instantiate_msg, [INFO] [stdout] 128 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / instantiate( [INFO] [stdout] 208 | | deps.as_mut(), [INFO] [stdout] 209 | | mock_env(), [INFO] [stdout] 210 | | adminInfo.clone(), [INFO] [stdout] 211 | | instantiate_msg, [INFO] [stdout] 212 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | / set_pool_type_params( [INFO] [stdout] 237 | | deps.as_mut(), [INFO] [stdout] 238 | | mock_env(), [INFO] [stdout] 239 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 245 | | rake_list, [INFO] [stdout] 246 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / game_pool_bid_submit( [INFO] [stdout] 268 | | deps.as_mut(), [INFO] [stdout] 269 | | mock_env(), [INFO] [stdout] 270 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 277 | | None, [INFO] [stdout] 278 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | / instantiate( [INFO] [stdout] 310 | | deps.as_mut(), [INFO] [stdout] 311 | | mock_env(), [INFO] [stdout] 312 | | adminInfo.clone(), [INFO] [stdout] 313 | | instantiate_msg, [INFO] [stdout] 314 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | / set_pool_type_params( [INFO] [stdout] 339 | | deps.as_mut(), [INFO] [stdout] 340 | | mock_env(), [INFO] [stdout] 341 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 347 | | rake_list, [INFO] [stdout] 348 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | / game_pool_bid_submit( [INFO] [stdout] 370 | | deps.as_mut(), [INFO] [stdout] 371 | | mock_env(), [INFO] [stdout] 372 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 379 | | None, [INFO] [stdout] 380 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | / game_pool_bid_submit( [INFO] [stdout] 382 | | deps.as_mut(), [INFO] [stdout] 383 | | mock_env(), [INFO] [stdout] 384 | | owner1_info.clone(), [INFO] [stdout] ... | [INFO] [stdout] 391 | | None, [INFO] [stdout] 392 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | / instantiate( [INFO] [stdout] 425 | | deps.as_mut(), [INFO] [stdout] 426 | | mock_env(), [INFO] [stdout] 427 | | adminInfo.clone(), [INFO] [stdout] 428 | | instantiate_msg, [INFO] [stdout] 429 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | / set_pool_type_params( [INFO] [stdout] 454 | | deps.as_mut(), [INFO] [stdout] 455 | | mock_env(), [INFO] [stdout] 456 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 462 | | rake_list.clone(), [INFO] [stdout] 463 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | / set_pool_type_params( [INFO] [stdout] 465 | | deps.as_mut(), [INFO] [stdout] 466 | | mock_env(), [INFO] [stdout] 467 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 473 | | rake_list.clone(), [INFO] [stdout] 474 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | / game_pool_bid_submit( [INFO] [stdout] 534 | | deps.as_mut(), [INFO] [stdout] 535 | | mock_env(), [INFO] [stdout] 536 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 543 | | None, [INFO] [stdout] 544 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | / game_pool_bid_submit( [INFO] [stdout] 546 | | deps.as_mut(), [INFO] [stdout] 547 | | mock_env(), [INFO] [stdout] 548 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 555 | | None, [INFO] [stdout] 556 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | / game_pool_bid_submit( [INFO] [stdout] 558 | | deps.as_mut(), [INFO] [stdout] 559 | | mock_env(), [INFO] [stdout] 560 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 567 | | None, [INFO] [stdout] 568 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | / game_pool_bid_submit( [INFO] [stdout] 570 | | deps.as_mut(), [INFO] [stdout] 571 | | mock_env(), [INFO] [stdout] 572 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 579 | | None, [INFO] [stdout] 580 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | / game_pool_bid_submit( [INFO] [stdout] 595 | | deps.as_mut(), [INFO] [stdout] 596 | | mock_env(), [INFO] [stdout] 597 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 604 | | None, [INFO] [stdout] 605 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | / game_pool_bid_submit( [INFO] [stdout] 607 | | deps.as_mut(), [INFO] [stdout] 608 | | mock_env(), [INFO] [stdout] 609 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 616 | | None, [INFO] [stdout] 617 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | / game_pool_bid_submit( [INFO] [stdout] 619 | | deps.as_mut(), [INFO] [stdout] 620 | | mock_env(), [INFO] [stdout] 621 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 628 | | None, [INFO] [stdout] 629 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | / game_pool_bid_submit( [INFO] [stdout] 644 | | deps.as_mut(), [INFO] [stdout] 645 | | mock_env(), [INFO] [stdout] 646 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 653 | | None, [INFO] [stdout] 654 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | / game_pool_bid_submit( [INFO] [stdout] 656 | | deps.as_mut(), [INFO] [stdout] 657 | | mock_env(), [INFO] [stdout] 658 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 665 | | None, [INFO] [stdout] 666 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:697:9 [INFO] [stdout] | [INFO] [stdout] 697 | / instantiate( [INFO] [stdout] 698 | | deps.as_mut(), [INFO] [stdout] 699 | | mock_env(), [INFO] [stdout] 700 | | adminInfo.clone(), [INFO] [stdout] 701 | | instantiate_msg, [INFO] [stdout] 702 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | / set_pool_type_params( [INFO] [stdout] 726 | | deps.as_mut(), [INFO] [stdout] 727 | | mock_env(), [INFO] [stdout] 728 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 734 | | rake_list.clone(), [INFO] [stdout] 735 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:757:9 [INFO] [stdout] | [INFO] [stdout] 757 | / game_pool_bid_submit( [INFO] [stdout] 758 | | deps.as_mut(), [INFO] [stdout] 759 | | mock_env(), [INFO] [stdout] 760 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 767 | | None, [INFO] [stdout] 768 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | / game_pool_bid_submit( [INFO] [stdout] 770 | | deps.as_mut(), [INFO] [stdout] 771 | | mock_env(), [INFO] [stdout] 772 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 779 | | None, [INFO] [stdout] 780 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:781:9 [INFO] [stdout] | [INFO] [stdout] 781 | / game_pool_bid_submit( [INFO] [stdout] 782 | | deps.as_mut(), [INFO] [stdout] 783 | | mock_env(), [INFO] [stdout] 784 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 791 | | None, [INFO] [stdout] 792 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | / instantiate( [INFO] [stdout] 826 | | deps.as_mut(), [INFO] [stdout] 827 | | mock_env(), [INFO] [stdout] 828 | | adminInfo.clone(), [INFO] [stdout] 829 | | instantiate_msg, [INFO] [stdout] 830 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:853:9 [INFO] [stdout] | [INFO] [stdout] 853 | / set_pool_type_params( [INFO] [stdout] 854 | | deps.as_mut(), [INFO] [stdout] 855 | | mock_env(), [INFO] [stdout] 856 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 862 | | rake_list.clone(), [INFO] [stdout] 863 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | / game_pool_bid_submit( [INFO] [stdout] 886 | | deps.as_mut(), [INFO] [stdout] 887 | | mock_env(), [INFO] [stdout] 888 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 895 | | None, [INFO] [stdout] 896 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:897:9 [INFO] [stdout] | [INFO] [stdout] 897 | / game_pool_bid_submit( [INFO] [stdout] 898 | | deps.as_mut(), [INFO] [stdout] 899 | | mock_env(), [INFO] [stdout] 900 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 907 | | None, [INFO] [stdout] 908 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | / game_pool_bid_submit( [INFO] [stdout] 910 | | deps.as_mut(), [INFO] [stdout] 911 | | mock_env(), [INFO] [stdout] 912 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 919 | | None, [INFO] [stdout] 920 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1025:9 [INFO] [stdout] | [INFO] [stdout] 1025 | / instantiate( [INFO] [stdout] 1026 | | deps.as_mut(), [INFO] [stdout] 1027 | | mock_env(), [INFO] [stdout] 1028 | | adminInfo.clone(), [INFO] [stdout] 1029 | | instantiate_msg, [INFO] [stdout] 1030 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1053:9 [INFO] [stdout] | [INFO] [stdout] 1053 | / set_pool_type_params( [INFO] [stdout] 1054 | | deps.as_mut(), [INFO] [stdout] 1055 | | mock_env(), [INFO] [stdout] 1056 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1062 | | rake_list.clone(), [INFO] [stdout] 1063 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | / game_pool_bid_submit( [INFO] [stdout] 1086 | | deps.as_mut(), [INFO] [stdout] 1087 | | mock_env(), [INFO] [stdout] 1088 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1095 | | None, [INFO] [stdout] 1096 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1139:9 [INFO] [stdout] | [INFO] [stdout] 1139 | / instantiate( [INFO] [stdout] 1140 | | deps.as_mut(), [INFO] [stdout] 1141 | | mock_env(), [INFO] [stdout] 1142 | | adminInfo.clone(), [INFO] [stdout] 1143 | | instantiate_msg, [INFO] [stdout] 1144 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1167:9 [INFO] [stdout] | [INFO] [stdout] 1167 | / set_pool_type_params( [INFO] [stdout] 1168 | | deps.as_mut(), [INFO] [stdout] 1169 | | mock_env(), [INFO] [stdout] 1170 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1176 | | rake_list.clone(), [INFO] [stdout] 1177 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1199:9 [INFO] [stdout] | [INFO] [stdout] 1199 | / game_pool_bid_submit( [INFO] [stdout] 1200 | | deps.as_mut(), [INFO] [stdout] 1201 | | mock_env(), [INFO] [stdout] 1202 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1209 | | None, [INFO] [stdout] 1210 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1211:9 [INFO] [stdout] | [INFO] [stdout] 1211 | / game_pool_bid_submit( [INFO] [stdout] 1212 | | deps.as_mut(), [INFO] [stdout] 1213 | | mock_env(), [INFO] [stdout] 1214 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1221 | | None, [INFO] [stdout] 1222 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1223 | / game_pool_bid_submit( [INFO] [stdout] 1224 | | deps.as_mut(), [INFO] [stdout] 1225 | | mock_env(), [INFO] [stdout] 1226 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1233 | | None, [INFO] [stdout] 1234 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1332:9 [INFO] [stdout] | [INFO] [stdout] 1332 | / instantiate( [INFO] [stdout] 1333 | | deps.as_mut(), [INFO] [stdout] 1334 | | mock_env(), [INFO] [stdout] 1335 | | adminInfo.clone(), [INFO] [stdout] 1336 | | instantiate_msg, [INFO] [stdout] 1337 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1360:9 [INFO] [stdout] | [INFO] [stdout] 1360 | / set_pool_type_params( [INFO] [stdout] 1361 | | deps.as_mut(), [INFO] [stdout] 1362 | | mock_env(), [INFO] [stdout] 1363 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1369 | | rake_list.clone(), [INFO] [stdout] 1370 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1402:9 [INFO] [stdout] | [INFO] [stdout] 1402 | / instantiate( [INFO] [stdout] 1403 | | deps.as_mut(), [INFO] [stdout] 1404 | | mock_env(), [INFO] [stdout] 1405 | | rewardInfo.clone(), [INFO] [stdout] 1406 | | instantiate_msg, [INFO] [stdout] 1407 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1410:9 [INFO] [stdout] | [INFO] [stdout] 1410 | / game_pool_bid_submit( [INFO] [stdout] 1411 | | deps.as_mut(), [INFO] [stdout] 1412 | | mock_env(), [INFO] [stdout] 1413 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1420 | | None, [INFO] [stdout] 1421 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1599:9 [INFO] [stdout] | [INFO] [stdout] 1599 | / instantiate( [INFO] [stdout] 1600 | | deps.as_mut(), [INFO] [stdout] 1601 | | mock_env(), [INFO] [stdout] 1602 | | adminInfo.clone(), [INFO] [stdout] 1603 | | instantiate_msg, [INFO] [stdout] 1604 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1627:9 [INFO] [stdout] | [INFO] [stdout] 1627 | / set_pool_type_params( [INFO] [stdout] 1628 | | deps.as_mut(), [INFO] [stdout] 1629 | | mock_env(), [INFO] [stdout] 1630 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1636 | | rake_list.clone(), [INFO] [stdout] 1637 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1659:9 [INFO] [stdout] | [INFO] [stdout] 1659 | / game_pool_bid_submit( [INFO] [stdout] 1660 | | deps.as_mut(), [INFO] [stdout] 1661 | | mock_env(), [INFO] [stdout] 1662 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1669 | | None, [INFO] [stdout] 1670 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1671:9 [INFO] [stdout] | [INFO] [stdout] 1671 | / game_pool_bid_submit( [INFO] [stdout] 1672 | | deps.as_mut(), [INFO] [stdout] 1673 | | mock_env(), [INFO] [stdout] 1674 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1681 | | None, [INFO] [stdout] 1682 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1683:9 [INFO] [stdout] | [INFO] [stdout] 1683 | / game_pool_bid_submit( [INFO] [stdout] 1684 | | deps.as_mut(), [INFO] [stdout] 1685 | | mock_env(), [INFO] [stdout] 1686 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1693 | | None, [INFO] [stdout] 1694 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1866:9 [INFO] [stdout] | [INFO] [stdout] 1866 | / instantiate( [INFO] [stdout] 1867 | | deps.as_mut(), [INFO] [stdout] 1868 | | mock_env(), [INFO] [stdout] 1869 | | adminInfo.clone(), [INFO] [stdout] 1870 | | instantiate_msg, [INFO] [stdout] 1871 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1894:9 [INFO] [stdout] | [INFO] [stdout] 1894 | / set_pool_type_params( [INFO] [stdout] 1895 | | deps.as_mut(), [INFO] [stdout] 1896 | | mock_env(), [INFO] [stdout] 1897 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1903 | | rake_list.clone(), [INFO] [stdout] 1904 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1938:9 [INFO] [stdout] | [INFO] [stdout] 1938 | / game_pool_bid_submit( [INFO] [stdout] 1939 | | deps.as_mut(), [INFO] [stdout] 1940 | | mock_env(), [INFO] [stdout] 1941 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1948 | | None, [INFO] [stdout] 1949 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1950:9 [INFO] [stdout] | [INFO] [stdout] 1950 | / game_pool_bid_submit( [INFO] [stdout] 1951 | | deps.as_mut(), [INFO] [stdout] 1952 | | mock_env(), [INFO] [stdout] 1953 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1960 | | None, [INFO] [stdout] 1961 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:1962:9 [INFO] [stdout] | [INFO] [stdout] 1962 | / game_pool_bid_submit( [INFO] [stdout] 1963 | | deps.as_mut(), [INFO] [stdout] 1964 | | mock_env(), [INFO] [stdout] 1965 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 1972 | | None, [INFO] [stdout] 1973 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2056:9 [INFO] [stdout] | [INFO] [stdout] 2056 | / instantiate( [INFO] [stdout] 2057 | | deps.as_mut(), [INFO] [stdout] 2058 | | mock_env(), [INFO] [stdout] 2059 | | adminInfo.clone(), [INFO] [stdout] 2060 | | instantiate_msg, [INFO] [stdout] 2061 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2084:9 [INFO] [stdout] | [INFO] [stdout] 2084 | / set_pool_type_params( [INFO] [stdout] 2085 | | deps.as_mut(), [INFO] [stdout] 2086 | | mock_env(), [INFO] [stdout] 2087 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2093 | | rake_list.clone(), [INFO] [stdout] 2094 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2117:9 [INFO] [stdout] | [INFO] [stdout] 2117 | / game_pool_bid_submit( [INFO] [stdout] 2118 | | deps.as_mut(), [INFO] [stdout] 2119 | | mock_env(), [INFO] [stdout] 2120 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2127 | | None, [INFO] [stdout] 2128 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2129:9 [INFO] [stdout] | [INFO] [stdout] 2129 | / game_pool_bid_submit( [INFO] [stdout] 2130 | | deps.as_mut(), [INFO] [stdout] 2131 | | mock_env(), [INFO] [stdout] 2132 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2139 | | None, [INFO] [stdout] 2140 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2141:9 [INFO] [stdout] | [INFO] [stdout] 2141 | / game_pool_bid_submit( [INFO] [stdout] 2142 | | deps.as_mut(), [INFO] [stdout] 2143 | | mock_env(), [INFO] [stdout] 2144 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2151 | | None, [INFO] [stdout] 2152 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2267:9 [INFO] [stdout] | [INFO] [stdout] 2267 | / instantiate( [INFO] [stdout] 2268 | | deps.as_mut(), [INFO] [stdout] 2269 | | mock_env(), [INFO] [stdout] 2270 | | adminInfo.clone(), [INFO] [stdout] 2271 | | instantiate_msg, [INFO] [stdout] 2272 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2295:9 [INFO] [stdout] | [INFO] [stdout] 2295 | / set_pool_type_params( [INFO] [stdout] 2296 | | deps.as_mut(), [INFO] [stdout] 2297 | | mock_env(), [INFO] [stdout] 2298 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2304 | | rake_list.clone(), [INFO] [stdout] 2305 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2375:9 [INFO] [stdout] | [INFO] [stdout] 2375 | / game_pool_bid_submit( [INFO] [stdout] 2376 | | deps.as_mut(), [INFO] [stdout] 2377 | | mock_env(), [INFO] [stdout] 2378 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2385 | | None, [INFO] [stdout] 2386 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2387:9 [INFO] [stdout] | [INFO] [stdout] 2387 | / game_pool_bid_submit( [INFO] [stdout] 2388 | | deps.as_mut(), [INFO] [stdout] 2389 | | mock_env(), [INFO] [stdout] 2390 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2397 | | None, [INFO] [stdout] 2398 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2399:9 [INFO] [stdout] | [INFO] [stdout] 2399 | / game_pool_bid_submit( [INFO] [stdout] 2400 | | deps.as_mut(), [INFO] [stdout] 2401 | | mock_env(), [INFO] [stdout] 2402 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2409 | | None, [INFO] [stdout] 2410 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2470:9 [INFO] [stdout] | [INFO] [stdout] 2470 | / instantiate( [INFO] [stdout] 2471 | | deps.as_mut(), [INFO] [stdout] 2472 | | mock_env(), [INFO] [stdout] 2473 | | adminInfo.clone(), [INFO] [stdout] 2474 | | instantiate_msg, [INFO] [stdout] 2475 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2498:9 [INFO] [stdout] | [INFO] [stdout] 2498 | / set_pool_type_params( [INFO] [stdout] 2499 | | deps.as_mut(), [INFO] [stdout] 2500 | | mock_env(), [INFO] [stdout] 2501 | | adminInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2507 | | rake_list.clone(), [INFO] [stdout] 2508 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2542:9 [INFO] [stdout] | [INFO] [stdout] 2542 | / game_pool_bid_submit( [INFO] [stdout] 2543 | | deps.as_mut(), [INFO] [stdout] 2544 | | mock_env(), [INFO] [stdout] 2545 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2552 | | None, [INFO] [stdout] 2553 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2554:9 [INFO] [stdout] | [INFO] [stdout] 2554 | / game_pool_bid_submit( [INFO] [stdout] 2555 | | deps.as_mut(), [INFO] [stdout] 2556 | | mock_env(), [INFO] [stdout] 2557 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2564 | | None, [INFO] [stdout] 2565 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2566:9 [INFO] [stdout] | [INFO] [stdout] 2566 | / game_pool_bid_submit( [INFO] [stdout] 2567 | | deps.as_mut(), [INFO] [stdout] 2568 | | mock_env(), [INFO] [stdout] 2569 | | ownerXInfo.clone(), [INFO] [stdout] ... | [INFO] [stdout] 2576 | | None, [INFO] [stdout] 2577 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:2731:9 [INFO] [stdout] | [INFO] [stdout] 2731 | 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] [INFO] [stdout] [INFO] [stdout] warning: 167 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "f8a93ed90096ff949414efa85a3650460db95748cb2b6e7941309e7be1641a7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a93ed90096ff949414efa85a3650460db95748cb2b6e7941309e7be1641a7f", kill_on_drop: false }` [INFO] [stdout] f8a93ed90096ff949414efa85a3650460db95748cb2b6e7941309e7be1641a7f