[INFO] cloning repository https://github.com/joakimgy/aoc2022
[INFO] running `Command { std: "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", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoakimgy%2Faoc2022'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71886459de636314a2d1169728c73be6ac4acfb6
[INFO] checking joakimgy/aoc2022 against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoakimgy%2Faoc2022" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joakimgy/aoc2022 on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joakimgy/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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking joakimgy/aoc2022 against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoakimgy%2Faoc2022" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joakimgy/aoc2022 on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joakimgy/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" "+65b20a97de33e9e59992793a144aef2950c48c76" "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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346
[INFO] running `Command { std: "docker" "start" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346", 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" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346", 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" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]     Checking 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] [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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `aoc2022` (bin "aoc2022" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346", kill_on_drop: false }`
[INFO] [stdout] 82c31c61d9be4f8b769783bf6802b1e155823a59773f782888cbedee1fb21346
