[INFO] cloning repository https://github.com/hderms/advent-of-code-2022
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hderms/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhderms%2Fadvent-of-code-2022", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhderms%2Fadvent-of-code-2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 741e556b70ba7b852299b1e903825384a05cf711
[INFO] testing hderms/advent-of-code-2022 against 1.100.0-beta.1 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhderms%2Fadvent-of-code-2022" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hderms/advent-of-code-2022
[INFO] finished tweaking git repo https://github.com/hderms/advent-of-code-2022
[INFO] tweaked toml for git repo https://github.com/hderms/advent-of-code-2022 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hderms/advent-of-code-2022 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hderms/advent-of-code-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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[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-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b
[INFO] running `Command { std: "docker" "start" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b", 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" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling anyhow v1.0.66
[INFO] [stderr]    Compiling six v0.1.0 (/opt/rustwide/workdir/six)
[INFO] [stderr]    Compiling three v0.1.0 (/opt/rustwide/workdir/three)
[INFO] [stderr]    Compiling eight v0.1.0 (/opt/rustwide/workdir/eight)
[INFO] [stderr]    Compiling one v0.1.0 (/opt/rustwide/workdir/one)
[INFO] [stderr]    Compiling four v0.1.0 (/opt/rustwide/workdir/four)
[INFO] [stderr]    Compiling five v0.1.0 (/opt/rustwide/workdir/five)
[INFO] [stderr]    Compiling two v0.1.0 (/opt/rustwide/workdir/two)
[INFO] [stderr]    Compiling seven v0.1.0 (/opt/rustwide/workdir/seven)
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> six/src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{BufReader, Read};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> three/src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(iter_array_chunks)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice::Iter`
[INFO] [stdout]  --> eight/src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::slice::Iter;
[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 assigned value
[INFO] [stdout]   --> eight/src/main.rs:85:24
[INFO] [stdout]    |
[INFO] [stdout] 85 |             max_seen = (*entry as i64);
[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] 85 -             max_seen = (*entry as i64);
[INFO] [stdout] 85 +             max_seen = *entry as i64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> eight/src/main.rs:94:24
[INFO] [stdout]    |
[INFO] [stdout] 94 |             max_seen = (*entry as i64);
[INFO] [stdout]    |                        ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -             max_seen = (*entry as i64);
[INFO] [stdout] 94 +             max_seen = *entry as i64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `three` (bin "three") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0027]: pattern does not mention field `children`
[INFO] [stdout]    --> seven/src/main.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             Instruction::Ls { output } => {}
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `children`
[INFO] [stdout]     |
[INFO] [stdout] help: include the missing field in the pattern
[INFO] [stdout]     |
[INFO] [stdout] 232 |             Instruction::Ls { output, children } => {}
[INFO] [stdout]     |                                     ++++++++++
[INFO] [stdout] help: if you don't care about this missing field, you can explicitly ignore it
[INFO] [stdout]     |
[INFO] [stdout] 232 |             Instruction::Ls { output, children: _ } => {}
[INFO] [stdout]     |                                     +++++++++++++
[INFO] [stdout] help: or always ignore missing fields here
[INFO] [stdout]     |
[INFO] [stdout] 232 |             Instruction::Ls { output, .. } => {}
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> five/src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut reader = BufReader::new(file);
[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]   --> five/src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     for mut c in crates.iter_mut() {
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> five/src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for i in 0..expected_number {
[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: unused variable: `i`
[INFO] [stdout]    --> five/src/main.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         for i in 0..instruction.count {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> five/src/main.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         for i in 0..instruction.count {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `instruction_regex` should have an upper case name
[INFO] [stdout]   --> five/src/main.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     static ref instruction_regex: Regex = Regex::new(INSTRUCTION_REGEX_STR).unwrap();
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 11 -     static ref instruction_regex: Regex = Regex::new(INSTRUCTION_REGEX_STR).unwrap();
[INFO] [stdout] 11 +     static ref INSTRUCTION_REGEX: Regex = Regex::new(INSTRUCTION_REGEX_STR).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> seven/src/main.rs:227:34
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 cursor.push(dir, last);
[INFO] [stdout]     |                        ----      ^^^^ expected `usize`, found `Option<&usize>`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]                found enum `Option<&usize>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> seven/src/main.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 |     fn push(&mut self, entry: String, parent: usize) {
[INFO] [stdout]     |        ^^^^                           -------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> seven/src/main.rs:229:58
[INFO] [stdout]     |
[INFO] [stdout] 229 |                     filesystem.insert_dir(cursor.path(), cursor.parent.last());
[INFO] [stdout]     |                                ----------                ^^^^^^^^^^^^^^^^^^^^ expected `Option<usize>`, found `Option<&usize>`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<_>`
[INFO] [stdout]                found enum `Option<&_>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> seven/src/main.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn insert_dir(&mut self, path: Path, parent: Option<usize>) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^                        ---------------------
[INFO] [stdout] help: use `Option::copied` to copy the value inside the `Option`
[INFO] [stdout]     |
[INFO] [stdout] 229 |                     filesystem.insert_dir(cursor.path(), cursor.parent.last().copied());
[INFO] [stdout]     |                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> seven/src/main.rs:195:13
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let mut path = self.stack.clone();
[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] error[E0382]: borrow of moved value: `instructions`
[INFO] [stdout]    --> seven/src/main.rs:208:36
[INFO] [stdout]     |
[INFO] [stdout] 205 |     let instructions = parse_instructions(lines)?;
[INFO] [stdout]     |         ------------ move occurs because `instructions` has type `Vec<Instruction>`, which does not implement the `Copy` trait
[INFO] [stdout] 206 |     let file_system: FileSystem = interpret_instructions(instructions);
[INFO] [stdout]     |                                                          ------------ value moved here
[INFO] [stdout] 207 |
[INFO] [stdout] 208 |     println!("instructions: {:?}", instructions);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `interpret_instructions` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> seven/src/main.rs:212:41
[INFO] [stdout]     |
[INFO] [stdout] 212 | fn interpret_instructions(instructions: Vec<Instruction>) -> FileSystem {
[INFO] [stdout]     |    ----------------------               ^^^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     |    |
[INFO] [stdout]     |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let file_system: FileSystem = interpret_instructions(instructions.clone());
[INFO] [stdout]     |                                                                      ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_system`
[INFO] [stdout]    --> seven/src/main.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let file_system: FileSystem = interpret_instructions(instructions);
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_system`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0027, E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0027`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `seven` (bin "seven") due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b", kill_on_drop: false }`
[INFO] [stdout] 8129777b4c4c07a2a14ed0c61d9b1e978b215dc8e4dff31f1ae1d65b30e3977b
