[INFO] fetching crate ironmq-client 0.1.1... [INFO] checking ironmq-client-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ironmq-client 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ironmq-client 0.1.1 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 ironmq-client 0.1.1 [INFO] finished tweaking crates.io crate ironmq-client 0.1.1 [INFO] tweaked toml for crates.io crate ironmq-client 0.1.1 written to /workspace/builds/worker-3-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding bytes v0.6.0 (available: v1.7.2) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding mio v0.7.14 (available: v1.0.2) [INFO] [stderr] Adding miow v0.3.7 (available: v0.6.0) [INFO] [stderr] Adding ntapi v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding tokio v0.3.7 (available: v1.40.0) [INFO] [stderr] Adding tokio-macros v0.3.2 (available: v2.4.0) [INFO] [stderr] Adding tokio-util v0.5.1 (available: v0.7.12) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c41201e47253f57c96e5dd019a629391beba2ae18443fb3eb14e2ff9ca6683db [INFO] running `Command { std: "docker" "start" "-a" "c41201e47253f57c96e5dd019a629391beba2ae18443fb3eb14e2ff9ca6683db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41201e47253f57c96e5dd019a629391beba2ae18443fb3eb14e2ff9ca6683db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41201e47253f57c96e5dd019a629391beba2ae18443fb3eb14e2ff9ca6683db", kill_on_drop: false }` [INFO] [stdout] c41201e47253f57c96e5dd019a629391beba2ae18443fb3eb14e2ff9ca6683db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9a439f3c16657587dc40a81ca1c7ebc5d9c278f125229708fdb82224959935fb [INFO] running `Command { std: "docker" "start" "-a" "9a439f3c16657587dc40a81ca1c7ebc5d9c278f125229708fdb82224959935fb", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v0.3.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio-util v0.5.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ironmq-codec v0.1.1 [INFO] [stderr] Checking ironmq-client v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/client_sm.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Builder` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use env_logger::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{info, error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Builder` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use env_logger::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `info` [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | use log::{info, error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `SplitSink, AMQPFrame>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn socket_loop(socket: TcpStream, mut receiver: mpsc::Receiver) -> Result<()> { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (mut sink, mut stream) = Framed::new(socket, AMQPCodec {}).split(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | / tokio::select! { [INFO] [stdout] 70 | | result = stream.next() => { [INFO] [stdout] 71 | | match result { [INFO] [stdout] 72 | | Some(Ok(frame)) => { [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [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] | 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] error: this value of type `SplitSink, AMQPFrame>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn socket_loop(socket: TcpStream, mut receiver: mpsc::Receiver) -> Result<()> { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let (mut sink, mut stream) = Framed::new(socket, AMQPCodec {}).split(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | / tokio::select! { [INFO] [stdout] 70 | | result = stream.next() => { [INFO] [stdout] 71 | | match result { [INFO] [stdout] 72 | | Some(Ok(frame)) => { [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [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] | 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: `cb` [INFO] [stdout] --> src/client_sm.rs:186:82 [INFO] [stdout] | [INFO] [stdout] 186 | fn basic_consume(&mut self, channel: Channel, args: frame::BasicConsumeArgs, cb: ConsumeCallback) -> MaybeFrame { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `consumers` and `headers` are never read [INFO] [stdout] --> src/client_sm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct ClientState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | consumers: HashMap<(u16, String), ConsumeCallback>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `channel_close` and `exchange_bind` are never used [INFO] [stdout] --> src/client_sm.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) trait Client { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 56 | fn channel_close(&mut self) -> MaybeFrame; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn exchange_bind(&mut self, channel: Channel, args: frame::ExchangeBindArgs) -> MaybeFrame; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel`, `consumer_tag`, and `header` are never read [INFO] [stdout] --> src/client_sm.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | struct DeliveredContent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 215 | channel: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 216 | consumer_tag: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 217 | header: Option, // flags [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ironmq-client` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/client_sm.rs:186:82 [INFO] [stdout] | [INFO] [stdout] 186 | fn basic_consume(&mut self, channel: Channel, args: frame::BasicConsumeArgs, cb: ConsumeCallback) -> MaybeFrame { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `consumers` and `headers` are never read [INFO] [stdout] --> src/client_sm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) struct ClientState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | consumers: HashMap<(u16, String), ConsumeCallback>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `channel_close` and `exchange_bind` are never used [INFO] [stdout] --> src/client_sm.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) trait Client { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 56 | fn channel_close(&mut self) -> MaybeFrame; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn exchange_bind(&mut self, channel: Channel, args: frame::ExchangeBindArgs) -> MaybeFrame; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `channel`, `consumer_tag`, and `header` are never read [INFO] [stdout] --> src/client_sm.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | struct DeliveredContent { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 215 | channel: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 216 | consumer_tag: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 217 | header: Option, // flags [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ironmq-client` (lib) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a439f3c16657587dc40a81ca1c7ebc5d9c278f125229708fdb82224959935fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a439f3c16657587dc40a81ca1c7ebc5d9c278f125229708fdb82224959935fb", kill_on_drop: false }` [INFO] [stdout] 9a439f3c16657587dc40a81ca1c7ebc5d9c278f125229708fdb82224959935fb