[INFO] updating cached repository https://github.com/GallaisPoutine/GameOfLife [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] 34ae58dfbac95857a768da0a879bae58ae451408 [INFO] testing GallaisPoutine/GameOfLife against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGallaisPoutine%2FGameOfLife" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GallaisPoutine/GameOfLife on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/GallaisPoutine/GameOfLife [INFO] finished tweaking git repo https://github.com/GallaisPoutine/GameOfLife [INFO] tweaked toml for git repo https://github.com/GallaisPoutine/GameOfLife written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/GallaisPoutine/GameOfLife already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 53faf062e5d5e5aa4f2e27f40c59bebc6776d79395b962aa503c6e797b01320a [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" "53faf062e5d5e5aa4f2e27f40c59bebc6776d79395b962aa503c6e797b01320a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling termion v1.5.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | for i in 0..height as i16 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `j` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | for j in 0..width as i16 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `grid` [INFO] [stderr] --> src/main.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | fn check_neighbours(grid : &Vec>) -> u16 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `grid` [INFO] [stderr] --> src/main.rs:69:20 [INFO] [stderr] | [INFO] [stderr] 69 | fn set_future_grid(grid : &Vec>) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `*cell.1` as mutable, as it is behind a `&` reference [INFO] [stderr] --> src/main.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | cell.1.process(check_neighbours(&grid)); [INFO] [stderr] | ^^^^^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let mut neighbours = 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] error: aborting due to previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0596`. [INFO] [stderr] error: could not compile `game_of_life`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "53faf062e5d5e5aa4f2e27f40c59bebc6776d79395b962aa503c6e797b01320a"` [INFO] running `"docker" "rm" "-f" "53faf062e5d5e5aa4f2e27f40c59bebc6776d79395b962aa503c6e797b01320a"` [INFO] [stdout] 53faf062e5d5e5aa4f2e27f40c59bebc6776d79395b962aa503c6e797b01320a