[INFO] cloning repository https://github.com/aryuuu/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aryuuu/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faryuuu%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faryuuu%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b58b1097b4a8a0836f5e4ca0f5a7f8d5aaf22f6 [INFO] checking aryuuu/advent-of-code-2022 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faryuuu%2Fadvent-of-code-2022" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aryuuu/advent-of-code-2022 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/aryuuu/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/aryuuu/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/aryuuu/advent-of-code-2022 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aryuuu/advent-of-code-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bef2f6ec0c4f72555f5f3d2e467f9b9dd43d8fcafbeec37a9cfb9ae3ecdebfcd [INFO] running `Command { std: "docker" "start" "-a" "bef2f6ec0c4f72555f5f3d2e467f9b9dd43d8fcafbeec37a9cfb9ae3ecdebfcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef2f6ec0c4f72555f5f3d2e467f9b9dd43d8fcafbeec37a9cfb9ae3ecdebfcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef2f6ec0c4f72555f5f3d2e467f9b9dd43d8fcafbeec37a9cfb9ae3ecdebfcd", kill_on_drop: false }` [INFO] [stdout] bef2f6ec0c4f72555f5f3d2e467f9b9dd43d8fcafbeec37a9cfb9ae3ecdebfcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 296733d817c7be0062046f81fcf66b2382c65e3034d09dc05c99f9d5e746ccf0 [INFO] running `Command { std: "docker" "start" "-a" "296733d817c7be0062046f81fcf66b2382c65e3034d09dc05c99f9d5e746ccf0", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking aoc2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/day11/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | for a in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chars` [INFO] [stdout] --> src/bin/day10/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | str::{Chars, FromStr}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chars` [INFO] [stdout] --> src/bin/day10/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | str::{Chars, FromStr}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/day11/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | for a in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/day2/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/bin/day2/main.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "296733d817c7be0062046f81fcf66b2382c65e3034d09dc05c99f9d5e746ccf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "296733d817c7be0062046f81fcf66b2382c65e3034d09dc05c99f9d5e746ccf0", kill_on_drop: false }` [INFO] [stdout] 296733d817c7be0062046f81fcf66b2382c65e3034d09dc05c99f9d5e746ccf0 [INFO] checking aryuuu/advent-of-code-2022 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faryuuu%2Fadvent-of-code-2022" "/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/aryuuu/advent-of-code-2022 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/aryuuu/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/aryuuu/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/aryuuu/advent-of-code-2022 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aryuuu/advent-of-code-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 592011bdc1917776146261d83abc12b4dac62c09893fcfab3839492264e5e5ba [INFO] running `Command { std: "docker" "start" "-a" "592011bdc1917776146261d83abc12b4dac62c09893fcfab3839492264e5e5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "592011bdc1917776146261d83abc12b4dac62c09893fcfab3839492264e5e5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592011bdc1917776146261d83abc12b4dac62c09893fcfab3839492264e5e5ba", kill_on_drop: false }` [INFO] [stdout] 592011bdc1917776146261d83abc12b4dac62c09893fcfab3839492264e5e5ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37b0fdf854b1abf227b02ffc99c5481542070c9bbc8c540ea6b52b7fd222d739 [INFO] running `Command { std: "docker" "start" "-a" "37b0fdf854b1abf227b02ffc99c5481542070c9bbc8c540ea6b52b7fd222d739", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking aoc2022 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/day11/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/day11/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | for a in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/day4/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/day11/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | for a in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/day2/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/day15/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day8/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day3/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day5/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day6/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day14/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day13/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day10/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/day10/main.rs (1 fix) [INFO] [stderr] Migrating src/bin/day9/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day7/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day1/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day12/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/day2/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc2022 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/day11/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | for a in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/day11/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | for a in 0..10_000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Match` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Match { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 141 + use core::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | theirs: Hand::Rock(1), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | ours: Hand::Paper(2), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Match` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Match { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 141 + use core::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | theirs: Hand::Paper(2), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | ours: Hand::Rock(1), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Match` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | Match { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 141 + use core::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | theirs: Hand::Scissor(3), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | ours: Hand::Scissor(3), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `solution` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | let result = solution(&matches); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 141 + use crate::solution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Match` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | Match { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 141 + use core::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | theirs: Hand::Rock(1), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | ours: Hand::Paper(2), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Match` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Match { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 141 + use core::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | theirs: Hand::Paper(2), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | ours: Hand::Rock(1), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Match` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | Match { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 141 + use core::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Match; [INFO] [stdout] | [INFO] [stdout] 141 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | theirs: Hand::Scissor(3), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand` [INFO] [stdout] --> src/bin/day2/main.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | ours: Hand::Scissor(3), [INFO] [stdout] | ^^^^ use of undeclared type `Hand` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 141 + use crate::Hand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `solution_part_2` in this scope [INFO] [stdout] --> src/bin/day2/main.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let result = solution_part_2(&matches); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 141 + use crate::solution_part_2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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 `aoc2022` (bin "day2" test) due to 21 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "37b0fdf854b1abf227b02ffc99c5481542070c9bbc8c540ea6b52b7fd222d739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b0fdf854b1abf227b02ffc99c5481542070c9bbc8c540ea6b52b7fd222d739", kill_on_drop: false }` [INFO] [stdout] 37b0fdf854b1abf227b02ffc99c5481542070c9bbc8c540ea6b52b7fd222d739