[INFO] cloning repository https://github.com/choffmann/adventofcode-2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/choffmann/adventofcode-2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoffmann%2Fadventofcode-2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoffmann%2Fadventofcode-2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed571ccaaa8ac303245fe64dfcaaf1b2f1e1eef6 [INFO] checking choffmann/adventofcode-2023 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoffmann%2Fadventofcode-2023" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/choffmann/adventofcode-2023 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/choffmann/adventofcode-2023 [INFO] finished tweaking git repo https://github.com/choffmann/adventofcode-2023 [INFO] tweaked toml for git repo https://github.com/choffmann/adventofcode-2023 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/choffmann/adventofcode-2023 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b30367ea427dba2ede6553d6ba31a8d8afd883219c55002b578936d1ef39a2cf [INFO] running `Command { std: "docker" "start" "-a" "b30367ea427dba2ede6553d6ba31a8d8afd883219c55002b578936d1ef39a2cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b30367ea427dba2ede6553d6ba31a8d8afd883219c55002b578936d1ef39a2cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b30367ea427dba2ede6553d6ba31a8d8afd883219c55002b578936d1ef39a2cf", kill_on_drop: false }` [INFO] [stdout] b30367ea427dba2ede6553d6ba31a8d8afd883219c55002b578936d1ef39a2cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d953e4b3e00be78565076382ce7748773b1757f797d40a6796161b784d6e75f5 [INFO] running `Command { std: "docker" "start" "-a" "d953e4b3e00be78565076382ce7748773b1757f797d40a6796161b784d6e75f5", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking adventofcode-2023 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Folder` is imported redundantly [INFO] [stdout] --> src/bin/01.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use adventofcode_2023::utils::Folder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | use super::*; [INFO] [stdout] | -------- the item `Folder` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Folder` is imported redundantly [INFO] [stdout] --> src/bin/02.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use adventofcode_2023::utils::Folder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | use super::*; [INFO] [stdout] | -------- the item `Folder` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/02.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | let Some(caps) = regex.captures(line) else { return panic!("Error while parsing string"); }; [INFO] [stdout] | ^^^^^^^------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_file_part` [INFO] [stdout] --> src/bin/01.rs:2:51 [INFO] [stdout] | [INFO] [stdout] 2 | use adventofcode_2023::utils::{Folder, read_file, read_file_part}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/02.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | let Some(caps) = regex.captures(line) else { return panic!("Error while parsing string"); }; [INFO] [stdout] | ^^^^^^^------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.94s [INFO] running `Command { std: "docker" "inspect" "d953e4b3e00be78565076382ce7748773b1757f797d40a6796161b784d6e75f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d953e4b3e00be78565076382ce7748773b1757f797d40a6796161b784d6e75f5", kill_on_drop: false }` [INFO] [stdout] d953e4b3e00be78565076382ce7748773b1757f797d40a6796161b784d6e75f5 [INFO] checking choffmann/adventofcode-2023 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoffmann%2Fadventofcode-2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/choffmann/adventofcode-2023 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/choffmann/adventofcode-2023 [INFO] finished tweaking git repo https://github.com/choffmann/adventofcode-2023 [INFO] tweaked toml for git repo https://github.com/choffmann/adventofcode-2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/choffmann/adventofcode-2023 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] dbf812d9a5890707b0de91b116e1e10c5d8b0aa526a2177949976ad54c54dbe0 [INFO] running `Command { std: "docker" "start" "-a" "dbf812d9a5890707b0de91b116e1e10c5d8b0aa526a2177949976ad54c54dbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbf812d9a5890707b0de91b116e1e10c5d8b0aa526a2177949976ad54c54dbe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf812d9a5890707b0de91b116e1e10c5d8b0aa526a2177949976ad54c54dbe0", kill_on_drop: false }` [INFO] [stdout] dbf812d9a5890707b0de91b116e1e10c5d8b0aa526a2177949976ad54c54dbe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 5e439a1f592b7b5637772328117873b5863a026f6dcb49dd0942536bbf16cde7 [INFO] running `Command { std: "docker" "start" "-a" "5e439a1f592b7b5637772328117873b5863a026f6dcb49dd0942536bbf16cde7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking adventofcode-2023 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/01.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/01.rs (1 fix) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0425]: cannot find function `read_file_part` in this scope [INFO] [stdout] --> src/bin/01.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let result = part_one(read_file_part(Folder::Examples, CURRENT_DAY, 1).as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 57 + use adventofcode_2023::utils::read_file_part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_file_part` in this scope [INFO] [stdout] --> src/bin/01.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let result = part_two(read_file_part(Folder::Examples, CURRENT_DAY, 2).as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 57 + use adventofcode_2023::utils::read_file_part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Folder` is imported redundantly [INFO] [stdout] --> src/bin/01.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use adventofcode_2023::utils::Folder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | use super::*; [INFO] [stdout] | -------- the item `Folder` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode-2023` (bin "01" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] Migrating src/bin/02.rs from 2021 edition to 2024 [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/02.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | let Some(caps) = regex.captures(line) else { return panic!("Error while parsing string"); }; [INFO] [stdout] | ^^^^^^^------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Folder` is imported redundantly [INFO] [stdout] --> src/bin/02.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use adventofcode_2023::utils::Folder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | use super::*; [INFO] [stdout] | -------- the item `Folder` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bin/02.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | let Some(caps) = regex.captures(line) else { return panic!("Error while parsing string"); }; [INFO] [stdout] | ^^^^^^^------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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" "5e439a1f592b7b5637772328117873b5863a026f6dcb49dd0942536bbf16cde7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e439a1f592b7b5637772328117873b5863a026f6dcb49dd0942536bbf16cde7", kill_on_drop: false }` [INFO] [stdout] 5e439a1f592b7b5637772328117873b5863a026f6dcb49dd0942536bbf16cde7