[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] testing roguemaps/dice-game against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roguemaps/dice-game on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing roguemaps/dice-game against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froguemaps%2Fdice-game" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roguemaps/dice-game on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+61a9ac64344e91d62f5496627ff363d177f9daab" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1abf52f6e57f931fc00e258b316caeec6e6c8d3f0064bbe6d4f3867f30e390b [INFO] running `Command { std: "docker" "start" "-a" "a1abf52f6e57f931fc00e258b316caeec6e6c8d3f0064bbe6d4f3867f30e390b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1abf52f6e57f931fc00e258b316caeec6e6c8d3f0064bbe6d4f3867f30e390b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1abf52f6e57f931fc00e258b316caeec6e6c8d3f0064bbe6d4f3867f30e390b", kill_on_drop: false }` [INFO] [stdout] a1abf52f6e57f931fc00e258b316caeec6e6c8d3f0064bbe6d4f3867f30e390b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f38e0ff5e5c9756abeddeae2a9a7ba4b3d0733b5e766d14f93a3b017ba0d5276 [INFO] running `Command { std: "docker" "start" "-a" "f38e0ff5e5c9756abeddeae2a9a7ba4b3d0733b5e766d14f93a3b017ba0d5276", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [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` [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] error: aborting due to 2 previous errors [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 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f38e0ff5e5c9756abeddeae2a9a7ba4b3d0733b5e766d14f93a3b017ba0d5276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38e0ff5e5c9756abeddeae2a9a7ba4b3d0733b5e766d14f93a3b017ba0d5276", kill_on_drop: false }` [INFO] [stdout] f38e0ff5e5c9756abeddeae2a9a7ba4b3d0733b5e766d14f93a3b017ba0d5276