[INFO] cloning repository https://github.com/ObvMamut/rust-tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ObvMamut/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObvMamut%2Frust-tetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObvMamut%2Frust-tetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] afc5a2ce102c7fd3c1b6900f359303f1e9098b56
[INFO] testing ObvMamut/rust-tetris against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FObvMamut%2Frust-tetris" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ObvMamut/rust-tetris
[INFO] finished tweaking git repo https://github.com/ObvMamut/rust-tetris
[INFO] tweaked toml for git repo https://github.com/ObvMamut/rust-tetris written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ObvMamut/rust-tetris on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ObvMamut/rust-tetris 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded termcolor v1.4.0
[INFO] [stderr]   Downloaded ahash v0.8.7
[INFO] [stderr]   Downloaded crevice-derive v0.10.0
[INFO] [stderr]   Downloaded uuid v1.6.1
[INFO] [stderr]   Downloaded crevice v0.13.0
[INFO] [stderr]   Downloaded io-kit-sys v0.4.0
[INFO] [stderr]   Downloaded semver v1.0.21
[INFO] [stderr]   Downloaded winnow v0.5.31
[INFO] [stderr]   Downloaded glam v0.24.2
[INFO] [stderr]   Downloaded ordered-float v4.2.0
[INFO] [stderr]   Downloaded zip v0.6.6
[INFO] [stderr]   Downloaded profiling v1.0.13
[INFO] [stderr]   Downloaded gilrs v0.10.4
[INFO] [stderr]   Downloaded wgpu-hal v0.16.2
[INFO] [stderr]   Downloaded bindgen v0.69.1
[INFO] [stderr]   Downloaded ggez v0.9.3
[INFO] [stderr]   Downloaded serde_json v1.0.110
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.10
[INFO] [stderr]   Downloaded syn v2.0.46
[INFO] [stderr]   Downloaded wgpu v0.16.3
[INFO] [stderr]   Downloaded tempfile v3.9.0
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded d3d12 v0.6.0
[INFO] [stderr]   Downloaded wgpu-core v0.16.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.74
[INFO] [stderr]   Downloaded glyph_brush v0.7.8
[INFO] [stderr]   Downloaded coreaudio-sys v0.2.14
[INFO] [stderr]   Downloaded bytecount v0.6.7
[INFO] [stderr]   Downloaded gpu-alloc v0.5.4
[INFO] [stderr]   Downloaded wgpu-types v0.16.1
[INFO] [stderr]   Downloaded gilrs-core v0.5.10
[INFO] [stderr]   Downloaded cargo-platform v0.1.6
[INFO] [stderr]   Downloaded cargo_metadata v0.14.2
[INFO] [stderr]   Downloaded error-chain v0.12.4
[INFO] [stderr]   Downloaded skeptic v0.13.7
[INFO] [stderr]   Downloaded naga v0.12.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86767e44d0a08b00c533ae2d28adb2b5afe8801b84aaec11a861d01de77b9d03
[INFO] running `Command { std: "docker" "start" "-a" "86767e44d0a08b00c533ae2d28adb2b5afe8801b84aaec11a861d01de77b9d03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86767e44d0a08b00c533ae2d28adb2b5afe8801b84aaec11a861d01de77b9d03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86767e44d0a08b00c533ae2d28adb2b5afe8801b84aaec11a861d01de77b9d03", kill_on_drop: false }`
[INFO] [stdout] 86767e44d0a08b00c533ae2d28adb2b5afe8801b84aaec11a861d01de77b9d03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ddba102bdefed32ed53cc72b14894113d7937c71d6393ded7409f66a147f8fba
[INFO] running `Command { std: "docker" "start" "-a" "ddba102bdefed32ed53cc72b14894113d7937c71d6393ded7409f66a147f8fba", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.74
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling owned_ttf_parser v0.20.0
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling serde_json v1.0.110
[INFO] [stderr]    Compiling semver v1.0.21
[INFO] [stderr]    Compiling camino v1.1.6
[INFO] [stderr]    Compiling ab_glyph v0.2.23
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling fdeflate v0.3.3
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.17
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling syn v2.0.46
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling pulldown-cmark v0.9.3
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling euclid v0.22.9
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.4
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling xcursor v0.3.5
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling lyon_geom v1.0.5
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling tempfile v3.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling lyon_path v1.0.4
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling gpu-alloc v0.5.4
[INFO] [stderr]    Compiling wgpu-types v0.16.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling bytecount v0.6.7
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling profiling v1.0.13
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling renderdoc-sys v1.0.0
[INFO] [stderr]    Compiling cpal v0.15.2
[INFO] [stderr]    Compiling alsa v0.7.1
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling bytemuck_derive v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling inotify v0.10.2
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.10
[INFO] [stderr]    Compiling ogg v0.8.0
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling float_next_after v1.0.0
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling mint v0.5.9
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling xi-unicode v0.3.0
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling symphonia-core v0.5.3
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling gilrs v0.10.4
[INFO] [stderr]    Compiling glyph_brush_layout v0.2.3
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling naga v0.12.3
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling gilrs-core v0.5.10
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling lyon_tessellation v1.0.13
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling symphonia-metadata v0.5.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling symphonia-bundle-mp3 v0.5.3
[INFO] [stderr]    Compiling glyph_brush_draw_cache v0.1.5
[INFO] [stderr]    Compiling lyon_algorithms v1.0.4
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling ordered-float v4.2.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling hound v3.5.1
[INFO] [stderr]    Compiling symphonia v0.5.3
[INFO] [stderr]    Compiling claxon v0.4.3
[INFO] [stderr]    Compiling glyph_brush v0.7.8
[INFO] [stderr]    Compiling rodio v0.17.3
[INFO] [stderr]    Compiling crevice-derive v0.10.0
[INFO] [stderr]    Compiling lyon v1.0.1
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling directories v5.0.1
[INFO] [stderr]    Compiling glam v0.24.2
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]    Compiling ordered-float v3.9.2
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling crevice v0.13.0
[INFO] [stderr]    Compiling bzip2 v0.4.4
[INFO] [stderr]    Compiling cargo-platform v0.1.6
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling cargo_metadata v0.14.2
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling wgpu-hal v0.16.2
[INFO] [stderr]    Compiling skeptic v0.13.7
[INFO] [stderr]    Compiling ggez v0.9.3
[INFO] [stderr]    Compiling wgpu-core v0.16.1
[INFO] [stderr]    Compiling wgpu v0.16.3
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling rust-tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |         x = (21 - crds[0] as i32);
[INFO] [stdout]     |             ^                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 351 -         x = (21 - crds[0] as i32);
[INFO] [stdout] 351 +         x = 21 - crds[0] as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 |         y = (crds[1] as i32);
[INFO] [stdout]     |             ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 352 -         y = (crds[1] as i32);
[INFO] [stdout] 352 +         y = crds[1] as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut init_board: [[i32;12];22] = [
[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:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn piece_can_move(&mut self, mut coords: Vec<Vec<i32>>) -> bool {
[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:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut coords_of_piece: Vec<Vec<i32>>;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `coords` is never read
[INFO] [stdout]    --> src/main.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |         let mut coords: (f32, f32) = (404 as f32, 404 as f32);
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:238:17
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let mut color = [0.0, 0.0, 0.0, 1.0];
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `coords` is never read
[INFO] [stdout]    --> src/main.rs:278:17
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut coords: Vec<Vec<i32>> = vec![vec![]];
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:326:21
[INFO] [stdout]     |
[INFO] [stdout] 326 |                 let mut crd_to_push = vec![crd[0] + x, crd[1]];
[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:333:25
[INFO] [stdout]     |
[INFO] [stdout] 333 |                     let mut crd_to_push = vec![crd[0] + x - 1, crd[1]];
[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:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let mut x: i32;
[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:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let mut y: i32;
[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:370:17
[INFO] [stdout]     |
[INFO] [stdout] 370 |             let mut coord = Board::coords_to_coords(self, c1);
[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:374:13
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let mut pivot = &coords[0];
[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:380:17
[INFO] [stdout]     |
[INFO] [stdout] 380 |             let mut x1 = ((c2[0] - xc) * 0) - ((c2[1] - yc) * -1) + xc;
[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:381:17
[INFO] [stdout]     |
[INFO] [stdout] 381 |             let mut y1 = ((c2[0] - xc) * -1) + ((c2[1] - yc) * 0) + yc;
[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:383:17
[INFO] [stdout]     |
[INFO] [stdout] 383 |             let mut crds = vec![x1, y1];
[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:388:17
[INFO] [stdout]     |
[INFO] [stdout] 388 |             let mut coord = Board::coords_to_coords(self, c3);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drop_debug`
[INFO] [stdout]    --> src/main.rs:493:25
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let mut drop_debug = self.board.if_last_row_filled();
[INFO] [stdout]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_debug`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let mut drop_debug = self.board.if_last_row_filled();
[INFO] [stdout]     |                     ----^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ended` is never constructed
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum GameState {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 24 |     Started,
[INFO] [stdout] 25 |     Ended,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_down` is never used
[INFO] [stdout]    --> src/main.rs:419:8
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl Board {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 419 |     fn move_down(&mut self) -> Vec<Vec<i32>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 51s
[INFO] running `Command { std: "docker" "inspect" "ddba102bdefed32ed53cc72b14894113d7937c71d6393ded7409f66a147f8fba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddba102bdefed32ed53cc72b14894113d7937c71d6393ded7409f66a147f8fba", kill_on_drop: false }`
[INFO] [stdout] ddba102bdefed32ed53cc72b14894113d7937c71d6393ded7409f66a147f8fba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0acd800fe5ccf159bc7f1b8e920fa6a52e0957600ee46dc14e2062c645654e3
[INFO] running `Command { std: "docker" "start" "-a" "c0acd800fe5ccf159bc7f1b8e920fa6a52e0957600ee46dc14e2062c645654e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |         x = (21 - crds[0] as i32);
[INFO] [stdout]     |             ^                   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 351 -         x = (21 - crds[0] as i32);
[INFO] [stdout] 351 +         x = 21 - crds[0] as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:352:13
[INFO] [stdout]     |
[INFO] [stdout] 352 |         y = (crds[1] as i32);
[INFO] [stdout]     |             ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 352 -         y = (crds[1] as i32);
[INFO] [stdout] 352 +         y = crds[1] as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut init_board: [[i32;12];22] = [
[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:94:34
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn piece_can_move(&mut self, mut coords: Vec<Vec<i32>>) -> bool {
[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:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut coords_of_piece: Vec<Vec<i32>>;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `coords` is never read
[INFO] [stdout]    --> src/main.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |         let mut coords: (f32, f32) = (404 as f32, 404 as f32);
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]    --> src/main.rs:238:17
[INFO] [stdout]     |
[INFO] [stdout] 238 |         let mut color = [0.0, 0.0, 0.0, 1.0];
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `coords` is never read
[INFO] [stdout]    --> src/main.rs:278:17
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut coords: Vec<Vec<i32>> = vec![vec![]];
[INFO] [stdout]     |                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:326:21
[INFO] [stdout]     |
[INFO] [stdout] 326 |                 let mut crd_to_push = vec![crd[0] + x, crd[1]];
[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:333:25
[INFO] [stdout]     |
[INFO] [stdout] 333 |                     let mut crd_to_push = vec![crd[0] + x - 1, crd[1]];
[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:348:13
[INFO] [stdout]     |
[INFO] [stdout] 348 |         let mut x: i32;
[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:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let mut y: i32;
[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:370:17
[INFO] [stdout]     |
[INFO] [stdout] 370 |             let mut coord = Board::coords_to_coords(self, c1);
[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:374:13
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let mut pivot = &coords[0];
[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:380:17
[INFO] [stdout]     |
[INFO] [stdout] 380 |             let mut x1 = ((c2[0] - xc) * 0) - ((c2[1] - yc) * -1) + xc;
[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:381:17
[INFO] [stdout]     |
[INFO] [stdout] 381 |             let mut y1 = ((c2[0] - xc) * -1) + ((c2[1] - yc) * 0) + yc;
[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:383:17
[INFO] [stdout]     |
[INFO] [stdout] 383 |             let mut crds = vec![x1, y1];
[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:388:17
[INFO] [stdout]     |
[INFO] [stdout] 388 |             let mut coord = Board::coords_to_coords(self, c3);
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `drop_debug`
[INFO] [stdout]    --> src/main.rs:493:25
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let mut drop_debug = self.board.if_last_row_filled();
[INFO] [stdout]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_debug`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:493:21
[INFO] [stdout]     |
[INFO] [stdout] 493 |                 let mut drop_debug = self.board.if_last_row_filled();
[INFO] [stdout]     |                     ----^^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ended` is never constructed
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum GameState {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 24 |     Started,
[INFO] [stdout] 25 |     Ended,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `move_down` is never used
[INFO] [stdout]    --> src/main.rs:419:8
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl Board {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 419 |     fn move_down(&mut self) -> Vec<Vec<i32>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s
[INFO] running `Command { std: "docker" "inspect" "c0acd800fe5ccf159bc7f1b8e920fa6a52e0957600ee46dc14e2062c645654e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0acd800fe5ccf159bc7f1b8e920fa6a52e0957600ee46dc14e2062c645654e3", kill_on_drop: false }`
[INFO] [stdout] c0acd800fe5ccf159bc7f1b8e920fa6a52e0957600ee46dc14e2062c645654e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4249579eed1ce9b7aa7e3c7b1c8123414f014b182afdafcb518d6dad1c7758f4
[INFO] running `Command { std: "docker" "start" "-a" "4249579eed1ce9b7aa7e3c7b1c8123414f014b182afdafcb518d6dad1c7758f4", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/main.rs:351:13
[INFO] [stderr]     |
[INFO] [stderr] 351 |         x = (21 - crds[0] as i32);
[INFO] [stderr]     |             ^                   ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 351 -         x = (21 - crds[0] as i32);
[INFO] [stderr] 351 +         x = 21 - crds[0] as i32;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/main.rs:352:13
[INFO] [stderr]     |
[INFO] [stderr] 352 |         y = (crds[1] as i32);
[INFO] [stderr]     |             ^              ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 352 -         y = (crds[1] as i32);
[INFO] [stderr] 352 +         y = crds[1] as i32;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:48:13
[INFO] [stderr]    |
[INFO] [stderr] 48 |         let mut init_board: [[i32;12];22] = [
[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:94:34
[INFO] [stderr]    |
[INFO] [stderr] 94 |     fn piece_can_move(&mut self, mut coords: Vec<Vec<i32>>) -> bool {
[INFO] [stderr]    |                                  ----^^^^^^
[INFO] [stderr]    |                                  |
[INFO] [stderr]    |                                  help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let mut coords_of_piece: Vec<Vec<i32>>;
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `coords` is never read
[INFO] [stderr]    --> src/main.rs:237:17
[INFO] [stderr]     |
[INFO] [stderr] 237 |         let mut coords: (f32, f32) = (404 as f32, 404 as f32);
[INFO] [stderr]     |                 ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `color` is never read
[INFO] [stderr]    --> src/main.rs:238:17
[INFO] [stderr]     |
[INFO] [stderr] 238 |         let mut color = [0.0, 0.0, 0.0, 1.0];
[INFO] [stderr]     |                 ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `coords` is never read
[INFO] [stderr]    --> src/main.rs:278:17
[INFO] [stderr]     |
[INFO] [stderr] 278 |         let mut coords: Vec<Vec<i32>> = vec![vec![]];
[INFO] [stderr]     |                 ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:326:21
[INFO] [stderr]     |
[INFO] [stderr] 326 |                 let mut crd_to_push = vec![crd[0] + x, crd[1]];
[INFO] [stderr]     |                     ----^^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:333:25
[INFO] [stderr]     |
[INFO] [stderr] 333 |                     let mut crd_to_push = vec![crd[0] + x - 1, crd[1]];
[INFO] [stderr]     |                         ----^^^^^^^^^^^
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:348:13
[INFO] [stderr]     |
[INFO] [stderr] 348 |         let mut x: i32;
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:349:13
[INFO] [stderr]     |
[INFO] [stderr] 349 |         let mut y: i32;
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:370:17
[INFO] [stderr]     |
[INFO] [stderr] 370 |             let mut coord = Board::coords_to_coords(self, c1);
[INFO] [stderr]     |                 ----^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:374:13
[INFO] [stderr]     |
[INFO] [stderr] 374 |         let mut pivot = &coords[0];
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:380:17
[INFO] [stderr]     |
[INFO] [stderr] 380 |             let mut x1 = ((c2[0] - xc) * 0) - ((c2[1] - yc) * -1) + xc;
[INFO] [stderr]     |                 ----^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:381:17
[INFO] [stderr]     |
[INFO] [stderr] 381 |             let mut y1 = ((c2[0] - xc) * -1) + ((c2[1] - yc) * 0) + yc;
[INFO] [stderr]     |                 ----^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:383:17
[INFO] [stderr]     |
[INFO] [stderr] 383 |             let mut crds = vec![x1, y1];
[INFO] [stderr]     |                 ----^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:388:17
[INFO] [stderr]     |
[INFO] [stderr] 388 |             let mut coord = Board::coords_to_coords(self, c3);
[INFO] [stderr]     |                 ----^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `drop_debug`
[INFO] [stderr]    --> src/main.rs:493:25
[INFO] [stderr]     |
[INFO] [stderr] 493 |                 let mut drop_debug = self.board.if_last_row_filled();
[INFO] [stderr]     |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drop_debug`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:493:21
[INFO] [stderr]     |
[INFO] [stderr] 493 |                 let mut drop_debug = self.board.if_last_row_filled();
[INFO] [stderr]     |                     ----^^^^^^^^^^
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Ended` is never constructed
[INFO] [stderr]   --> src/main.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | enum GameState {
[INFO] [stderr]    |      --------- variant in this enum
[INFO] [stderr] 24 |     Started,
[INFO] [stderr] 25 |     Ended,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `move_down` is never used
[INFO] [stderr]    --> src/main.rs:419:8
[INFO] [stderr]     |
[INFO] [stderr]  44 | impl Board {
[INFO] [stderr]     | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 419 |     fn move_down(&mut self) -> Vec<Vec<i32>> {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-tetris` (bin "rust-tetris" test) generated 22 warnings (run `cargo fix --bin "rust-tetris" --tests` to apply 16 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_tetris-9951d803d9179483)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4249579eed1ce9b7aa7e3c7b1c8123414f014b182afdafcb518d6dad1c7758f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4249579eed1ce9b7aa7e3c7b1c8123414f014b182afdafcb518d6dad1c7758f4", kill_on_drop: false }`
[INFO] [stdout] 4249579eed1ce9b7aa7e3c7b1c8123414f014b182afdafcb518d6dad1c7758f4
