[INFO] cloning repository https://github.com/bbroeking/terra-hackathon-homework
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bbroeking/terra-hackathon-homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbbroeking%2Fterra-hackathon-homework", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbbroeking%2Fterra-hackathon-homework'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8d59fe810026c2af73aa69ae279e22e92088363
[INFO] testing bbroeking/terra-hackathon-homework against beta-2023-10-04 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbbroeking%2Fterra-hackathon-homework" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bbroeking/terra-hackathon-homework on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bbroeking/terra-hackathon-homework
[INFO] finished tweaking git repo https://github.com/bbroeking/terra-hackathon-homework
[INFO] tweaked toml for git repo https://github.com/bbroeking/terra-hackathon-homework written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bbroeking/terra-hackathon-homework 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" "+beta-2023-10-04" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a9aab9c722ecfd028575b42993caefadc9a7f6d16ed6b2ef2439c841ad3c3556
[INFO] running `Command { std: "docker" "start" "-a" "a9aab9c722ecfd028575b42993caefadc9a7f6d16ed6b2ef2439c841ad3c3556", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a9aab9c722ecfd028575b42993caefadc9a7f6d16ed6b2ef2439c841ad3c3556", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9aab9c722ecfd028575b42993caefadc9a7f6d16ed6b2ef2439c841ad3c3556", kill_on_drop: false }`
[INFO] [stdout] a9aab9c722ecfd028575b42993caefadc9a7f6d16ed6b2ef2439c841ad3c3556
[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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8d5b3444f6ffb93baac2a5a4572b35e0edfdf7f88b4e7ea5ba21ab5bdcf1483
[INFO] running `Command { std: "docker" "start" "-a" "f8d5b3444f6ffb93baac2a5a4572b35e0edfdf7f88b4e7ea5ba21ab5bdcf1483", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling const-oid v0.6.2
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling zeroize v1.4.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling schemars v0.8.8
[INFO] [stderr]    Compiling der v0.4.5
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling dyn-clone v1.0.5
[INFO] [stderr]    Compiling forward_ref v1.0.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling spki v0.4.1
[INFO] [stderr]    Compiling pkcs8 v0.7.6
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling getrandom v0.2.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 crypto-mac v0.11.1
[INFO] [stderr]    Compiling crypto-bigint v0.2.11
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling signature v1.3.2
[INFO] [stderr]    Compiling curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling elliptic-curve v0.10.6
[INFO] [stderr]    Compiling ecdsa v0.12.4
[INFO] [stderr]    Compiling k256 v0.9.6
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling schemars_derive v0.8.8
[INFO] [stderr]    Compiling cosmwasm-derive v0.16.7
[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.7
[INFO] [stderr]    Compiling cosmwasm-std v0.16.7
[INFO] [stderr]    Compiling cw-storage-plus v0.8.1
[INFO] [stderr]    Compiling cw0 v0.8.1
[INFO] [stderr]    Compiling cosmwasm-storage v0.16.7
[INFO] [stderr]    Compiling cw0 v0.9.1
[INFO] [stderr]    Compiling terra-cosmwasm v2.2.0
[INFO] [stderr]    Compiling cw20 v0.9.1
[INFO] [stderr]    Compiling cw20 v0.8.1
[INFO] [stderr]    Compiling cw2 v0.8.1
[INFO] [stderr]    Compiling cw-asset v0.3.5
[INFO] [stderr]    Compiling shared v1.0.0 (/opt/rustwide/workdir/packages/shared)
[INFO] [stderr]    Compiling cw20-base v0.8.1
[INFO] [stderr]    Compiling oracle v0.1.0 (/opt/rustwide/workdir/contracts/oracle)
[INFO] [stderr]    Compiling swap v0.1.0 (/opt/rustwide/workdir/contracts/swap)
[INFO] [stderr]    Compiling swap2 v0.1.0 (/opt/rustwide/workdir/contracts/swap2)
[INFO] [stderr]    Compiling counter v0.1.0 (/opt/rustwide/workdir/contracts/counter)
[INFO] [stdout] warning: unused import: `ContractInfo`
[INFO] [stdout]  --> contracts/swap/src/contract.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     to_binary, BankMsg, Binary, Coin, ContractInfo, CosmosMsg, Deps, DepsMut, Empty, Env,
[INFO] [stdout]   |                                       ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BalanceResponse`, `Cw20ReceiveMsg`
[INFO] [stdout]  --> contracts/swap/src/contract.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cw20::{BalanceResponse, Cw20ReceiveMsg};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg`
[INFO] [stdout]  --> contracts/swap/src/msg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cw20::Cw20ReceiveMsg;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:49:36
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ExecuteMsg::WithdrawSome { amount } => execute_withdraw_some(deps, env, info)
[INFO] [stdout]    |                                    ^^^^^^ help: try ignoring the field: `amount: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:45
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:55
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn execute_buy(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap/src/contract.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     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/swap2/src/contract.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap2/src/contract.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     env: Env,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 |     amount: u64,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     amount: u64,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     deps: DepsMut,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     env: Env,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 203 |     amount: Uint128,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cw20-legacy v0.2.0
[INFO] [stderr]    Compiling cw20_token v0.0.0 (/opt/rustwide/workdir/contracts/cw20_token)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.95s
[INFO] running `Command { std: "docker" "inspect" "f8d5b3444f6ffb93baac2a5a4572b35e0edfdf7f88b4e7ea5ba21ab5bdcf1483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8d5b3444f6ffb93baac2a5a4572b35e0edfdf7f88b4e7ea5ba21ab5bdcf1483", kill_on_drop: false }`
[INFO] [stdout] f8d5b3444f6ffb93baac2a5a4572b35e0edfdf7f88b4e7ea5ba21ab5bdcf1483
[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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 228ddd1cacd8ed0a19939eaf21229bf83a52492765220bbe3c888a2fbacbae98
[INFO] running `Command { std: "docker" "start" "-a" "228ddd1cacd8ed0a19939eaf21229bf83a52492765220bbe3c888a2fbacbae98", kill_on_drop: false }`
[INFO] [stderr]    Compiling cosmwasm-schema v0.16.7
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> contracts/swap2/src/contract.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap2/src/contract.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     env: Env,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 |     amount: u64,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     amount: u64,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     deps: DepsMut,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     env: Env,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 203 |     amount: Uint128,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ContractInfo`
[INFO] [stdout]  --> contracts/swap/src/contract.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     to_binary, BankMsg, Binary, Coin, ContractInfo, CosmosMsg, Deps, DepsMut, Empty, Env,
[INFO] [stdout]   |                                       ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BalanceResponse`, `Cw20ReceiveMsg`
[INFO] [stdout]  --> contracts/swap/src/contract.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cw20::{BalanceResponse, Cw20ReceiveMsg};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg`
[INFO] [stdout]  --> contracts/swap/src/msg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cw20::Cw20ReceiveMsg;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:49:36
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ExecuteMsg::WithdrawSome { amount } => execute_withdraw_some(deps, env, info)
[INFO] [stdout]    |                                    ^^^^^^ help: try ignoring the field: `amount: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:45
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:55
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn execute_buy(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap/src/contract.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling oracle v0.1.0 (/opt/rustwide/workdir/contracts/oracle)
[INFO] [stderr]    Compiling shared v1.0.0 (/opt/rustwide/workdir/packages/shared)
[INFO] [stderr]    Compiling swap2 v0.1.0 (/opt/rustwide/workdir/contracts/swap2)
[INFO] [stderr]    Compiling swap v0.1.0 (/opt/rustwide/workdir/contracts/swap)
[INFO] [stderr]    Compiling cw20_token v0.0.0 (/opt/rustwide/workdir/contracts/cw20_token)
[INFO] [stderr]    Compiling counter v0.1.0 (/opt/rustwide/workdir/contracts/counter)
[INFO] [stdout] warning: unused import: `ContractInfo`
[INFO] [stdout]  --> contracts/swap/src/contract.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 |     to_binary, BankMsg, Binary, Coin, ContractInfo, CosmosMsg, Deps, DepsMut, Empty, Env,
[INFO] [stdout]   |                                       ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BalanceResponse`, `Cw20ReceiveMsg`
[INFO] [stdout]  --> contracts/swap/src/contract.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use cw20::{BalanceResponse, Cw20ReceiveMsg};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> contracts/swap/src/contract.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info`
[INFO] [stdout]    --> contracts/swap/src/contract.rs:174:33
[INFO] [stdout]     |
[INFO] [stdout] 174 |     use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info};
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Addr`, `coins`
[INFO] [stdout]    --> contracts/swap/src/contract.rs:175:24
[INFO] [stdout]     |
[INFO] [stdout] 175 |     use cosmwasm_std::{coins, Addr};
[INFO] [stdout]     |                        ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cw20::Cw20ReceiveMsg`
[INFO] [stdout]  --> contracts/swap/src/msg.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cw20::Cw20ReceiveMsg;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:49:36
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ExecuteMsg::WithdrawSome { amount } => execute_withdraw_some(deps, env, info)
[INFO] [stdout]    |                                    ^^^^^^ help: try ignoring the field: `amount: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:45
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:54:55
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap/src/contract.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn execute_buy(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap/src/contract.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     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/swap2/src/contract.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     info: MessageInfo,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> contracts/swap2/src/contract.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |     env: Env,
[INFO] [stdout]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:125:5
[INFO] [stdout]     |
[INFO] [stdout] 125 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout] 126 |     amount: u64,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 |     amount: u64,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deps`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:181:5
[INFO] [stdout]     |
[INFO] [stdout] 181 |     deps: DepsMut,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 182 |     env: Env,
[INFO] [stdout]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     info: MessageInfo,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `amount`
[INFO] [stdout]    --> contracts/swap2/src/contract.rs:203:5
[INFO] [stdout]     |
[INFO] [stdout] 203 |     amount: Uint128,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.12s
[INFO] running `Command { std: "docker" "inspect" "228ddd1cacd8ed0a19939eaf21229bf83a52492765220bbe3c888a2fbacbae98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "228ddd1cacd8ed0a19939eaf21229bf83a52492765220bbe3c888a2fbacbae98", kill_on_drop: false }`
[INFO] [stdout] 228ddd1cacd8ed0a19939eaf21229bf83a52492765220bbe3c888a2fbacbae98
[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=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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 04c92913246a79150fc03606baa201794809717c1d4fe3a2bc4f247985dae455
[INFO] running `Command { std: "docker" "start" "-a" "04c92913246a79150fc03606baa201794809717c1d4fe3a2bc4f247985dae455", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] warning: unused variable: `info`
[INFO] [stderr]   --> contracts/swap2/src/contract.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     info: MessageInfo,
[INFO] [stderr]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `env`
[INFO] [stderr]   --> contracts/swap2/src/contract.rs:85:5
[INFO] [stderr]    |
[INFO] [stderr] 85 |     env: Env,
[INFO] [stderr]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `info`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:125:5
[INFO] [stderr]     |
[INFO] [stderr] 125 |     info: MessageInfo,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:126:5
[INFO] [stderr]     |
[INFO] [stderr] 126 |     amount: u64,
[INFO] [stderr]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `info`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:162:5
[INFO] [stderr]     |
[INFO] [stderr] 162 |     info: MessageInfo,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:163:5
[INFO] [stderr]     |
[INFO] [stderr] 163 |     amount: u64,
[INFO] [stderr]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `deps`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:181:5
[INFO] [stderr]     |
[INFO] [stderr] 181 |     deps: DepsMut,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `env`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:182:5
[INFO] [stderr]     |
[INFO] [stderr] 182 |     env: Env,
[INFO] [stderr]     |     ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `info`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:202:5
[INFO] [stderr]     |
[INFO] [stderr] 202 |     info: MessageInfo,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]    --> contracts/swap2/src/contract.rs:203:5
[INFO] [stderr]     |
[INFO] [stderr] 203 |     amount: Uint128,
[INFO] [stderr]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount`
[INFO] [stderr] 
[INFO] [stderr] warning: `swap2` (lib) generated 10 warnings (run `cargo fix --lib -p swap2` to apply 10 suggestions)
[INFO] [stderr] warning: `swap2` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr] warning: unused import: `ContractInfo`
[INFO] [stderr]  --> contracts/swap/src/contract.rs:4:39
[INFO] [stderr]   |
[INFO] [stderr] 4 |     to_binary, BankMsg, Binary, Coin, ContractInfo, CosmosMsg, Deps, DepsMut, Empty, Env,
[INFO] [stderr]   |                                       ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BalanceResponse`, `Cw20ReceiveMsg`
[INFO] [stderr]  --> contracts/swap/src/contract.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | use cw20::{BalanceResponse, Cw20ReceiveMsg};
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `cw20::Cw20ReceiveMsg`
[INFO] [stderr]  --> contracts/swap/src/msg.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use cw20::Cw20ReceiveMsg;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `amount`
[INFO] [stderr]   --> contracts/swap/src/contract.rs:49:36
[INFO] [stderr]    |
[INFO] [stderr] 49 |         ExecuteMsg::WithdrawSome { amount } => execute_withdraw_some(deps, env, info)
[INFO] [stderr]    |                                    ^^^^^^ help: try ignoring the field: `amount: _`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `deps`
[INFO] [stderr]   --> contracts/swap/src/contract.rs:54:30
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stderr]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_deps`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `env`
[INFO] [stderr]   --> contracts/swap/src/contract.rs:54:45
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stderr]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `info`
[INFO] [stderr]   --> contracts/swap/src/contract.rs:54:55
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub fn execute_withdraw_some(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stderr]    |                                                       ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `env`
[INFO] [stderr]   --> contracts/swap/src/contract.rs:66:35
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub fn execute_buy(deps: DepsMut, env: Env, info: MessageInfo) -> Result<Response, ContractError> {
[INFO] [stderr]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `info`
[INFO] [stderr]    --> contracts/swap/src/contract.rs:138:5
[INFO] [stderr]     |
[INFO] [stderr] 138 |     info: MessageInfo,
[INFO] [stderr]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]    --> contracts/swap/src/contract.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |     use super::*;
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `mock_dependencies`, `mock_env`, `mock_info`
[INFO] [stderr]    --> contracts/swap/src/contract.rs:174:33
[INFO] [stderr]     |
[INFO] [stderr] 174 |     use cosmwasm_std::testing::{mock_dependencies, mock_env, mock_info};
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Addr`, `coins`
[INFO] [stderr]    --> contracts/swap/src/contract.rs:175:24
[INFO] [stderr]     |
[INFO] [stderr] 175 |     use cosmwasm_std::{coins, Addr};
[INFO] [stderr]     |                        ^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `swap` (lib) generated 9 warnings (run `cargo fix --lib -p swap` to apply 9 suggestions)
[INFO] [stderr] warning: `swap` (lib test) generated 12 warnings (9 duplicates) (run `cargo fix --lib -p swap --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.64s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/counter-3500a8755dbcf75c)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test contract::tests::proper_initialization ... ok
[INFO] [stdout] test contract::tests::increment ... ok
[INFO] [stdout] test contract::tests::reset ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 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/cw20_token-9aa6b50d3252c3b9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oracle-b63d1cda4bc696a6)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test contract::tests::proper_initialization ... ok
[INFO] [stdout] test contract::tests::update_price ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 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/shared-8e0eca173bbb12f5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swap-a888ca075f3b8f73)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test contract::tests::proper_initialization ... 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/swap2-647ca25293b39c7e)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test contract::tests::proper_initialization ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- contract::tests::proper_initialization stdout ----
[INFO] [stdout] thread 'contract::tests::proper_initialization' panicked at contracts/swap2/src/contract.rs:253:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 1
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56459180ed4c - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x56459180ed4c - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x56459180ed4c - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x56459180ed4c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x564591838c9c - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x564591838c9c - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x56459180c07e - std::io::Write::write_fmt::hcfdabc06f3bbacfb
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x56459180eb34 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x56459180eb34 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5645918108f3 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x564591810597 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x56459171c23c - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h16c22045506fc2d3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x56459171c23c - test::test_main::{{closure}}::hd8d5b5bb0900d116
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x564591810ff1 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2d4fa3dcc7099287
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x564591810ff1 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13
[INFO] [stdout]   15:     0x564591810d71 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13
[INFO] [stdout]   16:     0x56459180f276 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x564591810ac2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   18:     0x5645916cc565 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5645916cc97b - core::panicking::assert_failed_inner::h2764bbb56f9308bd
[INFO] [stdout]   20:     0x56459176497e - core::panicking::assert_failed::h0876b9f7599f7b52
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:270:5
[INFO] [stdout]   21:     0x5645916db1ae - swap2::contract::tests::proper_initialization::h68968ab4b869dbef
[INFO] [stdout]                                at /opt/rustwide/workdir/contracts/swap2/src/contract.rs:253:9
[INFO] [stdout]   22:     0x5645916dae47 - swap2::contract::tests::proper_initialization::{{closure}}::he3b7e7fef375b4a4
[INFO] [stdout]                                at /opt/rustwide/workdir/contracts/swap2/src/contract.rs:243:32
[INFO] [stdout]   23:     0x5645916d42b6 - core::ops::function::FnOnce::call_once::h04deeaa818a52388
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5645917212cf - core::ops::function::FnOnce::call_once::h643f2128867058a3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5645917212cf - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x56459172035e - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x56459172035e - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x56459172035e - std::panicking::try::do_call::hc2952fe5005bc351
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   29:     0x56459172035e - std::panicking::try::hac512ea76b947046
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   30:     0x56459172035e - std::panic::catch_unwind::h11d3922f3ba31e4b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x56459172035e - test::run_test_in_process::h25ad0551c6887d56
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x56459172035e - test::run_test::{{closure}}::h52dd364f39118330
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x5645916e92b3 - test::run_test::{{closure}}::ha452ffb46088765b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x5645916e92b3 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x5645916ee4eb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x5645916ee4eb - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x5645916ee4eb - std::panicking::try::do_call::hd7199cb78d8df0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   38:     0x5645916ee4eb - std::panicking::try::hed28d716c8fe6b32
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   39:     0x5645916ee4eb - std::panic::catch_unwind::h8ab888e8615782f1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x5645916ee4eb - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x5645916ee4eb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x564591815605 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9281b5fb2305c571
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x564591815605 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hae9cb5d464ed2f06
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x564591815605 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f045a1f3b43 - <unknown>
[INFO] [stdout]   46:     0x7f045a284bb4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     contract::tests::proper_initialization
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p swap2 --lib`
[INFO] running `Command { std: "docker" "inspect" "04c92913246a79150fc03606baa201794809717c1d4fe3a2bc4f247985dae455", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04c92913246a79150fc03606baa201794809717c1d4fe3a2bc4f247985dae455", kill_on_drop: false }`
[INFO] [stdout] 04c92913246a79150fc03606baa201794809717c1d4fe3a2bc4f247985dae455
