[INFO] cloning repository https://github.com/timwee/adventofcode2021_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timwee/adventofcode2021_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimwee%2Fadventofcode2021_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimwee%2Fadventofcode2021_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 60eb5fb62cdaabd0a84266fbf23ef55ab390cd51
[INFO] checking timwee/adventofcode2021_rust against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimwee%2Fadventofcode2021_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/timwee/adventofcode2021_rust
[INFO] finished tweaking git repo https://github.com/timwee/adventofcode2021_rust
[INFO] tweaked toml for git repo https://github.com/timwee/adventofcode2021_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/timwee/adventofcode2021_rust on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/timwee/adventofcode2021_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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396
[INFO] running `Command { std: "docker" "start" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking itertools v0.10.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling circular-queue v0.2.6
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking itertools-num v0.1.3
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking ndarray v0.15.4
[INFO] [stderr]     Checking adventofcode2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]  --> src/bin/day3.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::str::Chars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]  --> src/bin/day3.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::str::Chars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/bin/day9.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Coord(usize, usize);
[INFO] [stdout]    |        ----- ^^^^^  ^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Coord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/bin/day5.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |   for caps in RE.captures(s) {
[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] 17 -   for caps in RE.captures(s) {
[INFO] [stdout] 17 +   while let Some(caps) = RE.captures(s) {
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 17 -   for caps in RE.captures(s) {
[INFO] [stdout] 17 +   if let Some(caps) = RE.captures(s) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/bin/day9.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Coord(usize, usize);
[INFO] [stdout]    |        ----- ^^^^^  ^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout]    = note: `Coord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/bin/day5.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 |   for caps in RE.captures(s) {
[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] 17 -   for caps in RE.captures(s) {
[INFO] [stdout] 17 +   while let Some(caps) = RE.captures(s) {
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 17 -   for caps in RE.captures(s) {
[INFO] [stdout] 17 +   if let Some(caps) = RE.captures(s) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.81s
[INFO] running `Command { std: "docker" "inspect" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396", kill_on_drop: false }`
[INFO] [stdout] f3218c4aa5436fd7242e83d353fb47aaab9b93ae37d884ce0f99667a3cb32396
