[INFO] cloning repository https://github.com/memotoro/advent-of-code-21
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/memotoro/advent-of-code-21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemotoro%2Fadvent-of-code-21", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemotoro%2Fadvent-of-code-21'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3226c7ec00492e6c46003d72454b2e636808ee2e
[INFO] testing memotoro/advent-of-code-21 against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmemotoro%2Fadvent-of-code-21" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/memotoro/advent-of-code-21 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/memotoro/advent-of-code-21
[INFO] finished tweaking git repo https://github.com/memotoro/advent-of-code-21
[INFO] tweaked toml for git repo https://github.com/memotoro/advent-of-code-21 written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/memotoro/advent-of-code-21 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7b8dd1a6a7290e40df0e76856f4c0a10d17ed23623b677d0d9c9053403415d7f
[INFO] running `Command { std: "docker" "start" "-a" "7b8dd1a6a7290e40df0e76856f4c0a10d17ed23623b677d0d9c9053403415d7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b8dd1a6a7290e40df0e76856f4c0a10d17ed23623b677d0d9c9053403415d7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b8dd1a6a7290e40df0e76856f4c0a10d17ed23623b677d0d9c9053403415d7f", kill_on_drop: false }`
[INFO] [stdout] 7b8dd1a6a7290e40df0e76856f4c0a10d17ed23623b677d0d9c9053403415d7f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8afc11c83306a9bcc669af771c196ca53a0616b48570aa8f402380e6222b2860
[INFO] running `Command { std: "docker" "start" "-a" "8afc11c83306a9bcc669af771c196ca53a0616b48570aa8f402380e6222b2860", kill_on_drop: false }`
[INFO] [stderr]    Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:37:31
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] 37 |             let value = match freq.get(key) {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:43:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 43 |                 let value_6 = match freq.get(&6) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:47:37
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 let value_8 = match freq.get(&8) {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `freq` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/bin/day6_part2.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         mutable borrow occurs here
[INFO] [stdout]    |                         mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 52 |                 let new_key_value = match freq.get(&new_key) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 56 |                 freq.insert(6, value_6);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 57 |                 freq.insert(8, value_8);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:58:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 58 |                 freq.insert(*key, value - 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 59 |                 freq.insert(new_key, *new_key_value);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `freq` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/day6_part2.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         for (key, _) in freq.iter_mut() {
[INFO] [stdout]    |                         ---------------
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         first mutable borrow occurs here
[INFO] [stdout]    |                         first borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 61 |                 freq.insert(*key, *value);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2021` due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "8afc11c83306a9bcc669af771c196ca53a0616b48570aa8f402380e6222b2860", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8afc11c83306a9bcc669af771c196ca53a0616b48570aa8f402380e6222b2860", kill_on_drop: false }`
[INFO] [stdout] 8afc11c83306a9bcc669af771c196ca53a0616b48570aa8f402380e6222b2860
