[INFO] cloning repository https://github.com/roguemaps/dice-game
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roguemaps/dice-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1338fdfedf5a693c37073a04b2a63ee5bcfa5b04
[INFO] testing roguemaps/dice-game 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%2Froguemaps%2Fdice-game" "/workspace/builds/worker-1-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/roguemaps/dice-game
[INFO] finished tweaking git repo https://github.com/roguemaps/dice-game
[INFO] tweaked toml for git repo https://github.com/roguemaps/dice-game written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/roguemaps/dice-game 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/roguemaps/dice-game 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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713
[INFO] running `"docker" "start" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713"`
[INFO] running `"docker" "inspect" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713"`
[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" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713"`
[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" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dice-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0502]: cannot borrow `*borrow_countries` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:71:46
[INFO] [stdout]    |
[INFO] [stdout] 71 |             borrow_countries[i].borders.push(borrow_countries[i + 1].id);
[INFO] [stdout]    |             ----------------            ---- ^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout]    |             |                           |
[INFO] [stdout]    |             |                           mutable borrow later used by call
[INFO] [stdout]    |             mutable borrow occurs here
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `.split_at_mut(position)` to obtain two mutable non-overlapping sub-slices
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of index of `Vec<Country>`
[INFO] [stdout]   --> src/lib.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |         updated_countries.push(countries[i]);
[INFO] [stdout]    |                                ^^^^^^^^^^^^ move occurs because value has type `Country`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `Country` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/lib.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Country {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 84 |         updated_countries.push(countries[i]);
[INFO] [stdout]    |                                ------------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0502, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dice-game` (lib) due to 2 previous errors
[INFO] running `"docker" "inspect" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713"`
[INFO] running `"docker" "rm" "-f" "6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713"`
[INFO] [stdout] 6faf8112615fdbb2106e8f7fd3a9fd286ffd28cacef196edf699b0c8a00b9713
