[INFO] cloning repository https://github.com/lothan/advent-of-code-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lothan/advent-of-code-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flothan%2Fadvent-of-code-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flothan%2Fadvent-of-code-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b5a371cb6f25593deaac1596be6e58986e9f736 [INFO] testing lothan/advent-of-code-2024 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flothan%2Fadvent-of-code-2024" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lothan/advent-of-code-2024 [INFO] finished tweaking git repo https://github.com/lothan/advent-of-code-2024 [INFO] tweaked toml for git repo https://github.com/lothan/advent-of-code-2024 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lothan/advent-of-code-2024 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lothan/advent-of-code-2024 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2659ef83dfbc00057c30080d79b110112742a94b2dcc1f680742140a9258c744 [INFO] running `Command { std: "docker" "start" "-a" "2659ef83dfbc00057c30080d79b110112742a94b2dcc1f680742140a9258c744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2659ef83dfbc00057c30080d79b110112742a94b2dcc1f680742140a9258c744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2659ef83dfbc00057c30080d79b110112742a94b2dcc1f680742140a9258c744", kill_on_drop: false }` [INFO] [stdout] 2659ef83dfbc00057c30080d79b110112742a94b2dcc1f680742140a9258c744 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c09ba3d956f4ae9ba672069e1ef879e8f64f3a61acbd14a498491a5516c6e510 [INFO] running `Command { std: "docker" "start" "-a" "c09ba3d956f4ae9ba672069e1ef879e8f64f3a61acbd14a498491a5516c6e510", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling aoc2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `day16` [INFO] [stdout] --> src/calendar/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod day16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day16`, create file "src/calendar/day16.rs" or "src/calendar/day16/mod.rs" [INFO] [stdout] = note: if there is a `mod day16` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day17` [INFO] [stdout] --> src/calendar/mod.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub mod day17; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day17`, create file "src/calendar/day17.rs" or "src/calendar/day17/mod.rs" [INFO] [stdout] = note: if there is a `mod day17` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day18` [INFO] [stdout] --> src/calendar/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod day18; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day18`, create file "src/calendar/day18.rs" or "src/calendar/day18/mod.rs" [INFO] [stdout] = note: if there is a `mod day18` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day19` [INFO] [stdout] --> src/calendar/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod day19; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day19`, create file "src/calendar/day19.rs" or "src/calendar/day19/mod.rs" [INFO] [stdout] = note: if there is a `mod day19` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day20` [INFO] [stdout] --> src/calendar/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod day20; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day20`, create file "src/calendar/day20.rs" or "src/calendar/day20/mod.rs" [INFO] [stdout] = note: if there is a `mod day20` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day21` [INFO] [stdout] --> src/calendar/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod day21; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day21`, create file "src/calendar/day21.rs" or "src/calendar/day21/mod.rs" [INFO] [stdout] = note: if there is a `mod day21` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day22` [INFO] [stdout] --> src/calendar/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub mod day22; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day22`, create file "src/calendar/day22.rs" or "src/calendar/day22/mod.rs" [INFO] [stdout] = note: if there is a `mod day22` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day23` [INFO] [stdout] --> src/calendar/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod day23; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day23`, create file "src/calendar/day23.rs" or "src/calendar/day23/mod.rs" [INFO] [stdout] = note: if there is a `mod day23` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day24` [INFO] [stdout] --> src/calendar/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod day24; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day24`, create file "src/calendar/day24.rs" or "src/calendar/day24/mod.rs" [INFO] [stdout] = note: if there is a `mod day24` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `day25` [INFO] [stdout] --> src/calendar/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod day25; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `day25`, create file "src/calendar/day25.rs" or "src/calendar/day25/mod.rs" [INFO] [stdout] = note: if there is a `mod day25` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `num` [INFO] [stdout] --> src/calendar/day13.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::integer::{gcd, lcm}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `num` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num`, use `cargo add num` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operation::*` [INFO] [stdout] --> src/calendar/day07.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use Operation::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backtrace` [INFO] [stdout] --> src/calendar/day12.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{backtrace, collections::VecDeque, fs::read_to_string}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/calendar/day12.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/calendar/day15.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | let empty = if (*diff == Point(-1,0)) { new.clone() } else {new.add(diff)}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - let empty = if (*diff == Point(-1,0)) { new.clone() } else {new.add(diff)}; [INFO] [stdout] 129 + let empty = if *diff == Point(-1,0) { new.clone() } else {new.add(diff)}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day01`, `day02`, `day03`, `day04`, and `day05` [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use calendar::{day01,day02,day03,day04,day05}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day06`, `day07`, `day08`, `day09`, and `day10` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use calendar::{day06,day07,day08,day09,day10}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day11`, `day12`, `day13`, and `day14` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use calendar::{day11,day12,day13,day14,day15}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day16`, `day17`, `day18`, `day19`, and `day20` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use calendar::{day16,day17,day18,day19,day20}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `day21`, `day22`, `day23`, `day24`, and `day25` [INFO] [stdout] --> src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use calendar::{day21,day22,day23,day24,day25}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nextpos` is never read [INFO] [stdout] --> src/calendar/day06.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut nextpos = (0,0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nextpos` is never read [INFO] [stdout] --> src/calendar/day06.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let mut nextpos = (0,0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/calendar/day10.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | for (_, num) in startend { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/calendar/day11.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | for i in 0..25 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calendar/day15.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut map : Vec> = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc2024` (bin "aoc2024") due to 11 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c09ba3d956f4ae9ba672069e1ef879e8f64f3a61acbd14a498491a5516c6e510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09ba3d956f4ae9ba672069e1ef879e8f64f3a61acbd14a498491a5516c6e510", kill_on_drop: false }` [INFO] [stdout] c09ba3d956f4ae9ba672069e1ef879e8f64f3a61acbd14a498491a5516c6e510