[INFO] fetching crate tui-widget-list 0.12.1... [INFO] checking tui-widget-list-0.12.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tui-widget-list 0.12.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tui-widget-list 0.12.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tui-widget-list 0.12.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tui-widget-list 0.12.1 [INFO] tweaked toml for crates.io crate tui-widget-list 0.12.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate tui-widget-list 0.12.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1917dfcfdf58f879a90a5693a797c32e7785e87efefa0bb3b86b71464c2bb963 [INFO] running `Command { std: "docker" "start" "-a" "1917dfcfdf58f879a90a5693a797c32e7785e87efefa0bb3b86b71464c2bb963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1917dfcfdf58f879a90a5693a797c32e7785e87efefa0bb3b86b71464c2bb963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1917dfcfdf58f879a90a5693a797c32e7785e87efefa0bb3b86b71464c2bb963", kill_on_drop: false }` [INFO] [stdout] 1917dfcfdf58f879a90a5693a797c32e7785e87efefa0bb3b86b71464c2bb963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 308ec470da90ccc5c3212509e2bb743a34151d5f047c7724e0f79a8a2bb44a30 [INFO] running `Command { std: "docker" "start" "-a" "308ec470da90ccc5c3212509e2bb743a34151d5f047c7724e0f79a8a2bb44a30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.28.0 [INFO] [stderr] Checking tui-widget-list v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(closure: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | closure: Box::new(closure), [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tui-widget-list` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/widget.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 288 | let (area, mut buf, list, mut state) = init(9); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | / Buffer::with_lines(vec![ [INFO] [stdout] 297 | | "┌───┐", [INFO] [stdout] 298 | | "│ │", [INFO] [stdout] 299 | | "└───┘", [INFO] [stdout] ... | [INFO] [stdout] 305 | | "└───┘", [INFO] [stdout] 306 | | ]), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/widget.rs:320:31 [INFO] [stdout] | [INFO] [stdout] 313 | let (area, mut buf, _, mut state) = init(2); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | assert_buffer_eq(buf, Buffer::with_lines(vec![" ", " "])) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/widget.rs:332:31 [INFO] [stdout] | [INFO] [stdout] 326 | let (area, mut buf, list, mut state) = init(0); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | assert_buffer_eq(buf, Buffer::empty(area)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/widget.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 338 | let (area, mut buf, list, mut state) = init(8); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | / Buffer::with_lines(vec![ [INFO] [stdout] 347 | | "┌───┐", [INFO] [stdout] 348 | | "│ │", [INFO] [stdout] 349 | | "└───┘", [INFO] [stdout] ... | [INFO] [stdout] 354 | | "│ │", [INFO] [stdout] 355 | | ]), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/legacy/widget.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 362 | let (area, mut buf, list, mut state) = init(8); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | / Buffer::with_lines(vec![ [INFO] [stdout] 372 | | "│ │", [INFO] [stdout] 373 | | "└───┘", [INFO] [stdout] 374 | | "┌───┐", [INFO] [stdout] ... | [INFO] [stdout] 379 | | "└───┘", [INFO] [stdout] 380 | | ]), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(closure: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | closure: Box::new(closure), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:337:16 [INFO] [stdout] | [INFO] [stdout] 336 | let list = ListView::new(ListBuilder::new(|_| (TestItem {}, 3)), 3); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | (area, Buffer::empty(area), list, ListState::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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 343 | let (area, mut buf, list, mut state) = test_data(9); [INFO] [stdout] | --- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 351 | / Buffer::with_lines(vec![ [INFO] [stdout] 352 | | "┌───┐", [INFO] [stdout] 353 | | "│ │", [INFO] [stdout] 354 | | "└───┘", [INFO] [stdout] ... | [INFO] [stdout] 360 | | "└───┘", [INFO] [stdout] 361 | | ]), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:378:31 [INFO] [stdout] | [INFO] [stdout] 369 | let mut buf = Buffer::empty(area); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | let mut state = ListState::default(); [INFO] [stdout] 371 | let builder = ListBuilder::new(|_| (TestItem {}, 0)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | let list = ListView::new(builder, 0); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | assert_buffer_eq(buf, Buffer::with_lines(vec![" ", " "])) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:390:31 [INFO] [stdout] | [INFO] [stdout] 384 | let (area, mut buf, list, mut state) = test_data(0); [INFO] [stdout] | --- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | assert_buffer_eq(buf, Buffer::empty(area)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 396 | let (area, mut buf, list, mut state) = test_data(8); [INFO] [stdout] | --- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 404 | / Buffer::with_lines(vec![ [INFO] [stdout] 405 | | "┌───┐", [INFO] [stdout] 406 | | "│ │", [INFO] [stdout] 407 | | "└───┘", [INFO] [stdout] ... | [INFO] [stdout] 412 | | "│ │", [INFO] [stdout] 413 | | ]), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 420 | let (area, mut buf, list, mut state) = test_data(8); [INFO] [stdout] | --- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 429 | / Buffer::with_lines(vec![ [INFO] [stdout] 430 | | "│ │", [INFO] [stdout] 431 | | "└───┘", [INFO] [stdout] 432 | | "┌───┐", [INFO] [stdout] ... | [INFO] [stdout] 437 | | "└───┘", [INFO] [stdout] 438 | | ]), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/view.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 444 | let (area, mut buf, list, mut state) = test_data(8); [INFO] [stdout] | --- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 463 | let (_, mut buf, list, _) = test_data(8); [INFO] [stdout] | --- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 468 | / Buffer::with_lines(vec![ [INFO] [stdout] 469 | | "│ │", [INFO] [stdout] 470 | | "└───┘", [INFO] [stdout] 471 | | "┌───┐", [INFO] [stdout] ... | [INFO] [stdout] 476 | | "└───┘", [INFO] [stdout] 477 | | ]), [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 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tui-widget-list` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "308ec470da90ccc5c3212509e2bb743a34151d5f047c7724e0f79a8a2bb44a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308ec470da90ccc5c3212509e2bb743a34151d5f047c7724e0f79a8a2bb44a30", kill_on_drop: false }` [INFO] [stdout] 308ec470da90ccc5c3212509e2bb743a34151d5f047c7724e0f79a8a2bb44a30