[INFO] cloning repository https://github.com/kanazaya74Raccon/Wefund_contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanazaya74Raccon/Wefund_contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 756e0cded729d46810369ca0dada85a79b1d94d1 [INFO] checking kanazaya74Raccon/Wefund_contract against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanazaya74Raccon/Wefund_contract on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/kanazaya74Raccon/Wefund_contract [INFO] finished tweaking git repo https://github.com/kanazaya74Raccon/Wefund_contract [INFO] tweaked toml for git repo https://github.com/kanazaya74Raccon/Wefund_contract written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kanazaya74Raccon/Wefund_contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-derive v0.16.5 [INFO] [stderr] Downloaded cosmwasm-std v0.16.5 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.5 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.5 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c0c6a408d5a1a9bfe34b2c0661cc3dc2d3e6380e2f2680b62badc614881eb7 [INFO] running `Command { std: "docker" "start" "-a" "76c0c6a408d5a1a9bfe34b2c0661cc3dc2d3e6380e2f2680b62badc614881eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c0c6a408d5a1a9bfe34b2c0661cc3dc2d3e6380e2f2680b62badc614881eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c0c6a408d5a1a9bfe34b2c0661cc3dc2d3e6380e2f2680b62badc614881eb7", kill_on_drop: false }` [INFO] [stdout] 76c0c6a408d5a1a9bfe34b2c0661cc3dc2d3e6380e2f2680b62badc614881eb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b924fdaf0f40bb8eb3bf0690d7f6869b1602610c77ae57242063b31bb013501a [INFO] running `Command { std: "docker" "start" "-a" "b924fdaf0f40bb8eb3bf0690d7f6869b1602610c77ae57242063b31bb013501a", 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/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `WEFUND` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `wefund17`? [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling cosmwasm-derive v0.16.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.2 [INFO] [stderr] Checking cosmwasm-crypto v0.16.5 [INFO] [stderr] Checking cosmwasm-std v0.16.5 [INFO] [stderr] Checking cosmwasm-schema v0.16.5 [INFO] [stderr] Checking cw0 v0.8.1 [INFO] [stderr] Checking cw-storage-plus v0.8.1 [INFO] [stderr] Checking cosmwasm-bignumber v2.2.0 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cosmwasm-storage v0.16.5 [INFO] [stderr] Checking cw20 v0.8.1 [INFO] [stderr] Checking cw2 v0.8.1 [INFO] [stderr] Checking Vesting v0.0.1 (/opt/rustwide/workdir/contracts/Vesting) [INFO] [stderr] Checking terraswap v2.4.0 [INFO] [stderr] Checking Staking v0.0.1 (/opt/rustwide/workdir/contracts/Staking) [INFO] [stdout] warning: unused imports: `CosmosMsg` and `Storage` [INFO] [stdout] --> contracts/Staking/src/contract.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/contract.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardInfo` [INFO] [stdout] --> contracts/Staking/src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_reward` [INFO] [stdout] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `QueryRequest` [INFO] [stdout] --> contracts/Staking/src/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Coin, AllBalanceResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/query.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/src/query.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Staking/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Staking/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, and `StdResult` [INFO] [stdout] --> contracts/Staking/src/state.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/Staking/src/state.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/Staking/src/state.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse` and `Querier` [INFO] [stdout] --> contracts/Staking/src/util.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg` and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REWARD_TOKEN` [INFO] [stdout] --> contracts/Staking/src/util.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/Vesting/src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/Vesting/src/test.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOCK_CONTRACT_ADDR` [INFO] [stdout] --> contracts/Vesting/src/test.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::testing::{mock_env, mock_info, MOCK_CONTRACT_ADDR, mock_dependencies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `UserInfo`, and `VestingParameter` [INFO] [stdout] --> contracts/Vesting/src/test.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::msg::{QueryMsg, ExecuteMsg, InstantiateMsg, VestingParameter, Config, UserInfo, ProjectInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/Vesting/src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | Some(info) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> contracts/Staking/src/query.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (reward, extra) = get_reward( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Staking/src/util.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Staking` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `staking` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Vesting` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `vesting` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wefund17 v17.2.3 (/opt/rustwide/workdir/contracts/WEFund) [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectStatus` [INFO] [stdout] --> contracts/WEFund/src/error.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::state::{ProjectStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOCK_CONTRACT_ADDR` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::testing::{mock_env, mock_info, MOCK_CONTRACT_ADDR, mock_dependencies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{Milestone, Config, ProjectState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectStatus` [INFO] [stdout] --> contracts/WEFund/src/error.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::state::{ProjectStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/examples/schema.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | use Staking::msg::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg` and `Storage` [INFO] [stdout] --> contracts/Staking/src/contract.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/contract.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardInfo` [INFO] [stdout] --> contracts/Staking/src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_reward` [INFO] [stdout] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `QueryRequest` [INFO] [stdout] --> contracts/Staking/src/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Coin, AllBalanceResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/query.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/src/query.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Staking/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Staking/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, and `StdResult` [INFO] [stdout] --> contracts/Staking/src/state.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/Staking/src/state.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/Staking/src/state.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse` and `Querier` [INFO] [stdout] --> contracts/Staking/src/util.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg` and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REWARD_TOKEN` [INFO] [stdout] --> contracts/Staking/src/util.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/Staking/src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `Api`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/Staking/src/test.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128, Api}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/Staking/src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | Some(info) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> contracts/Staking/src/query.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (reward, extra) = get_reward( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Staking/src/util.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> contracts/Staking/src/test.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let res = instantiate(deps.as_mut(), mock_env(), info.clone(), msg).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl TaxQuerier { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caps_to_map` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn caps_to_map(caps: &[(&String, &Uint128)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl TerraswapFactoryQuerier { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 99 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairs_to_map` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn pairs_to_map(pairs: &[(&String, &String)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_tax` and `with_terraswap_pairs` are never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl WasmMockQuerier { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b924fdaf0f40bb8eb3bf0690d7f6869b1602610c77ae57242063b31bb013501a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b924fdaf0f40bb8eb3bf0690d7f6869b1602610c77ae57242063b31bb013501a", kill_on_drop: false }` [INFO] [stdout] b924fdaf0f40bb8eb3bf0690d7f6869b1602610c77ae57242063b31bb013501a [INFO] checking kanazaya74Raccon/Wefund_contract against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanazaya74Raccon/Wefund_contract on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/kanazaya74Raccon/Wefund_contract [INFO] finished tweaking git repo https://github.com/kanazaya74Raccon/Wefund_contract [INFO] tweaked toml for git repo https://github.com/kanazaya74Raccon/Wefund_contract written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kanazaya74Raccon/Wefund_contract 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-7-tc2/source/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc2/source/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc2/source/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e000a6cd7c60c618d5b45b1a431562ed06e71f3faf287374b8e0de7533f17c [INFO] running `Command { std: "docker" "start" "-a" "d7e000a6cd7c60c618d5b45b1a431562ed06e71f3faf287374b8e0de7533f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e000a6cd7c60c618d5b45b1a431562ed06e71f3faf287374b8e0de7533f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e000a6cd7c60c618d5b45b1a431562ed06e71f3faf287374b8e0de7533f17c", kill_on_drop: false }` [INFO] [stdout] d7e000a6cd7c60c618d5b45b1a431562ed06e71f3faf287374b8e0de7533f17c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9181445ae4a7852bb214871b62a6bfbb7732037af3f8a36ea099d2400f9b306c [INFO] running `Command { std: "docker" "start" "-a" "9181445ae4a7852bb214871b62a6bfbb7732037af3f8a36ea099d2400f9b306c", 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/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `WEFUND` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `wefund17`? [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking const-oid v0.6.2 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking signature v1.3.2 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking elliptic-curve v0.10.6 [INFO] [stderr] Checking ecdsa v0.12.4 [INFO] [stderr] Checking k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling cosmwasm-derive v0.16.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking ed25519-zebra v2.2.0 [INFO] [stderr] Checking serde-json-wasm v0.3.2 [INFO] [stderr] Checking cosmwasm-crypto v0.16.5 [INFO] [stderr] Checking cosmwasm-std v0.16.5 [INFO] [stderr] Checking cosmwasm-schema v0.16.5 [INFO] [stderr] Checking cw0 v0.8.1 [INFO] [stderr] Checking cw-storage-plus v0.8.1 [INFO] [stderr] Checking cosmwasm-bignumber v2.2.0 [INFO] [stderr] Checking terra-cosmwasm v2.2.0 [INFO] [stderr] Checking cosmwasm-storage v0.16.5 [INFO] [stderr] Checking cw20 v0.8.1 [INFO] [stderr] Checking cw2 v0.8.1 [INFO] [stderr] Checking Vesting v0.0.1 (/opt/rustwide/workdir/contracts/Vesting) [INFO] [stderr] Checking terraswap v2.4.0 [INFO] [stderr] Checking Staking v0.0.1 (/opt/rustwide/workdir/contracts/Staking) [INFO] [stdout] warning: unused imports: `CosmosMsg` and `Storage` [INFO] [stdout] --> contracts/Staking/src/contract.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/contract.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardInfo` [INFO] [stdout] --> contracts/Staking/src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_reward` [INFO] [stdout] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `QueryRequest` [INFO] [stdout] --> contracts/Staking/src/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Coin, AllBalanceResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/query.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/src/query.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Staking/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Staking/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, and `StdResult` [INFO] [stdout] --> contracts/Staking/src/state.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/Staking/src/state.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/Staking/src/state.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse` and `Querier` [INFO] [stdout] --> contracts/Staking/src/util.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg` and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REWARD_TOKEN` [INFO] [stdout] --> contracts/Staking/src/util.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/Vesting/src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/Vesting/src/test.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOCK_CONTRACT_ADDR` [INFO] [stdout] --> contracts/Vesting/src/test.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::testing::{mock_env, mock_info, MOCK_CONTRACT_ADDR, mock_dependencies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `UserInfo`, and `VestingParameter` [INFO] [stdout] --> contracts/Vesting/src/test.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::msg::{QueryMsg, ExecuteMsg, InstantiateMsg, VestingParameter, Config, UserInfo, ProjectInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/Vesting/src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | Some(info) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> contracts/Staking/src/query.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (reward, extra) = get_reward( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Staking/src/util.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Staking` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `staking` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Staking/src/msg.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Staking/src/msg.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Staking/src/msg.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Staking` (lib) due to 4 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Vesting/src/msg.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Vesting/src/msg.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Vesting` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `vesting` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Vesting/src/msg.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> contracts/Vesting/src/msg.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, JsonSchema)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Vesting` (lib test) due to 3 previous errors; 11 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Vesting` (lib) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9181445ae4a7852bb214871b62a6bfbb7732037af3f8a36ea099d2400f9b306c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9181445ae4a7852bb214871b62a6bfbb7732037af3f8a36ea099d2400f9b306c", kill_on_drop: false }` [INFO] [stdout] 9181445ae4a7852bb214871b62a6bfbb7732037af3f8a36ea099d2400f9b306c