[INFO] cloning repository https://github.com/humanbright/BananaMinerContract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/humanbright/BananaMinerContract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumanbright%2FBananaMinerContract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumanbright%2FBananaMinerContract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54c5c7f962bf9857d5f92a756397334d457e1196 [INFO] testing humanbright/BananaMinerContract against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumanbright%2FBananaMinerContract" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/humanbright/BananaMinerContract [INFO] finished tweaking git repo https://github.com/humanbright/BananaMinerContract [INFO] tweaked toml for git repo https://github.com/humanbright/BananaMinerContract written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/humanbright/BananaMinerContract on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/humanbright/BananaMinerContract 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a96ba4417d059fa09cb18b2c7f92fb4c6adc89c6c6d338574fb07216126d4558 [INFO] running `Command { std: "docker" "start" "-a" "a96ba4417d059fa09cb18b2c7f92fb4c6adc89c6c6d338574fb07216126d4558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a96ba4417d059fa09cb18b2c7f92fb4c6adc89c6c6d338574fb07216126d4558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96ba4417d059fa09cb18b2c7f92fb4c6adc89c6c6d338574fb07216126d4558", kill_on_drop: false }` [INFO] [stdout] a96ba4417d059fa09cb18b2c7f92fb4c6adc89c6c6d338574fb07216126d4558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a133cc464475a055f046fd7e9570fed6fd719ce060a58261023458a0f7ddf83 [INFO] running `Command { std: "docker" "start" "-a" "2a133cc464475a055f046fd7e9570fed6fd719ce060a58261023458a0f7ddf83", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling cosmwasm-derive v1.5.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.8 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.5.8 [INFO] [stderr] Compiling cosmwasm-std v1.5.8 [INFO] [stderr] Compiling cosmwasm-schema v1.5.8 [INFO] [stderr] Compiling cw-storage-plus v1.2.0 [INFO] [stderr] Compiling cw2 v1.1.2 [INFO] [stderr] Compiling cw-utils v1.0.3 [INFO] [stderr] Compiling cw20 v1.1.2 [INFO] [stderr] Compiling cw-controllers v1.1.2 [INFO] [stderr] Compiling cw20-base v1.1.2 [INFO] [stderr] Compiling banana-miner v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Addr, Binary, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | to_binary(&query_staking(deps, address)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:369:35 [INFO] [stdout] | [INFO] [stdout] 369 | QueryMsg::TokenInfo {} => to_binary(&query_token_info(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:370:42 [INFO] [stdout] | [INFO] [stdout] 370 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | to_binary(&query_allowance(deps, owner, spender)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `cw20_base::ContractError::InvalidZeroAmount`: Unused. All zero amount checks have been removed [INFO] [stdout] --> src/error.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | cw20_base::ContractError::InvalidZeroAmount {} => ContractError::InvalidZeroAmount {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | STAKING_STATE.save(deps.storage, sender.clone(), &staking); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = STAKING_STATE.save(deps.storage, sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | REFERRAL_STATE.save(deps.storage, info.sender.clone(), &referral); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 301 | let _ = REFERRAL_STATE.save(deps.storage, info.sender.clone(), &referral); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | CONFIG.save(deps.storage, &config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 309 | let _ = CONFIG.save(deps.storage, &config); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.10s [INFO] running `Command { std: "docker" "inspect" "2a133cc464475a055f046fd7e9570fed6fd719ce060a58261023458a0f7ddf83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a133cc464475a055f046fd7e9570fed6fd719ce060a58261023458a0f7ddf83", kill_on_drop: false }` [INFO] [stdout] 2a133cc464475a055f046fd7e9570fed6fd719ce060a58261023458a0f7ddf83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43a65a3727e44d9ed0143aeb626a89b7d03a00e912829d1a0b570743a86daa43 [INFO] running `Command { std: "docker" "start" "-a" "43a65a3727e44d9ed0143aeb626a89b7d03a00e912829d1a0b570743a86daa43", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Addr, Binary, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | to_binary(&query_staking(deps, address)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:369:35 [INFO] [stdout] | [INFO] [stdout] 369 | QueryMsg::TokenInfo {} => to_binary(&query_token_info(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:370:42 [INFO] [stdout] | [INFO] [stdout] 370 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | to_binary(&query_allowance(deps, owner, spender)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `cw20_base::ContractError::InvalidZeroAmount`: Unused. All zero amount checks have been removed [INFO] [stdout] --> src/error.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | cw20_base::ContractError::InvalidZeroAmount {} => ContractError::InvalidZeroAmount {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | STAKING_STATE.save(deps.storage, sender.clone(), &staking); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = STAKING_STATE.save(deps.storage, sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling banana-miner v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | REFERRAL_STATE.save(deps.storage, info.sender.clone(), &referral); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 301 | let _ = REFERRAL_STATE.save(deps.storage, info.sender.clone(), &referral); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | CONFIG.save(deps.storage, &config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 309 | let _ = CONFIG.save(deps.storage, &config); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cw20_staking` [INFO] [stdout] --> examples/schema.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cw20_staking::msg::{ClaimsResponse, ExecuteMsg, InstantiateMsg, InvestmentResponse, QueryMsg}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `cw20_staking` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cw20_staking`, use `cargo add cw20_staking` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `banana-miner` (example "schema") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | to_binary, Addr, Binary, Deps, DepsMut, Env, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:363:32 [INFO] [stdout] | [INFO] [stdout] 363 | QueryMsg::Config {} => to_binary(&query_config(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | to_binary(&query_staking(deps, address)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:369:35 [INFO] [stdout] | [INFO] [stdout] 369 | QueryMsg::TokenInfo {} => to_binary(&query_token_info(deps)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:370:42 [INFO] [stdout] | [INFO] [stdout] 370 | QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead [INFO] [stdout] --> src/contract.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | to_binary(&query_allowance(deps, owner, spender)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `cw20_base::ContractError::InvalidZeroAmount`: Unused. All zero amount checks have been removed [INFO] [stdout] --> src/error.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | cw20_base::ContractError::InvalidZeroAmount {} => ContractError::InvalidZeroAmount {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | STAKING_STATE.save(deps.storage, sender.clone(), &staking); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = STAKING_STATE.save(deps.storage, sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 290 | let _ = STAKING_STATE.save(deps.storage, info.sender.clone(), &staking); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | REFERRAL_STATE.save(deps.storage, info.sender.clone(), &referral); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 301 | let _ = REFERRAL_STATE.save(deps.storage, info.sender.clone(), &referral); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/contract.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | CONFIG.save(deps.storage, &config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 309 | let _ = CONFIG.save(deps.storage, &config); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "43a65a3727e44d9ed0143aeb626a89b7d03a00e912829d1a0b570743a86daa43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a65a3727e44d9ed0143aeb626a89b7d03a00e912829d1a0b570743a86daa43", kill_on_drop: false }` [INFO] [stdout] 43a65a3727e44d9ed0143aeb626a89b7d03a00e912829d1a0b570743a86daa43