[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/11b2c76e1604ea4c9b80a0c7da8ce93cf297461a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrll9%2FsmartContracts" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crll9/smartContracts on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-tc1/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding astroport v1.2.0 (available: v5.5.0) [INFO] [stderr] Adding base16ct v0.2.0 [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding base64ct v1.6.0 [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Updating block-buffer v0.7.3 -> v0.10.4 [INFO] [stderr] Adding bnum v0.10.0 (available: v0.12.0) [INFO] [stderr] Adding const-oid v0.9.6 [INFO] [stderr] Adding cosmwasm-crypto v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-derive v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding cosmwasm-std v1.5.8 (available: v2.1.4) [INFO] [stderr] Adding crypto-bigint v0.5.5 [INFO] [stderr] Adding crypto-common v0.1.6 [INFO] [stderr] Updating cw-storage-plus v0.8.1 -> v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding cw-utils v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding cw20 v0.8.1 (available: v2.0.0) [INFO] [stderr] Adding cw20 v0.13.4 (available: v2.0.0) [INFO] [stderr] Adding der v0.7.9 [INFO] [stderr] Updating digest v0.8.1 -> v0.10.7 [INFO] [stderr] Adding ecdsa v0.16.9 [INFO] [stderr] Adding ed25519-zebra v3.1.0 (available: v4.0.3) [INFO] [stderr] Adding elliptic-curve v0.10.4 (available: v0.10.6) [INFO] [stderr] Adding elliptic-curve v0.13.8 [INFO] [stderr] Adding ff v0.13.0 [INFO] [stderr] Adding forward_ref v1.0.0 [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding group v0.13.0 [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hmac v0.12.1 [INFO] [stderr] Adding k256 v0.9.5 (available: v0.9.6) [INFO] [stderr] Adding k256 v0.13.4 [INFO] [stderr] Adding once_cell v1.19.0 [INFO] [stderr] Adding pkcs8 v0.10.2 [INFO] [stderr] Updating rand_core v0.6.3 -> v0.6.4 [INFO] [stderr] Adding rfc6979 v0.4.0 [INFO] [stderr] Adding sec1 v0.7.3 [INFO] [stderr] Adding serde-json-wasm v0.5.2 (available: v1.0.1) [INFO] [stderr] Updating sha2 v0.8.2 -> v0.10.8 [INFO] [stderr] Adding signature v2.2.0 [INFO] [stderr] Adding spki v0.7.3 [INFO] [stderr] Adding terra-cosmwasm v2.2.0 [INFO] [stderr] Updating thiserror v1.0.28 -> v1.0.39 (available: v1.0.64) [INFO] [stderr] Updating thiserror-impl v1.0.28 -> v1.0.39 (available: v1.0.64) [INFO] [stderr] Updating typenum v1.13.0 -> v1.17.0 [INFO] [stderr] Updating zeroize v1.4.1 -> v1.8.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-json-wasm v0.3.1 [INFO] [stderr] Downloaded schemars_derive v0.8.3 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.1 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.1 [INFO] [stderr] Downloaded k256 v0.9.5 [INFO] [stderr] Downloaded forward_ref v1.0.0 [INFO] [stderr] Downloaded elliptic-curve v0.10.4 [INFO] [stderr] Downloaded cw0 v0.8.1 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.8 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.8 [INFO] [stderr] Downloaded cw-utils v0.13.4 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.1 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded cw-storage-plus v0.13.4 [INFO] [stderr] Downloaded bnum v0.10.0 [INFO] [stderr] Downloaded k256 v0.13.4 [INFO] [stderr] Downloaded serde-json-wasm v0.5.2 [INFO] [stderr] Downloaded der v0.4.1 [INFO] [stderr] Downloaded cosmwasm-std v0.16.1 [INFO] [stderr] Downloaded pkcs8 v0.7.5 [INFO] [stderr] Downloaded schemars v0.8.3 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded cosmwasm-std v1.5.8 [INFO] [stderr] Downloaded cw20 v0.8.1 [INFO] [stderr] Downloaded ed25519-zebra v2.2.0 [INFO] [stderr] Downloaded crypto-bigint v0.2.4 [INFO] [stderr] Downloaded const-oid v0.6.0 [INFO] [stderr] Downloaded astroport v1.2.0 [INFO] [stderr] Downloaded ecdsa v0.12.4 [INFO] [stderr] Downloaded group v0.10.0 [INFO] [stderr] Downloaded cw20 v0.13.4 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.1 [INFO] [stderr] Downloaded signature v1.3.1 [INFO] [stderr] Downloaded spki v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e6f329fd74134165caef5171f997115b9981a35e7c87f27d59ac7a7cf8ab59b [INFO] running `Command { std: "docker" "start" "-a" "5e6f329fd74134165caef5171f997115b9981a35e7c87f27d59ac7a7cf8ab59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e6f329fd74134165caef5171f997115b9981a35e7c87f27d59ac7a7cf8ab59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6f329fd74134165caef5171f997115b9981a35e7c87f27d59ac7a7cf8ab59b", kill_on_drop: false }` [INFO] [stdout] 5e6f329fd74134165caef5171f997115b9981a35e7c87f27d59ac7a7cf8ab59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e036065ce9e96088b27cca0595e2a3c6a07dcef8e8569b913074c112991b5c9 [INFO] running `Command { std: "docker" "start" "-a" "6e036065ce9e96088b27cca0595e2a3c6a07dcef8e8569b913074c112991b5c9", 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] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking const-oid v0.6.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking bnum v0.10.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking forward_ref v1.0.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 uint v0.9.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Checking spki v0.4.0 [INFO] [stderr] Checking pkcs8 v0.7.5 [INFO] [stderr] Compiling quote v1.0.9 [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-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking crypto-bigint v0.2.4 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking elliptic-curve v0.10.4 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.5 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.16.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.8 [INFO] [stderr] Compiling prost-derive v0.8.0 [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 ed25519-zebra v3.1.0 [INFO] [stderr] Checking serde-json-wasm v0.5.2 [INFO] [stderr] Checking cosmwasm-crypto v1.5.8 [INFO] [stderr] Checking cosmwasm-crypto v0.16.1 [INFO] [stderr] Checking cosmwasm-std v0.16.1 [INFO] [stderr] Checking cosmwasm-schema v0.16.1 [INFO] [stderr] Checking cosmwasm-std v1.5.8 [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 cosmwasm-storage v0.16.1 [INFO] [stderr] Checking cw0 v0.8.1 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [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 cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Checking cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [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-controllers v0.9.1 (/opt/rustwide/workdir/packages/controllers) [INFO] [stderr] Checking cw-multi-test v0.9.1 (/opt/rustwide/workdir/packages/multi-test) [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> packages/multi-test/src/wasm.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | api: api.deref(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Api` does not implement `Deref`, so calling `deref` on `&dyn Api` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> packages/multi-test/src/wasm.rs:713:25 [INFO] [stdout] | [INFO] [stdout] 713 | api: api.deref(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Api` does not implement `Deref`, so calling `deref` on `&dyn Api` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 terraswap v2.4.1 (/opt/rustwide/workdir/packages/terraswap) [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, and `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg` and `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`, and `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 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`, and `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`, and `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` and `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` and `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` and `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`, and `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`, and `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`, and `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`, and `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`, and `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` and `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 import: `distribute_vested` [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::execute::{calculate_tokens_for_this_period, distribute_vested}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_dependencies` [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use cosmwasm_std::testing::{mock_dependencies, mock_env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, and `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused 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: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> packages/multi-test/src/wasm.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | api: api.deref(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn cosmwasm_std::Api` does not implement `Deref`, so calling `deref` on `&dyn cosmwasm_std::Api` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> packages/multi-test/src/wasm.rs:713:25 [INFO] [stdout] | [INFO] [stdout] 713 | api: api.deref(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn cosmwasm_std::Api` does not implement `Deref`, so calling `deref` on `&dyn cosmwasm_std::Api` copies the reference, which does not do anything and can be removed [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: 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: 2 warnings emitted [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: 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: 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: 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: 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: `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: 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: value assigned to `seconds_lapsed` is never read [INFO] [stdout] --> contracts/vest-n-distribute/src/execute.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut seconds_lapsed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: 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: 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: 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: 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: function `query_balance` is never used [INFO] [stdout] --> contracts/vest-n-distribute/src/query.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn query_balance(deps: Deps, address: String) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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] [stderr] Checking cw-utils v0.13.4 [INFO] [stderr] Checking cw-storage-plus v0.13.4 [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: 3 warnings emitted [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: 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: constant `MAIN_WALLET` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:33:7 [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: constant `NUM_OF_USER_ACTIVITIES` is never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:36:7 [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:7 [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:7 [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: value assigned to `seconds_lapsed` is never read [INFO] [stdout] --> contracts/vest-n-distribute/src/execute.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut seconds_lapsed = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 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: 6 warnings emitted [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 839 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 854 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), user2Info.clone(), "LunaUser002".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 880 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 882 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 884 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 901 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), userInfo.clone(), username.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 919 | let _ = clear_qualified_flag_for_all_luna_users_and_non_exempt_activities(deps.as_mut(), mock_env(), rewardInfo.clone()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 958 | let _ = update_luna_user_list_details(deps.as_mut(), mock_env(), rewardInfo.clone(), total_count, [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 994 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 996 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 998 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1019 | let _ = update_activity_reward_for_users (deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1061 | let _ = update_activity_reward_for_users (deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1115 | let _ = set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1118 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1121 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1123 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1125 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1142 | let _ = update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1174 | let _ = set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1177 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1180 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1182 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1184 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1186 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1203 | let _ = update_activity_eligibility_reward_amount(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1225 | let _ = update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1257 | let _ = set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1260 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1263 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1265 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1267 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1269 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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 `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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1287 | let _ = update_activity_eligibility_reward_amount(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1309 | let _ = update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1340 | let _ = update_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1383 | let _ = set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1386 | let _ = create_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1389 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1391 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1393 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1395 | let _ = create_activity(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1412 | let _ = update_activity_eligibility_reward_amount(deps.as_mut(), mock_env(), rewardInfo.clone(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1434 | let _ = update_user_activity(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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 `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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1451 | let _ = update_luna_user_details(deps.as_mut(), mock_env(), user1Info.clone(), "LunaUser001".to_string(), [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1487 | let _ = set_contract_lock_status (deps.as_mut(), Uint128::from(LOCKED)); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1498 | let _ = set_contract_lock_status (deps.as_mut(), Uint128::from(UNLOCKED)); [INFO] [stdout] | +++++++ [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: 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: 141 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: 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] [stderr] Checking cw20 v0.13.4 [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1381 | let _ = set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1382 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), wallet_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1383 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), contract_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1395 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), empty_add_list.clone(), remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1399 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), empty_add_list.clone(), remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1439 | let _ = set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1440 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info.clone(), wallet_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1441 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info.clone(), contract_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1546 | let _ = set_whitelist_expiration_timestamp(deps.as_mut(), env.clone(), info2.clone(), env.clone().block.time.plus_seconds(10 * 86400)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1547 | let _ = restricted_wallet_list_update(deps.as_mut(), env.clone(), info2.clone(), wallet_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/cw20-base/src/contract.rs: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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1548 | let _ = restricted_contract_list_update(deps.as_mut(), env.clone(), info2.clone(), contract_whitelist, remove_list.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking astroport v1.2.0 [INFO] [stderr] Checking gaming-pool v0.9.1 (/opt/rustwide/workdir/contracts/gaming-pool) [INFO] [stderr] Checking club-staking v0.9.1 (/opt/rustwide/workdir/contracts/club-staking) [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: `cw_storage_plus::Map` [INFO] [stdout] --> contracts/club-staking/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use cw_storage_plus::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `CosmosMsg`, `SubMsg`, `WasmMsg`, `coins`, and `from_binary` [INFO] [stdout] --> contracts/club-staking/src/contract.rs: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: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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` and `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr` and `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND` and `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, and `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/contract.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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` and `INITIAL_REFUND_AMOUNT` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::contract::{CLAIMED_REWARD, GAME_CANCELLED, GAME_COMPLETED, GAME_POOL_OPEN, INITIAL_REFUND_AMOUNT, instantiate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `claim_refund` and `claim_reward` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::execute::{cancel_game, claim_refund, claim_reward, create_pool, game_pool_bid_submit, game_pool_reward_distribute, lock_ga... [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_team_count_for_user_in_pool_type` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::query::{get_team_count_for_user_in_pool_type, query_game_details, query_pool_details, query_team_details}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, Div, Mul}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr` and `from_binary` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use cosmwasm_std::{Addr, BankMsg, Coin, CosmosMsg, Decimal, DepsMut, Env, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | from_binary, MessageInfo, Order, Response, StdError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cw20ReceiveMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, Cw20ReceiveMsg}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CLAIMED_REFUND` and `CLAIMED_REWARD` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::contract::{CLAIMED_REFUND, CLAIMED_REWARD, DUMMY_WALLET, GAME_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReceivedMsg` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:19:71 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::msg::{BalanceResponse, ProxyQueryMsgs, QueryMsgSimulation, ReceivedMsg}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_team_count_for_user_in_pool_type`, `query_pool_type_details`, and `query_swap_data_for_pool` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::query::{get_team_count_for_user_in_pool_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | query_pool_details, query_pool_type_details, query_swap_data_for_pool}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:395:11 [INFO] [stdout] | [INFO] [stdout] 395 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:395:11 [INFO] [stdout] | [INFO] [stdout] 395 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:826:11 [INFO] [stdout] | [INFO] [stdout] 826 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1029:11 [INFO] [stdout] | [INFO] [stdout] 1029 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:826:11 [INFO] [stdout] | [INFO] [stdout] 826 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1029:11 [INFO] [stdout] | [INFO] [stdout] 1029 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1459:11 [INFO] [stdout] | [INFO] [stdout] 1459 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/club-staking/src/contract.rs:1459:11 [INFO] [stdout] | [INFO] [stdout] 1459 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [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: 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: 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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs: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: 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: `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: 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: `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: 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: 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: `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: 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: 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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/club-staking/src/contract.rs: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: 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: `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: 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: `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: 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: 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: 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: 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] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | amount: info.funds[0].amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | amount: fund[0].amount, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [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: 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] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | contract_addr: config.clone().minting_contract_address.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | amount, [INFO] [stdout] | ^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [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] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | amount: total_refund_amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [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: `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: `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] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/traits.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/traits.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/astroport-1.2.0/src/asset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn compute_tax(&self, _querier: &QuerierWrapper) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:818:51 [INFO] [stdout] | [INFO] [stdout] 745 | ) -> Result { [INFO] [stdout] | ------------------------------- expected `error::ContractError` because of this [INFO] [stdout] ... [INFO] [stdout] 818 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::ContractError`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `error::ContractError` [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::StdError`, found `cosmwasm_std::errors::std_error::StdError` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [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] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Uint128` to `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | let final_amount = ust_asset.amount.clone().add(swap_fee).add(tax); [INFO] [stdout] | --- ^^^^^^^^ no implementation for `cosmwasm_std::math::uint128::Uint128 + Uint128` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | amount, [INFO] [stdout] | ^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1150:37 [INFO] [stdout] | [INFO] [stdout] 1150 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/traits.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/traits.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/astroport-1.2.0/src/asset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn compute_tax(&self, _querier: &QuerierWrapper) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1150:51 [INFO] [stdout] | [INFO] [stdout] 1101 | ) -> Result { [INFO] [stdout] | ------------------------------- expected `error::ContractError` because of this [INFO] [stdout] ... [INFO] [stdout] 1150 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::ContractError`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `error::ContractError` [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::StdError`, found `cosmwasm_std::errors::std_error::StdError` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1154:21 [INFO] [stdout] | [INFO] [stdout] 1154 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Uint128` to `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1165:53 [INFO] [stdout] | [INFO] [stdout] 1165 | let final_amount = ust_asset.amount.clone().add(swap_fee).add(tax); [INFO] [stdout] | --- ^^^^^^^^ no implementation for `cosmwasm_std::math::uint128::Uint128 + Uint128` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [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] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | amount: info.funds[0].amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:427:29 [INFO] [stdout] | [INFO] [stdout] 427 | amount: fund[0].amount, [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | * (Uint128::from(NINETY_NINE_NINE_PERCENT)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Decimal`, found `Uint128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | contract_addr: config.clone().minting_contract_address.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `cosmwasm_std::addresses::Addr`, found `Addr` [INFO] [stdout] | [INFO] [stdout] = note: `Addr` and `cosmwasm_std::addresses::Addr` have similar names, but are actually distinct types [INFO] [stdout] note: `Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/addresses.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `cosmwasm_std::addresses::Addr` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/addresses.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Addr(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | amount, [INFO] [stdout] | ^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:556:21 [INFO] [stdout] | [INFO] [stdout] 556 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | amount: total_refund_amount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `club-staking` (lib) due to 5 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:818:37 [INFO] [stdout] | [INFO] [stdout] 818 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/traits.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/traits.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/astroport-1.2.0/src/asset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn compute_tax(&self, _querier: &QuerierWrapper) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:818:51 [INFO] [stdout] | [INFO] [stdout] 745 | ) -> Result { [INFO] [stdout] | ------------------------------- expected `error::ContractError` because of this [INFO] [stdout] ... [INFO] [stdout] 818 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::ContractError`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `error::ContractError` [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::StdError`, found `cosmwasm_std::errors::std_error::StdError` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Uint128` to `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | let final_amount = ust_asset.amount.clone().add(swap_fee).add(tax); [INFO] [stdout] | --- ^^^^^^^^ no implementation for `cosmwasm_std::math::uint128::Uint128 + Uint128` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | amount, [INFO] [stdout] | ^^^^^^ expected `Uint128`, found a different `Uint128` [INFO] [stdout] | [INFO] [stdout] = note: `Uint128` and `Uint128` have similar names, but are actually distinct types [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/uint128.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Uint128(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Uint128` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/uint128.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Uint128(#[schemars(with = "String")] pub(crate) u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1150:37 [INFO] [stdout] | [INFO] [stdout] 1150 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `QuerierWrapper<'_>`, found a different `QuerierWrapper<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `QuerierWrapper<'_>` and `QuerierWrapper<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/traits.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct QuerierWrapper<'a>(&'a dyn Querier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `QuerierWrapper<'_>` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/traits.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub struct QuerierWrapper<'a, C: CustomQuery = Empty> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/astroport-1.2.0/src/asset.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn compute_tax(&self, _querier: &QuerierWrapper) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::ContractError` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1150:51 [INFO] [stdout] | [INFO] [stdout] 1101 | ) -> Result { [INFO] [stdout] | ------------------------------- expected `error::ContractError` because of this [INFO] [stdout] ... [INFO] [stdout] 1150 | let tax = ust_asset.compute_tax(&deps.querier)?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `error::ContractError`, which is required by `Result: FromResidual>` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, cosmwasm_std::errors::std_error::StdError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `From` is implemented for `error::ContractError` [INFO] [stdout] = help: for that trait implementation, expected `cosmwasm_std::StdError`, found `cosmwasm_std::errors::std_error::StdError` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1154:21 [INFO] [stdout] | [INFO] [stdout] 1154 | max_spread: max_spread, [INFO] [stdout] | ^^^^^^^^^^ expected `Decimal`, found a different `Decimal` [INFO] [stdout] | [INFO] [stdout] = note: `Decimal` and `Decimal` have similar names, but are actually distinct types [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-0.16.1/src/math/decimal.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Decimal(#[schemars(with = "String")] u128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Decimal` is defined in crate `cosmwasm_std` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/cosmwasm-std-1.5.8/src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Decimal(#[schemars(with = "String")] Uint128); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `cosmwasm_std` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `Uint128` to `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:1165:53 [INFO] [stdout] | [INFO] [stdout] 1165 | let final_amount = ust_asset.amount.clone().add(swap_fee).add(tax); [INFO] [stdout] | --- ^^^^^^^^ no implementation for `cosmwasm_std::math::uint128::Uint128 + Uint128` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `cosmwasm_std::math::uint128::Uint128` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] `&'a cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [INFO] [stdout] `&cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add<&cosmwasm_std::math::uint128::Uint128>` [INFO] [stdout] `cosmwasm_std::math::uint128::Uint128` implements `std::ops::Add` [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] error: aborting due to 4 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `club-staking` (lib test) due to 5 previous errors; 48 warnings emitted [INFO] [stdout] warning: variable `pool_type` is assigned to, but never used [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let pool_type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pool_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_type` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pool_type = ptd; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | let mut pool_team_details; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: 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] error: aborting due to 16 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gaming-pool` (lib) due to 17 previous errors; 41 warnings emitted [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/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: `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: 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: 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: `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: 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: `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: `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: 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: 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] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner1_info` [INFO] [stdout] --> contracts/gaming-pool/src/testing.rs: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: `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: `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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pool_details` is never read [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | let mut pool_details: PoolDetails = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/gaming-pool/src/execute.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | let mut pool_team_details; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: 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] error: aborting due to 16 previous errors; 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gaming-pool` (lib test) due to 17 previous errors; 90 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e036065ce9e96088b27cca0595e2a3c6a07dcef8e8569b913074c112991b5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e036065ce9e96088b27cca0595e2a3c6a07dcef8e8569b913074c112991b5c9", kill_on_drop: false }` [INFO] [stdout] 6e036065ce9e96088b27cca0595e2a3c6a07dcef8e8569b913074c112991b5c9