[INFO] cloning repository https://github.com/guilgaly/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guilgaly/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b4b1613a16bbf730d840fd70dbbad0743378ec9 [INFO] testing guilgaly/advent-of-code-2021 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguilgaly%2Fadvent-of-code-2021" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/guilgaly/advent-of-code-2021 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/guilgaly/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/guilgaly/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/guilgaly/advent-of-code-2021 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/guilgaly/advent-of-code-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wyz v0.4.0 [INFO] [stderr] Downloaded funty v1.2.0 [INFO] [stderr] Downloaded bitvec v0.22.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cd689f72b8d8b517d681af8629b3618741ee09a9d6f5d94424ff4f5627529f5 [INFO] running `Command { std: "docker" "start" "-a" "2cd689f72b8d8b517d681af8629b3618741ee09a9d6f5d94424ff4f5627529f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd689f72b8d8b517d681af8629b3618741ee09a9d6f5d94424ff4f5627529f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd689f72b8d8b517d681af8629b3618741ee09a9d6f5d94424ff4f5627529f5", kill_on_drop: false }` [INFO] [stdout] 2cd689f72b8d8b517d681af8629b3618741ee09a9d6f5d94424ff4f5627529f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2fc56620a65639f37a10ef5aefd239b7a206ab8d4572033d95607af87909def [INFO] running `Command { std: "docker" "start" "-a" "c2fc56620a65639f37a10ef5aefd239b7a206ab8d4572033d95607af87909def", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling day_13 v0.1.0 (/opt/rustwide/workdir/day_13) [INFO] [stderr] Compiling day_1 v0.1.0 (/opt/rustwide/workdir/day_1) [INFO] [stderr] Compiling day_3 v0.1.0 (/opt/rustwide/workdir/day_3) [INFO] [stderr] Compiling day_14 v0.1.0 (/opt/rustwide/workdir/day_14) [INFO] [stderr] Compiling day_10 v0.1.0 (/opt/rustwide/workdir/day_10) [INFO] [stderr] Compiling day_12 v0.1.0 (/opt/rustwide/workdir/day_12) [INFO] [stderr] Compiling day_11 v0.1.0 (/opt/rustwide/workdir/day_11) [INFO] [stderr] Compiling day_4 v0.1.0 (/opt/rustwide/workdir/day_4) [INFO] [stderr] Compiling day_5 v0.1.0 (/opt/rustwide/workdir/day_5) [INFO] [stderr] Compiling day_8 v0.1.0 (/opt/rustwide/workdir/day_8) [INFO] [stderr] Compiling day_9 v0.1.0 (/opt/rustwide/workdir/day_9) [INFO] [stderr] Compiling day_2 v0.1.0 (/opt/rustwide/workdir/day_2) [INFO] [stderr] Compiling day_7 v0.1.0 (/opt/rustwide/workdir/day_7) [INFO] [stderr] Compiling day_6 v0.1.0 (/opt/rustwide/workdir/day_6) [INFO] [stdout] warning: unused imports: `BinaryHeap`, `VecDeque` [INFO] [stdout] --> day_10/src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::{BinaryHeap, VecDeque}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> day_10/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> day_8/src/main.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let digits [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 53 | [INFO] [stdout] 54 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Segment` [INFO] [stdout] --> day_8/src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::signals::{Segment, SignalPattern}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::lazy_static::lazy_static` [INFO] [stdout] --> day_8/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use common::lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::regex::Regex` [INFO] [stdout] --> day_8/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use common::regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> day_8/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> day_8/src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let digits [INFO] [stdout] | ^^^^^^ consider giving `digits` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day_8` due to 3 previous errors; 4 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_13/src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | write!(target_string, "#"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_13/src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | write!(target_string, " "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> day_13/src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | writeln!(target_string, ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Coord` [INFO] [stdout] --> day_9/src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Coord { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_neighbor` [INFO] [stdout] --> day_9/src/main.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn is_neighbor(&self, other: &Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c2fc56620a65639f37a10ef5aefd239b7a206ab8d4572033d95607af87909def", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2fc56620a65639f37a10ef5aefd239b7a206ab8d4572033d95607af87909def", kill_on_drop: false }` [INFO] [stdout] c2fc56620a65639f37a10ef5aefd239b7a206ab8d4572033d95607af87909def