[INFO] cloning repository https://github.com/yansq/advent_of_code_2022_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yansq/advent_of_code_2022_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc661d9082491d707079225e68a417b2287d92a1 [INFO] checking yansq/advent_of_code_2022_rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yansq/advent_of_code_2022_rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] finished tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] tweaked toml for git repo https://github.com/yansq/advent_of_code_2022_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yansq/advent_of_code_2022_rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93ca3d392f43cc58ebc92f6ad55b5c33684346ccb7b3998b122237628e99436d [INFO] running `Command { std: "docker" "start" "-a" "93ca3d392f43cc58ebc92f6ad55b5c33684346ccb7b3998b122237628e99436d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ca3d392f43cc58ebc92f6ad55b5c33684346ccb7b3998b122237628e99436d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ca3d392f43cc58ebc92f6ad55b5c33684346ccb7b3998b122237628e99436d", kill_on_drop: false }` [INFO] [stdout] 93ca3d392f43cc58ebc92f6ad55b5c33684346ccb7b3998b122237628e99436d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c89abce53b6c44de948d0b9119d4aaf494f98a30a6cc34a54702f82aee49f267 [INFO] running `Command { std: "docker" "start" "-a" "c89abce53b6c44de948d0b9119d4aaf494f98a30a6cc34a54702f82aee49f267", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_calories` is never used [INFO] [stdout] --> src/day1/calories_counting.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_calories() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/day10/cathode_ray_tube.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sum() -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Score` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Beats` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait Beats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandResult` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum HandResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_hand` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn play_hand(own_hand: Hand, opponent_hand: Hand) -> HandResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_score` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn calculate_score() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/day3/rucksack_reorganization.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn priority(ch: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/day3/rucksack_reorganization.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn result() -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_pairs` is never used [INFO] [stdout] --> src/day4/camp_cleanup.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_pairs() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(stacks: &mut [Vec]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn operate(stacks: &mut [Vec], count: u32, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_stacks` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn top_stacks() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_distinct` is never used [INFO] [stdout] --> src/day6/tuning_trouble.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn check_distinct(chars: &[char]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_processed` is never used [INFO] [stdout] --> src/day6/tuning_trouble.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn num_processed() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_tree` is never used [INFO] [stdout] --> src/day8/treetop_tree_house.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn count_tree() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dp` is never used [INFO] [stdout] --> src/day8/treetop_tree_house.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn dp(length: usize, vec: &Vec>, dp: &mut Vec>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_bytes` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_bytes

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "c89abce53b6c44de948d0b9119d4aaf494f98a30a6cc34a54702f82aee49f267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89abce53b6c44de948d0b9119d4aaf494f98a30a6cc34a54702f82aee49f267", kill_on_drop: false }` [INFO] [stdout] c89abce53b6c44de948d0b9119d4aaf494f98a30a6cc34a54702f82aee49f267 [INFO] checking yansq/advent_of_code_2022_rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyansq%2Fadvent_of_code_2022_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yansq/advent_of_code_2022_rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] finished tweaking git repo https://github.com/yansq/advent_of_code_2022_rust [INFO] tweaked toml for git repo https://github.com/yansq/advent_of_code_2022_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yansq/advent_of_code_2022_rust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c14f1799f9ae43bedf4dbaedbdfc4a30275211d08c259491bbe1bf0f999cea0 [INFO] running `Command { std: "docker" "start" "-a" "9c14f1799f9ae43bedf4dbaedbdfc4a30275211d08c259491bbe1bf0f999cea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c14f1799f9ae43bedf4dbaedbdfc4a30275211d08c259491bbe1bf0f999cea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c14f1799f9ae43bedf4dbaedbdfc4a30275211d08c259491bbe1bf0f999cea0", kill_on_drop: false }` [INFO] [stdout] 9c14f1799f9ae43bedf4dbaedbdfc4a30275211d08c259491bbe1bf0f999cea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c12e5bd4adb61338c001246f7c652c219333af29ccbbd9dd877fee8d2f9858 [INFO] running `Command { std: "docker" "start" "-a" "91c12e5bd4adb61338c001246f7c652c219333af29ccbbd9dd877fee8d2f9858", kill_on_drop: false }` [INFO] [stderr] Checking advent_of_code_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_calories` is never used [INFO] [stdout] --> src/day1/calories_counting.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_calories() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum` is never used [INFO] [stdout] --> src/day10/cathode_ray_tube.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sum() -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Score` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Beats` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | trait Beats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandResult` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum HandResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `play_hand` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn play_hand(own_hand: Hand, opponent_hand: Hand) -> HandResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_score` is never used [INFO] [stdout] --> src/day2/rock_paper_scissors.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn calculate_score() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priority` is never used [INFO] [stdout] --> src/day3/rucksack_reorganization.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn priority(ch: char) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/day3/rucksack_reorganization.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn result() -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_pairs` is never used [INFO] [stdout] --> src/day4/camp_cleanup.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn count_pairs() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn init(stacks: &mut [Vec]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operate` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn operate(stacks: &mut [Vec], count: u32, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `top_stacks` is never used [INFO] [stdout] --> src/day5/supply_stacks.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn top_stacks() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_distinct` is never used [INFO] [stdout] --> src/day6/tuning_trouble.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn check_distinct(chars: &[char]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_processed` is never used [INFO] [stdout] --> src/day6/tuning_trouble.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn num_processed() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_tree` is never used [INFO] [stdout] --> src/day8/treetop_tree_house.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn count_tree() -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dp` is never used [INFO] [stdout] --> src/day8/treetop_tree_house.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn dp(length: usize, vec: &Vec>, dp: &mut Vec>) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_bytes` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_bytes

(filename: P) -> io::Result>> [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.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 6 | 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] ... [INFO] [stdout] 10 | 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] 11 | 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: 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.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_bytes

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | 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] 19 | Ok(io::BufReader::new(file).bytes()) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [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.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 6 | 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] ... [INFO] [stdout] 10 | 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] 11 | 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: 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.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_bytes

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | 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] 19 | Ok(io::BufReader::new(file).bytes()) [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2022` (lib) due to 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2022` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "91c12e5bd4adb61338c001246f7c652c219333af29ccbbd9dd877fee8d2f9858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c12e5bd4adb61338c001246f7c652c219333af29ccbbd9dd877fee8d2f9858", kill_on_drop: false }` [INFO] [stdout] 91c12e5bd4adb61338c001246f7c652c219333af29ccbbd9dd877fee8d2f9858