[INFO] fetching crate rollgrid 0.2.2... [INFO] checking rollgrid-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rollgrid 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rollgrid 0.2.2 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 rollgrid 0.2.2 [INFO] finished tweaking crates.io crate rollgrid 0.2.2 [INFO] tweaked toml for crates.io crate rollgrid 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e775affe545d884d5db24da2440d21ba2a77017511a80923add3ef1b38406cfd [INFO] running `Command { std: "docker" "start" "-a" "e775affe545d884d5db24da2440d21ba2a77017511a80923add3ef1b38406cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e775affe545d884d5db24da2440d21ba2a77017511a80923add3ef1b38406cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e775affe545d884d5db24da2440d21ba2a77017511a80923add3ef1b38406cfd", kill_on_drop: false }` [INFO] [stdout] e775affe545d884d5db24da2440d21ba2a77017511a80923add3ef1b38406cfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f4b951346b10e10e8d97d6a2ac83aa0e08e5aeb04b176d4f3f8c3dbd2c96a8b6 [INFO] running `Command { std: "docker" "start" "-a" "f4b951346b10e10e8d97d6a2ac83aa0e08e5aeb04b176d4f3f8c3dbd2c96a8b6", kill_on_drop: false }` [INFO] [stderr] Checking rollgrid v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rollgrid3d.rs:1963:12 [INFO] [stdout] | [INFO] [stdout] 1962 | impl TempGrid3D { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1963 | pub fn new(size: (usize, usize, usize), offset: (i32, i32, i32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/rollgrid2d.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_with_init Option>(size: (usize, usize), offset: (i32, i32), init: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | cells: bounds.iter().map(init).collect(), [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/rollgrid2d.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn try_new_with_init Result, E>>(size: (usize, usize), offset: (i32, i32), init: F) -> Result, E>>()?, [INFO] [stdout] 41 | | // size, [INFO] [stdout] 42 | | // offset [INFO] [stdout] 43 | | }) [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/rollgrid2d.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | cells: (0..area).map(|_| Some(T::default())).collect(), [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/rollgrid2d.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 102 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | cells: Bounds2D::new((0, 0), (width as i32, height as i32)).iter() [INFO] [stdout] | ____________________^ [INFO] [stdout] 114 | | .map(|(x, y)| C::from(( [INFO] [stdout] 115 | | x + grid_offset.0, [INFO] [stdout] 116 | | y + grid_offset.1 [INFO] [stdout] 117 | | ))) [INFO] [stdout] 118 | | .map(init) [INFO] [stdout] 119 | | .collect(), [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/rollgrid2d.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 131 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 142 | | cells: Bounds2D::new((0, 0), (width as i32, height as i32)).iter() [INFO] [stdout] 143 | | .map(|(x, y)| C::from(( [INFO] [stdout] 144 | | x + grid_offset.0, [INFO] [stdout] ... | [INFO] [stdout] 151 | | grid_offset: grid_offset, [INFO] [stdout] 152 | | }) [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/rollgrid2d.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn try_inflate_size(&mut self, inflate: usize, manage: F) -> Result<(), E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | self.try_resize_and_reposition(new_width, new_height, C::from(new_offset), manage) [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/rollgrid2d.rs:222:78 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn try_resize(&mut self, new_width: usize, new_height: usize, manage: F) -> Result<(), E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | self.try_resize_and_reposition::(new_width, new_height, C::from(self.grid_offset), manage) [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/rollgrid2d.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 258 | return self.reposition(new_position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | manage(CellManage::Unload(old_pos, old_value)); [INFO] [stdout] 260 | manage(CellManage::Load(new_pos)) [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/rollgrid2d.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 375 | return self.try_reposition(new_position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | manage(CellManage::Unload(old_pos, old_value)); [INFO] [stdout] 377 | manage(CellManage::Load(new_pos)) [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/rollgrid2d.rs:491:33 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn try_translate(&mut self, offset: C, reload: F) -> Result<(), E> [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] 491 | self.try_reposition(C::from((curx + ox, cury + oy)), reload) [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/rollgrid3d.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_default>(width: usize, height: usize, depth: usize, grid_offset: C) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | cells: (0..volume).map(|_| Some(T::default())).collect(), [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/rollgrid3d.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | cells: (0..volume).map(|_| Some(T::default())).collect(), [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/rollgrid3d.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 43 | grid_offset: C [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | cells: (0..volume).map(|_| None).collect(), [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/rollgrid3d.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 72 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | cells: Bounds3D::new((0, 0, 0), (width as i32, height as i32, depth as i32)).iter() [INFO] [stdout] 89 | | .map(|(x, y, z)| C::from(( [INFO] [stdout] 90 | | x + grid_offset.0, [INFO] [stdout] ... | [INFO] [stdout] 106 | | grid_offset [INFO] [stdout] 107 | | }) [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/rollgrid3d.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 116 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | cells: Bounds3D::new((0, 0, 0), (width as i32, height as i32, depth as i32)).iter() [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | .map(|(x, y, z)| C::from(( [INFO] [stdout] 134 | | x + grid_offset.0, [INFO] [stdout] 135 | | y + grid_offset.1, [INFO] [stdout] ... | [INFO] [stdout] 138 | | .map(init) [INFO] [stdout] 139 | | .collect(), [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/rollgrid3d.rs:253:70 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn try_resize(&mut self, width: usize, height: usize, depth: usize, manage: F) -> Result<(), E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | self.try_resize_and_reposition(width, height, depth, C::from(self.grid_offset), manage) [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/rollgrid3d.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 299 | return self.try_reposition(position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | manage(CellManage::Unload(old_pos, old_value))?; [INFO] [stdout] 301 | manage(CellManage::Load(new_pos)) [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/rollgrid3d.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 455 | self.reposition(position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 456 | manage(CellManage::Unload(old_pos, old_value)); [INFO] [stdout] 457 | manage(CellManage::Load(new_pos)) [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/rollgrid3d.rs:1981:20 [INFO] [stdout] | [INFO] [stdout] 1971 | pub fn new_with_init Option>(size: (usize, usize, usize), offset: (i32, i32, i32), init: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1981 | cells: bounds.iter().map(init).collect(), [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/rollgrid3d.rs:1997:12 [INFO] [stdout] | [INFO] [stdout] 1988 | pub fn try_new_with_init Result, E>>(size: (usize, usize, usize), offset: (i32, i32, i32), init: F) -... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1997 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1998 | | cells: bounds.iter().map(init).collect::, E>>()?, [INFO] [stdout] 1999 | | size, [INFO] [stdout] 2000 | | offset [INFO] [stdout] 2001 | | }) [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 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rollgrid` (lib) due to 21 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rollgrid3d.rs:1963:12 [INFO] [stdout] | [INFO] [stdout] 1962 | impl TempGrid3D { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 1963 | pub fn new(size: (usize, usize, usize), offset: (i32, i32, i32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/rollgrid2d.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_with_init Option>(size: (usize, usize), offset: (i32, i32), init: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | cells: bounds.iter().map(init).collect(), [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/rollgrid2d.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn try_new_with_init Result, E>>(size: (usize, usize), offset: (i32, i32), init: F) -> Result, E>>()?, [INFO] [stdout] 41 | | // size, [INFO] [stdout] 42 | | // offset [INFO] [stdout] 43 | | }) [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/rollgrid2d.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | cells: (0..area).map(|_| Some(T::default())).collect(), [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/rollgrid2d.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 102 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | cells: Bounds2D::new((0, 0), (width as i32, height as i32)).iter() [INFO] [stdout] | ____________________^ [INFO] [stdout] 114 | | .map(|(x, y)| C::from(( [INFO] [stdout] 115 | | x + grid_offset.0, [INFO] [stdout] 116 | | y + grid_offset.1 [INFO] [stdout] 117 | | ))) [INFO] [stdout] 118 | | .map(init) [INFO] [stdout] 119 | | .collect(), [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/rollgrid2d.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 131 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 142 | | cells: Bounds2D::new((0, 0), (width as i32, height as i32)).iter() [INFO] [stdout] 143 | | .map(|(x, y)| C::from(( [INFO] [stdout] 144 | | x + grid_offset.0, [INFO] [stdout] ... | [INFO] [stdout] 151 | | grid_offset: grid_offset, [INFO] [stdout] 152 | | }) [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/rollgrid2d.rs:176:67 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn try_inflate_size(&mut self, inflate: usize, manage: F) -> Result<(), E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | self.try_resize_and_reposition(new_width, new_height, C::from(new_offset), manage) [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/rollgrid2d.rs:222:78 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn try_resize(&mut self, new_width: usize, new_height: usize, manage: F) -> Result<(), E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | self.try_resize_and_reposition::(new_width, new_height, C::from(self.grid_offset), manage) [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/rollgrid2d.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 258 | return self.reposition(new_position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | manage(CellManage::Unload(old_pos, old_value)); [INFO] [stdout] 260 | manage(CellManage::Load(new_pos)) [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/rollgrid2d.rs:377:24 [INFO] [stdout] | [INFO] [stdout] 375 | return self.try_reposition(new_position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | manage(CellManage::Unload(old_pos, old_value)); [INFO] [stdout] 377 | manage(CellManage::Load(new_pos)) [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/rollgrid2d.rs:491:33 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn try_translate(&mut self, offset: C, reload: F) -> Result<(), E> [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] 491 | self.try_reposition(C::from((curx + ox, cury + oy)), reload) [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/rollgrid3d.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_default>(width: usize, height: usize, depth: usize, grid_offset: C) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | cells: (0..volume).map(|_| Some(T::default())).collect(), [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/rollgrid3d.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | cells: (0..volume).map(|_| Some(T::default())).collect(), [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/rollgrid3d.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 43 | grid_offset: C [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | cells: (0..volume).map(|_| None).collect(), [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/rollgrid3d.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 72 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 88 | | cells: Bounds3D::new((0, 0, 0), (width as i32, height as i32, depth as i32)).iter() [INFO] [stdout] 89 | | .map(|(x, y, z)| C::from(( [INFO] [stdout] 90 | | x + grid_offset.0, [INFO] [stdout] ... | [INFO] [stdout] 106 | | grid_offset [INFO] [stdout] 107 | | }) [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/rollgrid3d.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 116 | init: F [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | cells: Bounds3D::new((0, 0, 0), (width as i32, height as i32, depth as i32)).iter() [INFO] [stdout] | ____________________^ [INFO] [stdout] 133 | | .map(|(x, y, z)| C::from(( [INFO] [stdout] 134 | | x + grid_offset.0, [INFO] [stdout] 135 | | y + grid_offset.1, [INFO] [stdout] ... | [INFO] [stdout] 138 | | .map(init) [INFO] [stdout] 139 | | .collect(), [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/rollgrid3d.rs:253:70 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn try_resize(&mut self, width: usize, height: usize, depth: usize, manage: F) -> Result<(), E> [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | self.try_resize_and_reposition(width, height, depth, C::from(self.grid_offset), manage) [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/rollgrid3d.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 299 | return self.try_reposition(position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | manage(CellManage::Unload(old_pos, old_value))?; [INFO] [stdout] 301 | manage(CellManage::Load(new_pos)) [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/rollgrid3d.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 455 | self.reposition(position, |old_pos, new_pos, old_value| { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 456 | manage(CellManage::Unload(old_pos, old_value)); [INFO] [stdout] 457 | manage(CellManage::Load(new_pos)) [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/rollgrid3d.rs:1981:20 [INFO] [stdout] | [INFO] [stdout] 1971 | pub fn new_with_init Option>(size: (usize, usize, usize), offset: (i32, i32, i32), init: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1981 | cells: bounds.iter().map(init).collect(), [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/rollgrid3d.rs:1997:12 [INFO] [stdout] | [INFO] [stdout] 1988 | pub fn try_new_with_init Result, E>>(size: (usize, usize, usize), offset: (i32, i32, i32), init: F) -... [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1997 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1998 | | cells: bounds.iter().map(init).collect::, E>>()?, [INFO] [stdout] 1999 | | size, [INFO] [stdout] 2000 | | offset [INFO] [stdout] 2001 | | }) [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 20 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rollgrid` (lib test) due to 21 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f4b951346b10e10e8d97d6a2ac83aa0e08e5aeb04b176d4f3f8c3dbd2c96a8b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4b951346b10e10e8d97d6a2ac83aa0e08e5aeb04b176d4f3f8c3dbd2c96a8b6", kill_on_drop: false }` [INFO] [stdout] f4b951346b10e10e8d97d6a2ac83aa0e08e5aeb04b176d4f3f8c3dbd2c96a8b6