[INFO] cloning repository https://github.com/kanazaya74Raccon/Wefund_contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanazaya74Raccon/Wefund_contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 756e0cded729d46810369ca0dada85a79b1d94d1 [INFO] testing kanazaya74Raccon/Wefund_contract against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanazaya74Raccon%2FWefund_contract" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kanazaya74Raccon/Wefund_contract on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/kanazaya74Raccon/Wefund_contract [INFO] finished tweaking git repo https://github.com/kanazaya74Raccon/Wefund_contract [INFO] tweaked toml for git repo https://github.com/kanazaya74Raccon/Wefund_contract written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kanazaya74Raccon/Wefund_contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "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-6-tc1/source/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6-tc1/source/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6-tc1/source/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cw0 v0.8.1 [INFO] [stderr] Downloaded cw-storage-plus v0.8.1 [INFO] [stderr] Downloaded terra-cosmwasm v2.2.0 [INFO] [stderr] Downloaded terraswap v2.4.0 [INFO] [stderr] Downloaded cosmwasm-bignumber v2.2.0 [INFO] [stderr] Downloaded cosmwasm-derive v0.16.5 [INFO] [stderr] Downloaded cw20 v0.8.1 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.5 [INFO] [stderr] Downloaded cosmwasm-crypto v0.16.5 [INFO] [stderr] Downloaded cw2 v0.8.1 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.5 [INFO] [stderr] Downloaded cosmwasm-std v0.16.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d61189969c1df57d96f74c7d587882aaa3ed02813acbb0c1a216eb68ef19f359 [INFO] running `Command { std: "docker" "start" "-a" "d61189969c1df57d96f74c7d587882aaa3ed02813acbb0c1a216eb68ef19f359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d61189969c1df57d96f74c7d587882aaa3ed02813acbb0c1a216eb68ef19f359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d61189969c1df57d96f74c7d587882aaa3ed02813acbb0c1a216eb68ef19f359", kill_on_drop: false }` [INFO] [stdout] d61189969c1df57d96f74c7d587882aaa3ed02813acbb0c1a216eb68ef19f359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d6af503b2f225465314d942160ac9ea6fb606cc4e96a227d72fe2e82dd0c911 [INFO] running `Command { std: "docker" "start" "-a" "2d6af503b2f225465314d942160ac9ea6fb606cc4e96a227d72fe2e82dd0c911", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `WEFUND` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `wefund17`? [INFO] [stderr] Compiling 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 cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 const-oid v0.6.2 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling signature v1.3.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling hmac v0.11.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 cosmwasm-derive v0.16.5 [INFO] [stderr] Compiling schemars_derive v0.8.8 [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.5 [INFO] [stderr] Compiling cosmwasm-std v0.16.5 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw2 v0.8.1 [INFO] [stderr] Compiling Vesting v0.0.1 (/opt/rustwide/workdir/contracts/Vesting) [INFO] [stderr] Compiling Staking v0.0.1 (/opt/rustwide/workdir/contracts/Staking) [INFO] [stdout] warning: unused imports: `CosmosMsg` and `Storage` [INFO] [stdout] --> contracts/Staking/src/contract.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/contract.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardInfo` [INFO] [stdout] --> contracts/Staking/src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_reward` [INFO] [stdout] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `QueryRequest` [INFO] [stdout] --> contracts/Staking/src/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Coin, AllBalanceResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/query.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/src/query.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Staking/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Staking/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, and `StdResult` [INFO] [stdout] --> contracts/Staking/src/state.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/Staking/src/state.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/Staking/src/state.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse` and `Querier` [INFO] [stdout] --> contracts/Staking/src/util.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg` and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REWARD_TOKEN` [INFO] [stdout] --> contracts/Staking/src/util.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | Some(info) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> contracts/Staking/src/query.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (reward, extra) = get_reward( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Staking/src/util.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Staking` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `staking` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Vesting` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `vesting` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wefund17 v17.2.3 (/opt/rustwide/workdir/contracts/WEFund) [INFO] [stdout] warning: unused import: `ProjectStatus` [INFO] [stdout] --> contracts/WEFund/src/error.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::state::{ProjectStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2d6af503b2f225465314d942160ac9ea6fb606cc4e96a227d72fe2e82dd0c911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6af503b2f225465314d942160ac9ea6fb606cc4e96a227d72fe2e82dd0c911", kill_on_drop: false }` [INFO] [stdout] 2d6af503b2f225465314d942160ac9ea6fb606cc4e96a227d72fe2e82dd0c911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3bd8e147c3add5999f104b509430b7a674a6d19cf1eb5ea1fb7d3f4e0636b3f [INFO] running `Command { std: "docker" "start" "-a" "c3bd8e147c3add5999f104b509430b7a674a6d19cf1eb5ea1fb7d3f4e0636b3f", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `WEFUND` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `wefund17`? [INFO] [stderr] 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 `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.dwp [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 `wefund17 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: output filename collision. [INFO] [stderr] The example target `schema` in package `wefund17 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.dwp [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 cosmwasm-storage v0.16.5 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Vesting` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `vesting` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg` and `Storage` [INFO] [stdout] --> contracts/Staking/src/contract.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/contract.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardInfo` [INFO] [stdout] --> contracts/Staking/src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_reward` [INFO] [stdout] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `QueryRequest` [INFO] [stdout] --> contracts/Staking/src/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Coin, AllBalanceResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/query.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/src/query.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Staking/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Staking/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, and `StdResult` [INFO] [stdout] --> contracts/Staking/src/state.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/Staking/src/state.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/Staking/src/state.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse` and `Querier` [INFO] [stdout] --> contracts/Staking/src/util.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg` and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REWARD_TOKEN` [INFO] [stdout] --> contracts/Staking/src/util.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | Some(info) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> contracts/Staking/src/query.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (reward, extra) = get_reward( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Staking/src/util.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Staking` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `staking` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectStatus` [INFO] [stdout] --> contracts/WEFund/src/error.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::state::{ProjectStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wefund17 v17.2.3 (/opt/rustwide/workdir/contracts/WEFund) [INFO] [stderr] Compiling Vesting v0.0.1 (/opt/rustwide/workdir/contracts/Vesting) [INFO] [stdout] warning: unused import: `ProjectStatus` [INFO] [stdout] --> contracts/WEFund/src/error.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::state::{ProjectStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOCK_CONTRACT_ADDR` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::testing::{mock_env, mock_info, MOCK_CONTRACT_ADDR, mock_dependencies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::state::{Milestone, Config, ProjectState}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/WEFund/src/testing.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Uint128` [INFO] [stdout] --> contracts/Vesting/src/error.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Uint128}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Vesting/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Vesting/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, `StdResult`, and `Uint128` [INFO] [stdout] --> contracts/Vesting/src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/Vesting/src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/Vesting/src/test.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MOCK_CONTRACT_ADDR` [INFO] [stdout] --> contracts/Vesting/src/test.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::testing::{mock_env, mock_info, MOCK_CONTRACT_ADDR, mock_dependencies}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `UserInfo`, and `VestingParameter` [INFO] [stdout] --> contracts/Vesting/src/test.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::msg::{QueryMsg, ExecuteMsg, InstantiateMsg, VestingParameter, Config, UserInfo, ProjectInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/Vesting/src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling terraswap v2.4.0 [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Staking v0.0.1 (/opt/rustwide/workdir/contracts/Staking) [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/examples/schema.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | use Staking::msg::{ExecuteMsg, InstantiateMsg, QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosmosMsg` and `Storage` [INFO] [stdout] --> contracts/Staking/src/contract.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Uint128, CosmosMsg, WasmMsg, Storage [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/contract.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardInfo` [INFO] [stdout] --> contracts/Staking/src/contract.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_reward` [INFO] [stdout] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `QueryRequest` [INFO] [stdout] --> contracts/Staking/src/query.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | Uint128, QueryRequest, BankQuery, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | Coin, AllBalanceResponse, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/query.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use cw20::{ Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UserInfo` [INFO] [stdout] --> contracts/Staking/src/query.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map` and `U128Key` [INFO] [stdout] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `schemars::JsonSchema` [INFO] [stdout] --> contracts/Staking/src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use schemars::JsonSchema; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> contracts/Staking/src/state.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coin`, `DepsMut`, and `StdResult` [INFO] [stdout] --> contracts/Staking/src/state.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Addr, Uint128, Coin, StdResult, DepsMut}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U128Key` [INFO] [stdout] --> contracts/Staking/src/state.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item, Map, U128Key}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardType` [INFO] [stdout] --> contracts/Staking/src/state.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BalanceResponse` and `Querier` [INFO] [stdout] --> contracts/Staking/src/util.rs:3:97 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{ Storage, Uint128, Addr, StdResult, StdError, Response, Env, QuerierWrapper, Querier, BalanceResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw20ExecuteMsg` and `TokenInfoResponse` [INFO] [stdout] --> contracts/Staking/src/util.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use cw20::{Cw20ExecuteMsg, Cw20QueryMsg, BalanceResponse as Cw20BalanceResponse, TokenInfoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `REWARD_TOKEN` [INFO] [stdout] --> contracts/Staking/src/util.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | BRONZE_CARD_NUMBER, CARD_INFOS, USER_INFOS, REWARD_TOKEN, START_TIME, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> contracts/Staking/src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AllBalanceResponse`, `Api`, `BalanceResponse`, `BankQuery`, `Coin`, `CosmosMsg`, and `WasmMsg` [INFO] [stdout] --> contracts/Staking/src/test.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{from_binary, Addr, CosmosMsg, WasmMsg, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | BankQuery, BalanceResponse, AllBalanceResponse, Coin, Uint128, Api}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/Staking/src/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | Some(info) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> contracts/Staking/src/contract.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra` [INFO] [stdout] --> contracts/Staking/src/query.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let (reward, extra) = get_reward( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_extra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> contracts/Staking/src/util.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> contracts/Staking/src/test.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let res = instantiate(deps.as_mut(), mock_env(), info.clone(), msg).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl TaxQuerier { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `caps_to_map` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn caps_to_map(caps: &[(&String, &Uint128)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl TerraswapFactoryQuerier { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 99 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pairs_to_map` is never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) fn pairs_to_map(pairs: &[(&String, &String)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_tax` and `with_terraswap_pairs` are never used [INFO] [stdout] --> contracts/Staking/src/mock_querier.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl WasmMockQuerier { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c3bd8e147c3add5999f104b509430b7a674a6d19cf1eb5ea1fb7d3f4e0636b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3bd8e147c3add5999f104b509430b7a674a6d19cf1eb5ea1fb7d3f4e0636b3f", kill_on_drop: false }` [INFO] [stdout] c3bd8e147c3add5999f104b509430b7a674a6d19cf1eb5ea1fb7d3f4e0636b3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2614b7696d06896f6763d1500582c122ad31020d055add80451a1e3449d8da85 [INFO] running `Command { std: "docker" "start" "-a" "2614b7696d06896f6763d1500582c122ad31020d055add80451a1e3449d8da85", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Staking/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/Vesting/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/WEFund/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profile package spec `WEFUND` in profile `release` did not match any packages [INFO] [stderr] [INFO] [stderr] Did you mean `wefund17`? [INFO] [stderr] 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 `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.dwp [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 `wefund17 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: output filename collision. [INFO] [stderr] The example target `schema` in package `wefund17 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.dwp [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 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 imports: `Map` and `U128Key` [INFO] [stderr] --> contracts/Vesting/src/msg.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use cw_storage_plus::{Map, U128Key}; [INFO] [stderr] | ^^^ ^^^^^^^ [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` and `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`, and `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 variable: `info` [INFO] [stderr] --> contracts/Vesting/src/contract.rs:328:36 [INFO] [stderr] | [INFO] [stderr] 328 | pub fn try_setconfig(deps:DepsMut, info:MessageInfo, admin: String) [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: crate `Vesting` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `vesting` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CosmosMsg` and `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 imports: `BalanceResponse as Cw20BalanceResponse`, `Cw20QueryMsg`, and `TokenInfoResponse` [INFO] [stderr] --> contracts/Staking/src/contract.rs:9:28 [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:56 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::msg::{ExecuteMsg, InstantiateMsg, UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_reward` [INFO] [stderr] --> contracts/Staking/src/contract.rs:15:63 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::util::{check_onlyowner, get_cardtype, manage_card, get_reward, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AllBalanceResponse`, `BankQuery`, `Coin`, and `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`, and `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 import: `UserInfo` [INFO] [stderr] --> contracts/Staking/src/query.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::msg::{QueryMsg, UserInfo}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Map` and `U128Key` [INFO] [stderr] --> contracts/Staking/src/msg.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use cw_storage_plus::{Map, U128Key}; [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` and `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`, and `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 import: `CardType` [INFO] [stderr] --> contracts/Staking/src/state.rs:5:38 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::msg::{UserInfo, CardInfo, CardType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BalanceResponse` and `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` and `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, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> contracts/Staking/src/contract.rs:130:14 [INFO] [stderr] | [INFO] [stderr] 130 | 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:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | 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:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | 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:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | 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 variable: `storage` [INFO] [stderr] --> contracts/Staking/src/util.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_cardtype(storage: &dyn Storage, amount: Uint128) -> StdResult [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stderr] [INFO] [stderr] warning: crate `Staking` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `staking` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [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`, and `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`, and `VestingParameter` [INFO] [stderr] --> contracts/Vesting/src/test.rs:8:56 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::msg::{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: `Vesting` (lib) generated 7 warnings (run `cargo fix --lib -p Vesting` to apply 5 suggestions) [INFO] [stderr] warning: `Staking` (lib) generated 23 warnings (run `cargo fix --lib -p Staking` to apply 16 suggestions) [INFO] [stderr] warning: `Vesting` (lib test) generated 11 warnings (6 duplicates) (run `cargo fix --lib -p Vesting --tests` to apply 5 suggestions) [INFO] [stderr] warning: unused import: `ProjectStatus` [INFO] [stderr] --> contracts/WEFund/src/error.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::state::{ProjectStatus}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `UserInfo` [INFO] [stderr] --> contracts/Staking/examples/schema.rs:5:58 [INFO] [stderr] | [INFO] [stderr] 5 | use Staking::msg::{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/testing.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Addr`, `AllBalanceResponse`, `BalanceResponse`, `BankQuery`, `CosmosMsg`, and `WasmMsg` [INFO] [stderr] --> contracts/WEFund/src/testing.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/WEFund/src/testing.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 import: `Config` [INFO] [stderr] --> contracts/WEFund/src/testing.rs:8:31 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::state::{Milestone, Config, ProjectState}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stderr] --> contracts/WEFund/src/testing.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use cw20::Cw20ExecuteMsg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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`, and `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: `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: associated function `new` is never used [INFO] [stderr] --> contracts/Staking/src/mock_querier.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 76 | impl TaxQuerier { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 77 | pub fn new(rate: Decimal, caps: &[(&String, &Uint128)]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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] warning: associated function `new` is never used [INFO] [stderr] --> contracts/Staking/src/mock_querier.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 98 | impl TerraswapFactoryQuerier { [INFO] [stderr] | ---------------------------- associated function in this implementation [INFO] [stderr] 99 | pub fn new(pairs: &[(&String, &String)]) -> Self { [INFO] [stderr] | ^^^ [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: methods `with_tax` and `with_terraswap_pairs` are never used [INFO] [stderr] --> contracts/Staking/src/mock_querier.rs:242:12 [INFO] [stderr] | [INFO] [stderr] 226 | impl WasmMockQuerier { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 242 | pub fn with_tax(&mut self, rate: Decimal, caps: &[(&String, &Uint128)]) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | pub fn with_terraswap_pairs(&mut self, pairs: &[(&String, &String)]) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wefund17` (lib) generated 1 warning (run `cargo fix --lib -p wefund17` to apply 1 suggestion) [INFO] [stderr] warning: `Staking` (example "schema") generated 1 warning (run `cargo fix --example "schema"` to apply 1 suggestion) [INFO] [stderr] warning: `wefund17` (lib test) generated 6 warnings (1 duplicate) (run `cargo fix --lib -p wefund17 --tests` to apply 5 suggestions) [INFO] [stderr] warning: `Staking` (lib test) generated 32 warnings (22 duplicates) (run `cargo fix --lib -p Staking --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/Staking-7b7aa5cc546f0583) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::workflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 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/Vesting-38d76d0a7bea644f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::workflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 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/wefund17-1076a72a280b1a76) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test testing::workflow ... FAILED [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p wefund17 --lib` [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- testing::workflow stdout ---- [INFO] [stdout] Add community memberResponse { messages: [], attributes: [Attribute { key: "action", value: "add community member" }], events: [], data: None } [INFO] [stdout] Add community memberResponse { messages: [], attributes: [Attribute { key: "action", value: "add community member" }], events: [], data: None } [INFO] [stdout] Response { messages: [SubMsg { id: 0, msg: Wasm(Execute { contract_addr: "vesting", msg: Binary([123, 34, 97, 100, 100, 95, 112, 114, 111, 106, 101, 99, 116, 34, 58, 123, 34, 112, 114, 111, 106, 101, 99, 116, 95, 105, 100, 34, 58, 34, 49, 34, 44, 34, 97, 100, 109, 105, 110, 34, 58, 34, 99, 111, 115, 109, 111, 115, 50, 99, 111, 110, 116, 114, 97, 99, 116, 34, 44, 34, 116, 111, 107, 101, 110, 95, 97, 100, 100, 114, 34, 58, 34, 116, 111, 107, 101, 110, 49, 34, 44, 34, 118, 101, 115, 116, 105, 110, 103, 95, 112, 97, 114, 97, 109, 115, 34, 58, 91, 93, 44, 34, 115, 116, 97, 114, 116, 95, 116, 105, 109, 101, 34, 58, 34, 48, 34, 125, 125]), funds: [] }), gas_limit: None, reply_on: Never }], attributes: [Attribute { key: "action", value: "add project" }, Attribute { key: "id", value: "1" }], events: [], data: None } [INFO] [stdout] WeFund Approve: Response { messages: [], attributes: [Attribute { key: "action", value: "Wefund Approve" }], events: [], data: None } [INFO] [stdout] back2project:Response { messages: [SubMsg { id: 0, msg: Wasm(Execute { contract_addr: "market", msg: Binary([123, 34, 100, 101, 112, 111, 115, 105, 116, 95, 115, 116, 97, 98, 108, 101, 34, 58, 123, 125, 125]), funds: [Coin { denom: "uusd", amount: Uint128(100000000) }] }), gas_limit: None, reply_on: Never }, SubMsg { id: 0, msg: Bank(Send { to_address: "Wefund", amount: [Coin { denom: "uusd", amount: Uint128(1000000) }] }), gas_limit: None, reply_on: Never }, SubMsg { id: 0, msg: Wasm(Execute { contract_addr: "vesting", msg: Binary([123, 34, 97, 100, 100, 95, 117, 115, 101, 114, 34, 58, 123, 34, 112, 114, 111, 106, 101, 99, 116, 95, 105, 100, 34, 58, 34, 49, 34, 44, 34, 115, 116, 97, 103, 101, 34, 58, 34, 48, 34, 44, 34, 119, 97, 108, 108, 101, 116, 34, 58, 34, 98, 97, 99, 107, 101, 114, 49, 34, 44, 34, 97, 109, 111, 117, 110, 116, 34, 58, 34, 49, 48, 34, 125, 125]), funds: [] }), gas_limit: None, reply_on: Never }], attributes: [Attribute { key: "action", value: "back to project" }], events: [], data: None } [INFO] [stdout] back2project:Response { messages: [SubMsg { id: 0, msg: Wasm(Execute { contract_addr: "market", msg: Binary([123, 34, 100, 101, 112, 111, 115, 105, 116, 95, 115, 116, 97, 98, 108, 101, 34, 58, 123, 125, 125]), funds: [Coin { denom: "uusd", amount: Uint128(200000000) }] }), gas_limit: None, reply_on: Never }, SubMsg { id: 0, msg: Bank(Send { to_address: "Wefund", amount: [Coin { denom: "uusd", amount: Uint128(6000000) }] }), gas_limit: None, reply_on: Never }, SubMsg { id: 0, msg: Wasm(Execute { contract_addr: "vesting", msg: Binary([123, 34, 97, 100, 100, 95, 117, 115, 101, 114, 34, 58, 123, 34, 112, 114, 111, 106, 101, 99, 116, 95, 105, 100, 34, 58, 34, 49, 34, 44, 34, 115, 116, 97, 103, 101, 34, 58, 34, 48, 34, 44, 34, 119, 97, 108, 108, 101, 116, 34, 58, 34, 98, 97, 99, 107, 101, 114, 50, 34, 44, 34, 97, 109, 111, 117, 110, 116, 34, 58, 34, 49, 48, 34, 125, 125]), funds: [] }), gas_limit: None, reply_on: Never }], attributes: [Attribute { key: "action", value: "back to project" }], events: [], data: None } [INFO] [stdout] [INFO] [stdout] thread 'testing::workflow' panicked at contracts/WEFund/src/testing.rs:174:73: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Std(GenericErr { msg: "Querier system error: No such contract: token1" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x57485ea5acda - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x57485ea5acda - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x57485ea5acda - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x57485ea5acda - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57485ea80cb3 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x57485ea80cb3 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x57485ea57df3 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x57485ea5ab22 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x57485ea5c210 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x57485ea5bfad - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x57485e944ac3 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x57485e944ac3 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x57485ea5ca43 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x57485ea5ca43 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x57485ea5c71a - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x57485ea5b1d9 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x57485ea5c3ad - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x57485e891c80 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x57485e8920f6 - core::result::unwrap_failed::h1b5ed8541c7bebd6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x57485e8e1a8b - core::result::Result::unwrap::h7c5c61d8f29c1fb6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x57485e8e1a8b - wefund17::testing::workflow::h355285e36c8e800e [INFO] [stdout] at /opt/rustwide/workdir/contracts/WEFund/src/testing.rs:174:19 [INFO] [stdout] 21: 0x57485e8de927 - wefund17::testing::workflow::{{closure}}::hd6acd63db487932e [INFO] [stdout] at /opt/rustwide/workdir/contracts/WEFund/src/testing.rs:17:14 [INFO] [stdout] 22: 0x57485e8e4656 - core::ops::function::FnOnce::call_once::he2dfdcc478dfbc14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x57485e94a26b - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x57485e94a26b - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x57485e9491a3 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x57485e9491a3 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x57485e9491a3 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 28: 0x57485e9491a3 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 29: 0x57485e9491a3 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x57485e9491a3 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x57485e9491a3 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x57485e90ced5 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x57485e90ced5 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x57485e910916 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 35: 0x57485e910916 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x57485e910916 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 37: 0x57485e910916 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 38: 0x57485e910916 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x57485e910916 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 40: 0x57485e910916 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x57485ea608ab - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 42: 0x57485ea608ab - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 43: 0x57485ea608ab - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x7dcafa01aac3 - [INFO] [stdout] 45: 0x7dcafa0aba04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] testing::workflow [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2614b7696d06896f6763d1500582c122ad31020d055add80451a1e3449d8da85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2614b7696d06896f6763d1500582c122ad31020d055add80451a1e3449d8da85", kill_on_drop: false }` [INFO] [stdout] 2614b7696d06896f6763d1500582c122ad31020d055add80451a1e3449d8da85