[INFO] cloning repository https://github.com/Kapongoboy/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kapongoboy/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKapongoboy%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKapongoboy%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da3aff66a61e8a093e11299fc5e8b8bc2e5a056b [INFO] checking Kapongoboy/aoc2023/da3aff66a61e8a093e11299fc5e8b8bc2e5a056b against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKapongoboy%2Faoc2023" "/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/Kapongoboy/aoc2023 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/Kapongoboy/aoc2023 [INFO] finished tweaking git repo https://github.com/Kapongoboy/aoc2023 [INFO] tweaked toml for git repo https://github.com/Kapongoboy/aoc2023 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kapongoboy/aoc2023 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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c975de685083bd43c68cb60d66cc9e1db06689ffd84818937090d645c00aa5a7 [INFO] running `Command { std: "docker" "start" "-a" "c975de685083bd43c68cb60d66cc9e1db06689ffd84818937090d645c00aa5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c975de685083bd43c68cb60d66cc9e1db06689ffd84818937090d645c00aa5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c975de685083bd43c68cb60d66cc9e1db06689ffd84818937090d645c00aa5a7", kill_on_drop: false }` [INFO] [stdout] c975de685083bd43c68cb60d66cc9e1db06689ffd84818937090d645c00aa5a7 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 657a20b988e5a6e19bfb057d3c15d30ab89dd14f89e400e39da8677f9317ca90 [INFO] running `Command { std: "docker" "start" "-a" "657a20b988e5a6e19bfb057d3c15d30ab89dd14f89e400e39da8677f9317ca90", 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] Checking aoc2023 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/aoc/day_one.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/aoc/day_one.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let path = Path::new("./data/day1_example.txt"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::Path; [INFO] [stdout] | [INFO] [stdout] 22 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_content` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let result = get_file_content(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_file_content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/aoc/day_one.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let path = Path::new("./data/day1_example.txt"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::Path; [INFO] [stdout] | [INFO] [stdout] 22 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_content` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let contents = get_file_content(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_file_content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_numbers` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let result = get_numbers(&contents); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/aoc/day_one.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let path = Path::new("./data/day1_example.txt"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::Path; [INFO] [stdout] | [INFO] [stdout] 22 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_content` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let contents = get_file_content(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_file_content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_numbers` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let numbers = get_numbers(&contents); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_string_numbers` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let result = add_string_numbers(&numbers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::add_string_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/aoc/day_one.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let path = Path::new("./data/day1_example2.txt"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::Path; [INFO] [stdout] | [INFO] [stdout] 22 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_content` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | let mut result = get_file_content(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_file_content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `convert_number_strings` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | convert_number_strings(&mut result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::convert_number_strings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/aoc/day_one.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | let path = Path::new("./data/day1_example2.txt"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::Path; [INFO] [stdout] | [INFO] [stdout] 22 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_file_content` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let mut contents = get_file_content(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_file_content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `convert_number_strings` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | convert_number_strings(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::convert_number_strings; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_numbers` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let numbers = get_numbers(&contents); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::get_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_string_numbers` in this scope [INFO] [stdout] --> src/aoc/day_one.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let result = add_string_numbers(&numbers); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 22 + use crate::aoc::add_string_numbers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2023` (bin "aoc2023" test) due to 18 previous errors [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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" "657a20b988e5a6e19bfb057d3c15d30ab89dd14f89e400e39da8677f9317ca90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657a20b988e5a6e19bfb057d3c15d30ab89dd14f89e400e39da8677f9317ca90", kill_on_drop: false }` [INFO] [stdout] 657a20b988e5a6e19bfb057d3c15d30ab89dd14f89e400e39da8677f9317ca90