[INFO] cloning repository https://github.com/Deadleg/aoc-2022
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deadleg/aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeadleg%2Faoc-2022", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeadleg%2Faoc-2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] faa0b175a857742b4988facf689c0a60f092dc2e
[INFO] checking Deadleg/aoc-2022 against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeadleg%2Faoc-2022" "/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/Deadleg/aoc-2022
[INFO] finished tweaking git repo https://github.com/Deadleg/aoc-2022
[INFO] tweaked toml for git repo https://github.com/Deadleg/aoc-2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Deadleg/aoc-2022 on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Deadleg/aoc-2022 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 06dbc387880209d1963623921fafc7ef1c8db7db36f077b02e485afa7cef8802
[INFO] running `Command { std: "docker" "start" "-a" "06dbc387880209d1963623921fafc7ef1c8db7db36f077b02e485afa7cef8802", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06dbc387880209d1963623921fafc7ef1c8db7db36f077b02e485afa7cef8802", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06dbc387880209d1963623921fafc7ef1c8db7db36f077b02e485afa7cef8802", kill_on_drop: false }`
[INFO] [stdout] 06dbc387880209d1963623921fafc7ef1c8db7db36f077b02e485afa7cef8802
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72aac1fcb1cf968d0597271f0f9d791c860bdf1ef133220d29cbdbcfe5d59047
[INFO] running `Command { std: "docker" "start" "-a" "72aac1fcb1cf968d0597271f0f9d791c860bdf1ef133220d29cbdbcfe5d59047", kill_on_drop: false }`
[INFO] [stderr]     Checking arrays v0.1.1
[INFO] [stderr]     Checking iterchunks v0.3.0
[INFO] [stderr]     Checking advent-of-code-2022 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 183 |         if (first_1 <= second_1 && second_2 <= first_2) {
[INFO] [stdout]     |            ^                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -         if (first_1 <= second_1 && second_2 <= first_2) {
[INFO] [stdout] 183 +         if first_1 <= second_1 && second_2 <= first_2  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 185 |         } else if (second_1 <= first_1 && first_2 <= second_2) {
[INFO] [stdout]     |                   ^                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 185 -         } else if (second_1 <= first_1 && first_2 <= second_2) {
[INFO] [stdout] 185 +         } else if second_1 <= first_1 && first_2 <= second_2  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 206 |         if (first_2 >= second_1 && second_2 >= first_1) {
[INFO] [stdout]     |            ^                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 206 -         if (first_2 >= second_1 && second_2 >= first_1) {
[INFO] [stdout] 206 +         if first_2 >= second_1 && second_2 >= first_1  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/main.rs:152:40
[INFO] [stdout]     |
[INFO] [stdout] 152 |     for [line1, line2, line3] in lines.array_chunks() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `iterchunks::IterArrayChunks::array_chunks(...)` to keep using the current method
[INFO] [stdout]     = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: add `#![feature(iter_array_chunks)]` to the crate attributes to enable `std::iter::Iterator::array_chunks`
[INFO] [stdout]     |
[INFO] [stdout]   1 + #![feature(iter_array_chunks)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 183 |         if (first_1 <= second_1 && second_2 <= first_2) {
[INFO] [stdout]     |            ^                                          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -         if (first_1 <= second_1 && second_2 <= first_2) {
[INFO] [stdout] 183 +         if first_1 <= second_1 && second_2 <= first_2  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 185 |         } else if (second_1 <= first_1 && first_2 <= second_2) {
[INFO] [stdout]     |                   ^                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 185 -         } else if (second_1 <= first_1 && first_2 <= second_2) {
[INFO] [stdout] 185 +         } else if second_1 <= first_1 && first_2 <= second_2  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 206 |         if (first_2 >= second_1 && second_2 >= first_1) {
[INFO] [stdout]     |            ^                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 206 -         if (first_2 >= second_1 && second_2 >= first_1) {
[INFO] [stdout] 206 +         if first_2 >= second_1 && second_2 >= first_1  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/main.rs:152:40
[INFO] [stdout]     |
[INFO] [stdout] 152 |     for [line1, line2, line3] in lines.array_chunks() {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `iterchunks::IterArrayChunks::array_chunks(...)` to keep using the current method
[INFO] [stdout]     = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: add `#![feature(iter_array_chunks)]` to the crate attributes to enable `std::iter::Iterator::array_chunks`
[INFO] [stdout]     |
[INFO] [stdout]   1 + #![feature(iter_array_chunks)]
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `new_dir` does not live long enough
[INFO] [stdout]    --> src/main.rs:396:27
[INFO] [stdout]     |
[INFO] [stdout] 381 |             let x = current_dir.parent.as_ref().unwrap();
[INFO] [stdout]     |                     ------------------ borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 387 |             let new_dir = Directory {
[INFO] [stdout]     |                 ------- binding `new_dir` declared here
[INFO] [stdout] ...
[INFO] [stdout] 396 |             current_dir = &new_dir;
[INFO] [stdout]     |                           ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 397 |             continue;
[INFO] [stdout] 398 |         }
[INFO] [stdout]     |         - `new_dir` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `new_dir` does not live long enough
[INFO] [stdout]    --> src/main.rs:396:27
[INFO] [stdout]     |
[INFO] [stdout] 381 |             let x = current_dir.parent.as_ref().unwrap();
[INFO] [stdout]     |                     ------------------ borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 387 |             let new_dir = Directory {
[INFO] [stdout]     |                 ------- binding `new_dir` declared here
[INFO] [stdout] ...
[INFO] [stdout] 396 |             current_dir = &new_dir;
[INFO] [stdout]     |                           ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 397 |             continue;
[INFO] [stdout] 398 |         }
[INFO] [stdout]     |         - `new_dir` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `current_dir.files` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:409:9
[INFO] [stdout]     |
[INFO] [stdout] 409 |         current_dir.files.push((bytes.parse::<i32>().unwrap(), filename.to_string()));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ `current_dir` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 375 |     let mut current_dir = &mut first_dir;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `current_dir.files` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:409:9
[INFO] [stdout]     |
[INFO] [stdout] 409 |         current_dir.files.push((bytes.parse::<i32>().unwrap(), filename.to_string()));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ `current_dir` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout] 375 |     let mut current_dir = &mut first_dir;
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0596, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0596, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2022` (bin "advent-of-code-2022" test) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `advent-of-code-2022` (bin "advent-of-code-2022") due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "72aac1fcb1cf968d0597271f0f9d791c860bdf1ef133220d29cbdbcfe5d59047", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72aac1fcb1cf968d0597271f0f9d791c860bdf1ef133220d29cbdbcfe5d59047", kill_on_drop: false }`
[INFO] [stdout] 72aac1fcb1cf968d0597271f0f9d791c860bdf1ef133220d29cbdbcfe5d59047
