[INFO] cloning repository https://github.com/angel9015/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/angel9015/Wefund-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangel9015%2FWefund-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangel9015%2FWefund-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 583dbcbba6fcee2307c8eba36f013d7ef01a2433 [INFO] building angel9015/Wefund-contract against try#8e6760e82a081fb624e777d52ef744c1def2f593 for pr-105577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangel9015%2FWefund-contract" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angel9015/Wefund-contract on toolchain 8e6760e82a081fb624e777d52ef744c1def2f593 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e6760e82a081fb624e777d52ef744c1def2f593" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/angel9015/Wefund-contract [INFO] finished tweaking git repo https://github.com/angel9015/Wefund-contract [INFO] tweaked toml for git repo https://github.com/angel9015/Wefund-contract written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/angel9015/Wefund-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e6760e82a081fb624e777d52ef744c1def2f593" "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-2/source/packages/Interface/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2/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-2/source/contracts/staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2/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-2/source/contracts/vesting/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2/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-2/source/contracts/wefund/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8e6760e82a081fb624e777d52ef744c1def2f593" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2af61925ff5e781baff57a544aa9384960aa087d4b083d08637e249485013a2d [INFO] running `Command { std: "docker" "start" "-a" "2af61925ff5e781baff57a544aa9384960aa087d4b083d08637e249485013a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af61925ff5e781baff57a544aa9384960aa087d4b083d08637e249485013a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af61925ff5e781baff57a544aa9384960aa087d4b083d08637e249485013a2d", kill_on_drop: false }` [INFO] [stdout] 2af61925ff5e781baff57a544aa9384960aa087d4b083d08637e249485013a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8e6760e82a081fb624e777d52ef744c1def2f593" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76d1f327d047e2569aed3cb2f7fe8c6ca031781262e45f5cdbb72f931939208c [INFO] running `Command { std: "docker" "start" "-a" "76d1f327d047e2569aed3cb2f7fe8c6ca031781262e45f5cdbb72f931939208c", 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/Interface/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/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] Compiling version_check v0.9.4 [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 cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling elliptic-curve v0.10.6 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling 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.6 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.6 [INFO] [stderr] Compiling cosmwasm-std v0.16.6 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling cosmwasm-storage v0.16.5 [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw2 v0.8.1 [INFO] [stderr] Compiling Interface v0.0.1 (/opt/rustwide/workdir/packages/Interface) [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> packages/Interface/src/staking.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> packages/Interface/src/vesting.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Interface` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `interface` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vesting v0.0.1 (/opt/rustwide/workdir/contracts/vesting) [INFO] [stderr] Compiling wefund v17.2.3 (/opt/rustwide/workdir/contracts/wefund) [INFO] [stderr] Compiling staking v0.0.1 (/opt/rustwide/workdir/contracts/staking) [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: `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`, `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`, `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: `StdResult` [INFO] [stdout] --> contracts/wefund/src/contract.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EpochStateResponse`, `QueryMsg as AnchorQuery` [INFO] [stdout] --> contracts/wefund/src/contract.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | QueryMsg as AnchorQuery, EpochStateResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProjectInfo as VestingProjectInfo`, `QueryMsg as VestingQuery` [INFO] [stdout] --> contracts/wefund/src/contract.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | use Interface::vesting::{ExecuteMsg as VestingMsg, QueryMsg as VestingQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | VestingParameter as VestingParam, [INFO] [stdout] 23 | ProjectInfo as VestingProjectInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/wefund/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`, `Serialize` [INFO] [stdout] --> contracts/wefund/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/wefund/src/state.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, Storage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/wefund/src/state.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use Interface::staking::{CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackerState`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `ProjectStatus`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stdout] --> contracts/wefund/src/state.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `ContractResult`, `MessageInfo`, `StdError`, `StdResult`, `SubMsg`, `WasmMsg`, `from_binary`, `to_binary` [INFO] [stdout] --> contracts/wefund/src/reply.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | Uint128, CosmosMsg, BankMsg, QueryRequest, BankQuery, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Coin, BalanceResponse, SubMsg, Reply, ContractResult, StdError, from_binary [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg`, `TokenInfoResponse` [INFO] [stdout] --> contracts/wefund/src/reply.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackerState`, `Config`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stdout] --> contracts/wefund/src/reply.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 12 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMUNITY`, `PROJECT_SEQ`, `save_projectstate` [INFO] [stdout] --> contracts/wefund/src/reply.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::state::{CONFIG, PROJECTSTATES, PROJECT_SEQ, COMMUNITY, save_projectstate, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `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 import: `BalanceResponse as Cw20BalanceResponse` [INFO] [stdout] --> contracts/staking/src/contract.rs:9:42 [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:64 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface::staking::{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:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | 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`, `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`, `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 imports: `CardInfo`, `CardType`, `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stdout] --> contracts/staking/src/query.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo, CardInfo, CardType}; [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`, `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`, `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 imports: `CardType`, `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/staking/src/state.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse`, `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`, `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, DECIMALS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stdout] --> contracts/staking/src/util.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/staking/src/contract.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 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:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | 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:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | 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:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | 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/wefund/src/contract.rs:299:54 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn try_setmilestonevote(deps: DepsMut, _env:Env, info:MessageInfo, project_id: Uint128, wallet: String, voted: bool) [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: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1007 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1027:5 [INFO] [stdout] | [INFO] [stdout] 1027 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1087 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1113:13 [INFO] [stdout] | [INFO] [stdout] 1113 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1047:5 [INFO] [stdout] | [INFO] [stdout] 1047 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send2_creator` [INFO] [stdout] --> contracts/wefund/src/reply.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let send2_creator = BankMsg::Send { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send2_creator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.51s [INFO] running `Command { std: "docker" "inspect" "76d1f327d047e2569aed3cb2f7fe8c6ca031781262e45f5cdbb72f931939208c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d1f327d047e2569aed3cb2f7fe8c6ca031781262e45f5cdbb72f931939208c", kill_on_drop: false }` [INFO] [stdout] 76d1f327d047e2569aed3cb2f7fe8c6ca031781262e45f5cdbb72f931939208c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+8e6760e82a081fb624e777d52ef744c1def2f593" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f11c8d22db925b13a6b5ed4e9b967a342fcda2f7b293bc1047172d8192645f4b [INFO] running `Command { std: "docker" "start" "-a" "f11c8d22db925b13a6b5ed4e9b967a342fcda2f7b293bc1047172d8192645f4b", 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/Interface/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/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: output filename collision. [INFO] [stderr] The example target `schema` in package `staking v0.0.1 (/opt/rustwide/workdir/contracts/staking)` has the same output filename as the example target `schema` in package `Interface v0.0.1 (/opt/rustwide/workdir/packages/Interface)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `vesting v0.0.1 (/opt/rustwide/workdir/contracts/vesting)` has the same output filename as the example target `schema` in package `staking v0.0.1 (/opt/rustwide/workdir/contracts/staking)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `wefund v17.2.3 (/opt/rustwide/workdir/contracts/wefund)` has the same output filename as the example target `schema` in package `vesting v0.0.1 (/opt/rustwide/workdir/contracts/vesting)`. [INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/examples/schema [INFO] [stderr] The targets should have unique names. [INFO] [stderr] Consider changing their names to be unique or compiling them separately. [INFO] [stderr] This may become a hard error in the future; see . [INFO] [stderr] Compiling cosmwasm-schema v0.16.5 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> packages/Interface/src/staking.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> packages/Interface/src/vesting.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Interface` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `interface` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdResult` [INFO] [stdout] --> contracts/wefund/src/contract.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EpochStateResponse`, `QueryMsg as AnchorQuery` [INFO] [stdout] --> contracts/wefund/src/contract.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | QueryMsg as AnchorQuery, EpochStateResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProjectInfo as VestingProjectInfo`, `QueryMsg as VestingQuery` [INFO] [stdout] --> contracts/wefund/src/contract.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | use Interface::vesting::{ExecuteMsg as VestingMsg, QueryMsg as VestingQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | VestingParameter as VestingParam, [INFO] [stdout] 23 | ProjectInfo as VestingProjectInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/wefund/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`, `Serialize` [INFO] [stdout] --> contracts/wefund/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/wefund/src/state.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, Storage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/wefund/src/state.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use Interface::staking::{CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackerState`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `ProjectStatus`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stdout] --> contracts/wefund/src/state.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `ContractResult`, `MessageInfo`, `StdError`, `StdResult`, `SubMsg`, `WasmMsg`, `from_binary`, `to_binary` [INFO] [stdout] --> contracts/wefund/src/reply.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | Uint128, CosmosMsg, BankMsg, QueryRequest, BankQuery, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Coin, BalanceResponse, SubMsg, Reply, ContractResult, StdError, from_binary [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg`, `TokenInfoResponse` [INFO] [stdout] --> contracts/wefund/src/reply.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackerState`, `Config`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stdout] --> contracts/wefund/src/reply.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 12 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMUNITY`, `PROJECT_SEQ`, `save_projectstate` [INFO] [stdout] --> contracts/wefund/src/reply.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::state::{CONFIG, PROJECTSTATES, PROJECT_SEQ, COMMUNITY, save_projectstate, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/wefund/src/contract.rs:299:54 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn try_setmilestonevote(deps: DepsMut, _env:Env, info:MessageInfo, project_id: Uint128, wallet: String, voted: bool) [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: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1007 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1027:5 [INFO] [stdout] | [INFO] [stdout] 1027 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1087 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1113:13 [INFO] [stdout] | [INFO] [stdout] 1113 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1047:5 [INFO] [stdout] | [INFO] [stdout] 1047 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send2_creator` [INFO] [stdout] --> contracts/wefund/src/reply.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let send2_creator = BankMsg::Send { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send2_creator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [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: `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`, `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`, `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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg`, `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 import: `BalanceResponse as Cw20BalanceResponse` [INFO] [stdout] --> contracts/staking/src/contract.rs:9:42 [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:64 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface::staking::{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:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | 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`, `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`, `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 imports: `CardInfo`, `CardType`, `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stdout] --> contracts/staking/src/query.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo, CardInfo, CardType}; [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`, `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`, `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 imports: `CardType`, `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/staking/src/state.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse`, `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`, `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, DECIMALS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stdout] --> contracts/staking/src/util.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/staking/src/contract.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 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:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | 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:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | 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:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vesting v0.0.1 (/opt/rustwide/workdir/contracts/vesting) [INFO] [stderr] Compiling Interface v0.0.1 (/opt/rustwide/workdir/packages/Interface) [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> packages/Interface/examples/schema.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo}; [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 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`, `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`, `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`, `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`, `VestingParameter` [INFO] [stdout] --> contracts/vesting/src/test.rs:8:64 [INFO] [stdout] | [INFO] [stdout] 8 | use Interface::vesting::{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] [stderr] Compiling terraswap v2.4.0 [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> packages/Interface/src/staking.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map`, `U128Key` [INFO] [stdout] --> packages/Interface/src/vesting.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wefund v17.2.3 (/opt/rustwide/workdir/contracts/wefund) [INFO] [stderr] Compiling staking v0.0.1 (/opt/rustwide/workdir/contracts/staking) [INFO] [stdout] warning: unused imports: `CosmosMsg`, `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 import: `BalanceResponse as Cw20BalanceResponse` [INFO] [stdout] --> contracts/staking/src/contract.rs:9:42 [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:64 [INFO] [stdout] | [INFO] [stdout] 12 | use Interface::staking::{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:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | 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`, `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`, `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 imports: `CardInfo`, `CardType`, `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stdout] --> contracts/staking/src/query.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo, CardInfo, CardType}; [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`, `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`, `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 imports: `CardType`, `ExecuteMsg`, `InstantiateMsg` [INFO] [stdout] --> contracts/staking/src/state.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse`, `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`, `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, DECIMALS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stdout] --> contracts/staking/src/util.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [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`, `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: `CardType` [INFO] [stdout] --> contracts/staking/src/test.rs:8:84 [INFO] [stdout] | [INFO] [stdout] 8 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo, CardInfo, CardType}; [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 import: `UserInfo` [INFO] [stdout] --> contracts/staking/examples/schema.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StdResult` [INFO] [stdout] --> contracts/wefund/src/contract.rs:4:59 [INFO] [stdout] | [INFO] [stdout] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EpochStateResponse`, `QueryMsg as AnchorQuery` [INFO] [stdout] --> contracts/wefund/src/contract.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | QueryMsg as AnchorQuery, EpochStateResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProjectInfo as VestingProjectInfo`, `QueryMsg as VestingQuery` [INFO] [stdout] --> contracts/wefund/src/contract.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | use Interface::vesting::{ExecuteMsg as VestingMsg, QueryMsg as VestingQuery, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | VestingParameter as VestingParam, [INFO] [stdout] 23 | ProjectInfo as VestingProjectInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/wefund/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`, `Serialize` [INFO] [stdout] --> contracts/wefund/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coin` [INFO] [stdout] --> contracts/wefund/src/state.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, Storage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/wefund/src/state.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use Interface::staking::{CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackerState`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `ProjectStatus`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stdout] --> contracts/wefund/src/state.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `ContractResult`, `MessageInfo`, `StdError`, `StdResult`, `SubMsg`, `WasmMsg`, `from_binary`, `to_binary` [INFO] [stdout] --> contracts/wefund/src/reply.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 5 | Uint128, CosmosMsg, BankMsg, QueryRequest, BankQuery, WasmMsg, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | Coin, BalanceResponse, SubMsg, Reply, ContractResult, StdError, from_binary [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg`, `TokenInfoResponse` [INFO] [stdout] --> contracts/wefund/src/reply.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BackerState`, `Config`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stdout] --> contracts/wefund/src/reply.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 12 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COMMUNITY`, `PROJECT_SEQ`, `save_projectstate` [INFO] [stdout] --> contracts/wefund/src/reply.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::state::{CONFIG, PROJECTSTATES, PROJECT_SEQ, COMMUNITY, save_projectstate, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/wefund/src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> contracts/wefund/src/test.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | use Interface::wefund::{QueryMsg, ExecuteMsg, InstantiateMsg, Milestone, Config, ProjectState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20HookMsg`, `ExecuteMsg as AnchorMarket`, `QueryMsg as AnchorQuery` [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | use Interface::market::{ExecuteMsg as AnchorMarket, Cw20HookMsg, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 18 | QueryMsg as AnchorQuery, EpochStateResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/staking/src/contract.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | 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:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | 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:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | 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:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | 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: `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: 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] = note: `#[warn(dead_code)]` on by default [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: associated function `new` is never used [INFO] [stdout] --> contracts/staking/src/mock_querier.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [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] 99 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_tax` is never used [INFO] [stdout] --> contracts/staking/src/mock_querier.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_terraswap_pairs` is never used [INFO] [stdout] --> contracts/staking/src/mock_querier.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/wefund/src/contract.rs:299:54 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn try_setmilestonevote(deps: DepsMut, _env:Env, info:MessageInfo, project_id: Uint128, wallet: String, voted: bool) [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: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1007 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1027:5 [INFO] [stdout] | [INFO] [stdout] 1027 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1087 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1113:13 [INFO] [stdout] | [INFO] [stdout] 1113 | other => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/wefund/src/contract.rs:1047:5 [INFO] [stdout] | [INFO] [stdout] 1047 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send2_creator` [INFO] [stdout] --> contracts/wefund/src/reply.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let send2_creator = BankMsg::Send { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send2_creator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_height` [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | Ok(QueryMsg::EpochState{block_height, distributed_interest}) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `block_height: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distributed_interest` [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:197:55 [INFO] [stdout] | [INFO] [stdout] 197 | Ok(QueryMsg::EpochState{block_height, distributed_interest}) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `distributed_interest: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Interface` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `interface` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caps_to_map` is never used [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) fn caps_to_map(caps: &[(&String, &Uint128)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairs_to_map` is never used [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | pub(crate) fn pairs_to_map(pairs: &[(&String, &String)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_tax` is never used [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_terraswap_pairs` is never used [INFO] [stdout] --> contracts/wefund/src/mock_querier.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to remove file `/opt/rustwide/target/debug/examples/schema` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No such file or directory (os error 2) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f11c8d22db925b13a6b5ed4e9b967a342fcda2f7b293bc1047172d8192645f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f11c8d22db925b13a6b5ed4e9b967a342fcda2f7b293bc1047172d8192645f4b", kill_on_drop: false }` [INFO] [stdout] f11c8d22db925b13a6b5ed4e9b967a342fcda2f7b293bc1047172d8192645f4b