[INFO] cloning repository https://github.com/tiduslaugh/aoc_2022_7
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiduslaugh/aoc_2022_7" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiduslaugh%2Faoc_2022_7", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiduslaugh%2Faoc_2022_7'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f32aedd24f074abb3ea8350d46b73df270892c3
[INFO] checking tiduslaugh/aoc_2022_7 against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiduslaugh%2Faoc_2022_7" "/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/tiduslaugh/aoc_2022_7
[INFO] finished tweaking git repo https://github.com/tiduslaugh/aoc_2022_7
[INFO] tweaked toml for git repo https://github.com/tiduslaugh/aoc_2022_7 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tiduslaugh/aoc_2022_7 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tiduslaugh/aoc_2022_7 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazy-regex v2.3.2
[INFO] [stderr]   Downloaded lazy-regex-proc_macros v2.3.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1da6b8dbbd070557c32f5076e10d791fb61d8bad79e597cab94a42262928580
[INFO] running `Command { std: "docker" "start" "-a" "c1da6b8dbbd070557c32f5076e10d791fb61d8bad79e597cab94a42262928580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1da6b8dbbd070557c32f5076e10d791fb61d8bad79e597cab94a42262928580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1da6b8dbbd070557c32f5076e10d791fb61d8bad79e597cab94a42262928580", kill_on_drop: false }`
[INFO] [stdout] c1da6b8dbbd070557c32f5076e10d791fb61d8bad79e597cab94a42262928580
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d316066f6bf52cdb000486aba2303a2550cd8c6509230140bb4b21967be8fd0
[INFO] running `Command { std: "docker" "start" "-a" "0d316066f6bf52cdb000486aba2303a2550cd8c6509230140bb4b21967be8fd0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]    Compiling lazy-regex-proc_macros v2.3.2
[INFO] [stderr]     Checking lazy-regex v2.3.2
[INFO] [stderr]     Checking aoc_2022_7 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Result as IoResult`
[INFO] [stdout]  --> src/main.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Result as IoResult};
[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: `Result as IoResult`
[INFO] [stdout]  --> src/main.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Result as IoResult};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |       let x = match RefCell::borrow(&current).deref() {
[INFO] [stdout]     |  _____________-
[INFO] [stdout] 102 | |         Node::DirectoryNode { entries, ..} => {
[INFO] [stdout] 103 | |             for entry in entries.iter() {
[INFO] [stdout] 104 | |                 match RefCell::borrow(entry).deref() {
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |         _ => panic!()
[INFO] [stdout] 117 | |     }; x
[INFO] [stdout]     | |     -  ^ unreachable expression
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |       any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 101 |       let x = match RefCell::borrow(&current).deref() {
[INFO] [stdout]     |  _____________-
[INFO] [stdout] 102 | |         Node::DirectoryNode { entries, ..} => {
[INFO] [stdout] 103 | |             for entry in entries.iter() {
[INFO] [stdout] 104 | |                 match RefCell::borrow(entry).deref() {
[INFO] [stdout] ...   |
[INFO] [stdout] 116 | |         _ => panic!()
[INFO] [stdout] 117 | |     }; x
[INFO] [stdout]     | |     -  ^ unreachable expression
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |       any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/main.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BorrowMut`
[INFO] [stdout]  --> src/main.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::{Borrow, BorrowMut};
[INFO] [stdout]   |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let x = match RefCell::borrow(&current).deref() {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[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/main.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn execute_dirent(mut current: NodeRef, fst: &str, snd: &str) -> Result<(), &'static str> {
[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: `x`
[INFO] [stdout]    --> src/main.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let x = match RefCell::borrow(&current).deref() {
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[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/main.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout] 120 | fn execute_dirent(mut current: NodeRef, fst: &str, snd: &str) -> Result<(), &'static str> {
[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/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut t: DirectoryTree = Default::default();
[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/main.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut i = 0;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut i = 0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_name` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn get_name(n: &Node) -> &String {
[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 `get_size` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_size(n: NodeRef) -> usize {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut t: DirectoryTree = Default::default();
[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/main.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut i = 0;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let mut i = 0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_name` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn get_name(n: &Node) -> &String {
[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 `get_size` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn get_size(n: NodeRef) -> usize {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.93s
[INFO] running `Command { std: "docker" "inspect" "0d316066f6bf52cdb000486aba2303a2550cd8c6509230140bb4b21967be8fd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d316066f6bf52cdb000486aba2303a2550cd8c6509230140bb4b21967be8fd0", kill_on_drop: false }`
[INFO] [stdout] 0d316066f6bf52cdb000486aba2303a2550cd8c6509230140bb4b21967be8fd0
