[INFO] cloning repository https://github.com/andogq/aoc_22 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andogq/aoc_22" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Faoc_22", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandogq%2Faoc_22'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0d8da49fbe7add7220ccbdefa01d113f7068146 [INFO] checking andogq/aoc_22/c0d8da49fbe7add7220ccbdefa01d113f7068146 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%2Fandogq%2Faoc_22" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andogq/aoc_22 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/andogq/aoc_22 [INFO] finished tweaking git repo https://github.com/andogq/aoc_22 [INFO] tweaked toml for git repo https://github.com/andogq/aoc_22 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andogq/aoc_22 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1479b82bc18c4fe11512714fd664a7be3b2a91772902dd53873abda39d674f11 [INFO] running `Command { std: "docker" "start" "-a" "1479b82bc18c4fe11512714fd664a7be3b2a91772902dd53873abda39d674f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1479b82bc18c4fe11512714fd664a7be3b2a91772902dd53873abda39d674f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1479b82bc18c4fe11512714fd664a7be3b2a91772902dd53873abda39d674f11", kill_on_drop: false }` [INFO] [stdout] 1479b82bc18c4fe11512714fd664a7be3b2a91772902dd53873abda39d674f11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 72ad6560946abe2d8b4219308dd92814b2085b2810d1eeaf9d89e0955114644e [INFO] running `Command { std: "docker" "start" "-a" "72ad6560946abe2d8b4219308dd92814b2085b2810d1eeaf9d89e0955114644e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking signal-hook v0.3.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tqdm v0.4.2 [INFO] [stderr] Checking advent_of_code_22 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/problems/day_17.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] 282 + tower[position.1 - 1 + y].overlap(&row) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/problems/day_17.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - tower[(position.1 - 1 + y)].overlap(&row) [INFO] [stdout] 282 + tower[position.1 - 1 + y].overlap(&row) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 255 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 256 | [INFO] [stdout] 257 | / let start = input [INFO] [stdout] 258 | | .valves [INFO] [stdout] 259 | | .iter() [INFO] [stdout] 260 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 261 | | .unwrap() [INFO] [stdout] 262 | | .0 [INFO] [stdout] 263 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 269 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 270 | [INFO] [stdout] 271 | / let start = input [INFO] [stdout] 272 | | .valves [INFO] [stdout] 273 | | .iter() [INFO] [stdout] 274 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 275 | | .unwrap() [INFO] [stdout] 276 | | .0 [INFO] [stdout] 277 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 255 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 256 | [INFO] [stdout] 257 | / let start = input [INFO] [stdout] 258 | | .valves [INFO] [stdout] 259 | | .iter() [INFO] [stdout] 260 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 261 | | .unwrap() [INFO] [stdout] 262 | | .0 [INFO] [stdout] 263 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/problems/day_16.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 269 | return 0; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 270 | [INFO] [stdout] 271 | / let start = input [INFO] [stdout] 272 | | .valves [INFO] [stdout] 273 | | .iter() [INFO] [stdout] 274 | | .find(|(_, v)| v.identifier == "AA") [INFO] [stdout] 275 | | .unwrap() [INFO] [stdout] 276 | | .0 [INFO] [stdout] 277 | | .to_owned(); [INFO] [stdout] | |________________________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | fn part_1(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | fn part_2(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rocks` [INFO] [stdout] --> src/problems/day_17.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jets` [INFO] [stdout] --> src/problems/day_17.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_ROCKS_2` is never used [INFO] [stdout] --> src/problems/day_17.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NUM_ROCKS_2: usize = 1000000000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `world_to_hashset` is never used [INFO] [stdout] --> src/problems/day_17.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn world_to_hashset(world: &[Row]) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive`, `solve`, and `roots` are never used [INFO] [stdout] --> src/problems/day_21.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Polynomial { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn derive(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn solve(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn roots(&self) -> Option { [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] --> src/day.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 11 | let input = Self::parse(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | [INFO] [stdout] 13 | (Self::part_1(input.clone()), Self::part_2(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/day.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 11 | let input = Self::parse(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | [INFO] [stdout] 13 | (Self::part_1(input.clone()), Self::part_2(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] [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/problems/day_08.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | let rows: BoxedIter<_> = Box::new((0..height).map(move |row_number| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let cols = Box::new((0..width).map(move |col_number| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | / [rows, cols] [INFO] [stdout] 24 | | .into_iter() [INFO] [stdout] 25 | | .flatten() [INFO] [stdout] 26 | | .fold(HashSet::new(), |mut visible_trees, mut sequence| { [INFO] [stdout] ... | [INFO] [stdout] 67 | | forward_visible [INFO] [stdout] 68 | | }) [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/problems/day_16.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 313 | let connections = line [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | / Valve { [INFO] [stdout] 321 | | identifier: identifier_str.to_string(), [INFO] [stdout] 322 | | flow_rate, [INFO] [stdout] 323 | | connections, [INFO] [stdout] 324 | | }, [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 254 | fn part_1(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_22` (bin "advent_of_code_22") due to 5 previous errors; 10 warnings emitted [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/problems/day_16.rs:268:15 [INFO] [stdout] | [INFO] [stdout] 268 | fn part_2(input: Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `rocks` [INFO] [stdout] --> src/problems/day_17.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jets` [INFO] [stdout] --> src/problems/day_17.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | fn part_2((rocks, jets): Self::Input) -> Self::Output { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_jets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_ROCKS_2` is never used [INFO] [stdout] --> src/problems/day_17.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const NUM_ROCKS_2: usize = 1000000000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `world_to_hashset` is never used [INFO] [stdout] --> src/problems/day_17.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn world_to_hashset(world: &[Row]) -> HashSet<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `derive`, `solve`, and `roots` are never used [INFO] [stdout] --> src/problems/day_21.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Polynomial { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn derive(&self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn solve(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn roots(&self) -> Option { [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] --> src/day.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 11 | let input = Self::parse(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | [INFO] [stdout] 13 | (Self::part_1(input.clone()), Self::part_2(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/day.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 11 | let input = Self::parse(input); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | [INFO] [stdout] 13 | (Self::part_1(input.clone()), Self::part_2(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] [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/problems/day_08.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | let rows: BoxedIter<_> = Box::new((0..height).map(move |row_number| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | let cols = Box::new((0..width).map(move |col_number| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | / [rows, cols] [INFO] [stdout] 24 | | .into_iter() [INFO] [stdout] 25 | | .flatten() [INFO] [stdout] 26 | | .fold(HashSet::new(), |mut visible_trees, mut sequence| { [INFO] [stdout] ... | [INFO] [stdout] 67 | | forward_visible [INFO] [stdout] 68 | | }) [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/problems/day_16.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 313 | let connections = line [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | / Valve { [INFO] [stdout] 321 | | identifier: identifier_str.to_string(), [INFO] [stdout] 322 | | flow_rate, [INFO] [stdout] 323 | | connections, [INFO] [stdout] 324 | | }, [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; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_22` (bin "advent_of_code_22" test) due to 5 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72ad6560946abe2d8b4219308dd92814b2085b2810d1eeaf9d89e0955114644e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ad6560946abe2d8b4219308dd92814b2085b2810d1eeaf9d89e0955114644e", kill_on_drop: false }` [INFO] [stdout] 72ad6560946abe2d8b4219308dd92814b2085b2810d1eeaf9d89e0955114644e