[INFO] cloning repository https://github.com/Suelt/avalon-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Suelt/avalon-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuelt%2Favalon-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuelt%2Favalon-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 949912601779a1c881f071d14c853c1184dca1b0 [INFO] building Suelt/avalon-proxy against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuelt%2Favalon-proxy" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Suelt/avalon-proxy [INFO] finished tweaking git repo https://github.com/Suelt/avalon-proxy [INFO] tweaked toml for git repo https://github.com/Suelt/avalon-proxy written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Suelt/avalon-proxy on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Suelt/avalon-proxy 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive_internals v0.26.0 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded dyn-clone v1.0.5 [INFO] [stderr] Downloaded ripemd v0.1.2 [INFO] [stderr] Downloaded cosmwasm-derive v1.5.3 [INFO] [stderr] Downloaded cw2 v0.13.4 [INFO] [stderr] Downloaded cosmwasm-schema-derive v1.5.3 [INFO] [stderr] Downloaded forward_ref v1.0.0 [INFO] [stderr] Downloaded cosmwasm-storage v1.0.0 [INFO] [stderr] Downloaded cosmwasm-schema v1.5.3 [INFO] [stderr] Downloaded base64ct v1.5.0 [INFO] [stderr] Downloaded ed25519-zebra v3.0.0 [INFO] [stderr] Downloaded cw-storage-plus v0.13.4 [INFO] [stderr] Downloaded bnum v0.10.0 [INFO] [stderr] Downloaded schemars v0.8.16 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded cosmwasm-crypto v1.5.3 [INFO] [stderr] Downloaded serde_json v1.0.83 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded serde-json-wasm v0.5.2 [INFO] [stderr] Downloaded schemars_derive v0.8.16 [INFO] [stderr] Downloaded cosmwasm-std v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ca788d7dea32561ee085d6738afa6cc39c117609a9899f6f85d07804ed5944 [INFO] running `Command { std: "docker" "start" "-a" "52ca788d7dea32561ee085d6738afa6cc39c117609a9899f6f85d07804ed5944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ca788d7dea32561ee085d6738afa6cc39c117609a9899f6f85d07804ed5944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ca788d7dea32561ee085d6738afa6cc39c117609a9899f6f85d07804ed5944", kill_on_drop: false }` [INFO] [stdout] 52ca788d7dea32561ee085d6738afa6cc39c117609a9899f6f85d07804ed5944 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 068aa126a583ae8fb43838fc96bda82afb7eb726ba90e34a57ccb195f234f803 [INFO] running `Command { std: "docker" "start" "-a" "068aa126a583ae8fb43838fc96bda82afb7eb726ba90e34a57ccb195f234f803", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling dyn-clone v1.0.5 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling cosmwasm-std v1.5.3 [INFO] [stderr] Compiling cw-storage-plus v0.13.4 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0 [INFO] [stderr] Compiling cw2 v0.13.4 [INFO] [stderr] Compiling avalon-proxy v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Storage`, `Timestamp`, and `to_binary` [INFO] [stdout] --> src/contract.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | ...t, to_binary, to_json_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Reply, Response, StdResult, Storage, Timestamp}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ABORTED_MAP`, `COMMITTED_MAP`, `DIRTY_VOTES_MAP`, `END_TIME`, `PREPARE_VOTES_MAP`, `START_TIME`, `check_queue_top`, `get_seconds_diff`, `ibc::check_dirty`, `remove_all_pending_elements`, and `self` [INFO] [stdout] --> src/contract.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, ibc::check_dirty, msg::{ExecuteMsg, GetTxResponse, InstantiateMsg, Op, QueryMsg}, state::{self, State, Transaction, ABORTED_MAP, COMMITTED_MAP, DIRTY_VOTES_MAP, END_TIME, PREPARE_VOTES_MAP, START_TIME, STATE}, utils::{check_queue_top, get_seconds_diff, get_timeout, remove_all_pending_elements}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/ibc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubMsg` [INFO] [stdout] --> src/ibc.rs:3:141 [INFO] [stdout] | [INFO] [stdout] 3 | ...ontractResult, Event, IbcMsg, IbcPacket, IbcTimeout, Storage, SubMsg, Timestamp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Never` and `Response` [INFO] [stdout] --> src/ibc.rs:4:205 [INFO] [stdout] | [INFO] [stdout] 4 | ...cketReceiveMsg, IbcPacketTimeoutMsg, IbcReceiveResponse, Never, Response, StdResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Deps`, and `Storage` [INFO] [stdout] --> src/utils.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Deps, DepsMut, Env, IbcTimeout, Storage, Timestamp}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContractError`, `START_TIME`, `Transaction`, and `self` [INFO] [stdout] --> src/utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{error::{self, ContractError}, state::{Transaction, START_TIME}}; [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:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{entry_point, to_binary, to_json_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Reply, Respon... [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::from_slice`: use from_json instead [INFO] [stdout] --> src/ibc.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{from_json, from_slice, to_binary, to_json_binary, Binary, ContractResult, Event, IbcMsg, IbcPacket, IbcTimeout, St... [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/ibc.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{from_json, from_slice, to_binary, to_json_binary, Binary, ContractResult, Event, IbcMsg, IbcPacket, IbcTimeout, St... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_slice`: use from_json instead [INFO] [stdout] --> src/ibc.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let msg: Op = from_slice(&packet.data)?; [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/ibc.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(response))?; [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/ibc.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:298:27 [INFO] [stdout] | [INFO] [stdout] 298 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | to_binary(&ContractResult::<()>::Err(msg.into())).unwrap() [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/ibc.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | data: to_binary(&packet).unwrap(), [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/ibc.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 427 | data: to_binary(&packet).unwrap(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | 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] --> src/contract.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/contract.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | msg: Reply [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/ibc.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] --> src/ibc.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/ibc.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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] --> src/ibc.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ibc.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | msg: IbcPacketAckMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ibc.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let mut msgs = handle_deadlock(store, env.clone(), value).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ibc.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let mut state = STATE.load(store)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/ibc.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ibc.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | value: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/utils.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tx_id: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_ibc_packet_receive` is never used [INFO] [stdout] --> src/ibc.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn do_ibc_packet_receive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.83s [INFO] running `Command { std: "docker" "inspect" "068aa126a583ae8fb43838fc96bda82afb7eb726ba90e34a57ccb195f234f803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "068aa126a583ae8fb43838fc96bda82afb7eb726ba90e34a57ccb195f234f803", kill_on_drop: false }` [INFO] [stdout] 068aa126a583ae8fb43838fc96bda82afb7eb726ba90e34a57ccb195f234f803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 380e1c3659f6f3e9e7b3d710b307324b4fd6e89a83911742b7267122a32b85ac [INFO] running `Command { std: "docker" "start" "-a" "380e1c3659f6f3e9e7b3d710b307324b4fd6e89a83911742b7267122a32b85ac", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.3 [INFO] [stdout] warning: unused imports: `Storage`, `Timestamp`, and `to_binary` [INFO] [stdout] --> src/contract.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | ...t, to_binary, to_json_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Reply, Response, StdResult, Storage, Timestamp}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ABORTED_MAP`, `COMMITTED_MAP`, `DIRTY_VOTES_MAP`, `END_TIME`, `PREPARE_VOTES_MAP`, `START_TIME`, `check_queue_top`, `get_seconds_diff`, `ibc::check_dirty`, `remove_all_pending_elements`, and `self` [INFO] [stdout] --> src/contract.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, ibc::check_dirty, msg::{ExecuteMsg, GetTxResponse, InstantiateMsg, Op, QueryMsg}, state::{self, State, Transaction, ABORTED_MAP, COMMITTED_MAP, DIRTY_VOTES_MAP, END_TIME, PREPARE_VOTES_MAP, START_TIME, STATE}, utils::{check_queue_top, get_seconds_diff, get_timeout, remove_all_pending_elements}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/ibc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubMsg` [INFO] [stdout] --> src/ibc.rs:3:141 [INFO] [stdout] | [INFO] [stdout] 3 | ...ontractResult, Event, IbcMsg, IbcPacket, IbcTimeout, Storage, SubMsg, Timestamp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Never` and `Response` [INFO] [stdout] --> src/ibc.rs:4:205 [INFO] [stdout] | [INFO] [stdout] 4 | ...cketReceiveMsg, IbcPacketTimeoutMsg, IbcReceiveResponse, Never, Response, StdResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Deps`, and `Storage` [INFO] [stdout] --> src/utils.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Deps, DepsMut, Env, IbcTimeout, Storage, Timestamp}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContractError`, `START_TIME`, `Transaction`, and `self` [INFO] [stdout] --> src/utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{error::{self, ContractError}, state::{Transaction, START_TIME}}; [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:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{entry_point, to_binary, to_json_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Reply, Respon... [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::from_slice`: use from_json instead [INFO] [stdout] --> src/ibc.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{from_json, from_slice, to_binary, to_json_binary, Binary, ContractResult, Event, IbcMsg, IbcPacket, IbcTimeout, St... [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/ibc.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{from_json, from_slice, to_binary, to_json_binary, Binary, ContractResult, Event, IbcMsg, IbcPacket, IbcTimeout, St... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_slice`: use from_json instead [INFO] [stdout] --> src/ibc.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let msg: Op = from_slice(&packet.data)?; [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/ibc.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(response))?; [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/ibc.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:298:27 [INFO] [stdout] | [INFO] [stdout] 298 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | to_binary(&ContractResult::<()>::Err(msg.into())).unwrap() [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/ibc.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | data: to_binary(&packet).unwrap(), [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/ibc.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 427 | data: to_binary(&packet).unwrap(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | 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] --> src/contract.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/contract.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | msg: Reply [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/ibc.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] --> src/ibc.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/ibc.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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] --> src/ibc.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ibc.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | msg: IbcPacketAckMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ibc.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let mut msgs = handle_deadlock(store, env.clone(), value).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ibc.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let mut state = STATE.load(store)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/ibc.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ibc.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | value: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/utils.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tx_id: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_ibc_packet_receive` is never used [INFO] [stdout] --> src/ibc.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn do_ibc_packet_receive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cosmwasm-schema v1.5.3 [INFO] [stderr] Compiling avalon-proxy v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Storage`, `Timestamp`, and `to_binary` [INFO] [stdout] --> src/contract.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | ...t, to_binary, to_json_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Reply, Response, StdResult, Storage, Timestamp}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ABORTED_MAP`, `COMMITTED_MAP`, `DIRTY_VOTES_MAP`, `END_TIME`, `PREPARE_VOTES_MAP`, `START_TIME`, `check_queue_top`, `get_seconds_diff`, `ibc::check_dirty`, `remove_all_pending_elements`, and `self` [INFO] [stdout] --> src/contract.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | ...r, ibc::check_dirty, msg::{ExecuteMsg, GetTxResponse, InstantiateMsg, Op, QueryMsg}, state::{self, State, Transaction, ABORTED_MAP, COMMITTED_MAP, DIRTY_VOTES_MAP, END_TIME, PREPARE_VOTES_MAP, START_TIME, STATE}, utils::{check_queue_top, get_seconds_diff, get_timeout, remove_all_pending_elements}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/ibc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubMsg` [INFO] [stdout] --> src/ibc.rs:3:141 [INFO] [stdout] | [INFO] [stdout] 3 | ...ontractResult, Event, IbcMsg, IbcPacket, IbcTimeout, Storage, SubMsg, Timestamp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Never` and `Response` [INFO] [stdout] --> src/ibc.rs:4:205 [INFO] [stdout] | [INFO] [stdout] 4 | ...cketReceiveMsg, IbcPacketTimeoutMsg, IbcReceiveResponse, Never, Response, StdResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DepsMut`, `Deps`, and `Storage` [INFO] [stdout] --> src/utils.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{Deps, DepsMut, Env, IbcTimeout, Storage, Timestamp}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContractError`, `START_TIME`, `Transaction`, and `self` [INFO] [stdout] --> src/utils.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{error::{self, ContractError}, state::{Transaction, START_TIME}}; [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:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{entry_point, to_binary, to_json_binary, Binary, Deps, DepsMut, Env, IbcMsg, IbcTimeout, MessageInfo, Reply, Respon... [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::from_slice`: use from_json instead [INFO] [stdout] --> src/ibc.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{from_json, from_slice, to_binary, to_json_binary, Binary, ContractResult, Event, IbcMsg, IbcPacket, IbcTimeout, St... [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/ibc.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cosmwasm_std::{from_json, from_slice, to_binary, to_json_binary, Binary, ContractResult, Event, IbcMsg, IbcPacket, IbcTimeout, St... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `cosmwasm_std::from_slice`: use from_json instead [INFO] [stdout] --> src/ibc.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | let msg: Op = from_slice(&packet.data)?; [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/ibc.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(response))?; [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/ibc.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:298:27 [INFO] [stdout] | [INFO] [stdout] 298 | let acknowledgement = to_binary(&AcknowledgementMsg::Ok(MsgQueueResponse { }))?; [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/ibc.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | to_binary(&ContractResult::<()>::Err(msg.into())).unwrap() [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/ibc.rs:399:23 [INFO] [stdout] | [INFO] [stdout] 399 | data: to_binary(&packet).unwrap(), [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/ibc.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 427 | data: to_binary(&packet).unwrap(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | 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] --> src/contract.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/contract.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | msg: Reply [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/ibc.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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] --> src/ibc.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/ibc.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | 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] --> src/ibc.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ibc.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | msg: IbcPacketAckMsg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ibc.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let mut msgs = handle_deadlock(store, env.clone(), value).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ibc.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | let mut state = STATE.load(store)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/ibc.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | env: Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ibc.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | value: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_id` [INFO] [stdout] --> src/utils.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tx_id: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_ibc_packet_receive` is never used [INFO] [stdout] --> src/ibc.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn do_ibc_packet_receive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "380e1c3659f6f3e9e7b3d710b307324b4fd6e89a83911742b7267122a32b85ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380e1c3659f6f3e9e7b3d710b307324b4fd6e89a83911742b7267122a32b85ac", kill_on_drop: false }` [INFO] [stdout] 380e1c3659f6f3e9e7b3d710b307324b4fd6e89a83911742b7267122a32b85ac