[INFO] fetching crate rayon 1.10.0... [INFO] checking rayon-1.10.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rayon 1.10.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rayon 1.10.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 rayon 1.10.0 [INFO] finished tweaking crates.io crate rayon 1.10.0 [INFO] tweaked toml for crates.io crate rayon 1.10.0 written to /workspace/builds/worker-7-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 32 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7745eaa74af787ac932d1e1c05cbe0e880c7e108db6b6eef240b15289f154ddc [INFO] running `Command { std: "docker" "start" "-a" "7745eaa74af787ac932d1e1c05cbe0e880c7e108db6b6eef240b15289f154ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7745eaa74af787ac932d1e1c05cbe0e880c7e108db6b6eef240b15289f154ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7745eaa74af787ac932d1e1c05cbe0e880c7e108db6b6eef240b15289f154ddc", kill_on_drop: false }` [INFO] [stdout] 7745eaa74af787ac932d1e1c05cbe0e880c7e108db6b6eef240b15289f154ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] faf971262450451046b36186053f8e51c1f96e4f8a41dfff5cb615667695e9a9 [INFO] running `Command { std: "docker" "start" "-a" "faf971262450451046b36186053f8e51c1f96e4f8a41dfff5cb615667695e9a9", kill_on_drop: false }` [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rayon v1.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stdout] error: this value of type `DrainGuard<'_, T, BinaryHeap>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collections/binary_heap.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 103 | fn with_producer(self, callback: CB) -> CB::Output [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | super::DrainGuard::new(self.heap) [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 `DrainGuard<'_, T, VecDeque>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/collections/vec_deque.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 140 | fn with_producer(self, callback: CB) -> CB::Output [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | super::DrainGuard::new(self.deque) [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 `ClonedFolder` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/cloned.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 127 | fn fold_with(self, folder: F) -> F [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | self.base.fold_with(ClonedFolder { base: folder }).base [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 `CopiedFolder` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/copied.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 127 | fn fold_with(self, folder: F) -> F [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | self.base.fold_with(CopiedFolder { base: folder }).base [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/filter_map.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 121 | fn consume(self, item: T) -> Self { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | let filter_op = self.filter_op; [INFO] [stdout] 123 | if let Some(mapped_item) = filter_op(item) { [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 `InspectFolder<'_, G, F>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/inspect.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 150 | fn fold_with(self, folder: G) -> G [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | self.base.fold_with(folder1).base [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 `IntersperseFolder::Item>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/intersperse.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 194 | fn fold_with(self, folder: F) -> F [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | self.base.fold_with(folder1).base [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 `MapFolder<'_, G, F>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/map.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 152 | fn fold_with(self, folder: G) -> G [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | self.base.fold_with(folder1).base [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 `MapWithFolder<'_, G, U, F>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/map_with.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 169 | fn fold_with(self, folder: G) -> G [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | self.base.fold_with(folder1).base [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 `MapWithFolder<'_, G, U, F>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/map_with.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 498 | fn fold_with(self, folder: G) -> G [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 507 | self.base.fold_with(folder1).base [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 `PanicFuseFolder<'_, G>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/panic_fuse.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 166 | fn fold_with(self, folder: G) -> G [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | self.base.fold_with(folder1).base [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 `IterParallelProducer<'_, Iter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/par_bridge.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 84 | fn drive_unindexed(self, consumer: C) -> C::Result [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | &IterParallelProducer { [INFO] [stdout] | ______________^ [INFO] [stdout] 93 | | split_count: AtomicUsize::new(num_threads), [INFO] [stdout] 94 | | iter: Mutex::new(self.iter.fuse()), [INFO] [stdout] 95 | | threads_started: &threads_started, [INFO] [stdout] 96 | | }, [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 `UpdateFolder<'_, G, F>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/iter/update.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 151 | fn fold_with(self, folder: G) -> G [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | self.base.fold_with(folder1).base [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/result.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 121 | let collection = par_iter [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | match saved_error.into_inner().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] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rayon` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "faf971262450451046b36186053f8e51c1f96e4f8a41dfff5cb615667695e9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf971262450451046b36186053f8e51c1f96e4f8a41dfff5cb615667695e9a9", kill_on_drop: false }` [INFO] [stdout] faf971262450451046b36186053f8e51c1f96e4f8a41dfff5cb615667695e9a9