[INFO] cloning repository https://github.com/LoudnessWar/acrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LoudnessWar/acrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoudnessWar%2Facrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoudnessWar%2Facrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e65ad7e77cdebf3b8132872701fbf848fa47b038
[INFO] testing LoudnessWar/acrust against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoudnessWar%2Facrust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  38% (688/1778)
Updating files:  39% (694/1778)
Updating files:  40% (712/1778)
Updating files:  41% (729/1778)
Updating files:  42% (747/1778)
Updating files:  43% (765/1778)
Updating files:  44% (783/1778)
Updating files:  45% (801/1778)
Updating files:  46% (818/1778)
Updating files:  46% (832/1778)
Updating files:  47% (836/1778)
Updating files:  48% (854/1778)
Updating files:  49% (872/1778)
Updating files:  50% (889/1778)
Updating files:  51% (907/1778)
Updating files:  52% (925/1778)
Updating files:  53% (943/1778)
Updating files:  54% (961/1778)
Updating files:  55% (978/1778)
Updating files:  56% (996/1778)
Updating files:  57% (1014/1778)
Updating files:  58% (1032/1778)
Updating files:  59% (1050/1778)
Updating files:  60% (1067/1778)
Updating files:  61% (1085/1778)
Updating files:  62% (1103/1778)
Updating files:  63% (1121/1778)
Updating files:  64% (1138/1778)
Updating files:  65% (1156/1778)
Updating files:  66% (1174/1778)
Updating files:  67% (1192/1778)
Updating files:  68% (1210/1778)
Updating files:  69% (1227/1778)
Updating files:  70% (1245/1778)
Updating files:  71% (1263/1778)
Updating files:  72% (1281/1778)
Updating files:  73% (1298/1778)
Updating files:  74% (1316/1778)
Updating files:  75% (1334/1778)
Updating files:  76% (1352/1778)
Updating files:  77% (1370/1778)
Updating files:  78% (1387/1778)
Updating files:  79% (1405/1778)
Updating files:  80% (1423/1778)
Updating files:  81% (1441/1778)
Updating files:  82% (1458/1778)
Updating files:  83% (1476/1778)
Updating files:  84% (1494/1778)
Updating files:  85% (1512/1778)
Updating files:  86% (1530/1778)
Updating files:  87% (1547/1778)
Updating files:  88% (1565/1778)
Updating files:  89% (1583/1778)
Updating files:  90% (1601/1778)
Updating files:  91% (1618/1778)
Updating files:  92% (1636/1778)
Updating files:  93% (1654/1778)
Updating files:  94% (1672/1778)
Updating files:  94% (1689/1778)
Updating files:  95% (1690/1778)
Updating files:  96% (1707/1778)
Updating files:  97% (1725/1778)
Updating files:  98% (1743/1778)
Updating files:  99% (1761/1778)
Updating files: 100% (1778/1778)
Updating files: 100% (1778/1778), done.
[INFO] started tweaking git repo https://github.com/LoudnessWar/acrust
[INFO] finished tweaking git repo https://github.com/LoudnessWar/acrust
[INFO] tweaked toml for git repo https://github.com/LoudnessWar/acrust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LoudnessWar/acrust on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LoudnessWar/acrust 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.97
[INFO] [stderr]   Downloaded thiserror v1.0.65
[INFO] [stderr]   Downloaded thiserror-impl v1.0.65
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.97
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.97
[INFO] [stderr]   Downloaded zune-jpeg v0.4.13
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.47
[INFO] [stderr]   Downloaded avif-serialize v0.8.2
[INFO] [stderr]   Downloaded built v0.7.5
[INFO] [stderr]   Downloaded gl v0.14.0
[INFO] [stderr]   Downloaded cgmath v0.18.0
[INFO] [stderr]   Downloaded js-sys v0.3.74
[INFO] [stderr]   Downloaded cc v1.1.31
[INFO] [stderr]   Downloaded image-webp v0.2.0
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.8
[INFO] [stderr]   Downloaded glfw v0.58.0
[INFO] [stderr]   Downloaded syn v2.0.85
[INFO] [stderr]   Downloaded web-sys v0.3.74
[INFO] [stderr]   Downloaded glfw-sys v5.0.0+3.3.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8050d0027d166da7f4e46219342a45a57b193a624b9988b96e716af1650108a
[INFO] running `Command { std: "docker" "start" "-a" "e8050d0027d166da7f4e46219342a45a57b193a624b9988b96e716af1650108a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8050d0027d166da7f4e46219342a45a57b193a624b9988b96e716af1650108a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8050d0027d166da7f4e46219342a45a57b193a624b9988b96e716af1650108a", kill_on_drop: false }`
[INFO] [stdout] e8050d0027d166da7f4e46219342a45a57b193a624b9988b96e716af1650108a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac3a570233e938495d28be31c6291eff49efd23159536b06833646233579c1d7
[INFO] running `Command { std: "docker" "start" "-a" "ac3a570233e938495d28be31c6291eff49efd23159536b06833646233579c1d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling built v0.7.5
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling xml-rs v0.8.22
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling avif-serialize v0.8.2
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling ash v0.38.0+1.3.281
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling cpal v0.15.3
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling anstream v0.6.15
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling cmake v0.1.51
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.13
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling image-webp v0.2.0
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling raw-window-handle v0.6.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling glfw-sys v5.0.0+3.3.9
[INFO] [stderr]    Compiling alsa v0.9.1
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling env_filter v0.1.2
[INFO] [stderr]    Compiling env_logger v0.11.5
[INFO] [stderr]    Compiling glfw v0.58.0
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling ravif v0.11.11
[INFO] [stderr]    Compiling image v0.25.5
[INFO] [stderr]    Compiling acrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `gl::types::GLsizeiptr`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::types::GLsizeiptr;
[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: `gl::types::GLuint`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gl::types::GLuint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/graphics/vlk_wrapper.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ash::{vk, Device};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CString`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::CString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cgmath::{Vector3, Vector4};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `depthTexture`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::gl_wrapper::{Framebuffer, ShaderProgram, depthTexture};//lol depth texture like being just used bc i am 2 lazy
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::mesh::Mesh`
[INFO] [stdout]   --> src/graphics/weighted_oit.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::model::mesh::Mesh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user_interface::ui_manager`
[INFO] [stdout]  --> src/user_interface/ui_manager.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{graphics::gl_wrapper::*, user_interface::ui_manager};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/model/mesh.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::E`
[INFO] [stdout]  --> src/model/mesh.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f64::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Matrix4`
[INFO] [stdout]  --> src/model/objload.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cgmath::{Matrix4, Quaternion, Vector3};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::transform::Coords`
[INFO] [stdout]  --> src/model/triangle.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::transform::Coords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CameraMode`
[INFO] [stdout]  --> src/ecs/player.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{graphics::camera::{Camera, CameraMode}, model::transform::WorldCoords};
[INFO] [stdout]   |                                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InnerSpace`
[INFO] [stdout]  --> src/ecs/player.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{InnerSpace, Vector3};
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Component`
[INFO] [stdout]  --> src/ecs/UI_components.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ecs::world::{Component, ComponentStorage};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ecs/UI_components.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::user_interface::text_render::{self, TextRenderer};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::components::Velocity`
[INFO] [stdout]  --> src/ecs/collision_system.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::components::Velocity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/ecs/physics.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::transform::WorldCoords`
[INFO] [stdout]  --> src/ecs/physics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::model::transform::WorldCoords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::components::Velocity`
[INFO] [stdout]  --> src/ecs/physics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::components::Velocity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/graphics/window.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...   if let character = codepoint {//todo lol this is stupid and i am being lazy this does not need to constantly be checked like e...
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tile_count_y`
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1783:32
[INFO] [stdout]      |
[INFO] [stdout] 1783 | ...   let (tile_count_x, tile_count_y) = culling_buffers.get_tile_counts();//TODO move this and num of tiles to where shader is se...
[INFO] [stdout]      |                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_count_y`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_lights`
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:2095:41
[INFO] [stdout]      |
[INFO] [stdout] 2095 |     pub fn new(width: u32, height: u32, max_lights: u32) -> Self {
[INFO] [stdout]      |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:2157:13
[INFO] [stdout]      |
[INFO] [stdout] 2157 |         let mut index_data = vec![0i32; index_buffer_size];
[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: unused variable: `vert_spirv`
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:181:44
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stdout]     |                                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vert_spirv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frag_spirv`
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:181:62
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stdout]     |                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frag_spirv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_manager`
[INFO] [stdout]    --> src/graphics/weighted_oit.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         texture_manager: &TextureManager,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_vao`
[INFO] [stdout]    --> src/graphics/weighted_oit.rs:368:17
[INFO] [stdout]     |
[INFO] [stdout] 368 |             let is_vao = gl::IsVertexArray(self.fs_quad_vao);
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vao`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visitor`
[INFO] [stdout]    --> src/user_interface/ui_element.rs:169:26
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn accept(&mut self, visitor: &mut dyn UIElementVisitor) {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_vec`
[INFO] [stdout]   --> src/user_interface/ui_manager.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mouse_vec = Vector2::new(mouse_pos.0 as f32, mouse_pos.1 as f32);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertex_work_groups`
[INFO] [stdout]    --> src/model/mesh.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let vertex_work_groups = (vertex_count + work_group_size - 1) / work_group_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_work_groups`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/model/mesh.rs:568:9
[INFO] [stdout]     |
[INFO] [stdout] 568 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/model/mesh.rs:575:9
[INFO] [stdout]     |
[INFO] [stdout] 575 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model/objload.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut normals = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `t` is never read
[INFO] [stdout]    --> src/model/rounded_cube.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         t = RoundedCube::create_bottom_face(&mut triangels, t, ring, size_x, size_y, size_z, vertices.len() as i32);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]    --> src/ecs/UI_components.rs:724:25
[INFO] [stdout]     |
[INFO] [stdout] 724 |         for (entity_id, transform) in self.transforms.iter() {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity_id`
[INFO] [stdout]    --> src/ecs/UI_components.rs:769:33
[INFO] [stdout]     |
[INFO] [stdout] 769 |     fn render_ui_element(&self, entity_id: u32, transform: &UITransform, style: &UIStyle, shader: &crate::graphics::gl_wrapper::Sha...
[INFO] [stdout]     |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_diff`
[INFO] [stdout]    --> src/ecs/collision_system.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let center_diff = center_b - center_a;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_diff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/ecs/collision_system.rs:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |         for (idx, axis) in test_axes.iter().enumerate() {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta_time`
[INFO] [stdout]    --> src/ecs/collision_system.rs:596:104
[INFO] [stdout]     |
[INFO] [stdout] 596 |     pub fn update(&mut self, movement_system: &mut MovementSystem, physics_system: &mut PhysicsSystem, delta_time: f32) {
[INFO] [stdout]     |                                                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coords`
[INFO] [stdout]     --> src/ecs/collision_system.rs:1222:52
[INFO] [stdout]      |
[INFO] [stdout] 1222 |     fn get_collider_as_mesh(&self, entity_id: u32, coords: &WorldCoords) -> Option<crate::model::mesh::Mesh> {
[INFO] [stdout]      |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rotation`
[INFO] [stdout]     --> src/ecs/collision_system.rs:1238:49
[INFO] [stdout]      |
[INFO] [stdout] 1238 |             CollisionShape::OBB { half_extents, rotation } => {
[INFO] [stdout]      |                                                 ^^^^^^^^ help: try ignoring the field: `rotation: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ecs/physics.rs:575:9
[INFO] [stdout]     |
[INFO] [stdout] 575 |     let mut normal = collision.normal.normalize();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_static_a`
[INFO] [stdout]    --> src/ecs/physics.rs:563:38
[INFO] [stdout]     |
[INFO] [stdout] 563 |     let (inv_mass_a, rest_a, fric_a, is_static_a) = if let Some(rb) = rb_a {
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_static_b`
[INFO] [stdout]    --> src/ecs/physics.rs:569:38
[INFO] [stdout]     |
[INFO] [stdout] 569 |     let (inv_mass_b, rest_b, fric_b, is_static_b) = if let Some(rb) = rb_b {
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obb_entity`
[INFO] [stdout]    --> src/ecs/physics.rs:687:47
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stdout]     |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obb_r`
[INFO] [stdout]    --> src/ecs/physics.rs:687:68
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stdout]     |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_sphere_b`
[INFO] [stdout]    --> src/ecs/physics.rs:731:54
[INFO] [stdout]     |
[INFO] [stdout] 731 |     let (angular_vel_b, inv_inertia_b, can_rotate_b, is_sphere_b) = 
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_sphere_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:709:39
[INFO] [stdout]     |
[INFO] [stdout] 709 | pub struct depthTexture { id: GLuint, width: u32, height: u32 }//todo we finna have to deal with the two textures later bro
[INFO] [stdout]     |            ------------               ^^^^^       ^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            fields in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_depth_debug_shader` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1533:4
[INFO] [stdout]      |
[INFO] [stdout] 1533 | fn initialize_depth_debug_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_light_shader_plus` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1558:4
[INFO] [stdout]      |
[INFO] [stdout] 1558 | fn initialize_light_shader_plus() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_light_test_shader` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1575:4
[INFO] [stdout]      |
[INFO] [stdout] 1575 | fn initialize_light_test_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `physical_device` and `instance` are never read
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:147:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct VkShaderManager {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 146 |     device: Arc<ash::Device>,
[INFO] [stdout] 147 |     physical_device: vk::PhysicalDevice,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 148 |     instance: Arc<ash::Instance>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/graphics/weighted_oit.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct WeightedOIT {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normals_buffer` is never read
[INFO] [stdout]   --> src/model/mesh.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     normals_buffer: Option<BufferObject>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gl_error` is never used
[INFO] [stdout]    --> src/model/mesh.rs:854:4
[INFO] [stdout]     |
[INFO] [stdout] 854 | fn check_gl_error(label: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_collision` is never used
[INFO] [stdout]     --> src/ecs/collision_system.rs:1178:8
[INFO] [stdout]      |
[INFO] [stdout]  117 | impl CollisionSystem {
[INFO] [stdout]      | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1178 |     fn resolve_collision(&self, movement_system: &mut MovementSystem, collision: &CollisionEvent) {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `UI_components` should have a snake case name
[INFO] [stdout]  --> src/ecs/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod UI_components;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ui_components`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_WorldCoords` should have a snake case name
[INFO] [stdout]   --> src/ecs/player.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn get_WorldCoords(&self) -> &WorldCoords{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_world_coords`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.55s
[INFO] running `Command { std: "docker" "inspect" "ac3a570233e938495d28be31c6291eff49efd23159536b06833646233579c1d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac3a570233e938495d28be31c6291eff49efd23159536b06833646233579c1d7", kill_on_drop: false }`
[INFO] [stdout] ac3a570233e938495d28be31c6291eff49efd23159536b06833646233579c1d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a182e997b6383a75db58a73ef0eb04065a8e3b3129ee25f4bb1eed0b6686eba7
[INFO] running `Command { std: "docker" "start" "-a" "a182e997b6383a75db58a73ef0eb04065a8e3b3129ee25f4bb1eed0b6686eba7", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `gl::types::GLsizeiptr`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::types::GLsizeiptr;
[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: `gl::types::GLuint`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gl::types::GLuint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/graphics/vlk_wrapper.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ash::{vk, Device};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CString`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::CString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cgmath::{Vector3, Vector4};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `depthTexture`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::gl_wrapper::{Framebuffer, ShaderProgram, depthTexture};//lol depth texture like being just used bc i am 2 lazy
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::mesh::Mesh`
[INFO] [stdout]   --> src/graphics/weighted_oit.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::model::mesh::Mesh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user_interface::ui_manager`
[INFO] [stdout]  --> src/user_interface/ui_manager.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{graphics::gl_wrapper::*, user_interface::ui_manager};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/model/mesh.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::E`
[INFO] [stdout]  --> src/model/mesh.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f64::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Matrix4`
[INFO] [stdout]  --> src/model/objload.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cgmath::{Matrix4, Quaternion, Vector3};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::transform::Coords`
[INFO] [stdout]  --> src/model/triangle.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::transform::Coords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CameraMode`
[INFO] [stdout]  --> src/ecs/player.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{graphics::camera::{Camera, CameraMode}, model::transform::WorldCoords};
[INFO] [stdout]   |                                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InnerSpace`
[INFO] [stdout]  --> src/ecs/player.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{InnerSpace, Vector3};
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Component`
[INFO] [stdout]  --> src/ecs/UI_components.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ecs::world::{Component, ComponentStorage};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ecs/UI_components.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::user_interface::text_render::{self, TextRenderer};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::components::Velocity`
[INFO] [stdout]  --> src/ecs/collision_system.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::components::Velocity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/ecs/physics.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::transform::WorldCoords`
[INFO] [stdout]  --> src/ecs/physics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::model::transform::WorldCoords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::components::Velocity`
[INFO] [stdout]  --> src/ecs/physics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::components::Velocity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/graphics/window.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...   if let character = codepoint {//todo lol this is stupid and i am being lazy this does not need to constantly be checked like e...
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tile_count_y`
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1783:32
[INFO] [stdout]      |
[INFO] [stdout] 1783 | ...   let (tile_count_x, tile_count_y) = culling_buffers.get_tile_counts();//TODO move this and num of tiles to where shader is se...
[INFO] [stdout]      |                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_count_y`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_lights`
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:2095:41
[INFO] [stdout]      |
[INFO] [stdout] 2095 |     pub fn new(width: u32, height: u32, max_lights: u32) -> Self {
[INFO] [stdout]      |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:2157:13
[INFO] [stdout]      |
[INFO] [stdout] 2157 |         let mut index_data = vec![0i32; index_buffer_size];
[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: unused variable: `vert_spirv`
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:181:44
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stdout]     |                                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vert_spirv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frag_spirv`
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:181:62
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stdout]     |                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frag_spirv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_manager`
[INFO] [stdout]    --> src/graphics/weighted_oit.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         texture_manager: &TextureManager,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_vao`
[INFO] [stdout]    --> src/graphics/weighted_oit.rs:368:17
[INFO] [stdout]     |
[INFO] [stdout] 368 |             let is_vao = gl::IsVertexArray(self.fs_quad_vao);
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vao`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visitor`
[INFO] [stdout]    --> src/user_interface/ui_element.rs:169:26
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn accept(&mut self, visitor: &mut dyn UIElementVisitor) {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_vec`
[INFO] [stdout]   --> src/user_interface/ui_manager.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mouse_vec = Vector2::new(mouse_pos.0 as f32, mouse_pos.1 as f32);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertex_work_groups`
[INFO] [stdout]    --> src/model/mesh.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let vertex_work_groups = (vertex_count + work_group_size - 1) / work_group_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_work_groups`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/model/mesh.rs:568:9
[INFO] [stdout]     |
[INFO] [stdout] 568 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/model/mesh.rs:575:9
[INFO] [stdout]     |
[INFO] [stdout] 575 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model/objload.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut normals = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `t` is never read
[INFO] [stdout]    --> src/model/rounded_cube.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         t = RoundedCube::create_bottom_face(&mut triangels, t, ring, size_x, size_y, size_z, vertices.len() as i32);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]    --> src/ecs/UI_components.rs:724:25
[INFO] [stdout]     |
[INFO] [stdout] 724 |         for (entity_id, transform) in self.transforms.iter() {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity_id`
[INFO] [stdout]    --> src/ecs/UI_components.rs:769:33
[INFO] [stdout]     |
[INFO] [stdout] 769 |     fn render_ui_element(&self, entity_id: u32, transform: &UITransform, style: &UIStyle, shader: &crate::graphics::gl_wrapper::Sha...
[INFO] [stdout]     |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_diff`
[INFO] [stdout]    --> src/ecs/collision_system.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let center_diff = center_b - center_a;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_diff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/ecs/collision_system.rs:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |         for (idx, axis) in test_axes.iter().enumerate() {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta_time`
[INFO] [stdout]    --> src/ecs/collision_system.rs:596:104
[INFO] [stdout]     |
[INFO] [stdout] 596 |     pub fn update(&mut self, movement_system: &mut MovementSystem, physics_system: &mut PhysicsSystem, delta_time: f32) {
[INFO] [stdout]     |                                                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coords`
[INFO] [stdout]     --> src/ecs/collision_system.rs:1222:52
[INFO] [stdout]      |
[INFO] [stdout] 1222 |     fn get_collider_as_mesh(&self, entity_id: u32, coords: &WorldCoords) -> Option<crate::model::mesh::Mesh> {
[INFO] [stdout]      |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rotation`
[INFO] [stdout]     --> src/ecs/collision_system.rs:1238:49
[INFO] [stdout]      |
[INFO] [stdout] 1238 |             CollisionShape::OBB { half_extents, rotation } => {
[INFO] [stdout]      |                                                 ^^^^^^^^ help: try ignoring the field: `rotation: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ecs/physics.rs:575:9
[INFO] [stdout]     |
[INFO] [stdout] 575 |     let mut normal = collision.normal.normalize();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_static_a`
[INFO] [stdout]    --> src/ecs/physics.rs:563:38
[INFO] [stdout]     |
[INFO] [stdout] 563 |     let (inv_mass_a, rest_a, fric_a, is_static_a) = if let Some(rb) = rb_a {
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_static_b`
[INFO] [stdout]    --> src/ecs/physics.rs:569:38
[INFO] [stdout]     |
[INFO] [stdout] 569 |     let (inv_mass_b, rest_b, fric_b, is_static_b) = if let Some(rb) = rb_b {
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obb_entity`
[INFO] [stdout]    --> src/ecs/physics.rs:687:47
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stdout]     |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obb_r`
[INFO] [stdout]    --> src/ecs/physics.rs:687:68
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stdout]     |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_sphere_b`
[INFO] [stdout]    --> src/ecs/physics.rs:731:54
[INFO] [stdout]     |
[INFO] [stdout] 731 |     let (angular_vel_b, inv_inertia_b, can_rotate_b, is_sphere_b) = 
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_sphere_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:709:39
[INFO] [stdout]     |
[INFO] [stdout] 709 | pub struct depthTexture { id: GLuint, width: u32, height: u32 }//todo we finna have to deal with the two textures later bro
[INFO] [stdout]     |            ------------               ^^^^^       ^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            fields in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_depth_debug_shader` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1533:4
[INFO] [stdout]      |
[INFO] [stdout] 1533 | fn initialize_depth_debug_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_light_shader_plus` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1558:4
[INFO] [stdout]      |
[INFO] [stdout] 1558 | fn initialize_light_shader_plus() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_light_test_shader` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1575:4
[INFO] [stdout]      |
[INFO] [stdout] 1575 | fn initialize_light_test_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `physical_device` and `instance` are never read
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:147:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct VkShaderManager {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 146 |     device: Arc<ash::Device>,
[INFO] [stdout] 147 |     physical_device: vk::PhysicalDevice,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 148 |     instance: Arc<ash::Instance>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling acrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/graphics/weighted_oit.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct WeightedOIT {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normals_buffer` is never read
[INFO] [stdout]   --> src/model/mesh.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     normals_buffer: Option<BufferObject>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gl_error` is never used
[INFO] [stdout]    --> src/model/mesh.rs:854:4
[INFO] [stdout]     |
[INFO] [stdout] 854 | fn check_gl_error(label: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_collision` is never used
[INFO] [stdout]     --> src/ecs/collision_system.rs:1178:8
[INFO] [stdout]      |
[INFO] [stdout]  117 | impl CollisionSystem {
[INFO] [stdout]      | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1178 |     fn resolve_collision(&self, movement_system: &mut MovementSystem, collision: &CollisionEvent) {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `UI_components` should have a snake case name
[INFO] [stdout]  --> src/ecs/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod UI_components;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ui_components`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_WorldCoords` should have a snake case name
[INFO] [stdout]   --> src/ecs/player.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn get_WorldCoords(&self) -> &WorldCoords{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_world_coords`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gl::types::GLsizeiptr`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::types::GLsizeiptr;
[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: `gl::types::GLuint`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gl::types::GLuint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/graphics/lightmanager.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Device`
[INFO] [stdout]  --> src/graphics/vlk_wrapper.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ash::{vk, Device};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ffi::CString`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::CString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cgmath::{Vector3, Vector4};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `depthTexture`
[INFO] [stdout]  --> src/graphics/weighted_oit.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::gl_wrapper::{Framebuffer, ShaderProgram, depthTexture};//lol depth texture like being just used bc i am 2 lazy
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::mesh::Mesh`
[INFO] [stdout]   --> src/graphics/weighted_oit.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::model::mesh::Mesh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `user_interface::ui_manager`
[INFO] [stdout]  --> src/user_interface/ui_manager.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{graphics::gl_wrapper::*, user_interface::ui_manager};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/model/mesh.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::E`
[INFO] [stdout]  --> src/model/mesh.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::f64::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Matrix4`
[INFO] [stdout]  --> src/model/objload.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use cgmath::{Matrix4, Quaternion, Vector3};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::transform::Coords`
[INFO] [stdout]  --> src/model/triangle.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::transform::Coords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CameraMode`
[INFO] [stdout]  --> src/ecs/player.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{graphics::camera::{Camera, CameraMode}, model::transform::WorldCoords};
[INFO] [stdout]   |                                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InnerSpace`
[INFO] [stdout]  --> src/ecs/player.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{InnerSpace, Vector3};
[INFO] [stdout]   |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Component`
[INFO] [stdout]  --> src/ecs/UI_components.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ecs::world::{Component, ComponentStorage};
[INFO] [stdout]   |                         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ecs/UI_components.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::user_interface::text_render::{self, TextRenderer};
[INFO] [stdout]   |                                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::components::Velocity`
[INFO] [stdout]  --> src/ecs/collision_system.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::components::Velocity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/ecs/physics.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::transform::WorldCoords`
[INFO] [stdout]  --> src/ecs/physics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::model::transform::WorldCoords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::components::Velocity`
[INFO] [stdout]  --> src/ecs/physics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::components::Velocity;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/graphics/window.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...   if let character = codepoint {//todo lol this is stupid and i am being lazy this does not need to constantly be checked like e...
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tile_count_y`
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1783:32
[INFO] [stdout]      |
[INFO] [stdout] 1783 | ...   let (tile_count_x, tile_count_y) = culling_buffers.get_tile_counts();//TODO move this and num of tiles to where shader is se...
[INFO] [stdout]      |                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_count_y`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_lights`
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:2095:41
[INFO] [stdout]      |
[INFO] [stdout] 2095 |     pub fn new(width: u32, height: u32, max_lights: u32) -> Self {
[INFO] [stdout]      |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:2157:13
[INFO] [stdout]      |
[INFO] [stdout] 2157 |         let mut index_data = vec![0i32; index_buffer_size];
[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: unused variable: `vert_spirv`
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:181:44
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stdout]     |                                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vert_spirv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frag_spirv`
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:181:62
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stdout]     |                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frag_spirv`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_manager`
[INFO] [stdout]    --> src/graphics/weighted_oit.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         texture_manager: &TextureManager,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_vao`
[INFO] [stdout]    --> src/graphics/weighted_oit.rs:368:17
[INFO] [stdout]     |
[INFO] [stdout] 368 |             let is_vao = gl::IsVertexArray(self.fs_quad_vao);
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vao`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visitor`
[INFO] [stdout]    --> src/user_interface/ui_element.rs:169:26
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn accept(&mut self, visitor: &mut dyn UIElementVisitor) {
[INFO] [stdout]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_vec`
[INFO] [stdout]   --> src/user_interface/ui_manager.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mouse_vec = Vector2::new(mouse_pos.0 as f32, mouse_pos.1 as f32);
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertex_work_groups`
[INFO] [stdout]    --> src/model/mesh.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         let vertex_work_groups = (vertex_count + work_group_size - 1) / work_group_size;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_work_groups`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/model/mesh.rs:568:9
[INFO] [stdout]     |
[INFO] [stdout] 568 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/model/mesh.rs:575:9
[INFO] [stdout]     |
[INFO] [stdout] 575 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model/objload.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let mut normals = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `t` is never read
[INFO] [stdout]    --> src/model/rounded_cube.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         t = RoundedCube::create_bottom_face(&mut triangels, t, ring, size_x, size_y, size_z, vertices.len() as i32);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]    --> src/ecs/UI_components.rs:724:25
[INFO] [stdout]     |
[INFO] [stdout] 724 |         for (entity_id, transform) in self.transforms.iter() {
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity_id`
[INFO] [stdout]    --> src/ecs/UI_components.rs:769:33
[INFO] [stdout]     |
[INFO] [stdout] 769 |     fn render_ui_element(&self, entity_id: u32, transform: &UITransform, style: &UIStyle, shader: &crate::graphics::gl_wrapper::Sha...
[INFO] [stdout]     |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `center_diff`
[INFO] [stdout]    --> src/ecs/collision_system.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         let center_diff = center_b - center_a;
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_diff`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> src/ecs/collision_system.rs:225:14
[INFO] [stdout]     |
[INFO] [stdout] 225 |         for (idx, axis) in test_axes.iter().enumerate() {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `delta_time`
[INFO] [stdout]    --> src/ecs/collision_system.rs:596:104
[INFO] [stdout]     |
[INFO] [stdout] 596 |     pub fn update(&mut self, movement_system: &mut MovementSystem, physics_system: &mut PhysicsSystem, delta_time: f32) {
[INFO] [stdout]     |                                                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `coords`
[INFO] [stdout]     --> src/ecs/collision_system.rs:1222:52
[INFO] [stdout]      |
[INFO] [stdout] 1222 |     fn get_collider_as_mesh(&self, entity_id: u32, coords: &WorldCoords) -> Option<crate::model::mesh::Mesh> {
[INFO] [stdout]      |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rotation`
[INFO] [stdout]     --> src/ecs/collision_system.rs:1238:49
[INFO] [stdout]      |
[INFO] [stdout] 1238 |             CollisionShape::OBB { half_extents, rotation } => {
[INFO] [stdout]      |                                                 ^^^^^^^^ help: try ignoring the field: `rotation: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ecs/physics.rs:575:9
[INFO] [stdout]     |
[INFO] [stdout] 575 |     let mut normal = collision.normal.normalize();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_static_a`
[INFO] [stdout]    --> src/ecs/physics.rs:563:38
[INFO] [stdout]     |
[INFO] [stdout] 563 |     let (inv_mass_a, rest_a, fric_a, is_static_a) = if let Some(rb) = rb_a {
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_static_b`
[INFO] [stdout]    --> src/ecs/physics.rs:569:38
[INFO] [stdout]     |
[INFO] [stdout] 569 |     let (inv_mass_b, rest_b, fric_b, is_static_b) = if let Some(rb) = rb_b {
[INFO] [stdout]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obb_entity`
[INFO] [stdout]    --> src/ecs/physics.rs:687:47
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stdout]     |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obb_r`
[INFO] [stdout]    --> src/ecs/physics.rs:687:68
[INFO] [stdout]     |
[INFO] [stdout] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stdout]     |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_sphere_b`
[INFO] [stdout]    --> src/ecs/physics.rs:731:54
[INFO] [stdout]     |
[INFO] [stdout] 731 |     let (angular_vel_b, inv_inertia_b, can_rotate_b, is_sphere_b) = 
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_sphere_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:709:39
[INFO] [stdout]     |
[INFO] [stdout] 709 | pub struct depthTexture { id: GLuint, width: u32, height: u32 }//todo we finna have to deal with the two textures later bro
[INFO] [stdout]     |            ------------               ^^^^^       ^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            fields in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_depth_debug_shader` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1533:4
[INFO] [stdout]      |
[INFO] [stdout] 1533 | fn initialize_depth_debug_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_light_shader_plus` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1558:4
[INFO] [stdout]      |
[INFO] [stdout] 1558 | fn initialize_light_shader_plus() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_light_test_shader` is never used
[INFO] [stdout]     --> src/graphics/gl_wrapper.rs:1575:4
[INFO] [stdout]      |
[INFO] [stdout] 1575 | fn initialize_light_test_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `physical_device` and `instance` are never read
[INFO] [stdout]    --> src/graphics/vlk_wrapper.rs:147:5
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub struct VkShaderManager {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 146 |     device: Arc<ash::Device>,
[INFO] [stdout] 147 |     physical_device: vk::PhysicalDevice,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 148 |     instance: Arc<ash::Instance>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/graphics/weighted_oit.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct WeightedOIT {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 28 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normals_buffer` is never read
[INFO] [stdout]   --> src/model/mesh.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     normals_buffer: Option<BufferObject>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_gl_error` is never used
[INFO] [stdout]    --> src/model/mesh.rs:854:4
[INFO] [stdout]     |
[INFO] [stdout] 854 | fn check_gl_error(label: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_collision` is never used
[INFO] [stdout]     --> src/ecs/collision_system.rs:1178:8
[INFO] [stdout]      |
[INFO] [stdout]  117 | impl CollisionSystem {
[INFO] [stdout]      | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1178 |     fn resolve_collision(&self, movement_system: &mut MovementSystem, collision: &CollisionEvent) {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `UI_components` should have a snake case name
[INFO] [stdout]  --> src/ecs/mod.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod UI_components;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ui_components`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_WorldCoords` should have a snake case name
[INFO] [stdout]   --> src/ecs/player.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn get_WorldCoords(&self) -> &WorldCoords{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_world_coords`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.47s
[INFO] running `Command { std: "docker" "inspect" "a182e997b6383a75db58a73ef0eb04065a8e3b3129ee25f4bb1eed0b6686eba7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a182e997b6383a75db58a73ef0eb04065a8e3b3129ee25f4bb1eed0b6686eba7", kill_on_drop: false }`
[INFO] [stdout] a182e997b6383a75db58a73ef0eb04065a8e3b3129ee25f4bb1eed0b6686eba7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d3f2c10832d7ec88cadf9ad88ed59da5306a3e4fc3864feaf3ec9f340046196
[INFO] running `Command { std: "docker" "start" "-a" "1d3f2c10832d7ec88cadf9ad88ed59da5306a3e4fc3864feaf3ec9f340046196", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `gl::types::GLsizeiptr`
[INFO] [stderr]  --> src/graphics/lightmanager.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use gl::types::GLsizeiptr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `gl::types::GLuint`
[INFO] [stderr]  --> src/graphics/lightmanager.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use gl::types::GLuint;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::mem`
[INFO] [stderr]  --> src/graphics/lightmanager.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::mem;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Device`
[INFO] [stderr]  --> src/graphics/vlk_wrapper.rs:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | use ash::{vk, Device};
[INFO] [stderr]   |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ffi::CString`
[INFO] [stderr]  --> src/graphics/weighted_oit.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::ffi::CString;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Vector3`
[INFO] [stderr]  --> src/graphics/weighted_oit.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use cgmath::{Vector3, Vector4};
[INFO] [stderr]   |              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `depthTexture`
[INFO] [stderr]  --> src/graphics/weighted_oit.rs:8:53
[INFO] [stderr]   |
[INFO] [stderr] 8 | use super::gl_wrapper::{Framebuffer, ShaderProgram, depthTexture};//lol depth texture like being just used bc i am 2 lazy
[INFO] [stderr]   |                                                     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::model::mesh::Mesh`
[INFO] [stderr]   --> src/graphics/weighted_oit.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use crate::model::mesh::Mesh;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user_interface::ui_manager`
[INFO] [stderr]  --> src/user_interface/ui_manager.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::{graphics::gl_wrapper::*, user_interface::ui_manager};
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/model/mesh.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::f64::consts::E`
[INFO] [stderr]  --> src/model/mesh.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::f64::consts::E;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Matrix4`
[INFO] [stderr]  --> src/model/objload.rs:4:14
[INFO] [stderr]   |
[INFO] [stderr] 4 | use cgmath::{Matrix4, Quaternion, Vector3};
[INFO] [stderr]   |              ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::transform::Coords`
[INFO] [stderr]  --> src/model/triangle.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use super::transform::Coords;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `CameraMode`
[INFO] [stderr]  --> src/ecs/player.rs:1:40
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{graphics::camera::{Camera, CameraMode}, model::transform::WorldCoords};
[INFO] [stderr]   |                                        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `InnerSpace`
[INFO] [stderr]  --> src/ecs/player.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 | use cgmath::{InnerSpace, Vector3};
[INFO] [stderr]   |              ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Component`
[INFO] [stderr]  --> src/ecs/UI_components.rs:3:25
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::ecs::world::{Component, ComponentStorage};
[INFO] [stderr]   |                         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/ecs/UI_components.rs:4:42
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::user_interface::text_render::{self, TextRenderer};
[INFO] [stderr]   |                                          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::components::Velocity`
[INFO] [stderr]  --> src/ecs/collision_system.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use super::components::Velocity;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/ecs/physics.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::model::transform::WorldCoords`
[INFO] [stderr]  --> src/ecs/physics.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::model::transform::WorldCoords;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::components::Velocity`
[INFO] [stderr]  --> src/ecs/physics.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use super::components::Velocity;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]   --> src/graphics/window.rs:93:16
[INFO] [stderr]    |
[INFO] [stderr] 93 | ...   if let character = codepoint {//todo lol this is stupid and i am being lazy this does not need to constantly be checked like e...
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]    = help: consider replacing the `if let` with a `let`
[INFO] [stderr]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tile_count_y`
[INFO] [stderr]     --> src/graphics/gl_wrapper.rs:1783:32
[INFO] [stderr]      |
[INFO] [stderr] 1783 | ...   let (tile_count_x, tile_count_y) = culling_buffers.get_tile_counts();//TODO move this and num of tiles to where shader is se...
[INFO] [stderr]      |                          ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_count_y`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `max_lights`
[INFO] [stderr]     --> src/graphics/gl_wrapper.rs:2095:41
[INFO] [stderr]      |
[INFO] [stderr] 2095 |     pub fn new(width: u32, height: u32, max_lights: u32) -> Self {
[INFO] [stderr]      |                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_lights`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]     --> src/graphics/gl_wrapper.rs:2157:13
[INFO] [stderr]      |
[INFO] [stderr] 2157 |         let mut index_data = vec![0i32; index_buffer_size];
[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: unused variable: `vert_spirv`
[INFO] [stderr]    --> src/graphics/vlk_wrapper.rs:181:44
[INFO] [stderr]     |
[INFO] [stderr] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stderr]     |                                            ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vert_spirv`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `frag_spirv`
[INFO] [stderr]    --> src/graphics/vlk_wrapper.rs:181:62
[INFO] [stderr]     |
[INFO] [stderr] 181 |     fn load_shader(&mut self, _name: &str, vert_spirv: &str, frag_spirv: &str) -> Self::ShaderHandle {
[INFO] [stderr]     |                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frag_spirv`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `texture_manager`
[INFO] [stderr]    --> src/graphics/weighted_oit.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |         texture_manager: &TextureManager,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_manager`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_vao`
[INFO] [stderr]    --> src/graphics/weighted_oit.rs:368:17
[INFO] [stderr]     |
[INFO] [stderr] 368 |             let is_vao = gl::IsVertexArray(self.fs_quad_vao);
[INFO] [stderr]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vao`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `visitor`
[INFO] [stderr]    --> src/user_interface/ui_element.rs:169:26
[INFO] [stderr]     |
[INFO] [stderr] 169 |     fn accept(&mut self, visitor: &mut dyn UIElementVisitor) {
[INFO] [stderr]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mouse_vec`
[INFO] [stderr]   --> src/user_interface/ui_manager.rs:80:13
[INFO] [stderr]    |
[INFO] [stderr] 80 |         let mouse_vec = Vector2::new(mouse_pos.0 as f32, mouse_pos.1 as f32);
[INFO] [stderr]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_vec`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `vertex_work_groups`
[INFO] [stderr]    --> src/model/mesh.rs:257:13
[INFO] [stderr]     |
[INFO] [stderr] 257 |         let vertex_work_groups = (vertex_count + work_group_size - 1) / work_group_size;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_work_groups`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> src/model/mesh.rs:568:9
[INFO] [stderr]     |
[INFO] [stderr] 568 |         unsafe {
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> src/model/mesh.rs:575:9
[INFO] [stderr]     |
[INFO] [stderr] 575 |         unsafe {
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/model/objload.rs:85:9
[INFO] [stderr]    |
[INFO] [stderr] 85 |     let mut normals = Vec::new();
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `t` is never read
[INFO] [stderr]    --> src/model/rounded_cube.rs:110:9
[INFO] [stderr]     |
[INFO] [stderr] 110 |         t = RoundedCube::create_bottom_face(&mut triangels, t, ring, size_x, size_y, size_z, vertices.len() as i32);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `transform`
[INFO] [stderr]    --> src/ecs/UI_components.rs:724:25
[INFO] [stderr]     |
[INFO] [stderr] 724 |         for (entity_id, transform) in self.transforms.iter() {
[INFO] [stderr]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entity_id`
[INFO] [stderr]    --> src/ecs/UI_components.rs:769:33
[INFO] [stderr]     |
[INFO] [stderr] 769 |     fn render_ui_element(&self, entity_id: u32, transform: &UITransform, style: &UIStyle, shader: &crate::graphics::gl_wrapper::Sha...
[INFO] [stderr]     |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `center_diff`
[INFO] [stderr]    --> src/ecs/collision_system.rs:220:13
[INFO] [stderr]     |
[INFO] [stderr] 220 |         let center_diff = center_b - center_a;
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_diff`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `idx`
[INFO] [stderr]    --> src/ecs/collision_system.rs:225:14
[INFO] [stderr]     |
[INFO] [stderr] 225 |         for (idx, axis) in test_axes.iter().enumerate() {
[INFO] [stderr]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `delta_time`
[INFO] [stderr]    --> src/ecs/collision_system.rs:596:104
[INFO] [stderr]     |
[INFO] [stderr] 596 |     pub fn update(&mut self, movement_system: &mut MovementSystem, physics_system: &mut PhysicsSystem, delta_time: f32) {
[INFO] [stderr]     |                                                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `coords`
[INFO] [stderr]     --> src/ecs/collision_system.rs:1222:52
[INFO] [stderr]      |
[INFO] [stderr] 1222 |     fn get_collider_as_mesh(&self, entity_id: u32, coords: &WorldCoords) -> Option<crate::model::mesh::Mesh> {
[INFO] [stderr]      |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rotation`
[INFO] [stderr]     --> src/ecs/collision_system.rs:1238:49
[INFO] [stderr]      |
[INFO] [stderr] 1238 |             CollisionShape::OBB { half_extents, rotation } => {
[INFO] [stderr]      |                                                 ^^^^^^^^ help: try ignoring the field: `rotation: _`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/ecs/physics.rs:575:9
[INFO] [stderr]     |
[INFO] [stderr] 575 |     let mut normal = collision.normal.normalize();
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_static_a`
[INFO] [stderr]    --> src/ecs/physics.rs:563:38
[INFO] [stderr]     |
[INFO] [stderr] 563 |     let (inv_mass_a, rest_a, fric_a, is_static_a) = if let Some(rb) = rb_a {
[INFO] [stderr]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_static_b`
[INFO] [stderr]    --> src/ecs/physics.rs:569:38
[INFO] [stderr]     |
[INFO] [stderr] 569 |     let (inv_mass_b, rest_b, fric_b, is_static_b) = if let Some(rb) = rb_b {
[INFO] [stderr]     |                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_static_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `obb_entity`
[INFO] [stderr]    --> src/ecs/physics.rs:687:47
[INFO] [stderr]     |
[INFO] [stderr] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stderr]     |                                               ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_entity`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `obb_r`
[INFO] [stderr]    --> src/ecs/physics.rs:687:68
[INFO] [stderr]     |
[INFO] [stderr] 687 |     let (sphere_entity, sphere_pos, sphere_r, obb_entity, obb_pos, obb_r) = 
[INFO] [stderr]     |                                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_obb_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_sphere_b`
[INFO] [stderr]    --> src/ecs/physics.rs:731:54
[INFO] [stderr]     |
[INFO] [stderr] 731 |     let (angular_vel_b, inv_inertia_b, can_rotate_b, is_sphere_b) = 
[INFO] [stderr]     |                                                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_sphere_b`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `width` and `height` are never read
[INFO] [stderr]    --> src/graphics/gl_wrapper.rs:709:39
[INFO] [stderr]     |
[INFO] [stderr] 709 | pub struct depthTexture { id: GLuint, width: u32, height: u32 }//todo we finna have to deal with the two textures later bro
[INFO] [stderr]     |            ------------               ^^^^^       ^^^^^^
[INFO] [stderr]     |            |
[INFO] [stderr]     |            fields in this struct
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `initialize_depth_debug_shader` is never used
[INFO] [stderr]     --> src/graphics/gl_wrapper.rs:1533:4
[INFO] [stderr]      |
[INFO] [stderr] 1533 | fn initialize_depth_debug_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `initialize_light_shader_plus` is never used
[INFO] [stderr]     --> src/graphics/gl_wrapper.rs:1558:4
[INFO] [stderr]      |
[INFO] [stderr] 1558 | fn initialize_light_shader_plus() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `initialize_light_test_shader` is never used
[INFO] [stderr]     --> src/graphics/gl_wrapper.rs:1575:4
[INFO] [stderr]      |
[INFO] [stderr] 1575 | fn initialize_light_test_shader() -> ShaderProgram {//i could make this dynamic but like bruh
[INFO] [stderr]      |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `physical_device` and `instance` are never read
[INFO] [stderr]    --> src/graphics/vlk_wrapper.rs:147:5
[INFO] [stderr]     |
[INFO] [stderr] 145 | pub struct VkShaderManager {
[INFO] [stderr]     |            --------------- fields in this struct
[INFO] [stderr] 146 |     device: Arc<ash::Device>,
[INFO] [stderr] 147 |     physical_device: vk::PhysicalDevice,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 148 |     instance: Arc<ash::Instance>,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `width` and `height` are never read
[INFO] [stderr]   --> src/graphics/weighted_oit.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct WeightedOIT {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 27 |     width: u32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 28 |     height: u32,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `normals_buffer` is never read
[INFO] [stderr]   --> src/model/mesh.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct Mesh {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 23 |     normals_buffer: Option<BufferObject>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_gl_error` is never used
[INFO] [stderr]    --> src/model/mesh.rs:854:4
[INFO] [stderr]     |
[INFO] [stderr] 854 | fn check_gl_error(label: &str) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `resolve_collision` is never used
[INFO] [stderr]     --> src/ecs/collision_system.rs:1178:8
[INFO] [stderr]      |
[INFO] [stderr]  117 | impl CollisionSystem {
[INFO] [stderr]      | -------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 1178 |     fn resolve_collision(&self, movement_system: &mut MovementSystem, collision: &CollisionEvent) {
[INFO] [stderr]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: module `UI_components` should have a snake case name
[INFO] [stderr]  --> src/ecs/mod.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub mod UI_components;
[INFO] [stderr]   |         ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `ui_components`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_WorldCoords` should have a snake case name
[INFO] [stderr]   --> src/ecs/player.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 59 |     pub fn get_WorldCoords(&self) -> &WorldCoords{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_world_coords`
[INFO] [stderr] 
[INFO] [stderr] warning: `acrust` (lib) generated 60 warnings (run `cargo fix --lib -p acrust` to apply 45 suggestions)
[INFO] [stderr] warning: `acrust` (lib test) generated 60 warnings (60 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/acrust-bc5c91913747e1c9)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests acrust
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/graphics/gl_wrapper.rs - graphics::gl_wrapper::BufferObject (line 80) ... FAILED
[INFO] [stdout] test src/graphics/gl_wrapper.rs - graphics::gl_wrapper::Vao (line 45) ... FAILED
[INFO] [stdout] test src/graphics/materials.rs - graphics::materials::MaterialManager::edit_material (line 278) ... FAILED
[INFO] [stdout] test src/graphics/gl_wrapper.rs - graphics::gl_wrapper::VertexAttribute (line 168) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/graphics/gl_wrapper.rs - graphics::gl_wrapper::BufferObject (line 80) stdout ----
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/graphics/gl_wrapper.rs - graphics::gl_wrapper::Vao (line 45) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Vao` in this scope
[INFO] [stdout]   --> src/graphics/gl_wrapper.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 | let vao = Vao::new();
[INFO] [stdout]    |           ^^^ use of undeclared type `Vao`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 45 + use acrust::graphics::gl_wrapper::Vao;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/graphics/materials.rs - graphics::materials::MaterialManager::edit_material (line 278) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `foo` in this scope
[INFO] [stdout]    --> src/graphics/materials.rs:279:1
[INFO] [stdout]     |
[INFO] [stdout] 279 | foo.edit_material("name", |mat| {
[INFO] [stdout]     | ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shader_manager` in this scope
[INFO] [stdout]    --> src/graphics/materials.rs:281:26
[INFO] [stdout]     |
[INFO] [stdout] 281 |     mat.set_uniform(&mut shader_manager, "color", UniformValue::Vector4(Vector4::new(1.0, 0.5, 0.5, 1.0)));
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UniformValue` in this scope
[INFO] [stdout]    --> src/graphics/materials.rs:281:51
[INFO] [stdout]     |
[INFO] [stdout] 281 |     mat.set_uniform(&mut shader_manager, "color", UniformValue::Vector4(Vector4::new(1.0, 0.5, 0.5, 1.0)));
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^ use of undeclared type `UniformValue`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 278 + use acrust::graphics::gl_wrapper::UniformValue;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Vector4` in this scope
[INFO] [stdout]    --> src/graphics/materials.rs:281:73
[INFO] [stdout]     |
[INFO] [stdout] 281 |     mat.set_uniform(&mut shader_manager, "color", UniformValue::Vector4(Vector4::new(1.0, 0.5, 0.5, 1.0)));
[INFO] [stdout]     |                                                                         ^^^^^^^ use of undeclared type `Vector4`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 278 + use cgmath::Vector4;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `shader_manager` in this scope
[INFO] [stdout]    --> src/graphics/materials.rs:282:26
[INFO] [stdout]     |
[INFO] [stdout] 282 |     mat.set_texture(&mut shader_manager, "diffuse_map", "textures/brick.jpg"); });
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/graphics/gl_wrapper.rs - graphics::gl_wrapper::VertexAttribute (line 168) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `VertexAttribute` in this scope
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:169:26
[INFO] [stdout]     |
[INFO] [stdout] 169 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, ptr::null());
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^ use of undeclared type `VertexAttribute`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 168 + use acrust::graphics::gl_wrapper::VertexAttribute;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mem` in this scope
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:169:79
[INFO] [stdout]     |
[INFO] [stdout] 169 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, ptr::null());
[INFO] [stdout]     |                                                                               ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 168 + use std::mem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `GLfloat` in this scope
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:169:94
[INFO] [stdout]     |
[INFO] [stdout] 169 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, ptr::null());
[INFO] [stdout]     |                                                                                              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 168 + use gl::types::GLfloat;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `GLsizei` in this scope
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:169:108
[INFO] [stdout]     |
[INFO] [stdout] 169 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, ptr::null());
[INFO] [stdout]     |                                                                                                            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 168 + use gl::types::GLsizei;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ptr` in this scope
[INFO] [stdout]    --> src/graphics/gl_wrapper.rs:169:117
[INFO] [stdout]     |
[INFO] [stdout] 169 | let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, ptr::null());
[INFO] [stdout]     |                                                                                                                     ^^^ use of unresolved module or unlinked crate `ptr`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ptr`, use `cargo add ptr` to add it to your `Cargo.toml`
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 169 - let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, ptr::null());
[INFO] [stdout] 169 + let position_attribute = VertexAttribute::new(0, 3, gl::FLOAT, gl::FALSE, 3 * mem::size_of::<GLfloat>() as GLsizei, str::null());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 168 + use std::ptr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/graphics/gl_wrapper.rs - graphics::gl_wrapper::BufferObject (line 80)
[INFO] [stdout]     src/graphics/gl_wrapper.rs - graphics::gl_wrapper::Vao (line 45)
[INFO] [stdout]     src/graphics/gl_wrapper.rs - graphics::gl_wrapper::VertexAttribute (line 168)
[INFO] [stdout]     src/graphics/materials.rs - graphics::materials::MaterialManager::edit_material (line 278)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.87s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1d3f2c10832d7ec88cadf9ad88ed59da5306a3e4fc3864feaf3ec9f340046196", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d3f2c10832d7ec88cadf9ad88ed59da5306a3e4fc3864feaf3ec9f340046196", kill_on_drop: false }`
[INFO] [stdout] 1d3f2c10832d7ec88cadf9ad88ed59da5306a3e4fc3864feaf3ec9f340046196
