[INFO] cloning repository https://github.com/Derekbenj/advent_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/Derekbenj/advent_2021_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerekbenj%2Fadvent_2021_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerekbenj%2Fadvent_2021_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a6292ebc607490b4b0d56d87f0a370dafdc5db23
[INFO] checking Derekbenj/advent_2021_rust/a6292ebc607490b4b0d56d87f0a370dafdc5db23 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerekbenj%2Fadvent_2021_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Derekbenj/advent_2021_rust
[INFO] finished tweaking git repo https://github.com/Derekbenj/advent_2021_rust
[INFO] tweaked toml for git repo https://github.com/Derekbenj/advent_2021_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Derekbenj/advent_2021_rust on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Derekbenj/advent_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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546
[INFO] running `Command { std: "docker" "start" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546", 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" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546", 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" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day2.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut iter1 = strstuff.lines().into_iter().map(|x| x.parse::<i32>().expect("Not a number"));
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking advent_2021_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day2.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut sum1 = iter1.zip(iter2).zip(iter3).map(|((x, y), z)| x + y + z);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testSum` should have a snake case name
[INFO] [stdout]   --> src/bin/day2.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn testSum() {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `test_sum`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day1.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut iter2 = strstuff.lines().into_iter();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day1.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut both = zip(iter1, iter2);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PROCESS` is never used
[INFO] [stdout]   --> src/bin/day1.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     const PROCESS: usize = 7;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testInput` should have a snake case name
[INFO] [stdout]   --> src/bin/day1.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn testInput() {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to snake case: `test_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day1.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut iter2 = strstuff.lines().into_iter();
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day1.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut both = zip(iter1, iter2);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day2.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut iter1 = strstuff.lines().into_iter().map(|x| x.parse::<i32>().expect("Not a number"));
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day2.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut sum1 = iter1.zip(iter2).zip(iter3).map(|((x, y), z)| x + y + z);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546", kill_on_drop: false }`
[INFO] [stdout] f1a3bf7cf4e9fb5c0f058fc400be303e6338692230628643ce43b1a0f7744546
