[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] testing AntoineSebert/local_hack_day_2018 against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoineSebert%2Flocal_hack_day_2018" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 98% (194/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 beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-10/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 53af4f28299b426a2f4652f8c8eec885dc2d3fbed1b52b52100ae7f01ecb6c08 [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" "53af4f28299b426a2f4652f8c8eec885dc2d3fbed1b52b52100ae7f01ecb6c08"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling toml v0.4.9 [INFO] [stderr] Compiling 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] 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] running `"docker" "inspect" "53af4f28299b426a2f4652f8c8eec885dc2d3fbed1b52b52100ae7f01ecb6c08"` [INFO] running `"docker" "rm" "-f" "53af4f28299b426a2f4652f8c8eec885dc2d3fbed1b52b52100ae7f01ecb6c08"` [INFO] [stdout] 53af4f28299b426a2f4652f8c8eec885dc2d3fbed1b52b52100ae7f01ecb6c08