[INFO] cloning repository https://github.com/benj2468/aoc-23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benj2468/aoc-23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenj2468%2Faoc-23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenj2468%2Faoc-23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0d471d9810b3290f7f8252615d522f8fa2ccbf0 [INFO] checking benj2468/aoc-23/d0d471d9810b3290f7f8252615d522f8fa2ccbf0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenj2468%2Faoc-23" "/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/benj2468/aoc-23 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benj2468/aoc-23 [INFO] finished tweaking git repo https://github.com/benj2468/aoc-23 [INFO] tweaked toml for git repo https://github.com/benj2468/aoc-23 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/benj2468/aoc-23 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b92cc86b4a258ef18e0c9809195e263295169c0537b3428f87961d454fe77da [INFO] running `Command { std: "docker" "start" "-a" "2b92cc86b4a258ef18e0c9809195e263295169c0537b3428f87961d454fe77da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b92cc86b4a258ef18e0c9809195e263295169c0537b3428f87961d454fe77da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b92cc86b4a258ef18e0c9809195e263295169c0537b3428f87961d454fe77da", kill_on_drop: false }` [INFO] [stdout] 2b92cc86b4a258ef18e0c9809195e263295169c0537b3428f87961d454fe77da [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb4c6373690187d8ff845af709726531be9bbaefbf507b63555085d55816acf [INFO] running `Command { std: "docker" "start" "-a" "1eb4c6373690187d8ff845af709726531be9bbaefbf507b63555085d55816acf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking pathfinding v4.4.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc-23 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/day2/mod.rs (3 fixes) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/day2/mod.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let max = GamePart { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day1/mod.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Day1(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day2/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 51 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/mod.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Day2(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day3/mod.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | struct Day3_2(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day3_2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day5/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day5/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day6/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day6/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | struct Part2(usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day7/mod.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day8/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day8/mod.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | struct Part2(usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day9/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | struct Part1(isize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day9/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | struct Part2(isize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/day2/mod.rs (1 fix) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/day2/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let max = GamePart { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day1/mod.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Day1(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day2/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 50 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/mod.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Day2(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbols`, `numbers`, and `potential_gears` are never read [INFO] [stdout] --> src/day3/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Day3 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | symbols: HashSet<(usize, usize)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | numbers: HashMap<(usize, usize), Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | potential_gears: HashSet<(usize, usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Day3` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `part1` and `part2` are never used [INFO] [stdout] --> src/day3/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Day3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 37 | fn part1(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn part2(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day3/mod.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | struct Day3_2(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day3_2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day5/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day5/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day6/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day6/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | struct Part2(usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day7/mod.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day8/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day8/mod.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | struct Part2(usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day9/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | struct Part1(isize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day9/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | struct Part2(isize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc-23 v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Day2` [INFO] [stdout] --> src/day2/mod.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | println!("{:?}", Day2::from(input)); [INFO] [stdout] | ^^^^ use of undeclared type `Day2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::day2::part1::Day2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Day2` [INFO] [stdout] --> src/day2/mod.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | println!("{:?}", Day2::from(input)); [INFO] [stdout] | ^^^^ use of undeclared type `Day2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::day2::part1::Day2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GamePart` in this scope [INFO] [stdout] --> src/day2/mod.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let part1 = GamePart { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::day2::part1::GamePart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GamePart` in this scope [INFO] [stdout] --> src/day2/mod.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let part2 = GamePart { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use crate::day2::part1::GamePart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/day2/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let max = GamePart { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:31:56 [INFO] [stdout] | [INFO] [stdout] 31 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:35:56 [INFO] [stdout] | [INFO] [stdout] 35 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | ... if let Some(i) = s.find("one") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | ... } else if let Some(i) = s.find("two") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:62:56 [INFO] [stdout] | [INFO] [stdout] 62 | ... } else if let Some(i) = s.find("three") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:64:56 [INFO] [stdout] | [INFO] [stdout] 64 | ... } else if let Some(i) = s.find("four") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | ... } else if let Some(i) = s.find("five") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | ... } else if let Some(i) = s.find("six") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | ... } else if let Some(i) = s.find("seven") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:72:56 [INFO] [stdout] | [INFO] [stdout] 72 | ... } else if let Some(i) = s.find("eight") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/day1/mod.rs:74:56 [INFO] [stdout] | [INFO] [stdout] 74 | ... } else if let Some(i) = s.find("nine") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/day2/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let max = GamePart { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day1/mod.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Day1(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/day2/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 50 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day2/mod.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct Day2(u32); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbols`, `numbers`, and `potential_gears` are never read [INFO] [stdout] --> src/day3/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Day3 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | symbols: HashSet<(usize, usize)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | numbers: HashMap<(usize, usize), Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | potential_gears: HashSet<(usize, usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Day3` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `part1` and `part2` are never used [INFO] [stdout] --> src/day3/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl Day3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 37 | fn part1(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn part2(self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day3/mod.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | struct Day3_2(u32); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Day3_2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day4/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day5/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day5/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day6/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day6/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | struct Part2(usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day7/mod.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | struct Part2(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day8/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | struct Part1(u32); [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day8/mod.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | struct Part2(usize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day9/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | struct Part1(isize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/day9/mod.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | struct Part2(isize); [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Part2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-23` (bin "aoc-23" test) due to 5 previous errors; 19 warnings emitted [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" "1eb4c6373690187d8ff845af709726531be9bbaefbf507b63555085d55816acf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb4c6373690187d8ff845af709726531be9bbaefbf507b63555085d55816acf", kill_on_drop: false }` [INFO] [stdout] 1eb4c6373690187d8ff845af709726531be9bbaefbf507b63555085d55816acf