[INFO] cloning repository https://github.com/OneFriendlyCoder/noob-sgame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OneFriendlyCoder/noob-sgame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneFriendlyCoder%2Fnoob-sgame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneFriendlyCoder%2Fnoob-sgame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] afee8b04f8c11616f622f11ffbf77e2819030d1a
[INFO] checking OneFriendlyCoder/noob-sgame against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOneFriendlyCoder%2Fnoob-sgame" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/OneFriendlyCoder/noob-sgame
[INFO] finished tweaking git repo https://github.com/OneFriendlyCoder/noob-sgame
[INFO] tweaked toml for git repo https://github.com/OneFriendlyCoder/noob-sgame written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/OneFriendlyCoder/noob-sgame on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/OneFriendlyCoder/noob-sgame 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f
[INFO] running `Command { std: "docker" "start" "248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking regex-syntax v0.8.6
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking bytemuck v1.23.2
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]     Checking traitobject v0.1.1
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking obj v0.10.2
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking regex-automata v0.4.11
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tungstenite v0.28.0
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking regex v1.11.3
[INFO] [stderr]     Checking tokio-tls v0.2.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking websocket-base v0.26.5
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking websocket v0.27.1
[INFO] [stderr]     Checking tokio-tungstenite v0.28.0
[INFO] [stderr]     Checking game0 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `macroquad::models::*`
[INFO] [stdout]  --> src/utilis.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use macroquad::models::*;
[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 import: `std::env`
[INFO] [stdout]  --> src/utilis.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/utilis.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::player::*`
[INFO] [stdout]  --> src/camera.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::player::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collision::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use collision::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `infinity::*`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use infinity::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut best_score = 0.0;
[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/grid.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut xidx = ((x - self.xmin) / self.cell_width) as isize;
[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/grid.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut zidx = ((z - self.zmin) / self.cell_height) as isize;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_min`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let y_min = -screen_h / 2.0;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_min`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_max`
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let y_max =  screen_h / 2.0;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `best_score`
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut best_score = 0.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `camera_view` is never read
[INFO] [stdout]   --> src/main.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut camera_view = CameraView::FirstPerson;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 79 |             camera_view = CameraView::FirstPerson;
[INFO] [stdout]    |             ------------------------------------- `camera_view` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `uid` is never read
[INFO] [stdout]  --> src/enemy.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Enemy {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 6 |     pub uid: u32,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Enemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_enemies` is never used
[INFO] [stdout]   --> src/enemy.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Enemies {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn update_enemies(&mut self, delta_time: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::models::*`
[INFO] [stdout]  --> src/utilis.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use macroquad::models::*;
[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 import: `std::env`
[INFO] [stdout]  --> src/utilis.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/utilis.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::player::*`
[INFO] [stdout]  --> src/camera.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::player::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collision::*`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use collision::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `infinity::*`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use infinity::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `health`, `name`, `weapon`, and `bullets` are never read
[INFO] [stdout]   --> src/player.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 16 |     pub health: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |     pub weapon: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub bullets: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Star` is never constructed
[INFO] [stdout]  --> src/infinity.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Star {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarWall` is never constructed
[INFO] [stdout]   --> src/infinity.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct StarWall {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `draw` are never used
[INFO] [stdout]   --> src/infinity.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl StarWall {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn draw(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `E` should have a snake case name
[INFO] [stdout]   --> src/collision.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn detect_collision(E: &Enemies, grid: &Grid, player: &Player) -> bool {
[INFO] [stdout]    |                         ^ help: convert the identifier to snake case: `e`
[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 `E` should have a snake case name
[INFO] [stdout]   --> src/collision.rs:82:30
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn check_bullet_hit_grid(E: &mut Enemies, grid: &mut Grid, player: &mut Player) -> Option<usize> {
[INFO] [stdout]    |                              ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut best_score = 0.0;
[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/grid.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut xidx = ((x - self.xmin) / self.cell_width) as isize;
[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/grid.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut zidx = ((z - self.zmin) / self.cell_height) as isize;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_min`
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let y_min = -screen_h / 2.0;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_min`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_max`
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let y_max =  screen_h / 2.0;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `best_score`
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut best_score = 0.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `camera_view` is never read
[INFO] [stdout]   --> src/main.rs:67:27
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let mut camera_view = CameraView::FirstPerson;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 79 |             camera_view = CameraView::FirstPerson;
[INFO] [stdout]    |             ------------------------------------- `camera_view` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `uid` is never read
[INFO] [stdout]  --> src/enemy.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Enemy {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 6 |     pub uid: u32,
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Enemy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_enemies` is never used
[INFO] [stdout]   --> src/enemy.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Enemies {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub fn update_enemies(&mut self, delta_time: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `health`, `name`, `weapon`, and `bullets` are never read
[INFO] [stdout]   --> src/player.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Player {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 16 |     pub health: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 17 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 18 |     pub weapon: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub bullets: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Star` is never constructed
[INFO] [stdout]  --> src/infinity.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Star {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StarWall` is never constructed
[INFO] [stdout]   --> src/infinity.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct StarWall {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `draw` are never used
[INFO] [stdout]   --> src/infinity.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl StarWall {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn draw(&self) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `E` should have a snake case name
[INFO] [stdout]   --> src/collision.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn detect_collision(E: &Enemies, grid: &Grid, player: &Player) -> bool {
[INFO] [stdout]    |                         ^ help: convert the identifier to snake case: `e`
[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 `E` should have a snake case name
[INFO] [stdout]   --> src/collision.rs:82:30
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn check_bullet_hit_grid(E: &mut Enemies, grid: &mut Grid, player: &mut Player) -> Option<usize> {
[INFO] [stdout]    |                              ^ help: convert the identifier to snake case: `e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f", kill_on_drop: false }`
[INFO] [stdout] 248e5fecc366f13e5851e3a0941c10631a1bf83b6b1f94c3d9dc1927a657d73f
