[INFO] cloning repository https://github.com/TPHRyan/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TPHRyan/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTPHRyan%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTPHRyan%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67e29aa7efca6777801fe8c4bf5ff433e95acff7 [INFO] checking TPHRyan/aoc2021/67e29aa7efca6777801fe8c4bf5ff433e95acff7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTPHRyan%2Faoc2021" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TPHRyan/aoc2021 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 git repo https://github.com/TPHRyan/aoc2021 [INFO] finished tweaking git repo https://github.com/TPHRyan/aoc2021 [INFO] tweaked toml for git repo https://github.com/TPHRyan/aoc2021 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TPHRyan/aoc2021 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1a56f232c84d2f8d1f09b6a53f093089a262b8242f471bca48d1db5b478db735 [INFO] running `Command { std: "docker" "start" "-a" "1a56f232c84d2f8d1f09b6a53f093089a262b8242f471bca48d1db5b478db735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a56f232c84d2f8d1f09b6a53f093089a262b8242f471bca48d1db5b478db735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a56f232c84d2f8d1f09b6a53f093089a262b8242f471bca48d1db5b478db735", kill_on_drop: false }` [INFO] [stdout] 1a56f232c84d2f8d1f09b6a53f093089a262b8242f471bca48d1db5b478db735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1ccf33a5dc6f18fbfd536e00a05ec82ac5be61e840057649a9ff4b027d211a50 [INFO] running `Command { std: "docker" "start" "-a" "1ccf33a5dc6f18fbfd536e00a05ec82ac5be61e840057649a9ff4b027d211a50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking micromath v2.0.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking serde_scan v0.4.1 [INFO] [stdout] warning: unused import: `Challenge` [INFO] [stdout] --> src/aoc.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub use challenge::{get_challenge, Challenge}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChallengeSolution` [INFO] [stdout] --> src/aoc.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub use solution::{get_challenge_solution, ChallengeSolution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vector::Component` [INFO] [stdout] --> src/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use vector::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> src/sub/navigation.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub use chunk::{parse_chunks_for_line, Chunk, ChunkStyle, ParseError, ParseResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Challenge` [INFO] [stdout] --> src/aoc.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub use challenge::{get_challenge, Challenge}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChallengeSolution` [INFO] [stdout] --> src/aoc.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub use solution::{get_challenge_solution, ChallengeSolution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vector::Component` [INFO] [stdout] --> src/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use vector::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> src/sub/navigation.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub use chunk::{parse_chunks_for_line, Chunk, ChunkStyle, ParseError, ParseResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dot`, `from_slice`, `iter`, `distance`, and `magnitude` are never used [INFO] [stdout] --> src/common/vector/vector.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Vector: Copy + Debug + Default + FromIterator + Send + Sync [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn dot(self, rhs: Self) -> C; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn from_slice(slice: &[C]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn iter(&self) -> Iter<'_, Self, C> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn distance(self, rhs: Self) -> f32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn magnitude(self) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/sub/navigation/chunk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | style: ChunkStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub/navigation/chunk/parser.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Error(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisitedCaves` is never constructed [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | struct VisitedCaves { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `have_already_visited`, and `visit_from` are never used [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl VisitedCaves { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 181 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn have_already_visited(&self, to_id: usize, from_id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn visit_from(&mut self, from_id: usize, to_id: usize) { [INFO] [stdout] | ^^^^^^^^^^ [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] --> /opt/rustwide/workdir/src/aoc/solution/day_4.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_board_inputs<'a, T>(board_inputs: T) -> Result> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | / board_inputs [INFO] [stdout] 37 | | .map(|board_input| bingo::BingoBoard::from_str(board_input)) [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/sub/crypto/seven_segment.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | |(signal_vec, output_str)| match signals_to_digits(&signal_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/sub/diagnostics/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn int_from_bit_iter<'a, T, U>(bit_iter: T) -> u32 [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 7 | / bit_iter [INFO] [stdout] 8 | | .rev() [INFO] [stdout] 9 | | .enumerate() [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/sub/modelling/octopuses.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | let main_map = Map2D::from_str(s)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let flash_map = Map2D::new(main_map.size(), false); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Octopuses { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | map2d: main_map, [INFO] [stdout] 22 | | flashes: flash_map, [INFO] [stdout] 23 | | total_flash_count: 0, [INFO] [stdout] 24 | | last_flash_count: 0, [INFO] [stdout] 25 | | }) [INFO] [stdout] | | ^ [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] | [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 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (lib) due to 5 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `dot`, `from_slice`, `iter`, `distance`, and `magnitude` are never used [INFO] [stdout] --> src/common/vector/vector.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Vector: Copy + Debug + Default + FromIterator + Send + Sync [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn dot(self, rhs: Self) -> C; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn from_slice(slice: &[C]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn iter(&self) -> Iter<'_, Self, C> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn distance(self, rhs: Self) -> f32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn magnitude(self) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/sub/navigation/chunk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | style: ChunkStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub/navigation/chunk/parser.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Error(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | Error(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisitedCaves` is never constructed [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | struct VisitedCaves { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `have_already_visited`, and `visit_from` are never used [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl VisitedCaves { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 181 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn have_already_visited(&self, to_id: usize, from_id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn visit_from(&mut self, from_id: usize, to_id: usize) { [INFO] [stdout] | ^^^^^^^^^^ [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] --> /opt/rustwide/workdir/src/aoc/solution/day_4.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse_board_inputs<'a, T>(board_inputs: T) -> Result> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | / board_inputs [INFO] [stdout] 37 | | .map(|board_input| bingo::BingoBoard::from_str(board_input)) [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/sub/crypto/seven_segment.rs:111:46 [INFO] [stdout] | [INFO] [stdout] 111 | |(signal_vec, output_str)| match signals_to_digits(&signal_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/sub/diagnostics/common.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn int_from_bit_iter<'a, T, U>(bit_iter: T) -> u32 [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 7 | / bit_iter [INFO] [stdout] 8 | | .rev() [INFO] [stdout] 9 | | .enumerate() [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/sub/modelling/octopuses.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | let main_map = Map2D::from_str(s)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let flash_map = Map2D::new(main_map.size(), false); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Octopuses { [INFO] [stdout] | ____________^ [INFO] [stdout] 21 | | map2d: main_map, [INFO] [stdout] 22 | | flashes: flash_map, [INFO] [stdout] 23 | | total_flash_count: 0, [INFO] [stdout] 24 | | last_flash_count: 0, [INFO] [stdout] 25 | | }) [INFO] [stdout] | | ^ [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] | [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 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ccf33a5dc6f18fbfd536e00a05ec82ac5be61e840057649a9ff4b027d211a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ccf33a5dc6f18fbfd536e00a05ec82ac5be61e840057649a9ff4b027d211a50", kill_on_drop: false }` [INFO] [stdout] 1ccf33a5dc6f18fbfd536e00a05ec82ac5be61e840057649a9ff4b027d211a50