[INFO] cloning repository https://github.com/roguemaps/dice-game [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1338fdfedf5a693c37073a04b2a63ee5bcfa5b04 [INFO] checking roguemaps/dice-game against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roguemaps/dice-game on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roguemaps/dice-game 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "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 roguemaps/dice-game against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roguemaps/dice-game on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roguemaps/dice-game 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3706a0f3e6dbd15265094d87c99d27fbbf3aaff5c42fbfa2564e52006456d6b8 [INFO] running `Command { std: "docker" "start" "-a" "3706a0f3e6dbd15265094d87c99d27fbbf3aaff5c42fbfa2564e52006456d6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3706a0f3e6dbd15265094d87c99d27fbbf3aaff5c42fbfa2564e52006456d6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3706a0f3e6dbd15265094d87c99d27fbbf3aaff5c42fbfa2564e52006456d6b8", kill_on_drop: false }` [INFO] [stdout] 3706a0f3e6dbd15265094d87c99d27fbbf3aaff5c42fbfa2564e52006456d6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2defcf75ce6d51abbb56900c112315e625b7eed66f00acd9bf23be2dbe5e1c7d [INFO] running `Command { std: "docker" "start" "-a" "2defcf75ce6d51abbb56900c112315e625b7eed66f00acd9bf23be2dbe5e1c7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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` [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] [stderr] warning: build failed, waiting for other jobs to finish... [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` [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 test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "2defcf75ce6d51abbb56900c112315e625b7eed66f00acd9bf23be2dbe5e1c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2defcf75ce6d51abbb56900c112315e625b7eed66f00acd9bf23be2dbe5e1c7d", kill_on_drop: false }` [INFO] [stdout] 2defcf75ce6d51abbb56900c112315e625b7eed66f00acd9bf23be2dbe5e1c7d