[INFO] fetching crate dmds 0.4.0... [INFO] checking dmds-0.4.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate dmds 0.4.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate dmds 0.4.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 dmds 0.4.0 [INFO] finished tweaking crates.io crate dmds 0.4.0 [INFO] tweaked toml for crates.io crate dmds 0.4.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.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-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] 1f49e470f6648d5d799c83835e328dc887598b3ec246624c13f3a47132e2f66e [INFO] running `Command { std: "docker" "start" "-a" "1f49e470f6648d5d799c83835e328dc887598b3ec246624c13f3a47132e2f66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f49e470f6648d5d799c83835e328dc887598b3ec246624c13f3a47132e2f66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f49e470f6648d5d799c83835e328dc887598b3ec246624c13f3a47132e2f66e", kill_on_drop: false }` [INFO] [stdout] 1f49e470f6648d5d799c83835e328dc887598b3ec246624c13f3a47132e2f66e [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] 79bda4a5970662becefb6dc8117aa347db7a36ce72bb540db4035eae568cbf6e [INFO] running `Command { std: "docker" "start" "-a" "79bda4a5970662becefb6dc8117aa347db7a36ce72bb540db4035eae568cbf6e", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking dmds v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `async_lock::MutexGuard<'_, ()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn write_buf(&self, mut buf: B) -> std::io::Result<()> { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | // Obtain the write lock guard [INFO] [stdout] 98 | let Some(_g) = self.lock_w.try_lock() else { [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] [stdout] error: this value of type `async_lock::MutexGuard<'_, ()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn write_buf(&self, mut buf: B) -> std::io::Result<()> { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | // Obtain the write lock guard [INFO] [stdout] 98 | let Some(_g) = self.lock_w.try_lock() else { [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] [stdout] error: this value of type `LazyInner<'_, T, DIMS>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world/iter.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 88 | pub(super) fn into_inner(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | if let LazyInner::Direct(val) = self.value.into_inner()? { [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::Read<'_>), std::io::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world/iter.rs:472:56 [INFO] [stdout] | [INFO] [stdout] 21 | / match $e { [INFO] [stdout] 22 | | core::task::Poll::Ready(t) => t, [INFO] [stdout] 23 | | core::task::Poll::Pending => return Some(core::task::Poll::Pending), [INFO] [stdout] 24 | | } [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] ... [INFO] [stdout] 472 | | let (version, read) = match ready_opt!(future.as_mut().poll(cx)) { [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 `LazyInner<'_, T, DIMS>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world/iter.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 88 | pub(super) fn into_inner(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | if let LazyInner::Direct(val) = self.value.into_inner()? { [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::Read<'_>), std::io::Error>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/world/iter.rs:472:56 [INFO] [stdout] | [INFO] [stdout] 21 | / match $e { [INFO] [stdout] 22 | | core::task::Poll::Ready(t) => t, [INFO] [stdout] 23 | | core::task::Poll::Pending => return Some(core::task::Poll::Pending), [INFO] [stdout] 24 | | } [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] ... [INFO] [stdout] 472 | | let (version, read) = match ready_opt!(future.as_mut().poll(cx)) { [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dmds` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `World<[u64; 2], 2, Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mem = Arc::new(MemStorage::new()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let world: World<[u64; 2], 2, _> = World::new( [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 `Lazy<'_, [u64; 2], 2, MemStorage>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 137 | let world: World<[u64; 2], 2, _> = World::new( [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | let mut iter = selection.iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | iter.next().await.unwrap().unwrap().get().await.unwrap(), [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 `World<[u64; 2], 2, Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 180 | let mem = Arc::new(MemStorage::new()); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let world: World<[u64; 2], 2, _> = World::new( [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] [stderr] error: could not compile `dmds` (lib test) due to 7 previous errors [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "79bda4a5970662becefb6dc8117aa347db7a36ce72bb540db4035eae568cbf6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79bda4a5970662becefb6dc8117aa347db7a36ce72bb540db4035eae568cbf6e", kill_on_drop: false }` [INFO] [stdout] 79bda4a5970662becefb6dc8117aa347db7a36ce72bb540db4035eae568cbf6e