[INFO] cloning repository https://github.com/AdamJKing/aoc-2021-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdamJKing/aoc-2021-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamJKing%2Faoc-2021-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamJKing%2Faoc-2021-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 192bc0254a90f0e5221f2661d29d1f45373e4c20
[INFO] checking AdamJKing/aoc-2021-rust against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdamJKing%2Faoc-2021-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AdamJKing/aoc-2021-rust
[INFO] finished tweaking git repo https://github.com/AdamJKing/aoc-2021-rust
[INFO] tweaked toml for git repo https://github.com/AdamJKing/aoc-2021-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AdamJKing/aoc-2021-rust on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AdamJKing/aoc-2021-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 27f22f980cb7ec3078b85a29c096cf840fee92c9cd2dd408200fe2578035edd6
[INFO] running `Command { std: "docker" "start" "-a" "27f22f980cb7ec3078b85a29c096cf840fee92c9cd2dd408200fe2578035edd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "27f22f980cb7ec3078b85a29c096cf840fee92c9cd2dd408200fe2578035edd6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27f22f980cb7ec3078b85a29c096cf840fee92c9cd2dd408200fe2578035edd6", kill_on_drop: false }`
[INFO] [stdout] 27f22f980cb7ec3078b85a29c096cf840fee92c9cd2dd408200fe2578035edd6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9e6e9f58dc5ca430e913be590b7238247e7649a75ab3ac6f57a40a7135f9756
[INFO] running `Command { std: "docker" "start" "-a" "e9e6e9f58dc5ca430e913be590b7238247e7649a75ab3ac6f57a40a7135f9756", kill_on_drop: false }`
[INFO] [stderr]     Checking aoc-2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `read_board`
[INFO] [stdout]   --> src/day_four.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |         lines.n
[INFO] [stdout]    |                ^ help: add `;` here
[INFO] [stdout] 26 |         read_board(lines)
[INFO] [stdout]    |         ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorKind`
[INFO] [stdout]  --> src/day_four.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufRead, BufReader, ErrorKind};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `read_board`
[INFO] [stdout]   --> src/day_four.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 |         lines.n
[INFO] [stdout]    |                ^ help: add `;` here
[INFO] [stdout] 26 |         read_board(lines)
[INFO] [stdout]    |         ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `Lines<BufReader<File>>` to be an iterator that yields `&str`, but it yields `Result<String, Error>`
[INFO] [stdout]   --> src/day_four.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         read_board(lines)
[INFO] [stdout]    |         ---------- ^^^^^ expected `&str`, found `Result<String, Error>`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&str`
[INFO] [stdout]                    found enum `Result<String, std::io::Error>`
[INFO] [stdout] note: required by a bound in `read_board`
[INFO] [stdout]   --> src/day_four.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn read_board<'a>(lines: impl Iterator<Item = &'a str>) -> Result<Board, FileParseError> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ required by this bound in `read_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorKind`
[INFO] [stdout]  --> src/day_four.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufRead, BufReader, ErrorKind};
[INFO] [stdout]   |                                   ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `Lines<BufReader<File>>` to be an iterator that yields `&str`, but it yields `Result<String, Error>`
[INFO] [stdout]   --> src/day_four.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         read_board(lines)
[INFO] [stdout]    |         ---------- ^^^^^ expected `&str`, found `Result<String, Error>`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&str`
[INFO] [stdout]                    found enum `Result<String, std::io::Error>`
[INFO] [stdout] note: required by a bound in `read_board`
[INFO] [stdout]   --> src/day_four.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn read_board<'a>(lines: impl Iterator<Item = &'a str>) -> Result<Board, FileParseError> {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ required by this bound in `read_board`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day_four.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | /     while lines.next().is_some() {
[INFO] [stdout] 25 | |         lines.n
[INFO] [stdout] 26 | |         read_board(lines)
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^ expected `()`, found `Result<Board, FileParseError>`
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Board, FileParseError>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 26 |         read_board(lines);
[INFO] [stdout]    |                          +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 27 |     };
[INFO] [stdout]    |      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day_four.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | /     while lines.next().is_some() {
[INFO] [stdout] 25 | |         lines.n
[INFO] [stdout] 26 | |         read_board(lines)
[INFO] [stdout]    | |         ^^^^^^^^^^^^^^^^^ expected `()`, found `Result<Board, FileParseError>`
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<Board, FileParseError>`
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 26 |         read_board(lines);
[INFO] [stdout]    |                          +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 27 |     };
[INFO] [stdout]    |      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day_four.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |   fn load_file(filename: &str) -> Result<Bingo, FileParseError> {
[INFO] [stdout]    |                                   ----------------------------- expected `Result<Bingo, FileParseError>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 24 | /     while lines.next().is_some() {
[INFO] [stdout] 25 | |         lines.n
[INFO] [stdout] 26 | |         read_board(lines)
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____^ expected `Result<Bingo, FileParseError>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Bingo, FileParseError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = note: `while` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 27 ~     }
[INFO] [stdout] 28 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day_four.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |   fn load_file(filename: &str) -> Result<Bingo, FileParseError> {
[INFO] [stdout]    |                                   ----------------------------- expected `Result<Bingo, FileParseError>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 24 | /     while lines.next().is_some() {
[INFO] [stdout] 25 | |         lines.n
[INFO] [stdout] 26 | |         read_board(lines)
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____^ expected `Result<Bingo, FileParseError>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Bingo, FileParseError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout]    = note: `while` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 27 ~     }
[INFO] [stdout] 28 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021") due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0271, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021" test) due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e9e6e9f58dc5ca430e913be590b7238247e7649a75ab3ac6f57a40a7135f9756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9e6e9f58dc5ca430e913be590b7238247e7649a75ab3ac6f57a40a7135f9756", kill_on_drop: false }`
[INFO] [stdout] e9e6e9f58dc5ca430e913be590b7238247e7649a75ab3ac6f57a40a7135f9756
