[INFO] cloning repository https://github.com/arufa-research/stakeeasy-juno-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arufa-research/stakeeasy-juno-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farufa-research%2Fstakeeasy-juno-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farufa-research%2Fstakeeasy-juno-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79f801624be278481b0611aa3ec6305f4b2ac47e [INFO] building arufa-research/stakeeasy-juno-contracts against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farufa-research%2Fstakeeasy-juno-contracts" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arufa-research/stakeeasy-juno-contracts on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arufa-research/stakeeasy-juno-contracts [INFO] finished tweaking git repo https://github.com/arufa-research/stakeeasy-juno-contracts [INFO] tweaked toml for git repo https://github.com/arufa-research/stakeeasy-juno-contracts written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arufa-research/stakeeasy-juno-contracts 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building arufa-research/stakeeasy-juno-contracts against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farufa-research%2Fstakeeasy-juno-contracts" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arufa-research/stakeeasy-juno-contracts on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arufa-research/stakeeasy-juno-contracts [INFO] finished tweaking git repo https://github.com/arufa-research/stakeeasy-juno-contracts [INFO] tweaked toml for git repo https://github.com/arufa-research/stakeeasy-juno-contracts written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arufa-research/stakeeasy-juno-contracts 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cosmwasm-schema v1.0.0-beta8 [INFO] [stderr] Downloaded cosmwasm-derive v1.0.0-beta8 [INFO] [stderr] Downloaded cosmwasm-crypto v1.0.0-beta8 [INFO] [stderr] Downloaded cosmwasm-std v1.0.0-beta8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33ffbbed2a593cf754412e8519760a91518dd1f41d2edb0a76b203cdb0ea7dd [INFO] running `Command { std: "docker" "start" "-a" "a33ffbbed2a593cf754412e8519760a91518dd1f41d2edb0a76b203cdb0ea7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33ffbbed2a593cf754412e8519760a91518dd1f41d2edb0a76b203cdb0ea7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33ffbbed2a593cf754412e8519760a91518dd1f41d2edb0a76b203cdb0ea7dd", kill_on_drop: false }` [INFO] [stdout] a33ffbbed2a593cf754412e8519760a91518dd1f41d2edb0a76b203cdb0ea7dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31209b45af4838cf37fd9ffa0ad005e3071cf85ef872c8c1e47b43a253c2e35c [INFO] running `Command { std: "docker" "start" "-a" "31209b45af4838cf37fd9ffa0ad005e3071cf85ef872c8c1e47b43a253c2e35c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 getrandom v0.1.16 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [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 schemars v0.8.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling crypto-mac v0.11.1 [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 v1.0.0-beta8 [INFO] [stderr] Compiling cosmwasm-derive v0.16.7 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0-beta8 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.7 [INFO] [stderr] Compiling cosmwasm-std v1.0.0-beta8 [INFO] [stderr] Compiling cosmwasm-std v0.16.7 [INFO] [stderr] Compiling cosmwasm-bignumber v2.2.0 [INFO] [stderr] Compiling cw-storage-plus v0.13.2 (/opt/rustwide/workdir/packages/storage-plus) [INFO] [stderr] Compiling cw-utils v0.13.2 (/opt/rustwide/workdir/packages/utils) [INFO] [stderr] Compiling cw20 v0.13.2 (/opt/rustwide/workdir/packages/cw20) [INFO] [stderr] Compiling cw2 v0.13.2 (/opt/rustwide/workdir/packages/cw2) [INFO] [stderr] Compiling cw-controllers v0.13.2 (/opt/rustwide/workdir/packages/controllers) [INFO] [stderr] Compiling sejuno-token v0.13.2 (/opt/rustwide/workdir/contracts/sejuno_token) [INFO] [stderr] Compiling reward-contract v0.1.0 (/opt/rustwide/workdir/contracts/rewards_contract) [INFO] [stderr] Compiling staking-contract v0.1.3 (/opt/rustwide/workdir/contracts/staking_contract) [INFO] [stderr] Compiling bjuno-token v0.13.2 (/opt/rustwide/workdir/contracts/bjuno_token) [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/sejuno_token/src/allowances.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/sejuno_token/src/allowances.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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/sejuno_token/src/contract.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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/sejuno_token/src/contract.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | 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/sejuno_token/src/contract.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | 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/sejuno_token/src/contract.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | 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/sejuno_token/src/contract.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | 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/sejuno_token/src/contract.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | 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/sejuno_token/src/contract.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | 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/sejuno_token/src/contract.rs:469:26 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [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/bjuno_token/src/allowances.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/bjuno_token/src/allowances.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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/bjuno_token/src/contract.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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/bjuno_token/src/contract.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | 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/bjuno_token/src/contract.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | 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/bjuno_token/src/contract.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | 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/bjuno_token/src/contract.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | 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/bjuno_token/src/contract.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/bjuno_token/src/contract.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | 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/bjuno_token/src/contract.rs:572:26 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> contracts/staking_contract/src/contract.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | GovMsg, WasmMsg, to_binary, Addr, Coin, BankMsg, Order [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/staking_contract/src/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Env`, `MessageInfo`, `Response` [INFO] [stdout] --> contracts/staking_contract/src/staking.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | StdError, StdResult, Storage, Uint128, DepsMut, Env, MessageInfo, Response [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ContractError` [INFO] [stdout] --> contracts/staking_contract/src/staking.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> contracts/staking_contract/src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STATE` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{STATE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BankMsg`, `Coin`, `QueryRequest`, `Uint128`, `WasmMsg`, `WasmQuery`, `attr`, `to_binary` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, BankMsg, Coin, CosmosMsg, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] 5 | MessageInfo, Response, StdError, WasmMsg, Uint128, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | WasmQuery, QueryRequest, attr [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccruedRewardsResponse`, `QueryRewards`, `RewardClaim` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{ExecuteMsg, RewardClaim, QueryRewards, AccruedRewardsResponse}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bjuno_exchange_rate`, `redelegate_msg`, `sejuno_exchange_rate` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::staking::{redelegate_msg, sejuno_exchange_rate, bjuno_exchange_rate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deposit::calc_bjuno_reward` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::deposit::calc_bjuno_reward; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `juno_amount` is never read [INFO] [stdout] --> contracts/staking_contract/src/withdraw.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut juno_amount:u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_on_chain` [INFO] [stdout] --> contracts/staking_contract/src/query.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let total_on_chain = get_total_onchain_balance(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_on_chain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/staking_contract/src/types/validator_set.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut val = self.validators.front_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut messages: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / match msg { [INFO] [stdout] 32 | | ExecuteMsg::ChangeDevFee { [INFO] [stdout] 33 | | dev_fee, [INFO] [stdout] 34 | | dev_address, [INFO] [stdout] ... | [INFO] [stdout] 108 | | ))), [INFO] [stdout] 109 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = match msg { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.01s [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" "31209b45af4838cf37fd9ffa0ad005e3071cf85ef872c8c1e47b43a253c2e35c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31209b45af4838cf37fd9ffa0ad005e3071cf85ef872c8c1e47b43a253c2e35c", kill_on_drop: false }` [INFO] [stdout] 31209b45af4838cf37fd9ffa0ad005e3071cf85ef872c8c1e47b43a253c2e35c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e9535ed66d3702b8e7531a3b60bb557e5bf60316527cb45fe5c46b13716bcc2 [INFO] running `Command { std: "docker" "start" "-a" "5e9535ed66d3702b8e7531a3b60bb557e5bf60316527cb45fe5c46b13716bcc2", kill_on_drop: false }` [INFO] [stderr] warning: output filename collision. [INFO] [stderr] The example target `schema` in package `cw20 v0.13.2 (/opt/rustwide/workdir/packages/cw20)` has the same output filename as the example target `schema` in package `bjuno-token v0.13.2 (/opt/rustwide/workdir/contracts/bjuno_token)`. [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 `cw20 v0.13.2 (/opt/rustwide/workdir/packages/cw20)` has the same output filename as the example target `schema` in package `bjuno-token v0.13.2 (/opt/rustwide/workdir/contracts/bjuno_token)`. [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 `reward-contract v0.1.0 (/opt/rustwide/workdir/contracts/rewards_contract)` has the same output filename as the example target `schema` in package `cw20 v0.13.2 (/opt/rustwide/workdir/packages/cw20)`. [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 `reward-contract v0.1.0 (/opt/rustwide/workdir/contracts/rewards_contract)` has the same output filename as the example target `schema` in package `cw20 v0.13.2 (/opt/rustwide/workdir/packages/cw20)`. [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 `sejuno-token v0.13.2 (/opt/rustwide/workdir/contracts/sejuno_token)` has the same output filename as the example target `schema` in package `reward-contract v0.1.0 (/opt/rustwide/workdir/contracts/rewards_contract)`. [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 `sejuno-token v0.13.2 (/opt/rustwide/workdir/contracts/sejuno_token)` has the same output filename as the example target `schema` in package `reward-contract v0.1.0 (/opt/rustwide/workdir/contracts/rewards_contract)`. [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 `staking-contract v0.1.3 (/opt/rustwide/workdir/contracts/staking_contract)` has the same output filename as the example target `schema` in package `sejuno-token v0.13.2 (/opt/rustwide/workdir/contracts/sejuno_token)`. [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 `staking-contract v0.1.3 (/opt/rustwide/workdir/contracts/staking_contract)` has the same output filename as the example target `schema` in package `sejuno-token v0.13.2 (/opt/rustwide/workdir/contracts/sejuno_token)`. [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 lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0-beta8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> contracts/staking_contract/src/contract.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | GovMsg, WasmMsg, to_binary, Addr, Coin, BankMsg, Order [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/staking_contract/src/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Env`, `MessageInfo`, `Response` [INFO] [stdout] --> contracts/staking_contract/src/staking.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | StdError, StdResult, Storage, Uint128, DepsMut, Env, MessageInfo, Response [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ContractError` [INFO] [stdout] --> contracts/staking_contract/src/staking.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> contracts/staking_contract/src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STATE` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{STATE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BankMsg`, `Coin`, `QueryRequest`, `Uint128`, `WasmMsg`, `WasmQuery`, `attr`, `to_binary` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, BankMsg, Coin, CosmosMsg, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] 5 | MessageInfo, Response, StdError, WasmMsg, Uint128, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | WasmQuery, QueryRequest, attr [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccruedRewardsResponse`, `QueryRewards`, `RewardClaim` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{ExecuteMsg, RewardClaim, QueryRewards, AccruedRewardsResponse}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bjuno_exchange_rate`, `redelegate_msg`, `sejuno_exchange_rate` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::staking::{redelegate_msg, sejuno_exchange_rate, bjuno_exchange_rate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deposit::calc_bjuno_reward` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::deposit::calc_bjuno_reward; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `juno_amount` is never read [INFO] [stdout] --> contracts/staking_contract/src/withdraw.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut juno_amount:u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_on_chain` [INFO] [stdout] --> contracts/staking_contract/src/query.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let total_on_chain = get_total_onchain_balance(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_on_chain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/staking_contract/src/types/validator_set.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut val = self.validators.front_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut messages: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / match msg { [INFO] [stdout] 32 | | ExecuteMsg::ChangeDevFee { [INFO] [stdout] 33 | | dev_fee, [INFO] [stdout] 34 | | dev_address, [INFO] [stdout] ... | [INFO] [stdout] 108 | | ))), [INFO] [stdout] 109 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = match msg { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/bjuno_token/src/allowances.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/bjuno_token/src/allowances.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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/bjuno_token/src/contract.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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/bjuno_token/src/contract.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | 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/bjuno_token/src/contract.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | 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/bjuno_token/src/contract.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | 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/bjuno_token/src/contract.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | 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/bjuno_token/src/contract.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/bjuno_token/src/contract.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | 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/bjuno_token/src/contract.rs:572:26 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/sejuno_token/src/allowances.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/sejuno_token/src/allowances.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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/sejuno_token/src/contract.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | 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/sejuno_token/src/contract.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | 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/sejuno_token/src/contract.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | 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/sejuno_token/src/contract.rs:298:5 [INFO] [stdout] | [INFO] [stdout] 298 | 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/sejuno_token/src/contract.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | 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/sejuno_token/src/contract.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | 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/sejuno_token/src/contract.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | 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/sejuno_token/src/contract.rs:469:26 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn query(deps: Deps, env: Env, msg: QueryMsg) -> StdResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sejuno-token v0.13.2 (/opt/rustwide/workdir/contracts/sejuno_token) [INFO] [stderr] Compiling bjuno-token v0.13.2 (/opt/rustwide/workdir/contracts/bjuno_token) [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling reward-contract v0.1.0 (/opt/rustwide/workdir/contracts/rewards_contract) [INFO] [stderr] Compiling staking-contract v0.1.3 (/opt/rustwide/workdir/contracts/staking_contract) [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cw20 v0.13.2 (/opt/rustwide/workdir/packages/cw20) [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> contracts/bjuno_token/src/allowances.rs:308:65 [INFO] [stdout] | [INFO] [stdout] 308 | use cosmwasm_std::testing::{mock_dependencies_with_balance, mockenv, mock_info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> contracts/bjuno_token/src/contract.rs:646:60 [INFO] [stdout] | [INFO] [stdout] 646 | mock_dependencies, mock_dependencies_with_balance, mockenv, mock_info, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> contracts/bjuno_token/src/enumerable.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | use cosmwasm_std::testing::{mock_dependencies_with_balance, mockenv, mock_info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::contract::tests::marketing::mockenv` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> contracts/sejuno_token/src/allowances.rs:246:65 [INFO] [stdout] | [INFO] [stdout] 246 | use cosmwasm_std::testing::{mock_dependencies_with_balance, mockenv, mock_info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> contracts/sejuno_token/src/contract.rs:543:60 [INFO] [stdout] | [INFO] [stdout] 543 | mock_dependencies, mock_dependencies_with_balance, mockenv, mock_info, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> contracts/sejuno_token/src/enumerable.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | use cosmwasm_std::testing::{mock_dependencies_with_balance, mockenv, mock_info}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::contract::tests::marketing::mockenv` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cw-controllers v0.13.2 (/opt/rustwide/workdir/packages/controllers) [INFO] [stderr] Compiling cw2 v0.13.2 (/opt/rustwide/workdir/packages/cw2) [INFO] [stdout] error[E0432]: unresolved import `cosmwasm_std::testing::mockenv` [INFO] [stdout] --> packages/controllers/src/claim.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | testing::{mock_dependencies, mockenv}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `mockenv` in `testing` [INFO] [stdout] | help: a similar name exists in the module: `mock_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sejuno-token` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cw-controllers` (lib test) due to 2 previous errors [INFO] [stderr] error: could not compile `bjuno-token` (lib test) due to 4 previous errors [INFO] [stdout] warning: unused import: `Addr` [INFO] [stdout] --> contracts/staking_contract/src/contract.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | GovMsg, WasmMsg, to_binary, Addr, Coin, BankMsg, Order [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/staking_contract/src/contract.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Env`, `MessageInfo`, `Response` [INFO] [stdout] --> contracts/staking_contract/src/staking.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | StdError, StdResult, Storage, Uint128, DepsMut, Env, MessageInfo, Response [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ContractError` [INFO] [stdout] --> contracts/staking_contract/src/staking.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ContractError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> contracts/staking_contract/src/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `STATE` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::{STATE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BankMsg`, `Coin`, `QueryRequest`, `Uint128`, `WasmMsg`, `WasmQuery`, `attr`, `to_binary` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, BankMsg, Coin, CosmosMsg, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] 5 | MessageInfo, Response, StdError, WasmMsg, Uint128, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 6 | WasmQuery, QueryRequest, attr [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cw20::Cw20ExecuteMsg` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use cw20::Cw20ExecuteMsg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccruedRewardsResponse`, `QueryRewards`, `RewardClaim` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::msg::{ExecuteMsg, RewardClaim, QueryRewards, AccruedRewardsResponse}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bjuno_exchange_rate`, `redelegate_msg`, `sejuno_exchange_rate` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::staking::{redelegate_msg, sejuno_exchange_rate, bjuno_exchange_rate}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::deposit::calc_bjuno_reward` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::deposit::calc_bjuno_reward; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `juno_amount` is never read [INFO] [stdout] --> contracts/staking_contract/src/withdraw.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let mut juno_amount:u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_on_chain` [INFO] [stdout] --> contracts/staking_contract/src/query.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let total_on_chain = get_total_onchain_balance(deps.storage)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_on_chain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/staking_contract/src/types/validator_set.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut val = self.validators.front_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut messages: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> contracts/staking_contract/src/admin.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / match msg { [INFO] [stdout] 32 | | ExecuteMsg::ChangeDevFee { [INFO] [stdout] 33 | | dev_fee, [INFO] [stdout] 34 | | dev_address, [INFO] [stdout] ... | [INFO] [stdout] 108 | | ))), [INFO] [stdout] 109 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = match msg { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e9535ed66d3702b8e7531a3b60bb557e5bf60316527cb45fe5c46b13716bcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9535ed66d3702b8e7531a3b60bb557e5bf60316527cb45fe5c46b13716bcc2", kill_on_drop: false }` [INFO] [stdout] 5e9535ed66d3702b8e7531a3b60bb557e5bf60316527cb45fe5c46b13716bcc2