[INFO] cloning repository https://github.com/Adverbly/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adverbly/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdverbly%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdverbly%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c861b4ba5e11907da5312d96aaea4aa754ea7d15 [INFO] testing Adverbly/advent-of-code against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdverbly%2Fadvent-of-code" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Adverbly/advent-of-code on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Adverbly/advent-of-code [INFO] finished tweaking git repo https://github.com/Adverbly/advent-of-code [INFO] tweaked toml for git repo https://github.com/Adverbly/advent-of-code written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Adverbly/advent-of-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1731cf74c7b798e11a1325670c49bb01c4bc47b07e1095871a384bb76af21fb [INFO] running `Command { std: "docker" "start" "-a" "a1731cf74c7b798e11a1325670c49bb01c4bc47b07e1095871a384bb76af21fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1731cf74c7b798e11a1325670c49bb01c4bc47b07e1095871a384bb76af21fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1731cf74c7b798e11a1325670c49bb01c4bc47b07e1095871a384bb76af21fb", kill_on_drop: false }` [INFO] [stdout] a1731cf74c7b798e11a1325670c49bb01c4bc47b07e1095871a384bb76af21fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 147e42fa04807eabe4d5c77b9c3a6df0c33830977e4d594a225bab00341cabdb [INFO] running `Command { std: "docker" "start" "-a" "147e42fa04807eabe4d5c77b9c3a6df0c33830977e4d594a225bab00341cabdb", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `year_2021` in the crate root [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::year_2021::day_4::data; [INFO] [stdout] | ^^^^^^^^^ could not find `year_2021` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `data` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let split = data::INPUT.split("\n"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `data` [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 E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | let mut won_state: Vec = boards.iter().map(|board| {false}).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `winning_line` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub winning_line: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `unmarked_sum` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub unmarked_sum: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `winning_number` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub winning_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `board` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub board: Board, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RoundDirection` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | enum RoundDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rounded_digit_value` [INFO] [stdout] --> src/year_2021/day_4/part_1.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn rounded_digit_value(counts: Vec, round: RoundDirection) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `winning_line` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub winning_line: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `unmarked_sum` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub unmarked_sum: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `winning_number` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub winning_number: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub score: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `board` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub board: Board, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Winner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `RoundDirection` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | enum RoundDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rounded_digit_value` [INFO] [stdout] --> src/year_2021/day_4/part_2.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn rounded_digit_value(counts: Vec, round: RoundDirection) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "147e42fa04807eabe4d5c77b9c3a6df0c33830977e4d594a225bab00341cabdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147e42fa04807eabe4d5c77b9c3a6df0c33830977e4d594a225bab00341cabdb", kill_on_drop: false }` [INFO] [stdout] 147e42fa04807eabe4d5c77b9c3a6df0c33830977e4d594a225bab00341cabdb