[INFO] cloning repository https://github.com/wexder/adventofcode2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wexder/adventofcode2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwexder%2Fadventofcode2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwexder%2Fadventofcode2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 989abd4ef7e0a64ab26cc99be6291236fd015a78 [INFO] checking wexder/adventofcode2023 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwexder%2Fadventofcode2023" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wexder/adventofcode2023 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/wexder/adventofcode2023 [INFO] finished tweaking git repo https://github.com/wexder/adventofcode2023 [INFO] tweaked toml for git repo https://github.com/wexder/adventofcode2023 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wexder/adventofcode2023 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] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-deque v0.8.3 [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded rayon-core v1.12.0 [INFO] [stderr] Downloaded console v0.15.7 [INFO] [stderr] Downloaded indicatif v0.17.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.15 [INFO] [stderr] Downloaded rayon v1.8.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.16 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f51478b7c356aac4e2ef134723ab26a9a162b2bdf5e0ea4d892ad453f899f30f [INFO] running `Command { std: "docker" "start" "-a" "f51478b7c356aac4e2ef134723ab26a9a162b2bdf5e0ea4d892ad453f899f30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f51478b7c356aac4e2ef134723ab26a9a162b2bdf5e0ea4d892ad453f899f30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51478b7c356aac4e2ef134723ab26a9a162b2bdf5e0ea4d892ad453f899f30f", kill_on_drop: false }` [INFO] [stdout] f51478b7c356aac4e2ef134723ab26a9a162b2bdf5e0ea4d892ad453f899f30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c91b75cfc3ae877a1cda9aa8589392c927ac0a5e823ff5214cb86f0903cf1914 [INFO] running `Command { std: "docker" "start" "-a" "c91b75cfc3ae877a1cda9aa8589392c927ac0a5e823ff5214cb86f0903cf1914", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking adventofcode23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/advent23/day1.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/advent23/day2.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/advent23/day3.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/advent23/day4.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/advent23/day5.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/advent23/day5.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/advent23/day5.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fs, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent23/day2.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Hand { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 57 | fn new(red: i32, green: i32, blue: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent23/day5.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl SeedMap { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 90 | fn new(map: Vec<(i64, i64, i64)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "c91b75cfc3ae877a1cda9aa8589392c927ac0a5e823ff5214cb86f0903cf1914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91b75cfc3ae877a1cda9aa8589392c927ac0a5e823ff5214cb86f0903cf1914", kill_on_drop: false }` [INFO] [stdout] c91b75cfc3ae877a1cda9aa8589392c927ac0a5e823ff5214cb86f0903cf1914 [INFO] checking wexder/adventofcode2023 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwexder%2Fadventofcode2023" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wexder/adventofcode2023 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/wexder/adventofcode2023 [INFO] finished tweaking git repo https://github.com/wexder/adventofcode2023 [INFO] tweaked toml for git repo https://github.com/wexder/adventofcode2023 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wexder/adventofcode2023 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76d0488765eba6e70936344248bb194a2e828b8283077c59b868f7a29acb471e [INFO] running `Command { std: "docker" "start" "-a" "76d0488765eba6e70936344248bb194a2e828b8283077c59b868f7a29acb471e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76d0488765eba6e70936344248bb194a2e828b8283077c59b868f7a29acb471e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d0488765eba6e70936344248bb194a2e828b8283077c59b868f7a29acb471e", kill_on_drop: false }` [INFO] [stdout] 76d0488765eba6e70936344248bb194a2e828b8283077c59b868f7a29acb471e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] a35d126446751828c47a7f0bb51dc0d41f521d102045bee13500c8bf3e10f06f [INFO] running `Command { std: "docker" "start" "-a" "a35d126446751828c47a7f0bb51dc0d41f521d102045bee13500c8bf3e10f06f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking adventofcode23 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/advent23/day2.rs (1 fix) [INFO] [stderr] Fixed src/advent23/day1.rs (1 fix) [INFO] [stderr] Fixed src/advent23/day5.rs (2 fixes) [INFO] [stderr] Fixed src/advent23/day3.rs (1 fix) [INFO] [stderr] Fixed src/advent23/day4.rs (1 fix) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent23/day2.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl Hand { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 57 | fn new(red: i32, green: i32, blue: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/advent23/day5.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl SeedMap { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 90 | fn new(map: Vec<(i64, i64, i64)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parser` in this scope [INFO] [stdout] --> src/advent23/day1.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | let res = parser("1abc2\n".to_string()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parser` in this scope [INFO] [stdout] --> src/advent23/day1.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | let res = parser("pqr3stu8vwx\na1b2c3d4e5f\ntreb7uchet".to_string()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_digit_pair` in this scope [INFO] [stdout] --> src/advent23/day1.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let res = parse_digit_pair("pqr3stu8vwx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parse_digit_pair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_digit_pair` in this scope [INFO] [stdout] --> src/advent23/day1.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let res = parse_digit_pair("pqr3stuvwx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parse_digit_pair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_digit_pair` in this scope [INFO] [stdout] --> src/advent23/day1.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | let res = parse_digit_pair("pqrstuvwx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parse_digit_pair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let res = replace_words("eightwo"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::replace_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let res = replace_words("two1nine"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::replace_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let res = replace_words("eightwothree"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::replace_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let res = replace_words("twone"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::replace_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let res = replace_words("823"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::replace_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let res = replace_words("3k"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::replace_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair_to_number` in this scope [INFO] [stdout] --> src/advent23/day1.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let res = pair_to_number((Some(8), Some(2))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::pair_to_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair_to_number` in this scope [INFO] [stdout] --> src/advent23/day1.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | let res = pair_to_number((Some(8), None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::pair_to_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair_to_number` in this scope [INFO] [stdout] --> src/advent23/day1.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | let res = pair_to_number((None, None)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::pair_to_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pair_to_number` in this scope [INFO] [stdout] --> src/advent23/day1.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let res = pair_to_number((None, Some(6))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::pair_to_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parser_with_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | let res = parser_with_words( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parser_with_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parser_with_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | let res = parser_with_words( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parser_with_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parser_with_words` in this scope [INFO] [stdout] --> src/advent23/day1.rs:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | let res = parser_with_words( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 135 + use crate::day1::parser_with_words; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_hand` in this scope [INFO] [stdout] --> src/advent23/day2.rs:158:19 [INFO] [stdout] | [INFO] [stdout] 158 | let res = parse_hand(" 2 green, 12 blue"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(res, Hand::new(0, 2, 12)); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_hand` in this scope [INFO] [stdout] --> src/advent23/day2.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | let res = parse_hand("6 red, 6 blue"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | assert_eq!(res, Hand::new(6, 0, 6)); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_hand` in this scope [INFO] [stdout] --> src/advent23/day2.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let res = parse_hand("8 blue, 5 green, 5 red"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(res, Hand::new(5, 5, 8)); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_hands` in this scope [INFO] [stdout] --> src/advent23/day2.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let res = parse_hands(" 2 green, 12 blue; 6 red, 6 blue; 8 blue, 5 green, 5 red"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_hands; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | vec![Hand::new(0, 2, 12), Hand::new(6, 0, 6), Hand::new(5, 5, 8)] [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:173:39 [INFO] [stdout] | [INFO] [stdout] 173 | vec![Hand::new(0, 2, 12), Hand::new(6, 0, 6), Hand::new(5, 5, 8)] [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:173:59 [INFO] [stdout] | [INFO] [stdout] 173 | vec![Hand::new(0, 2, 12), Hand::new(6, 0, 6), Hand::new(5, 5, 8)] [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day2.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | let res = parse_id("Game 1"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day2.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | let res = parse_id("Game 7"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day2.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | let res = parse_id("Game 12"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day2.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | parse_id("Game k"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day2.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | parse_id("Game"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | hands: vec![Hand::new(12, 13, 14)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | hands: vec![Hand::new(2, 3, 4)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | hands: vec![Hand::new(2, 3, 4), Hand::new(8, 9, 10)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:218:45 [INFO] [stdout] | [INFO] [stdout] 218 | hands: vec![Hand::new(2, 3, 4), Hand::new(8, 9, 10)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | hands: vec![Hand::new(21, 31, 41), Hand::new(1, 1, 1)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:228:48 [INFO] [stdout] | [INFO] [stdout] 228 | hands: vec![Hand::new(21, 31, 41), Hand::new(1, 1, 1)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | hands: vec![Hand::new(1, 1, 1), Hand::new(13, 14, 15)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:235:45 [INFO] [stdout] | [INFO] [stdout] 235 | hands: vec![Hand::new(1, 1, 1), Hand::new(13, 14, 15)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | hands: vec![Hand::new(1, 1, 1), Hand::new(1, 1, 16)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:242:45 [INFO] [stdout] | [INFO] [stdout] 242 | hands: vec![Hand::new(1, 1, 1), Hand::new(1, 1, 16)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | hands: vec![Hand::new(1, 1, 1), Hand::new(1, 1, 13)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | hands: vec![Hand::new(1, 1, 1), Hand::new(1, 1, 13)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(Hand::new(1, 1, 13), game.lowest_hand()); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Game` in this scope [INFO] [stdout] --> src/advent23/day2.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | let game = Game { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Game; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:259:25 [INFO] [stdout] | [INFO] [stdout] 259 | hands: vec![Hand::new(6, 2, 2), Hand::new(9, 8, 13)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:259:45 [INFO] [stdout] | [INFO] [stdout] 259 | hands: vec![Hand::new(6, 2, 2), Hand::new(9, 8, 13)], [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(Hand::new(9, 8, 13), game.lowest_hand()); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | let hand = Hand::new(1, 1, 13); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | let hand = Hand::new(5, 6, 2); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/advent23/day2.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | let hand = Hand::new(6, 2, 2); [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use crate::day2::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lift` in this scope [INFO] [stdout] --> src/advent23/day3.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | let res = lift( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 239 + use crate::day3::lift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lift` in this scope [INFO] [stdout] --> src/advent23/day3.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | let res = lift( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 239 + use crate::day3::lift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lift` in this scope [INFO] [stdout] --> src/advent23/day3.rs:273:19 [INFO] [stdout] | [INFO] [stdout] 273 | let res = lift( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 239 + use crate::day3::lift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lift` in this scope [INFO] [stdout] --> src/advent23/day3.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | let res = lift( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 239 + use crate::day3::lift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lift` in this scope [INFO] [stdout] --> src/advent23/day3.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | let res = lift( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 239 + use crate::day3::lift; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `gears` in this scope [INFO] [stdout] --> src/advent23/day3.rs:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | let mut res = gears( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 239 + use crate::day3::gears; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day4.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | let res = parse_id("Card 1"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day4.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | let res = parse_id("Card 11"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_id` in this scope [INFO] [stdout] --> src/advent23/day4.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | let res = parse_id("Card 69"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::parse_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_numbers` in this scope [INFO] [stdout] --> src/advent23/day4.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | let res = parse_numbers("1 2 3 4 5"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::parse_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_numbers` in this scope [INFO] [stdout] --> src/advent23/day4.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | let res = parse_numbers("83 86 6 31 17 9 48 53"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::parse_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_card` in this scope [INFO] [stdout] --> src/advent23/day4.rs:159:19 [INFO] [stdout] | [INFO] [stdout] 159 | let res = parse_card("Card 1: 1 2 3 4 5 | 5 4 3 2 1"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::parse_card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Card` in this scope [INFO] [stdout] --> src/advent23/day4.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Card { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Card` in this scope [INFO] [stdout] --> src/advent23/day4.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let card = Card { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Card` in this scope [INFO] [stdout] --> src/advent23/day4.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let card = Card { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::Card; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cards` in this scope [INFO] [stdout] --> src/advent23/day4.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let res = cards( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::cards; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pile` in this scope [INFO] [stdout] --> src/advent23/day4.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let res = pile( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 136 + use crate::day4::pile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seeds` in this scope [INFO] [stdout] --> src/advent23/day5.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | let res = seeds( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::seeds; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | let res = SeedMap::from("50 98 2"); [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | assert_eq!(SeedMap::new(vec![(50, 98, 2)]), res); [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:243:19 [INFO] [stdout] | [INFO] [stdout] 243 | let res = SeedMap::from("52 50 48").get(1); [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | let res = SeedMap::from("52 50 48").get(79); [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_seeds` in this scope [INFO] [stdout] --> src/advent23/day5.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | let res = parse_seeds("50 98 2"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::parse_seeds; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/advent23/day5.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | let res = parse( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Almanac` in this scope [INFO] [stdout] --> src/advent23/day5.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | Almanac { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::Almanac; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:287:31 [INFO] [stdout] | [INFO] [stdout] 287 | seed_to_soil: SeedMap::new(vec![(50, 98, 2)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:288:37 [INFO] [stdout] | [INFO] [stdout] 288 | soil_to_fertilizer: SeedMap::new(vec![(0, 15, 1)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | fertilizer_to_water: SeedMap::new(vec![(49, 53, 1)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | water_to_light: SeedMap::new(vec![(88, 18, 1)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 291 | light_to_temperature: SeedMap::new(vec![(45, 77, 1)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:292:44 [INFO] [stdout] | [INFO] [stdout] 292 | temperature_to_huminidity: SeedMap::new(vec![(0, 69, 1)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SeedMap` [INFO] [stdout] --> src/advent23/day5.rs:293:41 [INFO] [stdout] | [INFO] [stdout] 293 | huminidity_to_location: SeedMap::new(vec![(56, 93, 1)]), [INFO] [stdout] | ^^^^^^^ use of undeclared type `SeedMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::SeedMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in this scope [INFO] [stdout] --> src/advent23/day5.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 301 | let almanac = parse( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 190 + use crate::day5::parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode23` (bin "adventofcode23" test) due to 94 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a35d126446751828c47a7f0bb51dc0d41f521d102045bee13500c8bf3e10f06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a35d126446751828c47a7f0bb51dc0d41f521d102045bee13500c8bf3e10f06f", kill_on_drop: false }` [INFO] [stdout] a35d126446751828c47a7f0bb51dc0d41f521d102045bee13500c8bf3e10f06f