[INFO] cloning repository https://github.com/neto2000/game_of_life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neto2000/game_of_life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneto2000%2Fgame_of_life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneto2000%2Fgame_of_life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6110424c547e110ce905bf47bd22dcb624707405 [INFO] checking neto2000/game_of_life against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneto2000%2Fgame_of_life" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/neto2000/game_of_life on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neto2000/game_of_life [INFO] finished tweaking git repo https://github.com/neto2000/game_of_life [INFO] tweaked toml for git repo https://github.com/neto2000/game_of_life written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/neto2000/game_of_life already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a55de4771c5bf042baef14dbcc5c29b7a7071bd68ce6f187f1d2060fea081cd7 [INFO] running `Command { std: "docker" "start" "-a" "a55de4771c5bf042baef14dbcc5c29b7a7071bd68ce6f187f1d2060fea081cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a55de4771c5bf042baef14dbcc5c29b7a7071bd68ce6f187f1d2060fea081cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55de4771c5bf042baef14dbcc5c29b7a7071bd68ce6f187f1d2060fea081cd7", kill_on_drop: false }` [INFO] [stdout] a55de4771c5bf042baef14dbcc5c29b7a7071bd68ce6f187f1d2060fea081cd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f655da516f16579a8e81d7cf2b89df647175c9e8e7e43e964464fe7874d36f2f [INFO] running `Command { std: "docker" "start" "-a" "f655da516f16579a8e81d7cf2b89df647175c9e8e7e43e964464fe7874d36f2f", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking termion v2.0.1 [INFO] [stderr] Checking game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `display` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `display`, create file "src/display.rs" or "src/display/mod.rs" [INFO] [stdout] = note: if there is a `mod display` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `display` [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `display`, create file "src/display.rs" or "src/display/mod.rs" [INFO] [stdout] = note: if there is a `mod display` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InitFlag` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::image::{InitFlag, LoadTexture}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Block` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::game::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InitFlag` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::image::{InitFlag, LoadTexture}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::Block` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::game::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn round(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec, Vec>) { [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/game.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut revived: Vec = alive[count].get_neighbours(&blocks); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn place_block(mut render: &mut Renderer,pos: Point, mut alive: Vec, mut blocks: Vec>) -> (Vec, Vec... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut canvas = window.into_canvas().build().map_err(|e| e.to_string())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn round(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec, Vec>) { [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/game.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut revived: Vec = alive[count].get_neighbours(&blocks); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn place_block(mut render: &mut Renderer,pos: Point, mut alive: Vec, mut blocks: Vec>) -> (Vec, Vec... [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut canvas = window.into_canvas().build().map_err(|e| e.to_string())?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut alive: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | fn start_setup(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec,Vec>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | fn start_setup(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec,Vec>) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:72 [INFO] [stdout] | [INFO] [stdout] 276 | fn start_setup(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec,Vec>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let mut alive: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:16 [INFO] [stdout] | [INFO] [stdout] 276 | fn start_setup(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec,Vec>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:43 [INFO] [stdout] | [INFO] [stdout] 276 | fn start_setup(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec,Vec>) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:276:72 [INFO] [stdout] | [INFO] [stdout] 276 | fn start_setup(mut render: &mut Renderer, mut alive: Vec, mut blocks: Vec>) -> (Vec,Vec>) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:280:10 [INFO] [stdout] | [INFO] [stdout] 280 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:25,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:27,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:285:10 [INFO] [stdout] | [INFO] [stdout] 285 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:28,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:286:10 [INFO] [stdout] | [INFO] [stdout] 286 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:30,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:10 [INFO] [stdout] | [INFO] [stdout] 291 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:10 [INFO] [stdout] | [INFO] [stdout] 292 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:33,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:35,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:24}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:297:21 [INFO] [stdout] | [INFO] [stdout] 297 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:36,y:28}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:25}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:299:21 [INFO] [stdout] | [INFO] [stdout] 299 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:26}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:10 [INFO] [stdout] | [INFO] [stdout] 300 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let (mut alive, mut blocks) = game::place_block(render, game::Point{x:38,y:27}, alive, blocks); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game_of_life` (bin "game_of_life") due to 1 previous error; 52 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game_of_life` (bin "game_of_life" test) due to 1 previous error; 52 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f655da516f16579a8e81d7cf2b89df647175c9e8e7e43e964464fe7874d36f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f655da516f16579a8e81d7cf2b89df647175c9e8e7e43e964464fe7874d36f2f", kill_on_drop: false }` [INFO] [stdout] f655da516f16579a8e81d7cf2b89df647175c9e8e7e43e964464fe7874d36f2f