[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2c5e66d2b273bd11288fa8fcfe99e197e319f64 [INFO] testing AntoineSebert/local_hack_day_2018 against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntoineSebert%2Flocal_hack_day_2018" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 68% (135/196) Checking out files: 69% (136/196) Checking out files: 70% (138/196) Checking out files: 71% (140/196) Checking out files: 72% (142/196) Checking out files: 73% (144/196) Checking out files: 74% (146/196) Checking out files: 75% (147/196) Checking out files: 76% (149/196) Checking out files: 77% (151/196) Checking out files: 78% (153/196) Checking out files: 79% (155/196) Checking out files: 80% (157/196) Checking out files: 81% (159/196) Checking out files: 82% (161/196) Checking out files: 83% (163/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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ff523a4fe611bc89ac4e268cd1703c621caf23c75aa055cdaa00069957bf631 [INFO] running `Command { std: "docker" "start" "-a" "9ff523a4fe611bc89ac4e268cd1703c621caf23c75aa055cdaa00069957bf631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff523a4fe611bc89ac4e268cd1703c621caf23c75aa055cdaa00069957bf631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff523a4fe611bc89ac4e268cd1703c621caf23c75aa055cdaa00069957bf631", kill_on_drop: false }` [INFO] [stdout] 9ff523a4fe611bc89ac4e268cd1703c621caf23c75aa055cdaa00069957bf631 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541309c194027a43f18d68e4b6542f46feb582c8462d00b52265b86e4a1c7939 [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" "541309c194027a43f18d68e4b6542f46feb582c8462d00b52265b86e4a1c7939", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling toml v0.4.9 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling 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] [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] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | --------------- ------------------ mutable borrow occurs here [INFO] [stdout] | | [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] | ^^^^^^^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ------------------ first 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[E0499]: cannot borrow `world[_][_]` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | cells_to_update.push(&mut world[n][n_2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ mutable borrow starts here in previous iteration of loop [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: could not compile `local_hack_day_2018`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "541309c194027a43f18d68e4b6542f46feb582c8462d00b52265b86e4a1c7939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541309c194027a43f18d68e4b6542f46feb582c8462d00b52265b86e4a1c7939", kill_on_drop: false }` [INFO] [stdout] 541309c194027a43f18d68e4b6542f46feb582c8462d00b52265b86e4a1c7939