[INFO] cloning repository https://github.com/SigSeg-V/aoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SigSeg-V/aoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSigSeg-V%2Faoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSigSeg-V%2Faoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30edc9ca95cf9d9597e4fb3e3fecbaf14cde6853 [INFO] checking SigSeg-V/aoc/30edc9ca95cf9d9597e4fb3e3fecbaf14cde6853 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSigSeg-V%2Faoc" "/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/SigSeg-V/aoc 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/SigSeg-V/aoc [INFO] finished tweaking git repo https://github.com/SigSeg-V/aoc [INFO] tweaked toml for git repo https://github.com/SigSeg-V/aoc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SigSeg-V/aoc 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] c4f6cc9b71741d78cdcd0c252ae522126ad3cd7ebd0bf78f84314edb8d437b70 [INFO] running `Command { std: "docker" "start" "-a" "c4f6cc9b71741d78cdcd0c252ae522126ad3cd7ebd0bf78f84314edb8d437b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4f6cc9b71741d78cdcd0c252ae522126ad3cd7ebd0bf78f84314edb8d437b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4f6cc9b71741d78cdcd0c252ae522126ad3cd7ebd0bf78f84314edb8d437b70", kill_on_drop: false }` [INFO] [stdout] c4f6cc9b71741d78cdcd0c252ae522126ad3cd7ebd0bf78f84314edb8d437b70 [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] 6eda01dc2b4689f0fde6ad8ccacd0b2a219b6c0107239ba9808984a284962636 [INFO] running `Command { std: "docker" "start" "-a" "6eda01dc2b4689f0fde6ad8ccacd0b2a219b6c0107239ba9808984a284962636", 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 proc-macro2 v1.0.70 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking aoc v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/day_four.rs (1 fix) [INFO] [stdout] warning: function `find_calibration_sum` is never used [INFO] [stdout] --> src/day_one.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_calibration_sum(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/day_four.rs (2 fixes) [INFO] [stdout] warning: function `read_file_rc` is never used [INFO] [stdout] --> src/common.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_file_rc(path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_sum` is never used [INFO] [stdout] --> src/day_one.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_calibration_sum(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_num_in_string` is never used [INFO] [stdout] --> src/day_one.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn find_num_in_string(inp: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_sum_with_letters` is never used [INFO] [stdout] --> src/day_one.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn find_calibration_sum_with_letters(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_valid_games` is never used [INFO] [stdout] --> src/day_two.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_valid_games(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sq_min_games` is never used [INFO] [stdout] --> src/day_two.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn sq_min_games(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_to_power` is never used [INFO] [stdout] --> src/day_two.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn fold_to_power(inp: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day_three.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Point(usize, usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_part_number` is never used [INFO] [stdout] --> src/day_three.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_part_number(inp: Rc) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_symbols` is never used [INFO] [stdout] --> src/day_three.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn check_for_symbols(inp: Rc, current_position: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_number_of_cards` is never used [INFO] [stdout] --> src/day_four.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn count_number_of_cards(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking aoc v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/day_four.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | fn part_1() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 65 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 65 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/day_four.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let data = common::read_file("data/day_four.txt")?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 65 + use crate::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Error` in this scope [INFO] [stdout] --> src/day_four.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | fn part_2() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 65 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 65 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/day_four.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | let data = common::read_file("data/day_four.txt")?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 65 + use crate::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_rc` is never used [INFO] [stdout] --> src/common.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_file_rc(path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_sum` is never used [INFO] [stdout] --> src/day_one.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn find_calibration_sum(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_num_in_string` is never used [INFO] [stdout] --> src/day_one.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn find_num_in_string(inp: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_calibration_sum_with_letters` is never used [INFO] [stdout] --> src/day_one.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn find_calibration_sum_with_letters(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_valid_games` is never used [INFO] [stdout] --> src/day_two.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_valid_games(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sq_min_games` is never used [INFO] [stdout] --> src/day_two.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn sq_min_games(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fold_to_power` is never used [INFO] [stdout] --> src/day_two.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn fold_to_power(inp: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/day_three.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Point(usize, usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_part_number` is never used [INFO] [stdout] --> src/day_three.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_part_number(inp: Rc) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_symbols` is never used [INFO] [stdout] --> src/day_three.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn check_for_symbols(inp: Rc, current_position: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_number_of_cards` is never used [INFO] [stdout] --> src/day_four.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn count_number_of_cards(inp: Box) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (bin "aoc" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [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" "6eda01dc2b4689f0fde6ad8ccacd0b2a219b6c0107239ba9808984a284962636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eda01dc2b4689f0fde6ad8ccacd0b2a219b6c0107239ba9808984a284962636", kill_on_drop: false }` [INFO] [stdout] 6eda01dc2b4689f0fde6ad8ccacd0b2a219b6c0107239ba9808984a284962636