[INFO] cloning repository https://github.com/CalebThePerson/sprites
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CalebThePerson/sprites" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalebThePerson%2Fsprites", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalebThePerson%2Fsprites'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68fa6455f20d93f1ff58177eeba07ba990eabfdf
[INFO] testing CalebThePerson/sprites against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalebThePerson%2Fsprites" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CalebThePerson/sprites
[INFO] finished tweaking git repo https://github.com/CalebThePerson/sprites
[INFO] tweaked toml for git repo https://github.com/CalebThePerson/sprites written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CalebThePerson/sprites on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CalebThePerson/sprites 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.94.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 pollster v0.3.0
[INFO] [stderr]   Downloaded rusttype v0.9.3
[INFO] [stderr]   Downloaded custom_derive v0.1.7
[INFO] [stderr]   Downloaded errno v0.3.3
[INFO] [stderr]   Downloaded async-trait v0.1.73
[INFO] [stderr]   Downloaded env_logger v0.10.0
[INFO] [stderr]   Downloaded conv v0.3.3
[INFO] [stderr]   Downloaded simba v0.7.3
[INFO] [stderr]   Downloaded rand_distr v0.2.2
[INFO] [stderr]   Downloaded wgpu v0.17.0
[INFO] [stderr]   Downloaded owned_ttf_parser v0.15.2
[INFO] [stderr]   Downloaded syn v2.0.37
[INFO] [stderr]   Downloaded wgpu-core v0.17.0
[INFO] [stderr]   Downloaded wgpu-hal v0.17.0
[INFO] [stderr]   Downloaded nalgebra v0.30.1
[INFO] [stderr]   Downloaded rustix v0.38.14
[INFO] [stderr]   Downloaded winit v0.28.6
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.7
[INFO] [stderr]   Downloaded imageproc v0.23.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5965dbe2852318ed6ec2a38547190a8dd2a20be485746ef549372059098c4c42
[INFO] running `Command { std: "docker" "start" "-a" "5965dbe2852318ed6ec2a38547190a8dd2a20be485746ef549372059098c4c42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5965dbe2852318ed6ec2a38547190a8dd2a20be485746ef549372059098c4c42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5965dbe2852318ed6ec2a38547190a8dd2a20be485746ef549372059098c4c42", kill_on_drop: false }`
[INFO] [stdout] 5965dbe2852318ed6ec2a38547190a8dd2a20be485746ef549372059098c4c42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53b3b15b99432919f9d52b5de9fd66f62b82ff10d59a1981990d08be0f9cc26e
[INFO] running `Command { std: "docker" "start" "-a" "53b3b15b99432919f9d52b5de9fd66f62b82ff10d59a1981990d08be0f9cc26e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling xml-rs v0.8.18
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling libloading v0.8.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling termcolor v1.3.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling ttf-parser v0.19.2
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling rustix v0.38.14
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling aho-corasick v1.1.1
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling wgpu-types v0.17.0
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling profiling v1.0.11
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling owned_ttf_parser v0.19.0
[INFO] [stderr]    Compiling gpu-descriptor v0.2.3
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.7
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling renderdoc-sys v1.0.0
[INFO] [stderr]    Compiling winit v0.28.6
[INFO] [stderr]    Compiling exr v1.71.0
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling ab_glyph v0.2.21
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling conv v0.3.3
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling bytemuck_derive v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling naga v0.13.0
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling wide v0.7.11
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling simba v0.7.3
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling wgpu-hal v0.17.0
[INFO] [stderr]    Compiling nalgebra v0.30.1
[INFO] [stderr]    Compiling wgpu-core v0.17.0
[INFO] [stderr]    Compiling wgpu v0.17.0
[INFO] [stderr]    Compiling imageproc v0.23.0
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pixel` and `buffer`
[INFO] [stdout]  --> src/lib.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{buffer, Pixel};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blend` and `Canvas`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use imageproc::drawing::{Blend, Canvas};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, `self`, and `window::Window`
[INFO] [stdout]   --> src/lib.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     dpi::PhysicalSize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     event::{Event, WindowEvent},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout]  9 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 10 |     window::Window,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, and `self`
[INFO] [stdout]  --> src/gpu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     dpi::PhysicalSize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     event::{Event, WindowEvent},
[INFO] [stdout]   |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]   |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gpu`
[INFO] [stdout]  --> src/sprite.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{gpu, WGPU};
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytemuck::bytes_of`
[INFO] [stdout]  --> src/sprite.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bytemuck::bytes_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sprite::SpriteRender`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sprite::SpriteRender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GPUCamera`
[INFO] [stdout]  --> src/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{input, sprite::SpriteRender, GPUCamera, Game, WGPU};
[INFO] [stdout]   |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `dpi::PhysicalSize` and `self`
[INFO] [stdout]  --> src/engine.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     dpi::PhysicalSize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     event::{Event, WindowEvent},
[INFO] [stdout] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/engine.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stdout]    |                        ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stdout] 83 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::W)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/engine.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stdout]    |                        ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stdout] 96 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::S)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stdout]     |                        ^                                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stdout] 108 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::D)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stdout]     |                        ^                                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 120 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stdout] 120 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::A)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stdout]     |                        ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stdout] 134 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Up)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stdout]     |                        ^                                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stdout] 147 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Down)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:159:24
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     if (engine
[INFO] [stdout]     |                        ^
[INFO] [stdout] 160 |                         .input
[INFO] [stdout] 161 |                         .is_key_down(winit::event::VirtualKeyCode::Right))
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 ~                     if engine
[INFO] [stdout] 160 |                         .input
[INFO] [stdout] 161 ~                         .is_key_down(winit::event::VirtualKeyCode::Right) 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:174:24
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stdout]     |                        ^                                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 174 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stdout] 174 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Left)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/gpu.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut config = wgpu::SurfaceConfiguration {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/engine.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         let mut newRegion = [
[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/engine.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         let mut newRegion = [
[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/engine.rs:112:29
[INFO] [stdout]     |
[INFO] [stdout] 112 |                         let mut newRegion = [
[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/engine.rs:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         let mut newRegion = [
[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/engine.rs:138:29
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         let mut newRegion = [
[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/engine.rs:151:29
[INFO] [stdout]     |
[INFO] [stdout] 151 |                         let mut newRegion = [
[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/engine.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 |                         let mut newRegion = [
[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/engine.rs:178:29
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         let mut newRegion = [
[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/engine.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut gpu = WGPU::new(&window).await;
[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/engine.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut sprites = SpriteRender::new(&gpu);
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sprite`
[INFO] [stdout]    --> src/sprite.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn print_group(&self, sprite: usize) {}
[INFO] [stdout]     |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance` and `adapter` are never read
[INFO] [stdout]   --> src/gpu.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct WGPU {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout]  9 |     instance: wgpu::Instance,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     pub(crate) surface: wgpu::Surface,
[INFO] [stdout] 11 |     adapter: wgpu::Adapter,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]  --> src/sprite.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[repr(C)]
[INFO] [stdout]   | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/sprite.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct GPUSprite {
[INFO] [stdout]   |            ^^^^^^^^^ field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/sprite.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/sprite.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct GPUCamera {
[INFO] [stdout]    |            ^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:285:39
[INFO] [stdout]     |
[INFO] [stdout] 285 |     pub fn update_position(&mut self, newRegion: [f32; 4], sprite: usize) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `theSprite` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let theSprite = self.get_sprite_mut(sprite, 0);
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `the_sprite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `allPlatforms` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let allPlatforms = self.get_all_sprites_mut(2);
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_platforms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         let mut newRegion = [
[INFO] [stdout]    |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:100:33
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:123:29
[INFO] [stdout]     |
[INFO] [stdout] 123 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:137:29
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:151:33
[INFO] [stdout]     |
[INFO] [stdout] 151 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:165:29
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:166:33
[INFO] [stdout]     |
[INFO] [stdout] 166 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:177:29
[INFO] [stdout]     |
[INFO] [stdout] 177 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:178:33
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 55s
[INFO] running `Command { std: "docker" "inspect" "53b3b15b99432919f9d52b5de9fd66f62b82ff10d59a1981990d08be0f9cc26e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53b3b15b99432919f9d52b5de9fd66f62b82ff10d59a1981990d08be0f9cc26e", kill_on_drop: false }`
[INFO] [stdout] 53b3b15b99432919f9d52b5de9fd66f62b82ff10d59a1981990d08be0f9cc26e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d67f4140335a9fd21d9e754f5d8c0c8c047f8ca2154c4e23d5d1e2f057dfe7c
[INFO] running `Command { std: "docker" "start" "-a" "9d67f4140335a9fd21d9e754f5d8c0c8c047f8ca2154c4e23d5d1e2f057dfe7c", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pixel` and `buffer`
[INFO] [stdout]  --> src/lib.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{buffer, Pixel};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blend` and `Canvas`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use imageproc::drawing::{Blend, Canvas};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, `self`, and `window::Window`
[INFO] [stdout]   --> src/lib.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     dpi::PhysicalSize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     event::{Event, WindowEvent},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout]  9 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 10 |     window::Window,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, and `self`
[INFO] [stdout]  --> src/gpu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     dpi::PhysicalSize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     event::{Event, WindowEvent},
[INFO] [stdout]   |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]   |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gpu`
[INFO] [stdout]  --> src/sprite.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{gpu, WGPU};
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytemuck::bytes_of`
[INFO] [stdout]  --> src/sprite.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bytemuck::bytes_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sprite::SpriteRender`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sprite::SpriteRender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GPUCamera`
[INFO] [stdout]  --> src/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{input, sprite::SpriteRender, GPUCamera, Game, WGPU};
[INFO] [stdout]   |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `dpi::PhysicalSize` and `self`
[INFO] [stdout]  --> src/engine.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     dpi::PhysicalSize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     event::{Event, WindowEvent},
[INFO] [stdout] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/engine.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stdout]    |                        ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stdout] 83 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::W)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/engine.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stdout]    |                        ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stdout] 96 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::S)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stdout]     |                        ^                                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stdout] 108 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::D)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stdout]     |                        ^                                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 120 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stdout] 120 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::A)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stdout]     |                        ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stdout] 134 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Up)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stdout]     |                        ^                                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stdout] 147 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Down)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:159:24
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     if (engine
[INFO] [stdout]     |                        ^
[INFO] [stdout] 160 |                         .input
[INFO] [stdout] 161 |                         .is_key_down(winit::event::VirtualKeyCode::Right))
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 ~                     if engine
[INFO] [stdout] 160 |                         .input
[INFO] [stdout] 161 ~                         .is_key_down(winit::event::VirtualKeyCode::Right) 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:174:24
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stdout]     |                        ^                                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 174 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stdout] 174 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Left)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/gpu.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut config = wgpu::SurfaceConfiguration {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/engine.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         let mut newRegion = [
[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/engine.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         let mut newRegion = [
[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/engine.rs:112:29
[INFO] [stdout]     |
[INFO] [stdout] 112 |                         let mut newRegion = [
[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/engine.rs:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         let mut newRegion = [
[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/engine.rs:138:29
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         let mut newRegion = [
[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/engine.rs:151:29
[INFO] [stdout]     |
[INFO] [stdout] 151 |                         let mut newRegion = [
[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/engine.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 |                         let mut newRegion = [
[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/engine.rs:178:29
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         let mut newRegion = [
[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/engine.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut gpu = WGPU::new(&window).await;
[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/engine.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut sprites = SpriteRender::new(&gpu);
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sprite`
[INFO] [stdout]    --> src/sprite.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn print_group(&self, sprite: usize) {}
[INFO] [stdout]     |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance` and `adapter` are never read
[INFO] [stdout]   --> src/gpu.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct WGPU {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout]  9 |     instance: wgpu::Instance,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     pub(crate) surface: wgpu::Surface,
[INFO] [stdout] 11 |     adapter: wgpu::Adapter,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]  --> src/sprite.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[repr(C)]
[INFO] [stdout]   | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/sprite.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct GPUSprite {
[INFO] [stdout]   |            ^^^^^^^^^ field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/sprite.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/sprite.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct GPUCamera {
[INFO] [stdout]    |            ^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:285:39
[INFO] [stdout]     |
[INFO] [stdout] 285 |     pub fn update_position(&mut self, newRegion: [f32; 4], sprite: usize) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `theSprite` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let theSprite = self.get_sprite_mut(sprite, 0);
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `the_sprite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `allPlatforms` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let allPlatforms = self.get_all_sprites_mut(2);
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_platforms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         let mut newRegion = [
[INFO] [stdout]    |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:100:33
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:123:29
[INFO] [stdout]     |
[INFO] [stdout] 123 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:137:29
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:151:33
[INFO] [stdout]     |
[INFO] [stdout] 151 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:165:29
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:166:33
[INFO] [stdout]     |
[INFO] [stdout] 166 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:177:29
[INFO] [stdout]     |
[INFO] [stdout] 177 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:178:33
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Pixel` and `buffer`
[INFO] [stdout]  --> src/lib.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{buffer, Pixel};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Blend` and `Canvas`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use imageproc::drawing::{Blend, Canvas};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::borrow::Cow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, `self`, and `window::Window`
[INFO] [stdout]   --> src/lib.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     dpi::PhysicalSize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     event::{Event, WindowEvent},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout]  9 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 10 |     window::Window,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, and `self`
[INFO] [stdout]  --> src/gpu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     dpi::PhysicalSize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     event::{Event, WindowEvent},
[INFO] [stdout]   |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]   |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gpu`
[INFO] [stdout]  --> src/sprite.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{gpu, WGPU};
[INFO] [stdout]   |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytemuck::bytes_of`
[INFO] [stdout]  --> src/sprite.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bytemuck::bytes_of;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sprite::SpriteRender`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sprite::SpriteRender;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GPUCamera`
[INFO] [stdout]  --> src/engine.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{input, sprite::SpriteRender, GPUCamera, Game, WGPU};
[INFO] [stdout]   |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `dpi::PhysicalSize` and `self`
[INFO] [stdout]  --> src/engine.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     dpi::PhysicalSize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     event::{Event, WindowEvent},
[INFO] [stdout] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/engine.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stdout]    |                        ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stdout] 83 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::W)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/engine.rs:96:24
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stdout]    |                        ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stdout] 96 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::S)  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stdout]     |                        ^                                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stdout] 108 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::D)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stdout]     |                        ^                                                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 120 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stdout] 120 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::A)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stdout]     |                        ^                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 134 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stdout] 134 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Up)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:147:24
[INFO] [stdout]     |
[INFO] [stdout] 147 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stdout]     |                        ^                                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 147 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stdout] 147 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Down)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:159:24
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     if (engine
[INFO] [stdout]     |                        ^
[INFO] [stdout] 160 |                         .input
[INFO] [stdout] 161 |                         .is_key_down(winit::event::VirtualKeyCode::Right))
[INFO] [stdout]     |                                                                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 ~                     if engine
[INFO] [stdout] 160 |                         .input
[INFO] [stdout] 161 ~                         .is_key_down(winit::event::VirtualKeyCode::Right) 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/engine.rs:174:24
[INFO] [stdout]     |
[INFO] [stdout] 174 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stdout]     |                        ^                                                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 174 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stdout] 174 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Left)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/gpu.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut config = wgpu::SurfaceConfiguration {
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/engine.rs:87:29
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         let mut newRegion = [
[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/engine.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         let mut newRegion = [
[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/engine.rs:112:29
[INFO] [stdout]     |
[INFO] [stdout] 112 |                         let mut newRegion = [
[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/engine.rs:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         let mut newRegion = [
[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/engine.rs:138:29
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         let mut newRegion = [
[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/engine.rs:151:29
[INFO] [stdout]     |
[INFO] [stdout] 151 |                         let mut newRegion = [
[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/engine.rs:166:29
[INFO] [stdout]     |
[INFO] [stdout] 166 |                         let mut newRegion = [
[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/engine.rs:178:29
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         let mut newRegion = [
[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/engine.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut gpu = WGPU::new(&window).await;
[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/engine.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let mut sprites = SpriteRender::new(&gpu);
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sprite`
[INFO] [stdout]    --> src/sprite.rs:235:31
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn print_group(&self, sprite: usize) {}
[INFO] [stdout]     |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance` and `adapter` are never read
[INFO] [stdout]   --> src/gpu.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct WGPU {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout]  9 |     instance: wgpu::Instance,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     pub(crate) surface: wgpu::Surface,
[INFO] [stdout] 11 |     adapter: wgpu::Adapter,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]  --> src/sprite.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[repr(C)]
[INFO] [stdout]   | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/sprite.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct GPUSprite {
[INFO] [stdout]   |            ^^^^^^^^^ field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/sprite.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/sprite.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct GPUCamera {
[INFO] [stdout]    |            ^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:285:39
[INFO] [stdout]     |
[INFO] [stdout] 285 |     pub fn update_position(&mut self, newRegion: [f32; 4], sprite: usize) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `theSprite` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let theSprite = self.get_sprite_mut(sprite, 0);
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `the_sprite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `allPlatforms` should have a snake case name
[INFO] [stdout]    --> src/sprite.rs:292:13
[INFO] [stdout]     |
[INFO] [stdout] 292 |         let allPlatforms = self.get_all_sprites_mut(2);
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_platforms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:87:33
[INFO] [stdout]    |
[INFO] [stdout] 87 |                         let mut newRegion = [
[INFO] [stdout]    |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]   --> src/engine.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:100:33
[INFO] [stdout]     |
[INFO] [stdout] 100 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:111:29
[INFO] [stdout]     |
[INFO] [stdout] 111 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:123:29
[INFO] [stdout]     |
[INFO] [stdout] 123 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:124:33
[INFO] [stdout]     |
[INFO] [stdout] 124 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:137:29
[INFO] [stdout]     |
[INFO] [stdout] 137 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:151:33
[INFO] [stdout]     |
[INFO] [stdout] 151 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:165:29
[INFO] [stdout]     |
[INFO] [stdout] 165 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:166:33
[INFO] [stdout]     |
[INFO] [stdout] 166 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:177:29
[INFO] [stdout]     |
[INFO] [stdout] 177 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stdout]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newRegion` should have a snake case name
[INFO] [stdout]    --> src/engine.rs:178:33
[INFO] [stdout]     |
[INFO] [stdout] 178 |                         let mut newRegion = [
[INFO] [stdout]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s
[INFO] running `Command { std: "docker" "inspect" "9d67f4140335a9fd21d9e754f5d8c0c8c047f8ca2154c4e23d5d1e2f057dfe7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d67f4140335a9fd21d9e754f5d8c0c8c047f8ca2154c4e23d5d1e2f057dfe7c", kill_on_drop: false }`
[INFO] [stdout] 9d67f4140335a9fd21d9e754f5d8c0c8c047f8ca2154c4e23d5d1e2f057dfe7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a7f2ea5068ff8e60bb95da0c599aff524c314f15efba9d64d1685e36cce54fd2
[INFO] running `Command { std: "docker" "start" "-a" "a7f2ea5068ff8e60bb95da0c599aff524c314f15efba9d64d1685e36cce54fd2", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `core::ops::Range`
[INFO] [stderr]  --> src/lib.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use core::ops::Range;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Pixel` and `buffer`
[INFO] [stderr]  --> src/lib.rs:2:13
[INFO] [stderr]   |
[INFO] [stderr] 2 | use image::{buffer, Pixel};
[INFO] [stderr]   |             ^^^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Blend` and `Canvas`
[INFO] [stderr]  --> src/lib.rs:3:26
[INFO] [stderr]   |
[INFO] [stderr] 3 | use imageproc::drawing::{Blend, Canvas};
[INFO] [stderr]   |                          ^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::borrow::Cow`
[INFO] [stderr]  --> src/lib.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::borrow::Cow;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, `self`, and `window::Window`
[INFO] [stderr]   --> src/lib.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  7 |     dpi::PhysicalSize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]  8 |     event::{Event, WindowEvent},
[INFO] [stderr]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stderr]  9 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stderr]    |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 10 |     window::Window,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `dpi::PhysicalSize`, and `self`
[INFO] [stderr]  --> src/gpu.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     dpi::PhysicalSize,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 4 |     event::{Event, WindowEvent},
[INFO] [stderr]   |             ^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stderr]   |                  ^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `gpu`
[INFO] [stderr]  --> src/sprite.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{gpu, WGPU};
[INFO] [stderr]   |             ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bytemuck::bytes_of`
[INFO] [stderr]  --> src/sprite.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use bytemuck::bytes_of;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sprite::SpriteRender`
[INFO] [stderr]   --> src/lib.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use sprite::SpriteRender;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `GPUCamera`
[INFO] [stderr]  --> src/engine.rs:1:42
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{input, sprite::SpriteRender, GPUCamera, Game, WGPU};
[INFO] [stderr]   |                                          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `dpi::PhysicalSize` and `self`
[INFO] [stderr]  --> src/engine.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     dpi::PhysicalSize,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 4 |     event::{Event, WindowEvent},
[INFO] [stderr] 5 |     event_loop::{self, ControlFlow, EventLoop},
[INFO] [stderr]   |                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/engine.rs:83:24
[INFO] [stderr]    |
[INFO] [stderr] 83 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stderr]    |                        ^                                                         ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 83 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stderr] 83 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::W)  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/engine.rs:96:24
[INFO] [stderr]    |
[INFO] [stderr] 96 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stderr]    |                        ^                                                         ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 96 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stderr] 96 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::S)  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:108:24
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stderr]     |                        ^                                                         ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 108 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stderr] 108 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::D)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:120:24
[INFO] [stderr]     |
[INFO] [stderr] 120 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stderr]     |                        ^                                                         ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 120 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stderr] 120 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::A)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:134:24
[INFO] [stderr]     |
[INFO] [stderr] 134 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stderr]     |                        ^                                                          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 134 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stderr] 134 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Up)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:147:24
[INFO] [stderr]     |
[INFO] [stderr] 147 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stderr]     |                        ^                                                            ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 147 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stderr] 147 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Down)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:159:24
[INFO] [stderr]     |
[INFO] [stderr] 159 |                     if (engine
[INFO] [stderr]     |                        ^
[INFO] [stderr] 160 |                         .input
[INFO] [stderr] 161 |                         .is_key_down(winit::event::VirtualKeyCode::Right))
[INFO] [stderr]     |                                                                          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 159 ~                     if engine
[INFO] [stderr] 160 |                         .input
[INFO] [stderr] 161 ~                         .is_key_down(winit::event::VirtualKeyCode::Right) 
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:174:24
[INFO] [stderr]     |
[INFO] [stderr] 174 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stderr]     |                        ^                                                            ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 174 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stderr] 174 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Left)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/gpu.rs:111:13
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let mut config = wgpu::SurfaceConfiguration {
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/engine.rs:87:29
[INFO] [stderr]    |
[INFO] [stderr] 87 |                         let mut newRegion = [
[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/engine.rs:100:29
[INFO] [stderr]     |
[INFO] [stderr] 100 |                         let mut newRegion = [
[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/engine.rs:112:29
[INFO] [stderr]     |
[INFO] [stderr] 112 |                         let mut newRegion = [
[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/engine.rs:124:29
[INFO] [stderr]     |
[INFO] [stderr] 124 |                         let mut newRegion = [
[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/engine.rs:138:29
[INFO] [stderr]     |
[INFO] [stderr] 138 |                         let mut newRegion = [
[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/engine.rs:151:29
[INFO] [stderr]     |
[INFO] [stderr] 151 |                         let mut newRegion = [
[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/engine.rs:166:29
[INFO] [stderr]     |
[INFO] [stderr] 166 |                         let mut newRegion = [
[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/engine.rs:178:29
[INFO] [stderr]     |
[INFO] [stderr] 178 |                         let mut newRegion = [
[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/engine.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 |         let mut gpu = WGPU::new(&window).await;
[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/engine.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |         let mut sprites = SpriteRender::new(&gpu);
[INFO] [stderr]    |             ----^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sprite`
[INFO] [stderr]    --> src/sprite.rs:235:31
[INFO] [stderr]     |
[INFO] [stderr] 235 |     pub fn print_group(&self, sprite: usize) {}
[INFO] [stderr]     |                               ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `instance` and `adapter` are never read
[INFO] [stderr]   --> src/gpu.rs:9:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct WGPU {
[INFO] [stderr]    |            ---- fields in this struct
[INFO] [stderr]  9 |     instance: wgpu::Instance,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 10 |     pub(crate) surface: wgpu::Surface,
[INFO] [stderr] 11 |     adapter: wgpu::Adapter,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]  --> src/sprite.rs:7:1
[INFO] [stderr]   |
[INFO] [stderr] 7 | #[repr(C)]
[INFO] [stderr]   | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> src/sprite.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct GPUSprite {
[INFO] [stderr]   |            ^^^^^^^^^ field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/sprite.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/sprite.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct GPUCamera {
[INFO] [stderr]    |            ^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/sprite.rs:285:39
[INFO] [stderr]     |
[INFO] [stderr] 285 |     pub fn update_position(&mut self, newRegion: [f32; 4], sprite: usize) {
[INFO] [stderr]     |                                       ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `theSprite` should have a snake case name
[INFO] [stderr]    --> src/sprite.rs:286:13
[INFO] [stderr]     |
[INFO] [stderr] 286 |         let theSprite = self.get_sprite_mut(sprite, 0);
[INFO] [stderr]     |             ^^^^^^^^^ help: convert the identifier to snake case: `the_sprite`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `allPlatforms` should have a snake case name
[INFO] [stderr]    --> src/sprite.rs:292:13
[INFO] [stderr]     |
[INFO] [stderr] 292 |         let allPlatforms = self.get_all_sprites_mut(2);
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `all_platforms`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]   --> src/engine.rs:86:29
[INFO] [stderr]    |
[INFO] [stderr] 86 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stderr]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]   --> src/engine.rs:87:33
[INFO] [stderr]    |
[INFO] [stderr] 87 |                         let mut newRegion = [
[INFO] [stderr]    |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]   --> src/engine.rs:99:29
[INFO] [stderr]    |
[INFO] [stderr] 99 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stderr]    |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:100:33
[INFO] [stderr]     |
[INFO] [stderr] 100 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:111:29
[INFO] [stderr]     |
[INFO] [stderr] 111 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stderr]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:112:33
[INFO] [stderr]     |
[INFO] [stderr] 112 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:123:29
[INFO] [stderr]     |
[INFO] [stderr] 123 |                         let oldRegion = engine.sprites.get_sprites(2)[0].screen_region;
[INFO] [stderr]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:124:33
[INFO] [stderr]     |
[INFO] [stderr] 124 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:137:29
[INFO] [stderr]     |
[INFO] [stderr] 137 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stderr]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:138:33
[INFO] [stderr]     |
[INFO] [stderr] 138 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:150:29
[INFO] [stderr]     |
[INFO] [stderr] 150 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stderr]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:151:33
[INFO] [stderr]     |
[INFO] [stderr] 151 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:165:29
[INFO] [stderr]     |
[INFO] [stderr] 165 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stderr]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:166:33
[INFO] [stderr]     |
[INFO] [stderr] 166 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `oldRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:177:29
[INFO] [stderr]     |
[INFO] [stderr] 177 |                         let oldRegion = engine.sprites.get_sprites(3)[0].screen_region;
[INFO] [stderr]     |                             ^^^^^^^^^ help: convert the identifier to snake case: `old_region`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `newRegion` should have a snake case name
[INFO] [stderr]    --> src/engine.rs:178:33
[INFO] [stderr]     |
[INFO] [stderr] 178 |                         let mut newRegion = [
[INFO] [stderr]     |                                 ^^^^^^^^^ help: convert the identifier to snake case: `new_region`
[INFO] [stderr] 
[INFO] [stderr] warning: `engine` (lib) generated 55 warnings (run `cargo fix --lib -p engine` to apply 31 suggestions)
[INFO] [stderr] warning: `engine` (lib test) generated 55 warnings (55 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/engine-d3cab87cf801a19b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests engine
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/engine.rs:83:24
[INFO] [stderr]    |
[INFO] [stderr] 83 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stderr]    |                        ^                                                         ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 83 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::W)) {
[INFO] [stderr] 83 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::W)  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/engine.rs:96:24
[INFO] [stderr]    |
[INFO] [stderr] 96 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stderr]    |                        ^                                                         ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 96 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::S)) {
[INFO] [stderr] 96 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::S)  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:108:24
[INFO] [stderr]     |
[INFO] [stderr] 108 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stderr]     |                        ^                                                         ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 108 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::D)) {
[INFO] [stderr] 108 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::D)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:120:24
[INFO] [stderr]     |
[INFO] [stderr] 120 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stderr]     |                        ^                                                         ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 120 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::A)) {
[INFO] [stderr] 120 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::A)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:134:24
[INFO] [stderr]     |
[INFO] [stderr] 134 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stderr]     |                        ^                                                          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 134 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Up)) {
[INFO] [stderr] 134 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Up)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:147:24
[INFO] [stderr]     |
[INFO] [stderr] 147 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stderr]     |                        ^                                                            ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 147 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Down)) {
[INFO] [stderr] 147 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Down)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:159:24
[INFO] [stderr]     |
[INFO] [stderr] 159 |                     if (engine
[INFO] [stderr]     |                        ^
[INFO] [stderr] 160 |                         .input
[INFO] [stderr] 161 |                         .is_key_down(winit::event::VirtualKeyCode::Right))
[INFO] [stderr]     |                                                                          ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 159 ~                     if engine
[INFO] [stderr] 160 |                         .input
[INFO] [stderr] 161 ~                         .is_key_down(winit::event::VirtualKeyCode::Right) 
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/engine.rs:174:24
[INFO] [stderr]     |
[INFO] [stderr] 174 |                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stderr]     |                        ^                                                            ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 174 -                     if (engine.input.is_key_down(winit::event::VirtualKeyCode::Left)) {
[INFO] [stderr] 174 +                     if engine.input.is_key_down(winit::event::VirtualKeyCode::Left)  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 8 warnings emitted
[INFO] [stderr] 
[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" "a7f2ea5068ff8e60bb95da0c599aff524c314f15efba9d64d1685e36cce54fd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7f2ea5068ff8e60bb95da0c599aff524c314f15efba9d64d1685e36cce54fd2", kill_on_drop: false }`
[INFO] [stdout] a7f2ea5068ff8e60bb95da0c599aff524c314f15efba9d64d1685e36cce54fd2
