[INFO] cloning repository https://github.com/qdozaq/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/qdozaq/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dedeca3f5ae43ead539ea96a2091990e8735e58d
[INFO] testing qdozaq/advent-of-code-2021 against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqdozaq%2Fadvent-of-code-2021" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/qdozaq/advent-of-code-2021 on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/qdozaq/advent-of-code-2021
[INFO] finished tweaking git repo https://github.com/qdozaq/advent-of-code-2021
[INFO] tweaked toml for git repo https://github.com/qdozaq/advent-of-code-2021 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/qdozaq/advent-of-code-2021 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 83c524045c93c7285bb53656439b4bd9f91d8c59727a31683439d35c093b7824
[INFO] running `Command { std: "docker" "start" "-a" "83c524045c93c7285bb53656439b4bd9f91d8c59727a31683439d35c093b7824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83c524045c93c7285bb53656439b4bd9f91d8c59727a31683439d35c093b7824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83c524045c93c7285bb53656439b4bd9f91d8c59727a31683439d35c093b7824", kill_on_drop: false }`
[INFO] [stdout] 83c524045c93c7285bb53656439b4bd9f91d8c59727a31683439d35c093b7824
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c630db0ce9c02d54a889be95fab3ffcc2b8823d343e023b5ea49fd988165de70
[INFO] running `Command { std: "docker" "start" "-a" "c630db0ce9c02d54a889be95fab3ffcc2b8823d343e023b5ea49fd988165de70", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling fixedbitset v0.4.0
[INFO] [stderr]    Compiling day_9 v0.1.0 (/opt/rustwide/workdir/day_9)
[INFO] [stderr]    Compiling day_1 v0.1.0 (/opt/rustwide/workdir/day_1)
[INFO] [stderr]    Compiling day_7 v0.1.0 (/opt/rustwide/workdir/day_7)
[INFO] [stderr]    Compiling day_2 v0.1.0 (/opt/rustwide/workdir/day_2)
[INFO] [stderr]    Compiling day_17 v0.1.0 (/opt/rustwide/workdir/day_17)
[INFO] [stderr]    Compiling day_11 v0.1.0 (/opt/rustwide/workdir/day_11)
[INFO] [stderr]    Compiling day_6 v0.1.0 (/opt/rustwide/workdir/day_6)
[INFO] [stderr]    Compiling day_21 v0.1.0 (/opt/rustwide/workdir/day_21)
[INFO] [stderr]    Compiling day_10 v0.1.0 (/opt/rustwide/workdir/day_10)
[INFO] [stderr]    Compiling day_4 v0.1.0 (/opt/rustwide/workdir/day_4)
[INFO] [stdout] error[E0423]: expected value, found enum `Infallible`
[INFO] [stdout]   --> day_10/src/main.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 return Err(Infallible);
[INFO] [stdout]    |                            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collections::VecDeque`
[INFO] [stdout]  --> day_10/src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::VecDeque, convert::Infallible, string::ParseError};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> day_21/src/main.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `steps`
[INFO] [stdout]   --> day_17/src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let steps = vx;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `min_vx` is never used
[INFO] [stdout]   --> day_17/src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn min_vx(range: &RangeInclusive<i32>) -> i32 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `star_one` is never used
[INFO] [stdout]   --> day_17/src/main.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn star_one(x_range: &RangeInclusive<i32>, y_range: &RangeInclusive<i32>) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1_start`
[INFO] [stdout]   --> day_21/src/main.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let (p1_start, p2_start) = (3, 7);
[INFO] [stdout]    |          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p1_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2_start`
[INFO] [stdout]   --> day_21/src/main.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let (p1_start, p2_start) = (3, 7);
[INFO] [stdout]    |                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p2_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `movesets`
[INFO] [stdout]   --> day_21/src/main.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let movesets = turn_outcomes();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movesets`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIDES` is never used
[INFO] [stdout]  --> day_21/src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | const SIDES: usize = 100;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flashes`
[INFO] [stdout]    --> day_11/src/main.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut flashes = 0;
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flashes`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BOARD_SIZE` is never used
[INFO] [stdout]  --> day_21/src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | const BOARD_SIZE: usize = 10;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `star_one` is never used
[INFO] [stdout]   --> day_21/src/main.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn star_one() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `roll` is never used
[INFO] [stdout]   --> day_21/src/main.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn roll(die: usize) -> usize {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> day_11/src/main.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut flashes = 0;
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Result`
[INFO] [stdout]  --> day_4/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_map` is never used
[INFO] [stdout]    --> day_11/src/main.rs:126:4
[INFO] [stdout]     |
[INFO] [stdout] 126 | fn print_map(map: &[u32]) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling day_3 v0.1.0 (/opt/rustwide/workdir/day_3)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> day_4/src/main.rs:74:25
[INFO] [stdout]    |
[INFO] [stdout] 74 |                     let mut line = line.chars().filter(|l| *l != '\n').collect::<String>();
[INFO] [stdout]    |                         ----^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `callNum` should have a snake case name
[INFO] [stdout]   --> day_4/src/main.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn callNum(&mut self, called_number: isize) -> bool {
[INFO] [stdout]    |        ^^^^^^^ help: convert the identifier to snake case: `call_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> day_10/src/main.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |         if pairs.contains(close_stack.last().unwrap()) {}
[INFO] [stdout]    |                  -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found `char`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&(char, char)`
[INFO] [stdout]               found reference `&char`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `day_10` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]  --> day_3/src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     star_one(&lines);
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> day_3/src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     star_two(&lines);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c630db0ce9c02d54a889be95fab3ffcc2b8823d343e023b5ea49fd988165de70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c630db0ce9c02d54a889be95fab3ffcc2b8823d343e023b5ea49fd988165de70", kill_on_drop: false }`
[INFO] [stdout] c630db0ce9c02d54a889be95fab3ffcc2b8823d343e023b5ea49fd988165de70
