[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/3b58b1097b4a8a0836f5e4ca0f5a7f8d5aaf22f6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faryuuu%2Fadvent-of-code-2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aryuuu/advent-of-code-2022 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/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-2-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f8a15330503353cc1c0def31ac50d0422adbd68da3a998a68a71321f369d9d8 [INFO] running `Command { std: "docker" "start" "-a" "5f8a15330503353cc1c0def31ac50d0422adbd68da3a998a68a71321f369d9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f8a15330503353cc1c0def31ac50d0422adbd68da3a998a68a71321f369d9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f8a15330503353cc1c0def31ac50d0422adbd68da3a998a68a71321f369d9d8", kill_on_drop: false }` [INFO] [stdout] 5f8a15330503353cc1c0def31ac50d0422adbd68da3a998a68a71321f369d9d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac1fce02ebae4092e6488a9e91fec2cc1fc8c5d0a6943db6f8536e735f3d96c3 [INFO] running `Command { std: "docker" "start" "-a" "ac1fce02ebae4092e6488a9e91fec2cc1fc8c5d0a6943db6f8536e735f3d96c3", 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 anyhow v1.0.66 [INFO] [stderr] Checking aoc2022 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/bin/day13/main.rs from 2021 edition to 2024 [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/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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/day6/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day4/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/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/day5/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/day1/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/day2/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/day3/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/day2/main.rs (1 fix) [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/day12/main.rs from 2021 edition to 2024 [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc2022 v0.1.0 (/tmp/fixit) [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 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 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 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 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 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 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] warning: build failed, waiting for other jobs to finish... [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" "ac1fce02ebae4092e6488a9e91fec2cc1fc8c5d0a6943db6f8536e735f3d96c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1fce02ebae4092e6488a9e91fec2cc1fc8c5d0a6943db6f8536e735f3d96c3", kill_on_drop: false }` [INFO] [stdout] ac1fce02ebae4092e6488a9e91fec2cc1fc8c5d0a6943db6f8536e735f3d96c3