[INFO] cloning repository https://github.com/theadd336/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/theadd336/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheadd336%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheadd336%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0511be83d3826bc56a109f2b224effb0d80018ca [INFO] testing theadd336/advent-of-code-2021 against try#015dbcea68b7642e2acc268b5c8f3e9086fc02ff for pr-102570 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheadd336%2Fadvent-of-code-2021" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theadd336/advent-of-code-2021 on toolchain 015dbcea68b7642e2acc268b5c8f3e9086fc02ff [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theadd336/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/theadd336/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/theadd336/advent-of-code-2021 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/theadd336/advent-of-code-2021 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16b812b5c9f7412bd8ce10afea5707e9208a724bd2b3c049f06ceff3abc352a9 [INFO] running `Command { std: "docker" "start" "-a" "16b812b5c9f7412bd8ce10afea5707e9208a724bd2b3c049f06ceff3abc352a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16b812b5c9f7412bd8ce10afea5707e9208a724bd2b3c049f06ceff3abc352a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b812b5c9f7412bd8ce10afea5707e9208a724bd2b3c049f06ceff3abc352a9", kill_on_drop: false }` [INFO] [stdout] 16b812b5c9f7412bd8ce10afea5707e9208a724bd2b3c049f06ceff3abc352a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392d41c31f1f890386c26f43a71e49c1a14f43a9f8162dc9d3acf8651551a78e [INFO] running `Command { std: "docker" "start" "-a" "392d41c31f1f890386c26f43a71e49c1a14f43a9f8162dc9d3acf8651551a78e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling aoc-puzzles v0.1.0 (/opt/rustwide/workdir/advent-of-code/aoc-puzzles) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> advent-of-code/aoc-puzzles/src/day_4.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 95 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> advent-of-code/aoc-puzzles/src/day_4.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 190 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir/advent-of-code) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "392d41c31f1f890386c26f43a71e49c1a14f43a9f8162dc9d3acf8651551a78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392d41c31f1f890386c26f43a71e49c1a14f43a9f8162dc9d3acf8651551a78e", kill_on_drop: false }` [INFO] [stdout] 392d41c31f1f890386c26f43a71e49c1a14f43a9f8162dc9d3acf8651551a78e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8d3db11132ab131d53160376bea72232cbb4cc843213470128e2c8ac7e3ce29 [INFO] running `Command { std: "docker" "start" "-a" "a8d3db11132ab131d53160376bea72232cbb4cc843213470128e2c8ac7e3ce29", kill_on_drop: false }` [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> advent-of-code/aoc-puzzles/src/day_4.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 95 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> advent-of-code/aoc-puzzles/src/day_4.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 190 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc-puzzles v0.1.0 (/opt/rustwide/workdir/advent-of-code/aoc-puzzles) [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/rustwide/workdir/advent-of-code) [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> advent-of-code/aoc-puzzles/src/day_4.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 95 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> advent-of-code/aoc-puzzles/src/day_4.rs:190:27 [INFO] [stdout] | [INFO] [stdout] 190 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 190 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 190 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "a8d3db11132ab131d53160376bea72232cbb4cc843213470128e2c8ac7e3ce29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d3db11132ab131d53160376bea72232cbb4cc843213470128e2c8ac7e3ce29", kill_on_drop: false }` [INFO] [stdout] a8d3db11132ab131d53160376bea72232cbb4cc843213470128e2c8ac7e3ce29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f79717a4df0d3574b130a80bf3ebba00d951bf6cbadac779123c67698a6d998 [INFO] running `Command { std: "docker" "start" "-a" "7f79717a4df0d3574b130a80bf3ebba00d951bf6cbadac779123c67698a6d998", kill_on_drop: false }` [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> advent-of-code/aoc-puzzles/src/day_4.rs:95:27 [INFO] [stderr] | [INFO] [stderr] 95 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 95 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stderr] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 95 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stderr] | ~~~~~~~~~~~~ ~~~ [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> advent-of-code/aoc-puzzles/src/day_4.rs:190:27 [INFO] [stderr] | [INFO] [stderr] 190 | for board_list in numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 190 | while let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stderr] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 190 | if let Some(board_list) = numbers_to_boards.get(&(bingo_number as u8)) { [INFO] [stderr] | ~~~~~~~~~~~~ ~~~ [INFO] [stderr] [INFO] [stderr] warning: `aoc-puzzles` (lib) generated 2 warnings [INFO] [stderr] warning: `aoc-puzzles` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/advent_of_code-167f76c84557d0df) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aoc_puzzles-a4d3819185173892) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test day_2::tests::test_puzzle_two_impl ... ok [INFO] [stdout] test day_3::tests::test_puzzle_one_impl ... ok [INFO] [stdout] test day_3::tests::test_puzzle_two_impl ... ok [INFO] [stdout] test day_5::tests::test_puzzle_two_impl ... ok [INFO] [stdout] test day_5::tests::test_puzzle_one_impl ... ok [INFO] [stdout] test day_6::tests::test_puzzle_one_impl_18_days ... ok [INFO] [stdout] test day_4::tests::test_puzzle_one_impl ... ok [INFO] [stdout] test day_4::tests::test_puzzle_two_impl ... ok [INFO] [stdout] test day_7::tests::test_puzzle_one_impl ... ok [INFO] [stdout] test day_7::tests::test_puzzle_two_impl ... ok [INFO] [stdout] test day_6::tests::test_puzzle_two_impl_256_days ... ok [INFO] [stdout] test day_8::tests::test_puzzle_one_impl ... ok [INFO] [stdout] test day_6::tests::test_puzzle_one_impl_80_days ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests aoc-puzzles [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7f79717a4df0d3574b130a80bf3ebba00d951bf6cbadac779123c67698a6d998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f79717a4df0d3574b130a80bf3ebba00d951bf6cbadac779123c67698a6d998", kill_on_drop: false }` [INFO] [stdout] 7f79717a4df0d3574b130a80bf3ebba00d951bf6cbadac779123c67698a6d998