[INFO] updating cached repository https://github.com/AntoineSebert/local_hack_day_2018 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d2c5e66d2b273bd11288fa8fcfe99e197e319f64 [INFO] checking AntoineSebert/local_hack_day_2018 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoineSebert%2Flocal_hack_day_2018" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 83% (164/196) Checking out files: 84% (165/196) Checking out files: 85% (167/196) Checking out files: 86% (169/196) Checking out files: 87% (171/196) Checking out files: 88% (173/196) Checking out files: 89% (175/196) Checking out files: 90% (177/196) Checking out files: 91% (179/196) Checking out files: 92% (181/196) Checking out files: 93% (183/196) Checking out files: 94% (185/196) Checking out files: 95% (187/196) Checking out files: 96% (189/196) Checking out files: 97% (191/196) Checking out files: 98% (193/196) Checking out files: 99% (195/196) Checking out files: 100% (196/196) Checking out files: 100% (196/196), done. [INFO] validating manifest of git repo https://github.com/AntoineSebert/local_hack_day_2018 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 347bbfde7e3b2c57e6321923ebd5d9a483b1e0fe29b25721cae295f9e3e4e495 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "347bbfde7e3b2c57e6321923ebd5d9a483b1e0fe29b25721cae295f9e3e4e495"` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling serde v1.0.80 [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] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | let mut neighbors: u8 = 0; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `world[_][_]` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/main.rs:114:34 [INFO] [stderr] | [INFO] [stderr] 114 | let is_alive: bool = world[n][n_2].clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | --------------- ------------------ mutable borrow occurs here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:117:42 [INFO] [stderr] | [INFO] [stderr] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | ------------------ first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stderr] | --------------- first borrow later used here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | let mut neighbors: u8 = 0; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `world[_][_]` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/main.rs:114:34 [INFO] [stderr] | [INFO] [stderr] 114 | let is_alive: bool = world[n][n_2].clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | --------------- ------------------ mutable borrow occurs here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0502. [INFO] [stderr] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:117:42 [INFO] [stderr] | [INFO] [stderr] 117 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | ------------------ first mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 126 | for mut element in cells_to_update.iter_mut() { [INFO] [stderr] | --------------- first borrow later used here [INFO] [stderr] [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stderr] --> src/main.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0499, E0502. [INFO] [stderr] For more information about an error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `local_hack_day_2018`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `local_hack_day_2018`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "347bbfde7e3b2c57e6321923ebd5d9a483b1e0fe29b25721cae295f9e3e4e495"` [INFO] running `"docker" "rm" "-f" "347bbfde7e3b2c57e6321923ebd5d9a483b1e0fe29b25721cae295f9e3e4e495"` [INFO] [stdout] 347bbfde7e3b2c57e6321923ebd5d9a483b1e0fe29b25721cae295f9e3e4e495