[INFO] fetching crate metalmq-client 0.3.0... [INFO] checking metalmq-client-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate metalmq-client 0.3.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate metalmq-client 0.3.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate metalmq-client 0.3.0 [INFO] finished tweaking crates.io crate metalmq-client 0.3.0 [INFO] tweaked toml for crates.io crate metalmq-client 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44d3d83c1b8ed3bc5e31035fe658431c5ad8793a3595fb96b418a538f970a78c [INFO] running `Command { std: "docker" "start" "-a" "44d3d83c1b8ed3bc5e31035fe658431c5ad8793a3595fb96b418a538f970a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44d3d83c1b8ed3bc5e31035fe658431c5ad8793a3595fb96b418a538f970a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d3d83c1b8ed3bc5e31035fe658431c5ad8793a3595fb96b418a538f970a78c", kill_on_drop: false }` [INFO] [stdout] 44d3d83c1b8ed3bc5e31035fe658431c5ad8793a3595fb96b418a538f970a78c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fefa407baab3bc69d9109bb46127e4526fb8ff0f01fed6f3edcf8efe43c82914 [INFO] running `Command { std: "docker" "start" "-a" "fefa407baab3bc69d9109bb46127e4526fb8ff0f01fed6f3edcf8efe43c82914", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking metalmq-codec v0.3.0 [INFO] [stderr] Checking metalmq-client v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Arc>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 93 | mut client_state: state::ClientState, [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | mut frame_stream: Pin> + Send>>, [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | mut command_stream: mpsc::Receiver, [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> Result<()> { [INFO] [stdout] 97 | let feedback = Arc::new(Mutex::new(HashMap::::new())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | / tokio::select! { [INFO] [stdout] 101 | | // Receiving incoming frames. Here we can handle any IO error and the [INFO] [stdout] 102 | | // closing of the input stream (server closes the stream). [INFO] [stdout] 103 | | incoming = frame_stream.next() => { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:148:53 [INFO] [stdout] | [INFO] [stdout] 148 | pub(crate) async fn connection_start(&mut self, args: frame::ConnectionStartArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Arc>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/processor.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 93 | mut client_state: state::ClientState, [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | mut frame_stream: Pin> + Send>>, [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | mut command_stream: mpsc::Receiver, [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> Result<()> { [INFO] [stdout] 97 | let feedback = Arc::new(Mutex::new(HashMap::::new())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | / tokio::select! { [INFO] [stdout] 101 | | // Receiving incoming frames. Here we can handle any IO error and the [INFO] [stdout] 102 | | // closing of the input stream (server closes the stream). [INFO] [stdout] 103 | | incoming = frame_stream.next() => { [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] 134 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/state.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | channel: ChannelNumber, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | args: frame::QueueDeleteOkArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | args: frame::BasicCancelOkArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/state.rs:545:52 [INFO] [stdout] | [INFO] [stdout] 545 | pub(crate) async fn on_basic_return(&mut self, channel: ChannelNumber, args: frame::BasicReturnArgs) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:545:76 [INFO] [stdout] | [INFO] [stdout] 545 | pub(crate) async fn on_basic_return(&mut self, channel: ChannelNumber, args: frame::BasicReturnArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:148:53 [INFO] [stdout] | [INFO] [stdout] 148 | pub(crate) async fn connection_start(&mut self, args: frame::ConnectionStartArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/state.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | channel: ChannelNumber, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | args: frame::QueueDeleteOkArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | args: frame::BasicCancelOkArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/state.rs:545:52 [INFO] [stdout] | [INFO] [stdout] 545 | pub(crate) async fn on_basic_return(&mut self, channel: ChannelNumber, args: frame::BasicReturnArgs) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/state.rs:545:76 [INFO] [stdout] | [INFO] [stdout] 545 | pub(crate) async fn on_basic_return(&mut self, channel: ChannelNumber, args: frame::BasicReturnArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/message.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn from(value: ContentHeaderFrame) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/processor.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | WaitFor::SentOut(tx) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consumers` is never read [INFO] [stdout] --> src/channel_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | consumers: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sync_calls` and `channels` are never read [INFO] [stdout] --> src/client_api.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | sync_calls: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | channels: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/message.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn from(value: ContentHeaderFrame) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_rx` [INFO] [stdout] --> src/processor/processor_tests.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let (conn_tx, conn_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Returned` is never constructed [INFO] [stdout] --> src/message.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) enum Message { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 69 | Delivered(DeliveredMessage), [INFO] [stdout] 70 | Returned(ReturnedMessage), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/processor.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | WaitFor::SentOut(tx) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `virtual_host` [INFO] [stdout] --> src/state.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | let virtual_host = "/".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_virtual_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_rx` [INFO] [stdout] --> src/state.rs:563:23 [INFO] [stdout] | [INFO] [stdout] 563 | let (conn_tx, conn_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing_tune_ok_frame` [INFO] [stdout] --> src/state.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | let outgoing_tune_ok_frame = rx.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_tune_ok_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_frame` [INFO] [stdout] --> src/state.rs:575:36 [INFO] [stdout] | [INFO] [stdout] 575 | let OutgoingFrame { frame: open_frame, .. } = rx.recv().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_rx` [INFO] [stdout] --> src/state.rs:593:23 [INFO] [stdout] | [INFO] [stdout] 593 | let (conn_tx, conn_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_rx` [INFO] [stdout] --> src/state.rs:609:23 [INFO] [stdout] | [INFO] [stdout] 609 | let (conn_tx, conn_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn_rx` [INFO] [stdout] --> src/state.rs:626:23 [INFO] [stdout] | [INFO] [stdout] 626 | let (conn_tx, conn_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `consumers` is never read [INFO] [stdout] --> src/channel_api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | consumers: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metalmq-client` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stdout] warning: type alias `ClassId` is never used [INFO] [stdout] --> src/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type ClassId = frame::ClassId; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `sync_calls` and `channels` are never read [INFO] [stdout] --> src/client_api.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | sync_calls: HashMap>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 62 | channels: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Returned` is never constructed [INFO] [stdout] --> src/message.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) enum Message { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 69 | Delivered(DeliveredMessage), [INFO] [stdout] 70 | Returned(ReturnedMessage), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connected` is never constructed [INFO] [stdout] --> src/state.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Phase { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 27 | Uninitialized, [INFO] [stdout] 28 | Connected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `basic_return` is never used [INFO] [stdout] --> src/state.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 126 | impl ClientState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 455 | pub(crate) async fn basic_return(&mut self, channel: ChannelNumber, args: frame::BasicReturnArgs) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ClassId` is never used [INFO] [stdout] --> src/model.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type ClassId = frame::ClassId; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Connected` is never constructed [INFO] [stdout] --> src/state.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum Phase { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 27 | Uninitialized, [INFO] [stdout] 28 | Connected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Phase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `basic_return` is never used [INFO] [stdout] --> src/state.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 126 | impl ClientState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 455 | pub(crate) async fn basic_return(&mut self, channel: ChannelNumber, args: frame::BasicReturnArgs) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `metalmq-client` (lib test) due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fefa407baab3bc69d9109bb46127e4526fb8ff0f01fed6f3edcf8efe43c82914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefa407baab3bc69d9109bb46127e4526fb8ff0f01fed6f3edcf8efe43c82914", kill_on_drop: false }` [INFO] [stdout] fefa407baab3bc69d9109bb46127e4526fb8ff0f01fed6f3edcf8efe43c82914