[INFO] cloning repository https://github.com/Alex-Ralph/aoc2022
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alex-Ralph/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Ralph%2Faoc2022", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Ralph%2Faoc2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c6738c4bc558a10c708ab5c192229d694719b614
[INFO] checking Alex-Ralph/aoc2022 against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex-Ralph%2Faoc2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/Alex-Ralph/aoc2022
[INFO] finished tweaking git repo https://github.com/Alex-Ralph/aoc2022
[INFO] tweaked toml for git repo https://github.com/Alex-Ralph/aoc2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alex-Ralph/aoc2022 on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alex-Ralph/aoc2022 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed
[INFO] running `Command { std: "docker" "start" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed", 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" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed", 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" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking advent_of_code v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/04.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut lines = input.lines();
[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/02.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut data: Vec<&str> = x.split(' ').collect();
[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/02.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut handpos;
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `victory` is never read
[INFO] [stdout]   --> src/bin/02.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut victory = 0;
[INFO] [stdout]    |                           ^ this value is reassigned later and never used
[INFO] [stdout] 64 |         match data[1] {
[INFO] [stdout] 65 |             "X" => victory = 0,
[INFO] [stdout]    |                    ----------- `victory` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (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/04.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut lines = input.lines();
[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/06.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut input_windows = b.windows(4);
[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/06.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut input_windows = b.windows(14);
[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/03.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut lines = input.lines();
[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/02.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut data: Vec<&str> = x.split(' ').collect();
[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/04.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut lines = input.lines();
[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/02.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut handpos;
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `victory` is never read
[INFO] [stdout]   --> src/bin/02.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut victory = 0;
[INFO] [stdout]    |                           ^ this value is reassigned later and never used
[INFO] [stdout] 64 |         match data[1] {
[INFO] [stdout] 65 |             "X" => victory = 0,
[INFO] [stdout]    |                    ----------- `victory` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (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/04.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut lines = input.lines();
[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/03.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut elf_one = lines.next().unwrap().chars().map(|x| x as u32);
[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/05.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let (mut stacks, mut instructions) = (a.next()?.lines().rev(), a.next()?);
[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: unused variable: `i`
[INFO] [stdout]  --> src/bin/05.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in 0..stackamt {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (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/05.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let (mut stacks, mut instructions) = parse_text(input)?;
[INFO] [stdout]    |                      ----^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/05.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         for i in 0..x[0] {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/05.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let (mut stacks, mut instructions) = parse_text(input)?;
[INFO] [stdout]    |                      ----^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/05.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         for i in 0..x[0] {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/03.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut lines = input.lines();
[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/03.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut elf_one = lines.next().unwrap().chars().map(|x| x as u32);
[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/06.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let mut input_windows = b.windows(4);
[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/06.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut input_windows = b.windows(14);
[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/05.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let (mut stacks, mut instructions) = (a.next()?.lines().rev(), a.next()?);
[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: unused variable: `i`
[INFO] [stdout]  --> src/bin/05.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for i in 0..stackamt {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (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/05.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let (mut stacks, mut instructions) = parse_text(input)?;
[INFO] [stdout]    |                      ----^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/05.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         for i in 0..x[0] {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/05.rs:52:22
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let (mut stacks, mut instructions) = parse_text(input)?;
[INFO] [stdout]    |                      ----^^^^^^^^^^^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/bin/05.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         for i in 0..x[0] {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] running `Command { std: "docker" "inspect" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed", kill_on_drop: false }`
[INFO] [stdout] c2cadd97563ef218e019169724f893a7c7677d2ca191bb33f860df084381f7ed
