[INFO] cloning repository https://github.com/dronda-t/advent-of-code-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dronda-t/advent-of-code-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdronda-t%2Fadvent-of-code-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdronda-t%2Fadvent-of-code-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0ebc11cf6b1f5e79cf9611bc5dfa1c01f07e571 [INFO] checking dronda-t/advent-of-code-2023 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdronda-t%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dronda-t/advent-of-code-2023 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dronda-t/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/dronda-t/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/dronda-t/advent-of-code-2023 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dronda-t/advent-of-code-2023 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 397f3d106ca8e6456fb93fb9bb0873ddeffa9b07d74c75781fe9f17632ca114d [INFO] running `Command { std: "docker" "start" "-a" "397f3d106ca8e6456fb93fb9bb0873ddeffa9b07d74c75781fe9f17632ca114d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "397f3d106ca8e6456fb93fb9bb0873ddeffa9b07d74c75781fe9f17632ca114d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397f3d106ca8e6456fb93fb9bb0873ddeffa9b07d74c75781fe9f17632ca114d", kill_on_drop: false }` [INFO] [stdout] 397f3d106ca8e6456fb93fb9bb0873ddeffa9b07d74c75781fe9f17632ca114d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a866d38ad53fd5ad0a25d9acac0a1c5c29959a6b681025c73d0ce46bc62b406e [INFO] running `Command { std: "docker" "start" "-a" "a866d38ad53fd5ad0a25d9acac0a1c5c29959a6b681025c73d0ce46bc62b406e", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/day1.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::read_file` [INFO] [stdout] --> src/day1.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use advent_of_code_2023::read_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day1` [INFO] [stdout] --> src/day1.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::day1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/day2.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::read_file` [INFO] [stdout] --> src/day2.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use advent_of_code_2023::read_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day2` [INFO] [stdout] --> src/day2.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::day2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/day3.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::read_file` [INFO] [stdout] --> src/day3.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | use advent_of_code_2023::read_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day3` [INFO] [stdout] --> src/day3.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | use crate::day3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day4.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/day4.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `advent_of_code_2023::read_file` [INFO] [stdout] --> src/day4.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use advent_of_code_2023::read_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::day4` [INFO] [stdout] --> src/day4.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::day4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/day4.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BTreeMap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_game` is never used [INFO] [stdout] --> src/day2.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_game(line: &str) -> Game { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day2.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day2.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day3.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Grid(Vec>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xy_in_grid`, `create_valid_point`, and `point` are never used [INFO] [stdout] --> src/day3.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 12 | fn xy_in_grid(&self, x: isize, y: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn create_valid_point(&self, x: isize, y: isize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn point(&self, point: &Point) -> Option<&char> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_whole_number_direction` is never used [INFO] [stdout] --> src/day3.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn find_whole_number_direction(grid: &Grid, point: &Point, visited: &mut HashSet, numbers: &mut Vec, update: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_whole_number` is never used [INFO] [stdout] --> src/day3.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn find_whole_number(grid: &Grid, visited: &mut HashSet, point: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_valid_neighbors` is never used [INFO] [stdout] --> src/day3.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_valid_neighbors(grid: &Grid, visited: &mut HashSet, point: &Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grid` is never used [INFO] [stdout] --> src/day3.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn create_grid(input: Vec<&str>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `breadth_first_search` is never used [INFO] [stdout] --> src/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn breadth_first_search(grid: Grid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `breadth_first_search` is never used [INFO] [stdout] --> src/day3.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn breadth_first_search(grid: Grid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day3.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number_string` is never used [INFO] [stdout] --> src/day4.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_number_string(string: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day4.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "a866d38ad53fd5ad0a25d9acac0a1c5c29959a6b681025c73d0ce46bc62b406e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a866d38ad53fd5ad0a25d9acac0a1c5c29959a6b681025c73d0ce46bc62b406e", kill_on_drop: false }` [INFO] [stdout] a866d38ad53fd5ad0a25d9acac0a1c5c29959a6b681025c73d0ce46bc62b406e [INFO] checking dronda-t/advent-of-code-2023 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdronda-t%2Fadvent-of-code-2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dronda-t/advent-of-code-2023 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dronda-t/advent-of-code-2023 [INFO] finished tweaking git repo https://github.com/dronda-t/advent-of-code-2023 [INFO] tweaked toml for git repo https://github.com/dronda-t/advent-of-code-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dronda-t/advent-of-code-2023 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b424b4c1d782a167c6c3579092acc845b9ebd5b3d1b9f594a29193b928c342c [INFO] running `Command { std: "docker" "start" "-a" "5b424b4c1d782a167c6c3579092acc845b9ebd5b3d1b9f594a29193b928c342c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b424b4c1d782a167c6c3579092acc845b9ebd5b3d1b9f594a29193b928c342c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b424b4c1d782a167c6c3579092acc845b9ebd5b3d1b9f594a29193b928c342c", kill_on_drop: false }` [INFO] [stdout] 5b424b4c1d782a167c6c3579092acc845b9ebd5b3d1b9f594a29193b928c342c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0356535cd6a8e6d8f12e12bede702e7a554338ab2287bcc3ff7a8b47821962c [INFO] running `Command { std: "docker" "start" "-a" "f0356535cd6a8e6d8f12e12bede702e7a554338ab2287bcc3ff7a8b47821962c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/day4.rs (1 fix) [INFO] [stderr] Fixed src/day2.rs (3 fixes) [INFO] [stderr] Fixed src/day3.rs (3 fixes) [INFO] [stderr] Fixed src/day1.rs (3 fixes) [INFO] [stderr] Fixed src/day4.rs (3 fixes) [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_game` is never used [INFO] [stdout] --> src/day2.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_game(line: &str) -> Game { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day2.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day2.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day3.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Grid(Vec>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xy_in_grid`, `create_valid_point`, and `point` are never used [INFO] [stdout] --> src/day3.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 12 | fn xy_in_grid(&self, x: isize, y: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn create_valid_point(&self, x: isize, y: isize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn point(&self, point: &Point) -> Option<&char> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_whole_number_direction` is never used [INFO] [stdout] --> src/day3.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn find_whole_number_direction(grid: &Grid, point: &Point, visited: &mut HashSet, numbers: &mut Vec, update: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_whole_number` is never used [INFO] [stdout] --> src/day3.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn find_whole_number(grid: &Grid, visited: &mut HashSet, point: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_valid_neighbors` is never used [INFO] [stdout] --> src/day3.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_valid_neighbors(grid: &Grid, visited: &mut HashSet, point: &Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grid` is never used [INFO] [stdout] --> src/day3.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn create_grid(input: Vec<&str>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `breadth_first_search` is never used [INFO] [stdout] --> src/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn breadth_first_search(grid: Grid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `breadth_first_search` is never used [INFO] [stdout] --> src/day3.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn breadth_first_search(grid: Grid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day3.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number_string` is never used [INFO] [stdout] --> src/day4.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_number_string(string: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day4.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.97s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking advent-of-code-2023 v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day1.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | let file = read_file("input", 1); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 32 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 32 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day1.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day1` [INFO] [stdout] --> src/day1.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | let result = day1::pt_2(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day1` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 32 + use crate::day1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day1.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 32 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day2.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let file = read_file("input", 2); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 69 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 69 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day2.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day2` [INFO] [stdout] --> src/day2.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let result = day2::part_1(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 69 + use crate::day2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day2.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day2.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let file = read_file("input", 2); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 69 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 69 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day2.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day2` [INFO] [stdout] --> src/day2.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let result = day2::part_2(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 69 + use crate::day2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day2.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day3.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | let file = read_file("input", 3); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 163 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 163 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day3.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 163 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day3` [INFO] [stdout] --> src/day3.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = day3::part_1::part_1(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 163 + use crate::day3::part_1; [INFO] [stdout] | [INFO] [stdout] help: if you import `part_1`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 168 - let result = day3::part_1::part_1(lines); [INFO] [stdout] 168 + let result = part_1::part_1(lines); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day3.rs:169:19 [INFO] [stdout] | [INFO] [stdout] 169 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 163 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day3.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | let file = read_file("input", 3); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 163 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 163 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day3.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 163 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day3` [INFO] [stdout] --> src/day3.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let result = day3::part_2::part_2(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 163 + use crate::day3::part_2; [INFO] [stdout] | [INFO] [stdout] help: if you import `part_2`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 179 - let result = day3::part_2::part_2(lines); [INFO] [stdout] 179 + let result = part_2::part_2(lines); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day3.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 163 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day4.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let file = read_file("input", 4); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 47 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 47 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day4.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day4` [INFO] [stdout] --> src/day4.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let result = day4::part_1(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 47 + use crate::day4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day4.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file` in this scope [INFO] [stdout] --> src/day4.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | let file = read_file("input", 4); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 47 + use advent_of_code_2023::read_file; [INFO] [stdout] | [INFO] [stdout] 47 + use crate::read_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day4.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let beg = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day4` [INFO] [stdout] --> src/day4.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let result = day4::part_2(lines); [INFO] [stdout] | ^^^^ use of undeclared crate or module `day4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 47 + use crate::day4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/day4.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let end = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 47 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/day2.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_game` is never used [INFO] [stdout] --> src/day2.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_game(line: &str) -> Game { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day2.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day2.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day3.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grid` is never constructed [INFO] [stdout] --> src/day3.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Grid(Vec>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xy_in_grid`, `create_valid_point`, and `point` are never used [INFO] [stdout] --> src/day3.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 12 | fn xy_in_grid(&self, x: isize, y: isize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn create_valid_point(&self, x: isize, y: isize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn point(&self, point: &Point) -> Option<&char> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_whole_number_direction` is never used [INFO] [stdout] --> src/day3.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn find_whole_number_direction(grid: &Grid, point: &Point, visited: &mut HashSet, numbers: &mut Vec, update: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_whole_number` is never used [INFO] [stdout] --> src/day3.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn find_whole_number(grid: &Grid, visited: &mut HashSet, point: &Point) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_valid_neighbors` is never used [INFO] [stdout] --> src/day3.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn find_valid_neighbors(grid: &Grid, visited: &mut HashSet, point: &Point) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grid` is never used [INFO] [stdout] --> src/day3.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn create_grid(input: Vec<&str>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `breadth_first_search` is never used [INFO] [stdout] --> src/day3.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn breadth_first_search(grid: Grid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `breadth_first_search` is never used [INFO] [stdout] --> src/day3.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn breadth_first_search(grid: Grid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day3.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number_string` is never used [INFO] [stdout] --> src/day4.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_number_string(string: &str) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_1` is never used [INFO] [stdout] --> src/day4.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn part_1(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_2` is never used [INFO] [stdout] --> src/day4.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn part_2(input: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2023` (bin "advent-of-code-2023" test) due to 29 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f0356535cd6a8e6d8f12e12bede702e7a554338ab2287bcc3ff7a8b47821962c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0356535cd6a8e6d8f12e12bede702e7a554338ab2287bcc3ff7a8b47821962c", kill_on_drop: false }` [INFO] [stdout] f0356535cd6a8e6d8f12e12bede702e7a554338ab2287bcc3ff7a8b47821962c