[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] testing angel9015/Wefund-contract against try#9ce6b522e9d830b1461df3e1b001b5831bd32346 for pr-101061-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangel9015%2FWefund-contract" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angel9015/Wefund-contract on toolchain 9ce6b522e9d830b1461df3e1b001b5831bd32346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/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-4/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" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "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-4/source/packages/Interface/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4/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-4/source/contracts/staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4/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-4/source/contracts/vesting/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4/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-4/source/contracts/wefund/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc95c640240c69cbfdbc349314b2bec12c113d814578d82ccb0cc4ef06be2035 [INFO] running `Command { std: "docker" "start" "-a" "dc95c640240c69cbfdbc349314b2bec12c113d814578d82ccb0cc4ef06be2035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc95c640240c69cbfdbc349314b2bec12c113d814578d82ccb0cc4ef06be2035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc95c640240c69cbfdbc349314b2bec12c113d814578d82ccb0cc4ef06be2035", kill_on_drop: false }` [INFO] [stdout] dc95c640240c69cbfdbc349314b2bec12c113d814578d82ccb0cc4ef06be2035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec85046ba10174e94734dc291711fcaeb8f352babba766953f7c8f396dafef12 [INFO] running `Command { std: "docker" "start" "-a" "ec85046ba10174e94734dc291711fcaeb8f352babba766953f7c8f396dafef12", 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 typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [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 serde v1.0.136 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling hmac v0.11.0 [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 cw0 v0.8.1 [INFO] [stderr] Compiling cw-storage-plus 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling staking v0.0.1 (/opt/rustwide/workdir/contracts/staking) [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] [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 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: `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/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 44.90s [INFO] running `Command { std: "docker" "inspect" "ec85046ba10174e94734dc291711fcaeb8f352babba766953f7c8f396dafef12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec85046ba10174e94734dc291711fcaeb8f352babba766953f7c8f396dafef12", kill_on_drop: false }` [INFO] [stdout] ec85046ba10174e94734dc291711fcaeb8f352babba766953f7c8f396dafef12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bd023d766c63accaa9d015b867d976a67a6a0911a2fce2b38e8b7f1426c2a25 [INFO] running `Command { std: "docker" "start" "-a" "0bd023d766c63accaa9d015b867d976a67a6a0911a2fce2b38e8b7f1426c2a25", 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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] [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 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] [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: crate `Interface` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `interface` [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 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: `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: 3 warnings emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.17s [INFO] running `Command { std: "docker" "inspect" "0bd023d766c63accaa9d015b867d976a67a6a0911a2fce2b38e8b7f1426c2a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd023d766c63accaa9d015b867d976a67a6a0911a2fce2b38e8b7f1426c2a25", kill_on_drop: false }` [INFO] [stdout] 0bd023d766c63accaa9d015b867d976a67a6a0911a2fce2b38e8b7f1426c2a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+9ce6b522e9d830b1461df3e1b001b5831bd32346" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 603e06e51e6f978c290b6df61dc3ce2dbc8881c040ec400ae2596b1c556ac192 [INFO] running `Command { std: "docker" "start" "-a" "603e06e51e6f978c290b6df61dc3ce2dbc8881c040ec400ae2596b1c556ac192", 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] warning: unused imports: `Map`, `U128Key` [INFO] [stderr] --> packages/Interface/src/staking.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stderr] | ^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Map`, `U128Key` [INFO] [stderr] --> packages/Interface/src/vesting.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stderr] | ^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `Interface` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `interface` [INFO] [stderr] [INFO] [stderr] warning: `Interface` (lib) generated 3 warnings [INFO] [stderr] warning: `Interface` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: unused imports: `CosmosMsg`, `Storage` [INFO] [stderr] --> contracts/staking/src/contract.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `BalanceResponse as Cw20BalanceResponse` [INFO] [stderr] --> contracts/staking/src/contract.rs:9:42 [INFO] [stderr] | [INFO] [stderr] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CardInfo` [INFO] [stderr] --> contracts/staking/src/contract.rs:12:64 [INFO] [stderr] | [INFO] [stderr] 12 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_reward` [INFO] [stderr] --> contracts/staking/src/contract.rs:16:63 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, `QueryRequest` [INFO] [stderr] --> contracts/staking/src/query.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 6 | Coin, AllBalanceResponse, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, `TokenInfoResponse` [INFO] [stderr] --> contracts/staking/src/query.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CardInfo`, `CardType`, `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stderr] --> contracts/staking/src/query.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `schemars::JsonSchema` [INFO] [stderr] --> contracts/staking/src/state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use schemars::JsonSchema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> contracts/staking/src/state.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Coin`, `DepsMut`, `StdResult` [INFO] [stderr] --> contracts/staking/src/state.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `U128Key` [INFO] [stderr] --> contracts/staking/src/state.rs:4:34 [INFO] [stderr] | [INFO] [stderr] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CardType`, `ExecuteMsg`, `InstantiateMsg` [INFO] [stderr] --> contracts/staking/src/state.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BalanceResponse`, `Querier` [INFO] [stderr] --> contracts/staking/src/util.rs:3:97 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cw20ExecuteMsg`, `TokenInfoResponse` [INFO] [stderr] --> contracts/staking/src/util.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `REWARD_TOKEN` [INFO] [stderr] --> contracts/staking/src/util.rs:7:49 [INFO] [stderr] | [INFO] [stderr] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, DECIMALS, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ExecuteMsg`, `InstantiateMsg`, `UserInfo` [INFO] [stderr] --> contracts/staking/src/util.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | use Interface::staking::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> contracts/staking/src/contract.rs:143:14 [INFO] [stderr] | [INFO] [stderr] 143 | Some(info) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> contracts/staking/src/contract.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 135 | info: MessageInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> contracts/staking/src/contract.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | info: MessageInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> contracts/staking/src/contract.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | info: MessageInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `extra` [INFO] [stderr] --> contracts/staking/src/query.rs:36:26 [INFO] [stderr] | [INFO] [stderr] 36 | let (reward, extra) = get_reward( [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Uint128` [INFO] [stderr] --> contracts/vesting/src/error.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm_std::{Uint128}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `schemars::JsonSchema` [INFO] [stderr] --> contracts/vesting/src/state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use schemars::JsonSchema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> contracts/vesting/src/state.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, `Uint128` [INFO] [stderr] --> contracts/vesting/src/state.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stderr] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `StdResult` [INFO] [stderr] --> contracts/wefund/src/contract.rs:4:59 [INFO] [stderr] | [INFO] [stderr] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EpochStateResponse`, `QueryMsg as AnchorQuery` [INFO] [stderr] --> contracts/wefund/src/contract.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | QueryMsg as AnchorQuery, EpochStateResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ProjectInfo as VestingProjectInfo`, `QueryMsg as VestingQuery` [INFO] [stderr] --> contracts/wefund/src/contract.rs:21:52 [INFO] [stderr] | [INFO] [stderr] 21 | use Interface::vesting::{ExecuteMsg as VestingMsg, QueryMsg as VestingQuery, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | VestingParameter as VestingParam, [INFO] [stderr] 23 | ProjectInfo as VestingProjectInfo}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `schemars::JsonSchema` [INFO] [stderr] --> contracts/wefund/src/state.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use schemars::JsonSchema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> contracts/wefund/src/state.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Coin` [INFO] [stderr] --> contracts/wefund/src/state.rs:4:35 [INFO] [stderr] | [INFO] [stderr] 4 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, Storage}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CardType` [INFO] [stderr] --> contracts/wefund/src/state.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use Interface::staking::{CardType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BackerState`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `ProjectStatus`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stderr] --> contracts/wefund/src/state.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 9 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Addr`, `ContractResult`, `MessageInfo`, `StdError`, `StdResult`, `SubMsg`, `WasmMsg`, `from_binary`, `to_binary` [INFO] [stderr] --> contracts/wefund/src/reply.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Addr, to_binary, DepsMut, Env, MessageInfo, Response, StdResult, [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 5 | Uint128, CosmosMsg, BankMsg, QueryRequest, BankQuery, WasmMsg, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 6 | Coin, BalanceResponse, SubMsg, Reply, ContractResult, StdError, from_binary [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cw20ExecuteMsg`, `TokenInfoResponse` [INFO] [stderr] --> contracts/wefund/src/reply.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BackerState`, `Config`, `ExecuteMsg`, `InstantiateMsg`, `Milestone`, `TeamMember`, `VestingParameter`, `Vote`, `WhitelistState` [INFO] [stderr] --> contracts/wefund/src/reply.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | use Interface::wefund::{ExecuteMsg, InstantiateMsg, Config, ProjectState, BackerState, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 12 | VestingParameter,TeamMember, ProjectStatus, Milestone, Vote, WhitelistState [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `COMMUNITY`, `PROJECT_SEQ`, `save_projectstate` [INFO] [stderr] --> contracts/wefund/src/reply.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::state::{CONFIG, PROJECTSTATES, PROJECT_SEQ, COMMUNITY, save_projectstate, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> contracts/wefund/src/contract.rs:299:54 [INFO] [stderr] | [INFO] [stderr] 299 | pub fn try_setmilestonevote(deps: DepsMut, _env:Env, info:MessageInfo, project_id: Uint128, wallet: String, voted: bool) [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> contracts/wefund/src/contract.rs:1007:5 [INFO] [stderr] | [INFO] [stderr] 1007 | env: Env, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> contracts/wefund/src/contract.rs:1027:5 [INFO] [stderr] | [INFO] [stderr] 1027 | env: Env, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> contracts/wefund/src/contract.rs:1087:13 [INFO] [stderr] | [INFO] [stderr] 1087 | other => {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> contracts/wefund/src/contract.rs:1113:13 [INFO] [stderr] | [INFO] [stderr] 1113 | other => {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `env` [INFO] [stderr] --> contracts/wefund/src/contract.rs:1047:5 [INFO] [stderr] | [INFO] [stderr] 1047 | env: Env, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `send2_creator` [INFO] [stderr] --> contracts/wefund/src/reply.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | let send2_creator = BankMsg::Send { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send2_creator` [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> contracts/staking/src/test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AllBalanceResponse`, `Api`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, `WasmMsg` [INFO] [stderr] --> contracts/staking/src/test.rs:2:39 [INFO] [stderr] | [INFO] [stderr] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128, Api}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `CardType` [INFO] [stderr] --> contracts/staking/src/test.rs:8:84 [INFO] [stderr] | [INFO] [stderr] 8 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stderr] --> contracts/staking/src/test.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::marker::PhantomData` [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::marker::PhantomData; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `res` [INFO] [stderr] --> contracts/staking/src/test.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let res = instantiate(deps.as_mut(), mock_env(), info.clone(), msg).unwrap(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stderr] [INFO] [stderr] warning: function `caps_to_map` is never used [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn caps_to_map(caps: &[(&String, &Uint128)]) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `pairs_to_map` is never used [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 106 | pub(crate) fn pairs_to_map(pairs: &[(&String, &String)]) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_tax` is never used [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:242:12 [INFO] [stderr] | [INFO] [stderr] 242 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_terraswap_pairs` is never used [INFO] [stderr] --> contracts/staking/src/mock_querier.rs:247:12 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UserInfo` [INFO] [stderr] --> packages/Interface/examples/schema.rs:5:64 [INFO] [stderr] | [INFO] [stderr] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> contracts/wefund/src/test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Config` [INFO] [stderr] --> contracts/wefund/src/test.rs:7:74 [INFO] [stderr] | [INFO] [stderr] 7 | use Interface::wefund::{QueryMsg, ExecuteMsg, InstantiateMsg, Milestone, Config, ProjectState}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cw20HookMsg`, `ExecuteMsg as AnchorMarket`, `QueryMsg as AnchorQuery` [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | use Interface::market::{ExecuteMsg as AnchorMarket, Cw20HookMsg, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] 18 | QueryMsg as AnchorQuery, EpochStateResponse}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_height` [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:197:41 [INFO] [stderr] | [INFO] [stderr] 197 | Ok(QueryMsg::EpochState{block_height, distributed_interest}) => { [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `block_height: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `distributed_interest` [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:197:55 [INFO] [stderr] | [INFO] [stderr] 197 | Ok(QueryMsg::EpochState{block_height, distributed_interest}) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try ignoring the field: `distributed_interest: _` [INFO] [stderr] [INFO] [stderr] warning: function `caps_to_map` is never used [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | pub(crate) fn caps_to_map(caps: &[(&String, &Uint128)]) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `pairs_to_map` is never used [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:107:15 [INFO] [stderr] | [INFO] [stderr] 107 | pub(crate) fn pairs_to_map(pairs: &[(&String, &String)]) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_tax` is never used [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:259:12 [INFO] [stderr] | [INFO] [stderr] 259 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_terraswap_pairs` is never used [INFO] [stderr] --> contracts/wefund/src/mock_querier.rs:264:12 [INFO] [stderr] | [INFO] [stderr] 264 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> contracts/vesting/src/test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, `WasmMsg` [INFO] [stderr] --> contracts/vesting/src/test.rs:2:33 [INFO] [stderr] | [INFO] [stderr] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MOCK_CONTRACT_ADDR` [INFO] [stderr] --> contracts/vesting/src/test.rs:4:50 [INFO] [stderr] | [INFO] [stderr] 4 | use cosmwasm_std::testing::{mock_env, mock_info, MOCK_CONTRACT_ADDR, mock_dependencies}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Config`, `UserInfo`, `VestingParameter` [INFO] [stderr] --> contracts/vesting/src/test.rs:8:64 [INFO] [stderr] | [INFO] [stderr] 8 | use Interface::vesting::{QueryMsg, ExecuteMsg, InstantiateMsg, VestingParameter, Config, UserInfo, ProjectInfo}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stderr] --> contracts/vesting/src/test.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `staking` (lib) generated 21 warnings [INFO] [stderr] warning: `vesting` (lib) generated 4 warnings [INFO] [stderr] warning: `wefund` (lib) generated 19 warnings [INFO] [stderr] warning: `staking` (lib test) generated 33 warnings (21 duplicates) [INFO] [stderr] warning: `Interface` (example "schema") generated 1 warning [INFO] [stderr] warning: `wefund` (lib test) generated 30 warnings (19 duplicates) [INFO] [stderr] warning: `vesting` (lib test) generated 9 warnings (4 duplicates) [INFO] [stderr] warning: unused import: `UserInfo` [INFO] [stderr] --> contracts/staking/examples/schema.rs:5:64 [INFO] [stderr] | [INFO] [stderr] 5 | use Interface::staking::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `staking` (example "schema") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/Interface-4fdabe3e5114b618) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/staking-f92b22e91b0b294f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::workflow ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::workflow stdout ---- [INFO] [stdout] thread 'test::workflow' panicked at 'DO NOT ENTER HERE', contracts/staking/src/mock_querier.rs:218:26 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55732178dab0 - std::backtrace_rs::backtrace::libunwind::trace::hf53d662b5c6d77d2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x55732178dab0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6e3cf02005f608bf [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55732178dab0 - std::sys_common::backtrace::_print_fmt::h6d567679a2265c44 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55732178dab0 - ::fmt::h1a668cb169fcef22 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5573217b129e - core::fmt::write::hd1139dfe9eec9a34 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/fmt/mod.rs:1202:17 [INFO] [stdout] 5: 0x55732178a2b5 - std::io::Write::write_fmt::h31ccab35c8c522b7 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/io/mod.rs:1679:15 [INFO] [stdout] 6: 0x55732178f573 - std::sys_common::backtrace::_print::hd3a9cd6aaf1b9c8d [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55732178f573 - std::sys_common::backtrace::print::hfa27ea3e00247e12 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55732178f573 - std::panicking::default_hook::{{closure}}::h76f2cc009fc0e4ed [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55732178f1e3 - std::panicking::default_hook::h84e3f8d9ac8ff74e [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55732178fc1a - std::panicking::rust_panic_with_hook::hb27f77e939cc5d74 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55732175cbf8 - std::panicking::begin_panic::{{closure}}::hac04803afa916fb2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:617:9 [INFO] [stdout] 12: 0x55732175ce66 - std::sys_common::backtrace::__rust_end_short_backtrace::h1716152c59b3b555 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55732175cb30 - std::panicking::begin_panic::he116a0b587aade1b [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:616:12 [INFO] [stdout] 14: 0x5573216023c4 - staking::mock_querier::WasmMockQuerier::handle_query::h94c996f71fe6c210 [INFO] [stdout] at /opt/rustwide/workdir/contracts/staking/src/mock_querier.rs:218:26 [INFO] [stdout] 15: 0x557321601eba - ::raw_query::h0988b3731b654172 [INFO] [stdout] at /opt/rustwide/workdir/contracts/staking/src/mock_querier.rs:126:9 [INFO] [stdout] 16: 0x557321675dbd - cosmwasm_std::traits::QuerierWrapper::custom_query::hee6d2ec80b48f461 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cosmwasm-std-0.16.6/src/traits.rs:175:15 [INFO] [stdout] 17: 0x55732167640b - cosmwasm_std::traits::QuerierWrapper::query::had715d04f76a7f94 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cosmwasm-std-0.16.6/src/traits.rs:158:9 [INFO] [stdout] 18: 0x5573216232c8 - cosmwasm_std::traits::QuerierWrapper::query_wasm_smart::hb7e6fddfef78256f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cosmwasm-std-0.16.6/src/traits.rs:222:9 [INFO] [stdout] 19: 0x5573216038ce - staking::contract::instantiate::h316cb912fe227c19 [INFO] [stdout] at /opt/rustwide/workdir/contracts/staking/src/contract.rs:46:41 [INFO] [stdout] 20: 0x557321619ac7 - staking::test::workflow::hf8418695f84797e5 [INFO] [stdout] at /opt/rustwide/workdir/contracts/staking/src/test.rs:35:15 [INFO] [stdout] 21: 0x55732161946a - staking::test::workflow::{{closure}}::h8131f58db5df67e2 [INFO] [stdout] at /opt/rustwide/workdir/contracts/staking/src/test.rs:16:1 [INFO] [stdout] 22: 0x557321625f3e - core::ops::function::FnOnce::call_once::h91e68545ec9ae7ee [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 23: 0x55732165e483 - core::ops::function::FnOnce::call_once::h9295094f3a2f274a [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 24: 0x55732165e483 - test::__rust_begin_short_backtrace::hc4e9047c1ba46df2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:572:5 [INFO] [stdout] 25: 0x55732165d0f0 - as core::ops::function::FnOnce>::call_once::he040c8e590211550 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 26: 0x55732165d0f0 - as core::ops::function::FnOnce<()>>::call_once::h0d91ee9b948b825d [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 27: 0x55732165d0f0 - std::panicking::try::do_call::h3d19aeafa70ed723 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x55732165d0f0 - std::panicking::try::h135dabdea83a1c58 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x55732165d0f0 - std::panic::catch_unwind::hf80a8ca158b8efa5 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x55732165d0f0 - test::run_test_in_process::hee81e4132103b2a9 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:595:18 [INFO] [stdout] 31: 0x55732165d0f0 - test::run_test::run_test_inner::{{closure}}::h727da8c02b489848 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:489:39 [INFO] [stdout] 32: 0x557321628754 - test::run_test::run_test_inner::{{closure}}::h549d08510b19e013 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/test/src/lib.rs:516:37 [INFO] [stdout] 33: 0x557321628754 - std::sys_common::backtrace::__rust_begin_short_backtrace::hacb00420d6394a74 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 34: 0x55732162e0b7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h374487babdc746a9 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/thread/mod.rs:514:17 [INFO] [stdout] 35: 0x55732162e0b7 - as core::ops::function::FnOnce<()>>::call_once::hc77d0695676286d2 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 36: 0x55732162e0b7 - std::panicking::try::do_call::h9f79a627f611867c [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:492:40 [INFO] [stdout] 37: 0x55732162e0b7 - std::panicking::try::ha05fa770fe5794fa [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panicking.rs:456:19 [INFO] [stdout] 38: 0x55732162e0b7 - std::panic::catch_unwind::h534601d6cd2559a1 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/panic.rs:137:14 [INFO] [stdout] 39: 0x55732162e0b7 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc2ae2a956f19ab11 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/thread/mod.rs:513:30 [INFO] [stdout] 40: 0x55732162e0b7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc056908992b2c711 [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 41: 0x557321794423 - as core::ops::function::FnOnce>::call_once::h755fdb7c937efc7f [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 42: 0x557321794423 - as core::ops::function::FnOnce>::call_once::h1e9985d975cd79fe [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/alloc/src/boxed.rs:1940:9 [INFO] [stdout] 43: 0x557321794423 - std::sys::unix::thread::Thread::new::thread_start::h25c30bbf1476644a [INFO] [stdout] at /rustc/9ce6b522e9d830b1461df3e1b001b5831bd32346/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7fcca8737609 - start_thread [INFO] [stdout] 45: 0x7fcca8507133 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::workflow [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p staking --lib` [INFO] running `Command { std: "docker" "inspect" "603e06e51e6f978c290b6df61dc3ce2dbc8881c040ec400ae2596b1c556ac192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "603e06e51e6f978c290b6df61dc3ce2dbc8881c040ec400ae2596b1c556ac192", kill_on_drop: false }` [INFO] [stdout] 603e06e51e6f978c290b6df61dc3ce2dbc8881c040ec400ae2596b1c556ac192