[INFO] cloning repository https://github.com/joakimgy/aoc2022
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joakimgy/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoakimgy%2Faoc2022"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoakimgy%2Faoc2022'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 71886459de636314a2d1169728c73be6ac4acfb6
[INFO] testing joakimgy/aoc2022 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoakimgy%2Faoc2022" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joakimgy/aoc2022
[INFO] finished tweaking git repo https://github.com/joakimgy/aoc2022
[INFO] tweaked toml for git repo https://github.com/joakimgy/aoc2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joakimgy/aoc2022 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/joakimgy/aoc2022 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c
[INFO] running `"docker" "start" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c"`
[INFO] running `"docker" "inspect" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c"`
[INFO] running `"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" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c"`
[INFO] running `"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" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling regex v1.7.0
[INFO] [stderr]    Compiling aoc2022 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0596]: cannot borrow `*current_directory` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/day7.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |             current_directory.add_file(file);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ `current_directory` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]    |
[INFO] [stdout] 67 |             let current_directory: &mut Directory = directories.get(path).expect("Directory should exist");
[INFO] [stdout]    |                                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc2022` (bin "aoc2022") due to 1 previous error
[INFO] running `"docker" "inspect" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c"`
[INFO] running `"docker" "rm" "-f" "17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c"`
[INFO] [stdout] 17ee0b64e750f163155db69a48e17270a4a70471a998feac5af2f2ed2609207c
