[INFO] fetching crate duat-core 0.1.3... [INFO] checking duat-core-0.1.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate duat-core 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate duat-core 0.1.3 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 duat-core 0.1.3 [INFO] finished tweaking crates.io crate duat-core 0.1.3 [INFO] tweaked toml for crates.io crate duat-core 0.1.3 written to /workspace/builds/worker-2-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 36 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [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-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] f0abddfc94013145dd2f1ab532e06757ad0ab654b0d3991e67fec7cfd46ee1cc [INFO] running `Command { std: "docker" "start" "-a" "f0abddfc94013145dd2f1ab532e06757ad0ab654b0d3991e67fec7cfd46ee1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0abddfc94013145dd2f1ab532e06757ad0ab654b0d3991e67fec7cfd46ee1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0abddfc94013145dd2f1ab532e06757ad0ab654b0d3991e67fec7cfd46ee1cc", kill_on_drop: false }` [INFO] [stdout] f0abddfc94013145dd2f1ab532e06757ad0ab654b0d3991e67fec7cfd46ee1cc [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] 4716ab0d1e0d7aceeda2b5df81784f06405cff8f361a1956acef9aa6149df820 [INFO] running `Command { std: "docker" "start" "-a" "4716ab0d1e0d7aceeda2b5df81784f06405cff8f361a1956acef9aa6149df820", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking gapbuf v0.1.4 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking duat-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `ReadWriteGuard<'_, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 180 | (widget, checker, specs): (Widget, F, PushSpecs), [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | self.windows.write()[current_window].push_to_master(widget, checker, specs) [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 `ReadWriteGuard<'_, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 191 | (widget, checker, specs): (Widget, F, PushSpecs), [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | self.windows.write()[current_window].push(widget, area, checker, specs, false) [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 `ReadWriteGuard<'_, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 203 | (widget, checker, specs): (Widget, F, PushSpecs), [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | self.windows.write()[current_window].push(widget, area, checker, specs, true) [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 `ReadWriteGuard<'_, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 180 | (widget, checker, specs): (Widget, F, PushSpecs), [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | self.windows.write()[current_window].push_to_master(widget, checker, specs) [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 `ReadWriteGuard<'_, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 191 | (widget, checker, specs): (Widget, F, PushSpecs), [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | self.windows.write()[current_window].push(widget, area, checker, specs, false) [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 `ReadWriteGuard<'_, Vec>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 203 | (widget, checker, specs): (Widget, F, PushSpecs), [INFO] [stdout] | ------------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | self.windows.write()[current_window].push(widget, area, checker, specs, true) [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 `FlatMap>>, Map, &::Area)> + Clone + '_, {closure@src/session.rs:534:74: 534:86}>, {closure@src/session.rs:534:39: 534:52}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 530 | .and_then(|(widget, _)| { [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] 531 | / read_windows [INFO] [stdout] 532 | | .iter() [INFO] [stdout] 533 | | .enumerate() [INFO] [stdout] 534 | | .flat_map(|(i, window)| window.widgets().map(move |entry| (i, entry))) [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 `FlatMap>>, Map, &::Area)> + Clone + '_, {closure@src/session.rs:534:74: 534:86}>, {closure@src/session.rs:534:39: 534:52}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/session.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 530 | .and_then(|(widget, _)| { [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] 531 | / read_windows [INFO] [stdout] 532 | | .iter() [INFO] [stdout] 533 | | .enumerate() [INFO] [stdout] 534 | | .flat_map(|(i, window)| window.widgets().map(move |entry| (i, entry))) [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] warning: methods `start`, `is_from`, and `is_until` are never used [INFO] [stdout] --> src/text/tags/ranges.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TagRange { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_from(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_until(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start`, `is_from`, and `is_until` are never used [INFO] [stdout] --> src/text/tags/ranges.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl TagRange { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn start(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_from(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_until(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `duat-core` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `duat-core` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4716ab0d1e0d7aceeda2b5df81784f06405cff8f361a1956acef9aa6149df820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4716ab0d1e0d7aceeda2b5df81784f06405cff8f361a1956acef9aa6149df820", kill_on_drop: false }` [INFO] [stdout] 4716ab0d1e0d7aceeda2b5df81784f06405cff8f361a1956acef9aa6149df820