[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] checking LoudnessWar/acrust against master#57f772f25c5ce2bd870d6f8c3ab318eaee5a3326 for pr-133502-22 [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: 40% (714/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: 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: 54% (975/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: 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 57f772f25c5ce2bd870d6f8c3ab318eaee5a3326 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "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" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.47 [INFO] [stderr] Downloaded glfw v0.58.0 [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" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f291535d9b4f816de8f56450c6121e02c32a81018aab4811145a34af62e1f304 [INFO] running `Command { std: "docker" "start" "-a" "f291535d9b4f816de8f56450c6121e02c32a81018aab4811145a34af62e1f304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f291535d9b4f816de8f56450c6121e02c32a81018aab4811145a34af62e1f304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f291535d9b4f816de8f56450c6121e02c32a81018aab4811145a34af62e1f304", kill_on_drop: false }` [INFO] [stdout] f291535d9b4f816de8f56450c6121e02c32a81018aab4811145a34af62e1f304 [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" "+57f772f25c5ce2bd870d6f8c3ab318eaee5a3326" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a0bea46d9e41337b44d359b0a3669478272515ecce97a84232e59a5bb43974 [INFO] running `Command { std: "docker" "start" "-a" "58a0bea46d9e41337b44d359b0a3669478272515ecce97a84232e59a5bb43974", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking image-webp v0.2.0 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking glfw v0.58.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking 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: 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: 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: `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: `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: `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] 103 | t = RoundedCube::set_quad(&mut triangels, t, v, v - ring + 1, v + ring, v + 1);//sets us back to the first one because ... [INFO] [stdout] | ------------------------------------------------------------------------------ `t` is overwritten here before the previous value is read [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (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: 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: 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: 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: value assigned to `t` is never read [INFO] [stdout] --> src/model/rounded_cube.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 103 | t = RoundedCube::set_quad(&mut triangels, t, v, v - ring + 1, v + ring, v + 1);//sets us back to the first one because ... [INFO] [stdout] | ------------------------------------------------------------------------------ `t` is overwritten here before the previous value is read [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [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 { [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, [INFO] [stdout] 147 | physical_device: vk::PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | instance: Arc, [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, [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 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 { [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, [INFO] [stdout] 147 | physical_device: vk::PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | instance: Arc, [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, [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 34.27s [INFO] running `Command { std: "docker" "inspect" "58a0bea46d9e41337b44d359b0a3669478272515ecce97a84232e59a5bb43974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a0bea46d9e41337b44d359b0a3669478272515ecce97a84232e59a5bb43974", kill_on_drop: false }` [INFO] [stdout] 58a0bea46d9e41337b44d359b0a3669478272515ecce97a84232e59a5bb43974