[INFO] fetching crate ntex-mqtt 3.1.0... [INFO] checking ntex-mqtt-3.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate ntex-mqtt 3.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ntex-mqtt 3.1.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 ntex-mqtt 3.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ntex-mqtt 3.1.0 [INFO] tweaked toml for crates.io crate ntex-mqtt 3.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate ntex-mqtt 3.1.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a0a5e7b925484e06ecdb2e4a2a463e34df1fac0ce789978d2b2f766898a8423a [INFO] running `Command { std: "docker" "start" "-a" "a0a5e7b925484e06ecdb2e4a2a463e34df1fac0ce789978d2b2f766898a8423a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0a5e7b925484e06ecdb2e4a2a463e34df1fac0ce789978d2b2f766898a8423a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a5e7b925484e06ecdb2e4a2a463e34df1fac0ce789978d2b2f766898a8423a", kill_on_drop: false }` [INFO] [stdout] a0a5e7b925484e06ecdb2e4a2a463e34df1fac0ce789978d2b2f766898a8423a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] abce76b3a5bbd724ec161107ea2136c0562a658224d90516463fb9ffeb07d799 [INFO] running `Command { std: "docker" "start" "-a" "abce76b3a5bbd724ec161107ea2136c0562a658224d90516463fb9ffeb07d799", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking ntex-rt v0.4.13 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking ntex-util v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking zerocopy v0.7.35 [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 ntex-bytes v0.1.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking ntex-io v2.2.0 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking ntex-net v2.0.0 [INFO] [stderr] Checking ntex-server v2.3.0 [INFO] [stderr] Checking ntex-h2 v1.1.0 [INFO] [stderr] Checking ntex-tls v2.0.0 [INFO] [stderr] Checking ntex-mqtt v3.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `v3::codec::packet::Publish` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v3/dispatcher.rs:160:56 [INFO] [stdout] | [INFO] [stdout] 154 | req: DispatchItem>, [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] ... [INFO] [stdout] 160 | DispatchItem::Item((codec::Packet::Publish(publish), size)) => { [INFO] [stdout] | ^^^^^^^ [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] [stderr] Checking ntex v2.3.0 [INFO] [stdout] error: this value of type `std::option::Option, bool)>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v3/shared.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 153 | let mut queues = self.queues.borrow_mut(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | if let Some(cb) = self.on_publish_ack.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option<(NonZero, std::option::Option>, v3::shared::AckType)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v3/shared.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 202 | let mut queues = self.queues.borrow_mut(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | if let Some((idx, tx, tp)) = queues.inflight.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Rc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v3/sink.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn send_at_least_once_no_block(self) -> Result<(), SendPacketError> { [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] 217 | if !self.shared.is_closed() { [INFO] [stdout] 218 | let shared = self.shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `connack::ConnectAck` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/handshake.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn failed(self, reason_code: codec::ConnectAckReason) -> HandshakeAck { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | packet: codec::ConnectAck { reason_code, ..codec::ConnectAck::default() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/shared.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 170 | let mut queues = self.queues.borrow_mut(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | if let Some(cb) = self.on_publish_ack.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option<(NonZero, std::option::Option>, v5::shared::AckType)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/shared.rs:225:38 [INFO] [stdout] | [INFO] [stdout] 221 | fn pkt_ack_inner(&self, pkt: Ack) -> Result<(), error::ProtocolError> { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | let mut queues = self.queues.borrow_mut(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | if let Some((idx, tx, tp)) = queues.inflight.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Rc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/v5/sink.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn send_at_least_once_no_block(self) -> Result<(), SendPacketError> { [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] 262 | if !self.shared.is_closed() { [INFO] [stdout] 263 | let shared = self.shared; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Poll>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io.rs:263:45 [INFO] [stdout] | [INFO] [stdout] 263 | let item = match ready!(inner.poll_service(cx)) { [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] ... [INFO] [stdout] 313 | match ready!(inner.poll_service(cx)) { [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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-mqtt` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "abce76b3a5bbd724ec161107ea2136c0562a658224d90516463fb9ffeb07d799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abce76b3a5bbd724ec161107ea2136c0562a658224d90516463fb9ffeb07d799", kill_on_drop: false }` [INFO] [stdout] abce76b3a5bbd724ec161107ea2136c0562a658224d90516463fb9ffeb07d799