[INFO] cloning repository https://github.com/Jakedavies/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jakedavies/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakedavies%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakedavies%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc0396141d1518734ef74ddaf2f04464965ac304 [INFO] checking Jakedavies/aoc2021/fc0396141d1518734ef74ddaf2f04464965ac304 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%2FJakedavies%2Faoc2021" "/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/Jakedavies/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/Jakedavies/aoc2021 [INFO] finished tweaking git repo https://github.com/Jakedavies/aoc2021 [INFO] tweaked toml for git repo https://github.com/Jakedavies/aoc2021 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jakedavies/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-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] acafd31f475ab44e28a8bd479a6687cb5926488bb1e423a8a649ac671390846b [INFO] running `Command { std: "docker" "start" "-a" "acafd31f475ab44e28a8bd479a6687cb5926488bb1e423a8a649ac671390846b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acafd31f475ab44e28a8bd479a6687cb5926488bb1e423a8a649ac671390846b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acafd31f475ab44e28a8bd479a6687cb5926488bb1e423a8a649ac671390846b", kill_on_drop: false }` [INFO] [stdout] acafd31f475ab44e28a8bd479a6687cb5926488bb1e423a8a649ac671390846b [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] abe93a5d02f898564dac1734259e6ad3a4ac64be4916ad031e2723161f57006c [INFO] running `Command { std: "docker" "start" "-a" "abe93a5d02f898564dac1734259e6ad3a4ac64be4916ad031e2723161f57006c", kill_on_drop: false }` [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day3.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut result: String = count_to_binary_string(counts); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day3.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut result: String = count_to_binary_string(counts); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day6.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut fish: Vec = lines[0] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils/file_utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day1.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day2.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day2.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn invert_binary_string(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day3.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BingoCell` is never constructed [INFO] [stdout] --> src/days/day4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct BingoCell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bingo` is never constructed [INFO] [stdout] --> src/days/day4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Bingo { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fill_number`, `check_won`, `from_lines`, `print`, and `get_unfilled_sum` are never used [INFO] [stdout] --> src/days/day4.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bingo { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | fn fill_number(&mut self, num: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn check_won(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn from_lines(input: &[&str]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_unfilled_sum(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day4.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day4.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vent` is never constructed [INFO] [stdout] --> src/days/day5.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vent { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/days/day5.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_input(input: &str) -> Vent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_to_key` is never used [INFO] [stdout] --> src/days/day5.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn coord_to_key(x: i32, y: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_pointmap` is never used [INFO] [stdout] --> src/days/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn add_to_pointmap(map: &mut HashMap, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day5.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day5.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/days/day6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn simulate(fishes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_fishmap` is never used [INFO] [stdout] --> src/days/day6.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn init_fishmap() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate_v2` is never used [INFO] [stdout] --> src/days/day6.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn simulate_v2(fishes: HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day6.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/days/day6.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut fish: Vec = lines[0] [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day6.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day7.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [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/utils/file_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | where P: AsRef, { [INFO] [stdout] 7 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(io::BufReader::new(file).lines()) [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] = 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] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils/file_utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day1.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/days/day2.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instruction` is never constructed [INFO] [stdout] --> src/days/day2.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command` is never used [INFO] [stdout] --> src/days/day2.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parse_command(instruction: &str) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_command` is never used [INFO] [stdout] --> src/days/day2.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn apply_command(origin: Point, command: &str) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_command_part2` is never used [INFO] [stdout] --> src/days/day2.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn apply_command_part2(aim: Aim, origin: Point, command: &str) -> (Aim, Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day2.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day2.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn process_binary_string(mut counts: Vec, binary: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn invert_binary_string(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_to_binary_string` is never used [INFO] [stdout] --> src/days/day3.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn count_to_binary_string(counts: Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day3.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_oxygen` is never used [INFO] [stdout] --> src/days/day3.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn extract_oxygen(mut counts: Vec>) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_co2` is never used [INFO] [stdout] --> src/days/day3.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn extract_co2(mut counts: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BingoCell` is never constructed [INFO] [stdout] --> src/days/day4.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct BingoCell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bingo` is never constructed [INFO] [stdout] --> src/days/day4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Bingo { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `fill_number`, `check_won`, `from_lines`, `print`, and `get_unfilled_sum` are never used [INFO] [stdout] --> src/days/day4.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Bingo { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 16 | fn fill_number(&mut self, num: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn check_won(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn from_lines(input: &[&str]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn get_unfilled_sum(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day4.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day4.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vent` is never constructed [INFO] [stdout] --> src/days/day5.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Vent { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_input` is never used [INFO] [stdout] --> src/days/day5.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_input(input: &str) -> Vent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_to_key` is never used [INFO] [stdout] --> src/days/day5.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn coord_to_key(x: i32, y: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_to_pointmap` is never used [INFO] [stdout] --> src/days/day5.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn add_to_pointmap(map: &mut HashMap, x: i32, y: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day5.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day5.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate` is never used [INFO] [stdout] --> src/days/day6.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn simulate(fishes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_fishmap` is never used [INFO] [stdout] --> src/days/day6.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn init_fishmap() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulate_v2` is never used [INFO] [stdout] --> src/days/day6.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn simulate_v2(fishes: HashMap) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day6.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/days/day6.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn part2() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/days/day7.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn part1() { [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/utils/file_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | where P: AsRef, { [INFO] [stdout] 7 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Ok(io::BufReader::new(file).lines()) [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] = 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; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2021` (bin "aoc2021" test) due to 2 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc2021` (bin "aoc2021") due to 2 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "abe93a5d02f898564dac1734259e6ad3a4ac64be4916ad031e2723161f57006c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe93a5d02f898564dac1734259e6ad3a4ac64be4916ad031e2723161f57006c", kill_on_drop: false }` [INFO] [stdout] abe93a5d02f898564dac1734259e6ad3a4ac64be4916ad031e2723161f57006c