[INFO] cloning repository https://github.com/kevin-bourgeix/aoc-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevin-bourgeix/aoc-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-bourgeix%2Faoc-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-bourgeix%2Faoc-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d63f56f220f56fb4e160097ce2c6beb1ab222bc5 [INFO] checking kevin-bourgeix/aoc-2023 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-bourgeix%2Faoc-2023" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevin-bourgeix/aoc-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/kevin-bourgeix/aoc-2023 [INFO] finished tweaking git repo https://github.com/kevin-bourgeix/aoc-2023 [INFO] tweaked toml for git repo https://github.com/kevin-bourgeix/aoc-2023 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kevin-bourgeix/aoc-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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aoc-runner-derive v0.3.0 [INFO] [stderr] Downloaded aoc-runner v0.3.0 [INFO] [stderr] Downloaded aoc-runner-internal v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 80d1a4497fedc7327363b6ecae7c0ba54cca936ba57f0879f7ac4a8550647bb1 [INFO] running `Command { std: "docker" "start" "-a" "80d1a4497fedc7327363b6ecae7c0ba54cca936ba57f0879f7ac4a8550647bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80d1a4497fedc7327363b6ecae7c0ba54cca936ba57f0879f7ac4a8550647bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d1a4497fedc7327363b6ecae7c0ba54cca936ba57f0879f7ac4a8550647bb1", kill_on_drop: false }` [INFO] [stdout] 80d1a4497fedc7327363b6ecae7c0ba54cca936ba57f0879f7ac4a8550647bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1f0b78f28d452b626bbdfce65dacd8fbf26019c96b4e130abb014023d4f16738 [INFO] running `Command { std: "docker" "start" "-a" "1f0b78f28d452b626bbdfce65dacd8fbf26019c96b4e130abb014023d4f16738", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking aoc-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | aoc_lib! { year = 2023 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to write infos from lib: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | aoc_lib! { year = 2023 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: failed to write infos from lib: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1/clean.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[aoc(day1, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1/clean.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[aoc(day1, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1/clean.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[aoc(day1, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day1/clean.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | #[aoc(day1, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2/mod.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[aoc(day2, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2/mod.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | #[aoc(day2, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | #[aoc(day2, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day2/mod.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | #[aoc(day2, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3/mod.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[aoc(day3, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3/mod.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | #[aoc(day3, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[aoc(day3, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day3/mod.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[aoc(day3, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[aoc(day4, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[aoc(day4, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[aoc(day4, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day4/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[aoc(day4, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5/mod.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[aoc(day5, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5/mod.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[aoc(day5, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5/mod.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | #[aoc(day5, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day5/mod.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | #[aoc(day5, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[aoc(day6, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6/mod.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[aoc(day6, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[aoc(day6, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7/mod.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | #[aoc(day7, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day6/mod.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[aoc(day6, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7/mod.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | #[aoc(day7, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7/mod.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | #[aoc(day7, part1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> src/day7/mod.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | #[aoc(day7, part2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Factory` in the root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `aoc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `aoc_generator`, `aoc_main`, `aoc` [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc_runner_derive::{aoc, aoc_generator, aoc_lib, aoc_main}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `aoc_generator`, `aoc` [INFO] [stdout] --> src/day1/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc_runner_derive::{aoc, aoc_generator}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/day3/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day5/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day5/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/day5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::replace` [INFO] [stdout] --> src/day6/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::replace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `aoc_generator`, `aoc_main`, `aoc` [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc_runner_derive::{aoc, aoc_generator, aoc_lib, aoc_main}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `aoc_generator`, `aoc` [INFO] [stdout] --> src/day1/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use aoc_runner_derive::{aoc, aoc_generator}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/day3/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/day5/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/day5/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/day5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::replace` [INFO] [stdout] --> src/day6/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ptr::replace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2023` (lib test) due to 16 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc-2023` (lib) due to 16 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1f0b78f28d452b626bbdfce65dacd8fbf26019c96b4e130abb014023d4f16738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f0b78f28d452b626bbdfce65dacd8fbf26019c96b4e130abb014023d4f16738", kill_on_drop: false }` [INFO] [stdout] 1f0b78f28d452b626bbdfce65dacd8fbf26019c96b4e130abb014023d4f16738 [INFO] checking kevin-bourgeix/aoc-2023 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevin-bourgeix%2Faoc-2023" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kevin-bourgeix/aoc-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/kevin-bourgeix/aoc-2023 [INFO] finished tweaking git repo https://github.com/kevin-bourgeix/aoc-2023 [INFO] tweaked toml for git repo https://github.com/kevin-bourgeix/aoc-2023 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kevin-bourgeix/aoc-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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28015d782627f86e833cca651fbad539dd34631c03cb48b5a2fc89bb0d4bd85c [INFO] running `Command { std: "docker" "start" "-a" "28015d782627f86e833cca651fbad539dd34631c03cb48b5a2fc89bb0d4bd85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28015d782627f86e833cca651fbad539dd34631c03cb48b5a2fc89bb0d4bd85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28015d782627f86e833cca651fbad539dd34631c03cb48b5a2fc89bb0d4bd85c", kill_on_drop: false }` [INFO] [stdout] 28015d782627f86e833cca651fbad539dd34631c03cb48b5a2fc89bb0d4bd85c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] d900fcd33acde8e1a0eb9d165bc540092dc252b1919ca31bd2cd66d802ef5f46 [INFO] running `Command { std: "docker" "start" "-a" "d900fcd33acde8e1a0eb9d165bc540092dc252b1919ca31bd2cd66d802ef5f46", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking aoc-2023 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/day5/mod.rs (5 fixes) [INFO] [stderr] Fixed src/day3/mod.rs (1 fix) [INFO] [stderr] Fixed src/day6/mod.rs (1 fix) [INFO] [stderr] Fixed src/day1/mod.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day1/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/day2/mod.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let game_id = regex.captures(l).unwrap().get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> src/day3/mod.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | number = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day7/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | _ => panic!("Invalid hand value"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen` is never used [INFO] [stdout] --> src/day1/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn day1_gen(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res` is never used [INFO] [stdout] --> src/day1/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn day1_res(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words` is never used [INFO] [stdout] --> src/day1/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words_to_numbers` is never used [INFO] [stdout] --> src/day1/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn words_to_numbers(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen2` is never used [INFO] [stdout] --> src/day1/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn day1_gen2(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res2` is never used [INFO] [stdout] --> src/day1/mod.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn day1_res2(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `withWords` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn compute(input: &str, withWords: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `with_words` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `strReg` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let strReg = match withWords { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `str_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRegex` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let reverseRegex = Regex::new(&strReg.chars().rev().collect::()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subsetType` should have a snake case name [INFO] [stdout] --> src/day2/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut subsetType = Set::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `subset_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numLists` should have a snake case name [INFO] [stdout] --> src/day4/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let numLists: Vec<&str> = l.split(":").nth(1).unwrap().split("|").collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `num_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let handValue = hand_to_value(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let handValue = hand_to_value_joker(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day1/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/day2/mod.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let game_id = regex.captures(l).unwrap().get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> src/day3/mod.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | number = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day7/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | _ => panic!("Invalid hand value"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen` is never used [INFO] [stdout] --> src/day1/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn day1_gen(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res` is never used [INFO] [stdout] --> src/day1/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn day1_res(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words` is never used [INFO] [stdout] --> src/day1/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words_to_numbers` is never used [INFO] [stdout] --> src/day1/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn words_to_numbers(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen2` is never used [INFO] [stdout] --> src/day1/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn day1_gen2(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res2` is never used [INFO] [stdout] --> src/day1/mod.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn day1_res2(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `withWords` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn compute(input: &str, withWords: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `with_words` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `strReg` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let strReg = match withWords { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `str_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRegex` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let reverseRegex = Regex::new(&strReg.chars().rev().collect::()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subsetType` should have a snake case name [INFO] [stdout] --> src/day2/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut subsetType = Set::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `subset_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numLists` should have a snake case name [INFO] [stdout] --> src/day4/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let numLists: Vec<&str> = l.split(":").nth(1).unwrap().split("|").collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `num_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let handValue = hand_to_value(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let handValue = hand_to_value_joker(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.31s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc-2023 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day1/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/day1/mod.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/day2/mod.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let game_id = regex.captures(l).unwrap().get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_id` [INFO] [stdout] --> src/day2/mod.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let game_id = regex.captures(l).unwrap().get(1).unwrap().as_str().parse::().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> src/day3/mod.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | number = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `number` is never read [INFO] [stdout] --> src/day3/mod.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | number = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day7/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | _ => panic!("Invalid hand value"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/day7/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | _ => panic!("Invalid hand value"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen` is never used [INFO] [stdout] --> src/day1/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn day1_gen(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res` is never used [INFO] [stdout] --> src/day1/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn day1_res(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words` is never used [INFO] [stdout] --> src/day1/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words_to_numbers` is never used [INFO] [stdout] --> src/day1/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn words_to_numbers(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen2` is never used [INFO] [stdout] --> src/day1/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn day1_gen2(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res2` is never used [INFO] [stdout] --> src/day1/mod.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn day1_res2(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `withWords` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn compute(input: &str, withWords: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `with_words` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `strReg` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let strReg = match withWords { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `str_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRegex` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let reverseRegex = Regex::new(&strReg.chars().rev().collect::()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subsetType` should have a snake case name [INFO] [stdout] --> src/day2/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut subsetType = Set::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `subset_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numLists` should have a snake case name [INFO] [stdout] --> src/day4/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let numLists: Vec<&str> = l.split(":").nth(1).unwrap().split("|").collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `num_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen` is never used [INFO] [stdout] --> src/day1/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn day1_gen(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res` is never used [INFO] [stdout] --> src/day1/mod.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn day1_res(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let handValue = hand_to_value(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words` is never used [INFO] [stdout] --> src/day1/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn words(input: &str) -> Vec<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `words_to_numbers` is never used [INFO] [stdout] --> src/day1/mod.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn words_to_numbers(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_gen2` is never used [INFO] [stdout] --> src/day1/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn day1_gen2(input: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_res2` is never used [INFO] [stdout] --> src/day1/mod.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn day1_res2(input: &[usize]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let handValue = hand_to_value_joker(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `withWords` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | fn compute(input: &str, withWords: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `with_words` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `strReg` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let strReg = match withWords { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `str_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRegex` should have a snake case name [INFO] [stdout] --> src/day1/clean.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let reverseRegex = Regex::new(&strReg.chars().rev().collect::()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `subsetType` should have a snake case name [INFO] [stdout] --> src/day2/mod.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut subsetType = Set::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `subset_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numLists` should have a snake case name [INFO] [stdout] --> src/day4/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let numLists: Vec<&str> = l.split(":").nth(1).unwrap().split("|").collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `num_lists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handString` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut handString = hand.to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `hand_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let handValue = hand_to_value(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `handValue` should have a snake case name [INFO] [stdout] --> src/day7/mod.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let handValue = hand_to_value_joker(hand.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hand_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [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.21s [INFO] running `Command { std: "docker" "inspect" "d900fcd33acde8e1a0eb9d165bc540092dc252b1919ca31bd2cd66d802ef5f46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d900fcd33acde8e1a0eb9d165bc540092dc252b1919ca31bd2cd66d802ef5f46", kill_on_drop: false }` [INFO] [stdout] d900fcd33acde8e1a0eb9d165bc540092dc252b1919ca31bd2cd66d802ef5f46