[INFO] cloning repository https://github.com/Krotki/AoC2023-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Krotki/AoC2023-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrotki%2FAoC2023-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrotki%2FAoC2023-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c32c5422d5f09d5aeb26bec889438d4c44162407 [INFO] checking Krotki/AoC2023-Rust against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrotki%2FAoC2023-Rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Krotki/AoC2023-Rust on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Krotki/AoC2023-Rust [INFO] finished tweaking git repo https://github.com/Krotki/AoC2023-Rust [INFO] tweaked toml for git repo https://github.com/Krotki/AoC2023-Rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Krotki/AoC2023-Rust 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking Krotki/AoC2023-Rust against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrotki%2FAoC2023-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Krotki/AoC2023-Rust on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Krotki/AoC2023-Rust [INFO] finished tweaking git repo https://github.com/Krotki/AoC2023-Rust [INFO] tweaked toml for git repo https://github.com/Krotki/AoC2023-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Krotki/AoC2023-Rust 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Krotki/AoC2023-Rust against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrotki%2FAoC2023-Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Krotki/AoC2023-Rust on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Krotki/AoC2023-Rust [INFO] finished tweaking git repo https://github.com/Krotki/AoC2023-Rust [INFO] tweaked toml for git repo https://github.com/Krotki/AoC2023-Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Krotki/AoC2023-Rust 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded color-print-proc-macro v0.3.5 [INFO] [stderr] Downloaded color-print v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f86e4e4555fa8577c5c9ae0949229333a99a936ea937f2d984d71f927636942a [INFO] running `Command { std: "docker" "start" "-a" "f86e4e4555fa8577c5c9ae0949229333a99a936ea937f2d984d71f927636942a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f86e4e4555fa8577c5c9ae0949229333a99a936ea937f2d984d71f927636942a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86e4e4555fa8577c5c9ae0949229333a99a936ea937f2d984d71f927636942a", kill_on_drop: false }` [INFO] [stdout] f86e4e4555fa8577c5c9ae0949229333a99a936ea937f2d984d71f927636942a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1ee01498f10311ef43f9eeb09e7cddfc31ad73a4df0d6fe397b2cb021e4a527 [INFO] running `Command { std: "docker" "start" "-a" "f1ee01498f10311ef43f9eeb09e7cddfc31ad73a4df0d6fe397b2cb021e4a527", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling color-print-proc-macro v0.3.5 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking color-print v0.3.5 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent_of_code v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn part_one(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/05.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `part_one` to be a fn item that returns `Option<_>`, but it returns `i32` [INFO] [stdout] --> src/bin/01.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | advent_of_code::solution!(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Option<_>`, found `i32` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found type `i32` [INFO] [stdout] note: required by a bound in `advent_of_code::template::runner::run_part` [INFO] [stdout] --> /opt/rustwide/workdir/src/template/runner.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_part(func: impl Fn(I) -> Option, input: I, day: Day, part: u8) { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_part` [INFO] [stdout] = note: this error originates in the macro `advent_of_code::solution` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `part_two` to be a fn item that returns `Option<_>`, but it returns `i32` [INFO] [stdout] --> src/bin/01.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | advent_of_code::solution!(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Option<_>`, found `i32` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found type `i32` [INFO] [stdout] note: required by a bound in `advent_of_code::template::runner::run_part` [INFO] [stdout] --> /opt/rustwide/workdir/src/template/runner.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_part(func: impl Fn(I) -> Option, input: I, day: Day, part: u8) { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_part` [INFO] [stdout] = note: this error originates in the macro `advent_of_code::solution` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `part_one` to be a fn item that returns `Option<_>`, but it returns `i32` [INFO] [stdout] --> src/bin/01.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | advent_of_code::solution!(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Option<_>`, found `i32` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found type `i32` [INFO] [stdout] note: required by a bound in `advent_of_code::template::runner::run_part` [INFO] [stdout] --> /opt/rustwide/workdir/src/template/runner.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_part(func: impl Fn(I) -> Option, input: I, day: Day, part: u8) { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_part` [INFO] [stdout] = note: this error originates in the macro `advent_of_code::solution` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `part_two` to be a fn item that returns `Option<_>`, but it returns `i32` [INFO] [stdout] --> src/bin/01.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | advent_of_code::solution!(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Option<_>`, found `i32` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found type `i32` [INFO] [stdout] note: required by a bound in `advent_of_code::template::runner::run_part` [INFO] [stdout] --> /opt/rustwide/workdir/src/template/runner.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn run_part(func: impl Fn(I) -> Option, input: I, day: Day, part: u8) { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run_part` [INFO] [stdout] = note: this error originates in the macro `advent_of_code::solution` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "01") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent_of_code` (bin "01" test) due to 3 previous errors [INFO] [stdout] warning: variable `changed_line` is assigned to, but never used [INFO] [stdout] --> src/bin/13.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut changed_line: (usize, usize) = (0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_changed_line` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `changed_line` is never read [INFO] [stdout] --> src/bin/13.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | changed_line = (min as usize, max as usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/04.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | (1..matches).enumerate().map(|(idx, n)| 1_u32<() + 1 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/bin/04.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let cards: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/bin/04.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | Some(input.lines().enumerate().map(|(idx, line)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/04.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | (1..matches).enumerate().map(|(idx, n)| 1_u32<() + 1 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f1ee01498f10311ef43f9eeb09e7cddfc31ad73a4df0d6fe397b2cb021e4a527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ee01498f10311ef43f9eeb09e7cddfc31ad73a4df0d6fe397b2cb021e4a527", kill_on_drop: false }` [INFO] [stdout] f1ee01498f10311ef43f9eeb09e7cddfc31ad73a4df0d6fe397b2cb021e4a527