[INFO] cloning repository https://github.com/Venus0725/gaming-pool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Venus0725/gaming-pool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenus0725%2Fgaming-pool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenus0725%2Fgaming-pool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee1ad9358df1560691b2b189209db1576189556a [INFO] checking Venus0725/gaming-pool against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenus0725%2Fgaming-pool" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Venus0725/gaming-pool on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Venus0725/gaming-pool [INFO] finished tweaking git repo https://github.com/Venus0725/gaming-pool [INFO] tweaked toml for git repo https://github.com/Venus0725/gaming-pool written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Venus0725/gaming-pool 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5-tc2/source/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f194f189165ac24cadf4a9b5cabb0c3b8a8022872d50d9d77a45f040a2a82ad [INFO] running `Command { std: "docker" "start" "-a" "6f194f189165ac24cadf4a9b5cabb0c3b8a8022872d50d9d77a45f040a2a82ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f194f189165ac24cadf4a9b5cabb0c3b8a8022872d50d9d77a45f040a2a82ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f194f189165ac24cadf4a9b5cabb0c3b8a8022872d50d9d77a45f040a2a82ad", kill_on_drop: false }` [INFO] [stdout] 6f194f189165ac24cadf4a9b5cabb0c3b8a8022872d50d9d77a45f040a2a82ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcaa322146fa2aef6df1b9d557dbf0c59e4deb0d7d8f487ead33bbe84a860515 [INFO] running `Command { std: "docker" "start" "-a" "dcaa322146fa2aef6df1b9d557dbf0c59e4deb0d7d8f487ead33bbe84a860515", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/packages/terraswap/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `cw1-subkeys` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1-whitelist` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw1155-base` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-atomic-swap` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-bonding` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-escrow` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-ics20` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-merkle-airdrop` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw20-staking` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `club-staking`? [INFO] [stderr] warning: profile package spec `cw3-fixed-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw3-flex-multisig` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-group` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw4-stake` in profile `release` did not match any packages [INFO] [stderr] warning: profile package spec `cw721-base` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `cw20-base`? [INFO] [stderr] warning: profile package spec `cw721-metadata-uri` in profile `release` did not match any packages [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking const-oid v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking sha2 v0.9.6 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking der v0.4.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking uint v0.9.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 getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking crypto-bigint v0.2.4 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.16.4 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking thiserror v1.0.28 [INFO] [stderr] Checking prost v0.8.0 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.1 [INFO] [stderr] Checking cosmwasm-crypto v0.16.4 [INFO] [stderr] Checking cosmwasm-std v0.16.4 [INFO] [stderr] Checking cosmwasm-schema v0.16.1 [INFO] [stderr] Checking cw0 v0.9.1 (/opt/rustwide/workdir/packages/cw0) [INFO] [stderr] Checking cw-storage-plus v0.9.1 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Checking cw0 v0.8.1 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cw-storage-plus v0.8.1 [INFO] [stderr] Checking cosmwasm-storage v0.16.1 [INFO] [stderr] Checking cw1 v0.9.1 (/opt/rustwide/workdir/packages/cw1) [INFO] [stderr] Checking cw20 v0.8.1 [INFO] [stderr] Checking cw20 v0.9.1 (/opt/rustwide/workdir/packages/cw20) [INFO] [stderr] Checking cw3 v0.9.1 (/opt/rustwide/workdir/packages/cw3) [INFO] [stderr] Checking cw1155 v0.9.1 (/opt/rustwide/workdir/packages/cw1155) [INFO] [stderr] Checking cw721 v0.9.1 (/opt/rustwide/workdir/packages/cw721) [INFO] [stderr] Checking 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] [stderr] Checking astroport v1.0.1 [INFO] [stderr] Checking terraswap v2.4.1 (/opt/rustwide/workdir/packages/terraswap) [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] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cw-multi-test` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distribute_vested` [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::execute::{calculate_tokens_for_this_period, distribute_vested}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_dependencies` [INFO] [stdout] --> contracts/vest-n-distribute/src/tests.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use cosmwasm_std::testing::{mock_dependencies, mock_env}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RESTRICTED_CONTRACT_LIST`, `RESTRICTED_TIMESTAMP`, `RESTRICTED_WALLET_LIST` [INFO] [stdout] --> contracts/cw20-base/src/allowances.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{ALLOWANCES, BALANCES, TOKEN_INFO, RESTRICTED_TIMESTAMP, RESTRICTED_WALLET_LIST, RESTRICTED_CONTRACT_LIST}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg`, `attr` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | attr, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Order, Response, StdError, StdResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse`, `Cw20Coin`, `Cw20ExecuteMsg`, `Cw20ReceiveMsg`, `Expiration` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AllowanceResponse, BalanceResponse, Cw20Coin, Cw20ExecuteMsg, Cw20ReceiveMsg, Expiration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deduct_allowance` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | deduct_allowance, execute_burn_from, execute_decrease_allowance, execute_increase_allowance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIRDROP_CONTRACT_WALLET` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AIRDROP_CONTRACT_WALLET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllAccountsResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use cw20::{AllAccountsResponse, AllAllowancesResponse, AllowanceInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/crll-airdrop/src/state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Timestamp, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `SubMsg`, `Timestamp`, `WasmMsg`, `coins` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | use cosmwasm_std::{coins, CosmosMsg, SubMsg, Timestamp, WasmMsg}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Coin`, `TokenInfoResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:248:16 [INFO] [stdout] | [INFO] [stdout] 248 | use cw20::{Cw20Coin, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/crll-airdrop/src/allowances.rs:250:22 [INFO] [stdout] | [INFO] [stdout] 250 | use crate::msg::{ExecuteMsg, InstantiateMsg}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WasmMsg`, `attr` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | attr, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, Order, Response, StdError, StdResult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Storage, Uint128, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllowanceResponse`, `BalanceResponse`, `Cw20Coin`, `Cw20ExecuteMsg`, `Cw20ReceiveMsg`, `Expiration` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AllowanceResponse, BalanceResponse, Cw20Coin, Cw20ExecuteMsg, Cw20ReceiveMsg, Expiration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deduct_allowance` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | deduct_allowance, execute_burn_from, execute_decrease_allowance, execute_increase_allowance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AIRDROP_CONTRACT_WALLET` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AIRDROP_CONTRACT_WALLET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `CosmosMsg`, `StdError`, `SubMsg`, `WasmMsg`, `coins`, `from_binary` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:827:24 [INFO] [stdout] | [INFO] [stdout] 827 | use cosmwasm_std::{coins, from_binary, Addr, CosmosMsg, StdError, SubMsg, WasmMsg}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::msg::InstantiateMarketingInfo` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | use crate::msg::InstantiateMarketingInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllAccountsResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use cw20::{AllAccountsResponse, AllAllowancesResponse, AllowanceInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Uint128`, `coins` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | use cosmwasm_std::{coins, DepsMut, Uint128}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20Coin`, `Expiration`, `TokenInfoResponse` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | use cw20::{Cw20Coin, Expiration, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/crll-airdrop/src/enumerable.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::msg::{ExecuteMsg, InstantiateMsg}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timestamp` [INFO] [stdout] --> contracts/crll-airdrop/src/state.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Timestamp, Uint128}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `some` [INFO] [stdout] --> contracts/vest-n-distribute/src/contract.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(some) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_some` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: 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/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/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: 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: `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] error: 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] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method 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: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] [stdout] error: aborting due to 2 previous errors [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] [stderr] error: could not compile `cw-multi-test` (lib test) due to 3 previous errors [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(LOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_status` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | |lock_status: Option| -> StdResult<_> { Ok(Uint128::from(UNLOCKED)) }, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `luna_details` is assigned to, but never used [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let luna_details; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_luna_details` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `luna_details` is never read [INFO] [stdout] --> contracts/crll-airdrop/src/contract.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | luna_details = od; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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: 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: 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: 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: 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: 6 warnings emitted [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: 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: 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: 3 warnings emitted [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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 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 `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 `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: 141 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dcaa322146fa2aef6df1b9d557dbf0c59e4deb0d7d8f487ead33bbe84a860515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcaa322146fa2aef6df1b9d557dbf0c59e4deb0d7d8f487ead33bbe84a860515", kill_on_drop: false }` [INFO] [stdout] dcaa322146fa2aef6df1b9d557dbf0c59e4deb0d7d8f487ead33bbe84a860515