[INFO] cloning repository https://github.com/AntoineSebert/local_hack_day_2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntoineSebert/local_hack_day_2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoineSebert%2Flocal_hack_day_2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoineSebert%2Flocal_hack_day_2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2c5e66d2b273bd11288fa8fcfe99e197e319f64 [INFO] checking AntoineSebert/local_hack_day_2018 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoineSebert%2Flocal_hack_day_2018" "/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/AntoineSebert/local_hack_day_2018 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AntoineSebert/local_hack_day_2018 [INFO] finished tweaking git repo https://github.com/AntoineSebert/local_hack_day_2018 [INFO] tweaked toml for git repo https://github.com/AntoineSebert/local_hack_day_2018 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/AntoineSebert/local_hack_day_2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 164d84ce525666bce312604be38867f89a77abd9898e59f419ad15b79b66e79a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "164d84ce525666bce312604be38867f89a77abd9898e59f419ad15b79b66e79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "164d84ce525666bce312604be38867f89a77abd9898e59f419ad15b79b66e79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164d84ce525666bce312604be38867f89a77abd9898e59f419ad15b79b66e79a", kill_on_drop: false }` [INFO] [stdout] 164d84ce525666bce312604be38867f89a77abd9898e59f419ad15b79b66e79a [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=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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb85ad0c8ec6b628c7cac632f46a39c3e75c0297b45ee8fd65a5788d52c2422a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fb85ad0c8ec6b628c7cac632f46a39c3e75c0297b45ee8fd65a5788d52c2422a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking toml v0.4.9 [INFO] [stderr] Checking local_hack_day_2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut neighbors: u8 = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `local_hack_day_2018` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0502]: cannot borrow `world[_][_]` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let is_alive: bool = world[n][n_2].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ------------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | --------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `world[_][_]` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stdout] | --------------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut neighbors: u8 = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `world[_][_]` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | let is_alive: bool = world[n][n_2].clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ------------------ mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | --------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `world[_][_]` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stdout] | --------------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "fb85ad0c8ec6b628c7cac632f46a39c3e75c0297b45ee8fd65a5788d52c2422a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb85ad0c8ec6b628c7cac632f46a39c3e75c0297b45ee8fd65a5788d52c2422a", kill_on_drop: false }` [INFO] [stdout] fb85ad0c8ec6b628c7cac632f46a39c3e75c0297b45ee8fd65a5788d52c2422a