[INFO] cloning repository https://github.com/toyoyou11/yt-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toyoyou11/yt-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoyoyou11%2Fyt-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoyoyou11%2Fyt-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41bb17605b76e653459a04ec5072d80205667343 [INFO] testing toyoyou11/yt-game against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoyoyou11%2Fyt-game" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toyoyou11/yt-game on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/toyoyou11/yt-game [INFO] finished tweaking git repo https://github.com/toyoyou11/yt-game [INFO] tweaked toml for git repo https://github.com/toyoyou11/yt-game written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/toyoyou11/yt-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v3.2.3 [INFO] [stderr] Downloaded wgpu-types v0.14.0 [INFO] [stderr] Downloaded wgpu v0.14.0 [INFO] [stderr] Downloaded wgpu-hal v0.14.0 [INFO] [stderr] Downloaded tokio v1.21.0 [INFO] [stderr] Downloaded wgpu-core v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c862d29500d8ca596c621949d1a6fc4b8fc87fba95bad5a47f567702b2c376e3 [INFO] running `Command { std: "docker" "start" "-a" "c862d29500d8ca596c621949d1a6fc4b8fc87fba95bad5a47f567702b2c376e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c862d29500d8ca596c621949d1a6fc4b8fc87fba95bad5a47f567702b2c376e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c862d29500d8ca596c621949d1a6fc4b8fc87fba95bad5a47f567702b2c376e3", kill_on_drop: false }` [INFO] [stdout] c862d29500d8ca596c621949d1a6fc4b8fc87fba95bad5a47f567702b2c376e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af14c2b515ec0ceb7148e7de87c58568815a4626e2ddd87bc31acf7febb13eeb [INFO] running `Command { std: "docker" "start" "-a" "af14c2b515ec0ceb7148e7de87c58568815a4626e2ddd87bc31acf7febb13eeb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling ash v0.37.0+1.3.209 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling raw-window-handle v0.5.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling crossfont v0.5.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling wgpu-core v0.14.0 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.3 [INFO] [stderr] Compiling bytemuck_derive v1.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling png v0.17.6 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling bytemuck v1.12.1 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling calloop v0.10.1 [INFO] [stderr] Compiling naga v0.10.0 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling wgpu-types v0.14.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling simba v0.7.2 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling yt-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling wgpu-hal v0.14.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tobj v3.2.3 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling nalgebra v0.31.1 [INFO] [stderr] Compiling wgpu v0.14.0 [INFO] [stderr] Compiling sctk-adwaita v0.4.2 [INFO] [stderr] Compiling winit v0.27.3 [INFO] [stdout] warning: unused import: `WindowBuilder` [INFO] [stdout] --> src/game.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | window::{Window, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::intersect_sphere_sphere::*` [INFO] [stdout] --> src/physics/intersect.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::intersect_sphere_sphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Cursor` [INFO] [stdout] --> src/renderer/resource.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/renderer/resource.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::device::Device` [INFO] [stdout] --> src/renderer/texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::device::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `device::*` and `instance::*` [INFO] [stdout] --> src/renderer.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | texture::*, render_pass::*, device::*, instance::* [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/physics/shape.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/physics/shape.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 28 | (Self::Sphere(s1), Self::Sphere(s2)) => contact_sphere_sphere(s1, s2, pos12), [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] 29 | (Self::Sphere(s), Self::Cube(c)) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 33 | (Self::Cube(c), Self::Sphere(s)) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | (Self::Cube(c1), Self::Cube(c2)) => contact_cube_cube(c1, c2, pos12), [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 38 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer/camera.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut z = self.near; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/renderer/resource.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/renderer/resource.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `zmax` is assigned to, but never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut zmax = FLOAT_MIN; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_zmax` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zmax` is never read [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | zmax = xmax.max(transformed.z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pose` is never constructed [INFO] [stdout] --> src/game.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum State{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 36 | Active, [INFO] [stdout] 37 | Pose, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/game/world.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up` and `Down` are never constructed [INFO] [stdout] --> src/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ElementState { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputManager` is never constructed [INFO] [stdout] --> src/input.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InputManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl InputManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | /// Create input manager [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn key_is_up(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn key_is_down(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn key_is_pressed(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn key_is_released(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn button_is_up(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn button_is_down(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn button_is_pressed(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn button_is_released(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_scroll(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mouse_move(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Keycode` is never used [INFO] [stdout] --> src/input/keyboard_input.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Keycode = event::VirtualKeyCode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyboardInputManager` is never constructed [INFO] [stdout] --> src/input/keyboard_input.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct KeyboardInputManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyboardInputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input/keyboard_input.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 13 | impl KeyboardInputManager { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 14 | /// Number of keys. [INFO] [stdout] 15 | const NUM_KEYS: usize = 256; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | /// Create manager with all keys up [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_down(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_up(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_pressed(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_released(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn update(&mut self, virtual_keycode: event::VirtualKeyCode, state: event::ElementState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseInputManager` is never constructed [INFO] [stdout] --> src/input/mouse_input.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MouseInputManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseInputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input/mouse_input.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl MouseInputManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 13 | const NUM_MOUSE_BUTTONS: usize = 52; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | /// Create default manager [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_scroll(&self) -> (Float, Float) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_move(&self) -> (Float, Float) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_down(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_up(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_pressed(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_released(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn process_input(&mut self, event: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/math.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const E: Float = std::f32::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_MIN` is never used [INFO] [stdout] --> src/math.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const FLOAT_MIN: Float = f32::MIN; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_MIN_POSITIVE` is never used [INFO] [stdout] --> src/math.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const FLOAT_MIN_POSITIVE: Float = f32::MIN_POSITIVE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> src/math.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Isometry2` is never used [INFO] [stdout] --> src/math.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Isometry2 = na::Isometry2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector2` is never used [INFO] [stdout] --> src/math.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Vector2 = na::Vector2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector4` is never used [INFO] [stdout] --> src/math.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Vector4 = na::Vector4; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnitVector2` is never used [INFO] [stdout] --> src/math.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type UnitVector2 = na::UnitVector2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnitVector4` is never used [INFO] [stdout] --> src/math.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type UnitVector4 = na::UnitVector4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix2` is never used [INFO] [stdout] --> src/math.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type Matrix2 = na::Matrix2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Translation2` is never used [INFO] [stdout] --> src/math.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Translation2 = na::Translation2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rotation2` is never used [INFO] [stdout] --> src/math.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type Rotation2 = na::Rotation2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rotation3` is never used [INFO] [stdout] --> src/math.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Rotation3 = na::Rotation3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Quaternion` is never used [INFO] [stdout] --> src/math.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DualQuaternion` is never used [INFO] [stdout] --> src/math.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type DualQuaternion = na::DualQuaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Scale2` is never used [INFO] [stdout] --> src/math.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Scale2 = na::Scale2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_vector_on_axis` is never used [INFO] [stdout] --> src/math.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn project_vector_on_axis(v: &Vector3, axis: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/physics/rigid_body.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RigidBody { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn apply_force_point_local(&mut self, force: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn apply_force_point_world(&mut self, force: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn apply_impulse_point_local(&mut self, impulse: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn apply_force_local(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn apply_torque_world(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn apply_torque_local(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn apply_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_angular_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_inv_inertia_tensor_local(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_center_of_mass_local(&self) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn set_angular_velocity(&mut self, v: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn set_inv_mass(&mut self, inv_mass: Float) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn set_elasticity(&mut self, elasticity: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_damping(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn set_damping(&mut self, damping: Float) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_angular_damping(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_angular_damping(&mut self, damping: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn set_friction(&mut self, friction: Float) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn world_to_local_vector(&self, v: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn world_to_local_point(&self, p: &Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_bounding_sphere(&self) -> BoundingSphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_bounding_sphere` is never used [INFO] [stdout] --> src/physics/shape.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ShapeType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build_bounding_sphere(&self, pos: &Isometry3) -> BoundingSphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `supporting_point_world` is never used [INFO] [stdout] --> src/physics/shape.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 60 | fn supporting_point(&self, dir: &UnitVector3, bias: Float) -> Point3; [INFO] [stdout] 61 | fn supporting_point_world( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove` and `get_mut` are never used [INFO] [stdout] --> src/physics/world.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PhysicsWorld { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, id: RigidBodyId) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_mut(&mut self, id: RigidBodyId) -> Option<&mut RigidBody> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expand` is never used [INFO] [stdout] --> src/physics/bvh.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait BoundingVolume: Clone + Copy + PartialEq { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 20 | fn intersect(&self, other: &Self) -> bool; [INFO] [stdout] 21 | fn expand(&self, p: &Point3) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_bounding_volume` is never used [INFO] [stdout] --> src/physics/bvh.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait BuildBoundingVolume { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 32 | fn build_bounding_volume(&self, position: &Isometry3) -> V; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_min_max` is never used [INFO] [stdout] --> src/physics/bvh/aabb.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AABB { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new_min_max(min: Point3, max: Point3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/physics/bvh/bounding_sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BoundingSphere { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(center: Point3, radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_sphere_sphere` is never used [INFO] [stdout] --> src/physics/intersect/intersect_sphere_sphere.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn intersect_sphere_sphere(s1: &Sphere, s2: &Sphere, pos_12: &Isometry3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointLightId` is never constructed [INFO] [stdout] --> src/renderer/light.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointLightId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_point_light`, `get_point_light`, and `get_point_light_mut` are never used [INFO] [stdout] --> src/renderer/light.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lights { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/light.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PointLight { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new(color: [Float; 3], radius: Float, point: Point3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `OPENGL_TO_WGPU_MATRIX`, `build_camera_matrix`, `build_projection_matrix`, `top_left_at_depth`, and `get_vertex_local` are never used [INFO] [stdout] --> src/renderer/camera.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | const OPENGL_TO_WGPU_MATRIX: Matrix4 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn build_camera_matrix(&self) -> Matrix4{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build_projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn top_left_at_depth(&self, d: Float) -> Point3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_vertex_local(&self, index: usize) -> Point3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_material`, `create_mesh`, `get_default_texture`, and `create_model` are never used [INFO] [stdout] --> src/renderer/resource.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ResourceManager{ [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn create_material(&self, desc: &MaterialDescriptor) -> Material{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn create_mesh(&self, desc: &MeshDescriptor) -> Mesh{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_default_texture(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn create_model<'a, 'b, 'c, T: Vertex>(&mut self, desc: &ModelDescriptor) -> Arc{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/renderer/scene.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn remove_entity(&mut self, index: EntityId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn iter_mut_entities(&mut self) -> ga::IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_entity(&self, index: EntityId) -> Option<&Entity> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_directional_light(&mut self, directional_light: DirectionalLight) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelDescriptor` is never constructed [INFO] [stdout] --> src/renderer/model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelDescriptor<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/model.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(device: &wgpu::Device, desc: &ModelDescriptor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_mesh` is never used [INFO] [stdout] --> src/renderer/model.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 45 | fn draw_mesh(&mut self, mesh: &'a Mesh, material: &'a Material); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `buffer`, and `texture` are never read [INFO] [stdout] --> src/renderer/model/material.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub texture: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshDescriptor` is never constructed [INFO] [stdout] --> src/renderer/model/mesh.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MeshDescriptor<'a, 'b, 'c, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/renderer/model/mesh.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_index_u16` are never used [INFO] [stdout] --> src/renderer/model/mesh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Mesh { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new<'a, 'b, 'c, T: Vertex>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn new_with_index_u16( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/renderer/entity.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/renderer/texture.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_point_lights` is never read [INFO] [stdout] --> src/renderer/render_pass.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RenderPass { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | max_point_lights: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CascadeShadowPass` is never constructed [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CascadeShadowPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadeShadowPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CascadedShadow` is never constructed [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CascadedShadow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadedShadow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `OVERLAP` and `new` are never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 20 | impl CascadedShadow { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | const OVERLAP: Float = 0.1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub fn new(camera: &Camera, light_direction: &Vector3, resolution: Float) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_cascade_size` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn calculate_cascade_size(camera: &Camera, zmin: Float, zmax: Float) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_min_max` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn calculate_min_max( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_cascade_position` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn calculate_cascade_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_point_lights` is never read [INFO] [stdout] --> src/renderer/render_pass/light_uniform_buffer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct LightUniformBuffer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub max_point_lights: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightUniformBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance` and `adapter` are never read [INFO] [stdout] --> src/renderer/device.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 50 | pub instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub adapter: wgpu::Adapter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceBuffers` is never constructed [INFO] [stdout] --> src/renderer/instance.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | struct InstanceBuffers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/instance.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl InstanceBuffers { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 130 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "af14c2b515ec0ceb7148e7de87c58568815a4626e2ddd87bc31acf7febb13eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af14c2b515ec0ceb7148e7de87c58568815a4626e2ddd87bc31acf7febb13eeb", kill_on_drop: false }` [INFO] [stdout] af14c2b515ec0ceb7148e7de87c58568815a4626e2ddd87bc31acf7febb13eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4378a505a9fdb9d7c4eb8d19d0f23f47cdc45e84657a00bc45359d4101001974 [INFO] running `Command { std: "docker" "start" "-a" "4378a505a9fdb9d7c4eb8d19d0f23f47cdc45e84657a00bc45359d4101001974", kill_on_drop: false }` [INFO] [stderr] Compiling yt-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WindowBuilder` [INFO] [stdout] --> src/game.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | window::{Window, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowBuilder` [INFO] [stdout] --> src/game.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | window::{Window, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::intersect_sphere_sphere::*` [INFO] [stdout] --> src/physics/intersect.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::intersect_sphere_sphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Cursor` [INFO] [stdout] --> src/renderer/resource.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/renderer/resource.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::intersect_sphere_sphere::*` [INFO] [stdout] --> src/physics/intersect.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::intersect_sphere_sphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::device::Device` [INFO] [stdout] --> src/renderer/texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::device::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `Cursor` [INFO] [stdout] --> src/renderer/resource.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `device::*` and `instance::*` [INFO] [stdout] --> src/renderer.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | texture::*, render_pass::*, device::*, instance::* [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/renderer/resource.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::device::Device` [INFO] [stdout] --> src/renderer/texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::device::Device; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `device::*` and `instance::*` [INFO] [stdout] --> src/renderer.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | texture::*, render_pass::*, device::*, instance::* [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/physics/shape.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/physics/shape.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 28 | (Self::Sphere(s1), Self::Sphere(s2)) => contact_sphere_sphere(s1, s2, pos12), [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] 29 | (Self::Sphere(s), Self::Cube(c)) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 33 | (Self::Cube(c), Self::Sphere(s)) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | (Self::Cube(c1), Self::Cube(c2)) => contact_cube_cube(c1, c2, pos12), [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 38 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer/camera.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut z = self.near; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/renderer/resource.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/renderer/resource.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `zmax` is assigned to, but never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut zmax = FLOAT_MIN; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_zmax` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zmax` is never read [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | zmax = xmax.max(transformed.z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pose` is never constructed [INFO] [stdout] --> src/game.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum State{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 36 | Active, [INFO] [stdout] 37 | Pose, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/game/world.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up` and `Down` are never constructed [INFO] [stdout] --> src/input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ElementState { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 10 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputManager` is never constructed [INFO] [stdout] --> src/input.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InputManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl InputManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | /// Create input manager [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn key_is_up(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn key_is_down(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn key_is_pressed(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn key_is_released(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn button_is_up(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn button_is_down(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn button_is_pressed(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn button_is_released(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_scroll(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mouse_move(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Keycode` is never used [INFO] [stdout] --> src/input/keyboard_input.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Keycode = event::VirtualKeyCode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KeyboardInputManager` is never constructed [INFO] [stdout] --> src/input/keyboard_input.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct KeyboardInputManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyboardInputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input/keyboard_input.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 13 | impl KeyboardInputManager { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 14 | /// Number of keys. [INFO] [stdout] 15 | const NUM_KEYS: usize = 256; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | /// Create manager with all keys up [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_down(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_up(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_pressed(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_released(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn update(&mut self, virtual_keycode: event::VirtualKeyCode, state: event::ElementState) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MouseInputManager` is never constructed [INFO] [stdout] --> src/input/mouse_input.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MouseInputManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseInputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input/mouse_input.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl MouseInputManager { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 13 | const NUM_MOUSE_BUTTONS: usize = 52; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | /// Create default manager [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_scroll(&self) -> (Float, Float) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_move(&self) -> (Float, Float) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_down(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_up(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_pressed(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_released(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn process_input(&mut self, event: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/math.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const E: Float = std::f32::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_MIN` is never used [INFO] [stdout] --> src/math.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const FLOAT_MIN: Float = f32::MIN; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_MIN_POSITIVE` is never used [INFO] [stdout] --> src/math.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const FLOAT_MIN_POSITIVE: Float = f32::MIN_POSITIVE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> src/math.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Isometry2` is never used [INFO] [stdout] --> src/math.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Isometry2 = na::Isometry2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector2` is never used [INFO] [stdout] --> src/math.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Vector2 = na::Vector2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector4` is never used [INFO] [stdout] --> src/math.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Vector4 = na::Vector4; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnitVector2` is never used [INFO] [stdout] --> src/math.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type UnitVector2 = na::UnitVector2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnitVector4` is never used [INFO] [stdout] --> src/math.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type UnitVector4 = na::UnitVector4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix2` is never used [INFO] [stdout] --> src/math.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type Matrix2 = na::Matrix2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Translation2` is never used [INFO] [stdout] --> src/math.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Translation2 = na::Translation2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rotation2` is never used [INFO] [stdout] --> src/math.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type Rotation2 = na::Rotation2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rotation3` is never used [INFO] [stdout] --> src/math.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Rotation3 = na::Rotation3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Quaternion` is never used [INFO] [stdout] --> src/math.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DualQuaternion` is never used [INFO] [stdout] --> src/math.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type DualQuaternion = na::DualQuaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Scale2` is never used [INFO] [stdout] --> src/math.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Scale2 = na::Scale2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_vector_on_axis` is never used [INFO] [stdout] --> src/math.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn project_vector_on_axis(v: &Vector3, axis: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/physics/rigid_body.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RigidBody { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn apply_force_point_local(&mut self, force: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn apply_force_point_world(&mut self, force: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn apply_impulse_point_local(&mut self, impulse: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn apply_force_local(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn apply_torque_world(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn apply_torque_local(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn apply_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_angular_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_inv_inertia_tensor_local(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_center_of_mass_local(&self) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn set_angular_velocity(&mut self, v: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn set_inv_mass(&mut self, inv_mass: Float) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn set_elasticity(&mut self, elasticity: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_damping(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn set_damping(&mut self, damping: Float) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_angular_damping(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_angular_damping(&mut self, damping: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn set_friction(&mut self, friction: Float) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn world_to_local_vector(&self, v: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn world_to_local_point(&self, p: &Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_bounding_sphere(&self) -> BoundingSphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_bounding_sphere` is never used [INFO] [stdout] --> src/physics/shape.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ShapeType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build_bounding_sphere(&self, pos: &Isometry3) -> BoundingSphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `supporting_point_world` is never used [INFO] [stdout] --> src/physics/shape.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 60 | fn supporting_point(&self, dir: &UnitVector3, bias: Float) -> Point3; [INFO] [stdout] 61 | fn supporting_point_world( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove` and `get_mut` are never used [INFO] [stdout] --> src/physics/world.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PhysicsWorld { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, id: RigidBodyId) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_mut(&mut self, id: RigidBodyId) -> Option<&mut RigidBody> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expand` is never used [INFO] [stdout] --> src/physics/bvh.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait BoundingVolume: Clone + Copy + PartialEq { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 20 | fn intersect(&self, other: &Self) -> bool; [INFO] [stdout] 21 | fn expand(&self, p: &Point3) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_bounding_volume` is never used [INFO] [stdout] --> src/physics/bvh.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait BuildBoundingVolume { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 32 | fn build_bounding_volume(&self, position: &Isometry3) -> V; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_min_max` is never used [INFO] [stdout] --> src/physics/bvh/aabb.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AABB { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new_min_max(min: Point3, max: Point3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/physics/bvh/bounding_sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BoundingSphere { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(center: Point3, radius: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_sphere_sphere` is never used [INFO] [stdout] --> src/physics/intersect/intersect_sphere_sphere.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn intersect_sphere_sphere(s1: &Sphere, s2: &Sphere, pos_12: &Isometry3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointLightId` is never constructed [INFO] [stdout] --> src/renderer/light.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointLightId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_point_light`, `get_point_light`, and `get_point_light_mut` are never used [INFO] [stdout] --> src/renderer/light.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lights { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/light.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PointLight { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new(color: [Float; 3], radius: Float, point: Point3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `OPENGL_TO_WGPU_MATRIX`, `build_camera_matrix`, `build_projection_matrix`, `top_left_at_depth`, and `get_vertex_local` are never used [INFO] [stdout] --> src/renderer/camera.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | const OPENGL_TO_WGPU_MATRIX: Matrix4 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn build_camera_matrix(&self) -> Matrix4{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build_projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn top_left_at_depth(&self, d: Float) -> Point3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_vertex_local(&self, index: usize) -> Point3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_material`, `create_mesh`, `get_default_texture`, and `create_model` are never used [INFO] [stdout] --> src/renderer/resource.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ResourceManager{ [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn create_material(&self, desc: &MaterialDescriptor) -> Material{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn create_mesh(&self, desc: &MeshDescriptor) -> Mesh{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_default_texture(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn create_model<'a, 'b, 'c, T: Vertex>(&mut self, desc: &ModelDescriptor) -> Arc{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/renderer/scene.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn remove_entity(&mut self, index: EntityId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn iter_mut_entities(&mut self) -> ga::IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_entity(&self, index: EntityId) -> Option<&Entity> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_directional_light(&mut self, directional_light: DirectionalLight) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelDescriptor` is never constructed [INFO] [stdout] --> src/renderer/model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelDescriptor<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/model.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(device: &wgpu::Device, desc: &ModelDescriptor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_mesh` is never used [INFO] [stdout] --> src/renderer/model.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 45 | fn draw_mesh(&mut self, mesh: &'a Mesh, material: &'a Material); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `buffer`, and `texture` are never read [INFO] [stdout] --> src/renderer/model/material.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub texture: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshDescriptor` is never constructed [INFO] [stdout] --> src/renderer/model/mesh.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MeshDescriptor<'a, 'b, 'c, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/renderer/model/mesh.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_index_u16` are never used [INFO] [stdout] --> src/renderer/model/mesh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Mesh { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new<'a, 'b, 'c, T: Vertex>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn new_with_index_u16( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/renderer/entity.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/renderer/texture.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_point_lights` is never read [INFO] [stdout] --> src/renderer/render_pass.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RenderPass { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | max_point_lights: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CascadeShadowPass` is never constructed [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CascadeShadowPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadeShadowPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CascadedShadow` is never constructed [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CascadedShadow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadedShadow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `OVERLAP` and `new` are never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 20 | impl CascadedShadow { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | const OVERLAP: Float = 0.1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub fn new(camera: &Camera, light_direction: &Vector3, resolution: Float) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_cascade_size` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn calculate_cascade_size(camera: &Camera, zmin: Float, zmax: Float) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_min_max` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn calculate_min_max( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_cascade_position` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn calculate_cascade_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_point_lights` is never read [INFO] [stdout] --> src/renderer/render_pass/light_uniform_buffer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct LightUniformBuffer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub max_point_lights: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightUniformBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance` and `adapter` are never read [INFO] [stdout] --> src/renderer/device.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 50 | pub instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub adapter: wgpu::Adapter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceBuffers` is never constructed [INFO] [stdout] --> src/renderer/instance.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | struct InstanceBuffers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/instance.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl InstanceBuffers { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 130 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/physics/shape.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/physics/shape.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 28 | (Self::Sphere(s1), Self::Sphere(s2)) => contact_sphere_sphere(s1, s2, pos12), [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] 29 | (Self::Sphere(s), Self::Cube(c)) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 33 | (Self::Cube(c), Self::Sphere(s)) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | (Self::Cube(c1), Self::Cube(c2)) => contact_cube_cube(c1, c2, pos12), [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] 38 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf2_id` [INFO] [stdout] --> src/physics/bvh.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let leaf2_id = bvh.insert( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf2_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leaf1_id` [INFO] [stdout] --> src/physics/bvh.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let leaf1_id = bvh.insert( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf1_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer/camera.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut z = self.near; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/renderer/resource.rs:30:95 [INFO] [stdout] | [INFO] [stdout] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/renderer/resource.rs:30:98 [INFO] [stdout] | [INFO] [stdout] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `zmax` is assigned to, but never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut zmax = FLOAT_MIN; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_zmax` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `zmax` is never read [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | zmax = xmax.max(transformed.z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pose` is never constructed [INFO] [stdout] --> src/game.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum State{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 36 | Active, [INFO] [stdout] 37 | Pose, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/game/world.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InputManager` is never constructed [INFO] [stdout] --> src/input.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InputManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl InputManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | /// Create input manager [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn begin_frame(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn key_is_up(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn key_is_down(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn key_is_pressed(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn key_is_released(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn button_is_up(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn button_is_down(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn button_is_pressed(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn button_is_released(&self, button: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_scroll(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_mouse_move(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `process_input`, `is_down`, and `is_up` are never used [INFO] [stdout] --> src/input/keyboard_input.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl KeyboardInputManager { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_down(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_up(&self, keycode: Keycode) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_scroll`, `get_move`, `is_down`, and `is_up` are never used [INFO] [stdout] --> src/input/mouse_input.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MouseInputManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_scroll(&self) -> (Float, Float) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_move(&self) -> (Float, Float) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn is_down(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_up(&self, id: usize) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/math.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const E: Float = std::f32::consts::E; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_MIN` is never used [INFO] [stdout] --> src/math.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const FLOAT_MIN: Float = f32::MIN; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLOAT_MIN_POSITIVE` is never used [INFO] [stdout] --> src/math.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const FLOAT_MIN_POSITIVE: Float = f32::MIN_POSITIVE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> src/math.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Isometry2` is never used [INFO] [stdout] --> src/math.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Isometry2 = na::Isometry2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector2` is never used [INFO] [stdout] --> src/math.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Vector2 = na::Vector2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector4` is never used [INFO] [stdout] --> src/math.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Vector4 = na::Vector4; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnitVector2` is never used [INFO] [stdout] --> src/math.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub type UnitVector2 = na::UnitVector2; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UnitVector4` is never used [INFO] [stdout] --> src/math.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type UnitVector4 = na::UnitVector4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix2` is never used [INFO] [stdout] --> src/math.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | pub type Matrix2 = na::Matrix2; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Translation2` is never used [INFO] [stdout] --> src/math.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Translation2 = na::Translation2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rotation2` is never used [INFO] [stdout] --> src/math.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type Rotation2 = na::Rotation2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rotation3` is never used [INFO] [stdout] --> src/math.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub type Rotation3 = na::Rotation3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Quaternion` is never used [INFO] [stdout] --> src/math.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub type Quaternion = na::Quaternion; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DualQuaternion` is never used [INFO] [stdout] --> src/math.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub type DualQuaternion = na::DualQuaternion; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Scale2` is never used [INFO] [stdout] --> src/math.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Scale2 = na::Scale2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_vector_on_axis` is never used [INFO] [stdout] --> src/math.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn project_vector_on_axis(v: &Vector3, axis: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/physics/rigid_body.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RigidBody { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn apply_force_point_local(&mut self, force: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn apply_force_point_world(&mut self, force: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn apply_impulse_point_local(&mut self, impulse: &Vector3, point: &Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn apply_force_local(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn apply_torque_world(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn apply_torque_local(&mut self, force: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn apply_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn apply_angular_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_inv_inertia_tensor_local(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn get_center_of_mass_local(&self) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn set_angular_velocity(&mut self, v: &Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn set_inv_mass(&mut self, inv_mass: Float) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn set_elasticity(&mut self, elasticity: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn get_damping(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn set_damping(&mut self, damping: Float) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn get_angular_damping(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_angular_damping(&mut self, damping: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn set_friction(&mut self, friction: Float) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn world_to_local_vector(&self, v: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn world_to_local_point(&self, p: &Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_bounding_sphere(&self) -> BoundingSphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_bounding_sphere` is never used [INFO] [stdout] --> src/physics/shape.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ShapeType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build_bounding_sphere(&self, pos: &Isometry3) -> BoundingSphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `supporting_point_world` is never used [INFO] [stdout] --> src/physics/shape.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Shape { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 60 | fn supporting_point(&self, dir: &UnitVector3, bias: Float) -> Point3; [INFO] [stdout] 61 | fn supporting_point_world( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove` and `get_mut` are never used [INFO] [stdout] --> src/physics/world.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl PhysicsWorld { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove(&mut self, id: RigidBodyId) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_mut(&mut self, id: RigidBodyId) -> Option<&mut RigidBody> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_bounding_volume` is never used [INFO] [stdout] --> src/physics/bvh.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait BuildBoundingVolume { [INFO] [stdout] | ------------------- method in this trait [INFO] [stdout] 32 | fn build_bounding_volume(&self, position: &Isometry3) -> V; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect_sphere_sphere` is never used [INFO] [stdout] --> src/physics/intersect/intersect_sphere_sphere.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn intersect_sphere_sphere(s1: &Sphere, s2: &Sphere, pos_12: &Isometry3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointLightId` is never constructed [INFO] [stdout] --> src/renderer/light.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointLightId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_point_light`, `get_point_light`, and `get_point_light_mut` are never used [INFO] [stdout] --> src/renderer/light.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Lights { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/light.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PointLight { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new(color: [Float; 3], radius: Float, point: Point3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `OPENGL_TO_WGPU_MATRIX`, `build_camera_matrix`, and `build_projection_matrix` are never used [INFO] [stdout] --> src/renderer/camera.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 12 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | const OPENGL_TO_WGPU_MATRIX: Matrix4 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn build_camera_matrix(&self) -> Matrix4{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build_projection_matrix(&self) -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_material`, `create_mesh`, `get_default_texture`, and `create_model` are never used [INFO] [stdout] --> src/renderer/resource.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ResourceManager{ [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn create_material(&self, desc: &MaterialDescriptor) -> Material{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn create_mesh(&self, desc: &MeshDescriptor) -> Mesh{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_default_texture(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn create_model<'a, 'b, 'c, T: Vertex>(&mut self, desc: &ModelDescriptor) -> Arc{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/renderer/scene.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn remove_entity(&mut self, index: EntityId) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn iter_mut_entities(&mut self) -> ga::IterMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_entity(&self, index: EntityId) -> Option<&Entity> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_directional_light(&mut self, directional_light: DirectionalLight) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelDescriptor` is never constructed [INFO] [stdout] --> src/renderer/model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ModelDescriptor<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/model.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(device: &wgpu::Device, desc: &ModelDescriptor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_mesh` is never used [INFO] [stdout] --> src/renderer/model.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 45 | fn draw_mesh(&mut self, mesh: &'a Mesh, material: &'a Material); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `buffer`, and `texture` are never read [INFO] [stdout] --> src/renderer/model/material.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | pub texture: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshDescriptor` is never constructed [INFO] [stdout] --> src/renderer/model/mesh.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MeshDescriptor<'a, 'b, 'c, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/renderer/model/mesh.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_index_u16` are never used [INFO] [stdout] --> src/renderer/model/mesh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Mesh { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new<'a, 'b, 'c, T: Vertex>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn new_with_index_u16( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/renderer/entity.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/renderer/texture.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Texture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_point_lights` is never read [INFO] [stdout] --> src/renderer/render_pass.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RenderPass { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | max_point_lights: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CascadeShadowPass` is never constructed [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CascadeShadowPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadeShadowPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CascadedShadow` is never constructed [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CascadedShadow { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadedShadow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `OVERLAP` and `new` are never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 20 | impl CascadedShadow { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | const OVERLAP: Float = 0.1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub fn new(camera: &Camera, light_direction: &Vector3, resolution: Float) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_cascade_size` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn calculate_cascade_size(camera: &Camera, zmin: Float, zmax: Float) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_min_max` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn calculate_min_max( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_cascade_position` is never used [INFO] [stdout] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn calculate_cascade_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_point_lights` is never read [INFO] [stdout] --> src/renderer/render_pass/light_uniform_buffer.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct LightUniformBuffer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 70 | pub max_point_lights: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LightUniformBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance` and `adapter` are never read [INFO] [stdout] --> src/renderer/device.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Device { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 50 | pub instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | pub adapter: wgpu::Adapter, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceBuffers` is never constructed [INFO] [stdout] --> src/renderer/instance.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | struct InstanceBuffers { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer/instance.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl InstanceBuffers { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 130 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4378a505a9fdb9d7c4eb8d19d0f23f47cdc45e84657a00bc45359d4101001974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4378a505a9fdb9d7c4eb8d19d0f23f47cdc45e84657a00bc45359d4101001974", kill_on_drop: false }` [INFO] [stdout] 4378a505a9fdb9d7c4eb8d19d0f23f47cdc45e84657a00bc45359d4101001974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2109b1b68defece18cd8d628191b762ecf372da46433dc650b5f155808715221 [INFO] running `Command { std: "docker" "start" "-a" "2109b1b68defece18cd8d628191b762ecf372da46433dc650b5f155808715221", kill_on_drop: false }` [INFO] [stderr] Compiling yt-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `WindowBuilder` [INFO] [stderr] --> src/game.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | window::{Window, WindowBuilder}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::intersect_sphere_sphere::*` [INFO] [stderr] --> src/physics/intersect.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use self::intersect_sphere_sphere::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufReader` and `Cursor` [INFO] [stderr] --> src/renderer/resource.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{BufReader, Cursor}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stderr] --> src/renderer/resource.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use wgpu::util::DeviceExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::device::Device` [INFO] [stderr] --> src/renderer/texture.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use super::device::Device; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `device::*` and `instance::*` [INFO] [stderr] --> src/renderer.rs:22:33 [INFO] [stderr] | [INFO] [stderr] 22 | texture::*, render_pass::*, device::*, instance::* [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/physics/shape.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/physics/shape.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 28 | (Self::Sphere(s1), Self::Sphere(s2)) => contact_sphere_sphere(s1, s2, pos12), [INFO] [stderr] | ------------------------------------ matches some of the same values [INFO] [stderr] 29 | (Self::Sphere(s), Self::Cube(c)) => { [INFO] [stderr] | -------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 33 | (Self::Cube(c), Self::Sphere(s)) => { [INFO] [stderr] | -------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 37 | (Self::Cube(c1), Self::Cube(c2)) => contact_cube_cube(c1, c2, pos12), [INFO] [stderr] | -------------------------------- matches some of the same values [INFO] [stderr] 38 | _ => { [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/renderer/camera.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | let mut z = self.near; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/renderer/resource.rs:30:95 [INFO] [stderr] | [INFO] [stderr] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/renderer/resource.rs:30:98 [INFO] [stderr] | [INFO] [stderr] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leaf2_id` [INFO] [stderr] --> src/physics/bvh.rs:475:13 [INFO] [stderr] | [INFO] [stderr] 475 | let leaf2_id = bvh.insert( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf2_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `leaf1_id` [INFO] [stderr] --> src/physics/bvh.rs:516:13 [INFO] [stderr] | [INFO] [stderr] 516 | let leaf1_id = bvh.insert( [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leaf1_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/renderer/resource.rs:30:95 [INFO] [stderr] | [INFO] [stderr] 30 | image::RgbaImage::from_fn(Self::DEFAULT_TEXUTER_WIDTH, Self::DEFAULT_TEXUTER_HEIGHT, |x, y| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: variable `zmax` is assigned to, but never used [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:187:13 [INFO] [stderr] | [INFO] [stderr] 187 | let mut zmax = FLOAT_MIN; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_zmax` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `zmax` is never read [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | zmax = xmax.max(transformed.z); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Pose` is never constructed [INFO] [stderr] --> src/game.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 35 | enum State{ [INFO] [stderr] | ----- variant in this enum [INFO] [stderr] 36 | Active, [INFO] [stderr] 37 | Pose, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `World` is never constructed [INFO] [stderr] --> src/game/world.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | struct World { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Up` and `Down` are never constructed [INFO] [stderr] --> src/input.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum ElementState { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 10 | Up, [INFO] [stderr] | ^^ [INFO] [stderr] 11 | Down, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ElementState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `InputManager` is never constructed [INFO] [stderr] --> src/input.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct InputManager { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/input.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl InputManager { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 20 | /// Create input manager [INFO] [stderr] 21 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn begin_frame(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn key_is_up(&self, key: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn key_is_down(&self, key: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn key_is_pressed(&self, key: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn key_is_released(&self, key: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn button_is_up(&self, button: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn button_is_down(&self, button: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn button_is_pressed(&self, button: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn button_is_released(&self, button: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn get_scroll(&self) -> (f32, f32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn get_mouse_move(&self) -> (f32, f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Keycode` is never used [INFO] [stderr] --> src/input/keyboard_input.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | pub type Keycode = event::VirtualKeyCode; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `KeyboardInputManager` is never constructed [INFO] [stderr] --> src/input/keyboard_input.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct KeyboardInputManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `KeyboardInputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/input/keyboard_input.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 13 | impl KeyboardInputManager { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 14 | /// Number of keys. [INFO] [stderr] 15 | const NUM_KEYS: usize = 256; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 16 | /// Create manager with all keys up [INFO] [stderr] 17 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn begin_frame(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn is_down(&self, keycode: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn is_up(&self, keycode: Keycode) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn is_pressed(&self, keycode: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn is_released(&self, keycode: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn update(&mut self, virtual_keycode: event::VirtualKeyCode, state: event::ElementState) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MouseInputManager` is never constructed [INFO] [stderr] --> src/input/mouse_input.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct MouseInputManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MouseInputManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/input/mouse_input.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 12 | impl MouseInputManager { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 13 | const NUM_MOUSE_BUTTONS: usize = 52; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 14 | /// Create default manager [INFO] [stderr] 15 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn get_scroll(&self) -> (Float, Float) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn get_move(&self) -> (Float, Float) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn begin_frame(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn is_down(&self, id: usize) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn is_up(&self, id: usize) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn is_pressed(&self, id: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn is_released(&self, id: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn process_input(&mut self, event: &winit::event::DeviceEvent) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `E` is never used [INFO] [stderr] --> src/math.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const E: Float = std::f32::consts::E; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: constant `FLOAT_MIN` is never used [INFO] [stderr] --> src/math.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const FLOAT_MIN: Float = f32::MIN; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FLOAT_MIN_POSITIVE` is never used [INFO] [stderr] --> src/math.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const FLOAT_MIN_POSITIVE: Float = f32::MIN_POSITIVE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Point2` is never used [INFO] [stderr] --> src/math.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub type Point2 = na::Point2; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Isometry2` is never used [INFO] [stderr] --> src/math.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | pub type Isometry2 = na::Isometry2; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Vector2` is never used [INFO] [stderr] --> src/math.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | pub type Vector2 = na::Vector2; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Vector4` is never used [INFO] [stderr] --> src/math.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | pub type Vector4 = na::Vector4; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `UnitVector2` is never used [INFO] [stderr] --> src/math.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | pub type UnitVector2 = na::UnitVector2; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `UnitVector4` is never used [INFO] [stderr] --> src/math.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | pub type UnitVector4 = na::UnitVector4; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Matrix2` is never used [INFO] [stderr] --> src/math.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | pub type Matrix2 = na::Matrix2; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Translation2` is never used [INFO] [stderr] --> src/math.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | pub type Translation2 = na::Translation2; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Rotation2` is never used [INFO] [stderr] --> src/math.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | pub type Rotation2 = na::Rotation2; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Rotation3` is never used [INFO] [stderr] --> src/math.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | pub type Rotation3 = na::Rotation3; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Quaternion` is never used [INFO] [stderr] --> src/math.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | pub type Quaternion = na::Quaternion; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `DualQuaternion` is never used [INFO] [stderr] --> src/math.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | pub type DualQuaternion = na::DualQuaternion; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Scale2` is never used [INFO] [stderr] --> src/math.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | pub type Scale2 = na::Scale2; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `project_vector_on_axis` is never used [INFO] [stderr] --> src/math.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn project_vector_on_axis(v: &Vector3, axis: &Vector3) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/physics/rigid_body.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl RigidBody { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn apply_force_point_local(&mut self, force: &Vector3, point: &Point3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn apply_force_point_world(&mut self, force: &Vector3, point: &Point3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn apply_impulse_point_local(&mut self, impulse: &Vector3, point: &Point3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn apply_force_local(&mut self, force: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn apply_torque_world(&mut self, force: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn apply_torque_local(&mut self, force: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn apply_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn apply_angular_impulse_local(&mut self, impulse: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn get_inv_inertia_tensor_local(&self) -> Matrix3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn get_center_of_mass_local(&self) -> Point3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 162 | pub fn set_angular_velocity(&mut self, v: &Vector3) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | pub fn set_inv_mass(&mut self, inv_mass: Float) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 184 | pub fn set_elasticity(&mut self, elasticity: Float) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 188 | pub fn get_damping(&self) -> Float { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 192 | pub fn set_damping(&mut self, damping: Float) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 196 | pub fn get_angular_damping(&self) -> Float { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 200 | pub fn set_angular_damping(&mut self, damping: Float) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | pub fn set_friction(&mut self, friction: Float) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | pub fn world_to_local_vector(&self, v: &Vector3) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 218 | pub fn world_to_local_point(&self, p: &Point3) -> Point3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 233 | pub fn get_bounding_sphere(&self) -> BoundingSphere { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `build_bounding_sphere` is never used [INFO] [stderr] --> src/physics/shape.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl ShapeType { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn build_bounding_sphere(&self, pos: &Isometry3) -> BoundingSphere { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `supporting_point_world` is never used [INFO] [stderr] --> src/physics/shape.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub trait Shape { [INFO] [stderr] | ----- method in this trait [INFO] [stderr] 60 | fn supporting_point(&self, dir: &UnitVector3, bias: Float) -> Point3; [INFO] [stderr] 61 | fn supporting_point_world( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `remove` and `get_mut` are never used [INFO] [stderr] --> src/physics/world.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl PhysicsWorld { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn remove(&mut self, id: RigidBodyId) -> Option { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn get_mut(&mut self, id: RigidBodyId) -> Option<&mut RigidBody> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `expand` is never used [INFO] [stderr] --> src/physics/bvh.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub trait BoundingVolume: Clone + Copy + PartialEq { [INFO] [stderr] | -------------- method in this trait [INFO] [stderr] 20 | fn intersect(&self, other: &Self) -> bool; [INFO] [stderr] 21 | fn expand(&self, p: &Point3) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `build_bounding_volume` is never used [INFO] [stderr] --> src/physics/bvh.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub trait BuildBoundingVolume { [INFO] [stderr] | ------------------- method in this trait [INFO] [stderr] 32 | fn build_bounding_volume(&self, position: &Isometry3) -> V; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_min_max` is never used [INFO] [stderr] --> src/physics/bvh/aabb.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl AABB { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn new_min_max(min: Point3, max: Point3) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/physics/bvh/bounding_sphere.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl BoundingSphere { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(center: Point3, radius: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `intersect_sphere_sphere` is never used [INFO] [stderr] --> src/physics/intersect/intersect_sphere_sphere.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn intersect_sphere_sphere(s1: &Sphere, s2: &Sphere, pos_12: &Isometry3) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PointLightId` is never constructed [INFO] [stderr] --> src/renderer/light.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct PointLightId { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PointLightId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `insert_point_light`, `get_point_light`, and `get_point_light_mut` are never used [INFO] [stderr] --> src/renderer/light.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Lights { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 31 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/renderer/light.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 75 | impl PointLight { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 76 | pub fn new(color: [Float; 3], radius: Float, point: Point3) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `OPENGL_TO_WGPU_MATRIX`, `build_camera_matrix`, `build_projection_matrix`, `top_left_at_depth`, and `get_vertex_local` are never used [INFO] [stderr] --> src/renderer/camera.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 12 | impl Camera { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 15 | const OPENGL_TO_WGPU_MATRIX: Matrix4 = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn build_camera_matrix(&self) -> Matrix4{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn build_projection_matrix(&self) -> Matrix4 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn top_left_at_depth(&self, d: Float) -> Point3{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn get_vertex_local(&self, index: usize) -> Point3{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `create_material`, `create_mesh`, `get_default_texture`, and `create_model` are never used [INFO] [stderr] --> src/renderer/resource.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl ResourceManager{ [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn create_material(&self, desc: &MaterialDescriptor) -> Material{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn create_mesh(&self, desc: &MeshDescriptor) -> Mesh{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn get_default_texture(&self) -> Arc { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn create_model<'a, 'b, 'c, T: Vertex>(&mut self, desc: &ModelDescriptor) -> Arc{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/renderer/scene.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Scene { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn remove_entity(&mut self, index: EntityId) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn iter_mut_entities(&mut self) -> ga::IterMut { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn get_entity(&self, index: EntityId) -> Option<&Entity> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn set_directional_light(&mut self, directional_light: DirectionalLight) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 80 | pub fn insert_point_light(&mut self, p: PointLight) -> PointLightId { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn get_point_light(&self, id: PointLightId) -> Option<&PointLight> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub fn get_point_light_mut(&mut self, id: PointLightId) -> Option<&mut PointLight> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ModelDescriptor` is never constructed [INFO] [stderr] --> src/renderer/model.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct ModelDescriptor<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i, T> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ModelDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/renderer/model.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Model { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 24 | pub fn new(device: &wgpu::Device, desc: &ModelDescriptor) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `draw_mesh` is never used [INFO] [stderr] --> src/renderer/model.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub trait DrawModel<'a> { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 45 | fn draw_mesh(&mut self, mesh: &'a Mesh, material: &'a Material); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `buffer`, and `texture` are never read [INFO] [stderr] --> src/renderer/model/material.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 26 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | pub buffer: wgpu::Buffer, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 28 | pub texture: Arc, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `MeshDescriptor` is never constructed [INFO] [stderr] --> src/renderer/model/mesh.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct MeshDescriptor<'a, 'b, 'c, T> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MeshDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/renderer/model/mesh.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Mesh { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 12 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_with_index_u16` are never used [INFO] [stderr] --> src/renderer/model/mesh.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Mesh { [INFO] [stderr] | --------- associated functions in this implementation [INFO] [stderr] 21 | pub fn new<'a, 'b, 'c, T: Vertex>( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn new_with_index_u16( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/renderer/entity.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Entity { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 7 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `texture` is never read [INFO] [stderr] --> src/renderer/texture.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Texture { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 7 | pub texture: wgpu::Texture, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Texture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `max_point_lights` is never read [INFO] [stderr] --> src/renderer/render_pass.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct RenderPass { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | max_point_lights: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RenderPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `CascadeShadowPass` is never constructed [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CascadeShadowPass { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CascadeShadowPass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `CascadedShadow` is never constructed [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct CascadedShadow { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CascadedShadow` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `OVERLAP` and `new` are never used [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 20 | impl CascadedShadow { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 21 | const OVERLAP: Float = 0.1; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | pub fn new(camera: &Camera, light_direction: &Vector3, resolution: Float) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_cascade_size` is never used [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:114:4 [INFO] [stderr] | [INFO] [stderr] 114 | fn calculate_cascade_size(camera: &Camera, zmin: Float, zmax: Float) -> Float { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_min_max` is never used [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:122:4 [INFO] [stderr] | [INFO] [stderr] 122 | fn calculate_min_max( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_cascade_position` is never used [INFO] [stderr] --> src/renderer/render_pass/shadow/cascaded_shadow.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn calculate_cascade_position( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `max_point_lights` is never read [INFO] [stderr] --> src/renderer/render_pass/light_uniform_buffer.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct LightUniformBuffer { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 70 | pub max_point_lights: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LightUniformBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `instance` and `adapter` are never read [INFO] [stderr] --> src/renderer/device.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct Device { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 50 | pub instance: wgpu::Instance, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 51 | pub adapter: wgpu::Adapter, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `InstanceBuffers` is never constructed [INFO] [stderr] --> src/renderer/instance.rs:122:8 [INFO] [stderr] | [INFO] [stderr] 122 | struct InstanceBuffers { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/renderer/instance.rs:130:12 [INFO] [stderr] | [INFO] [stderr] 129 | impl InstanceBuffers { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 130 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `process_input`, `is_down`, and `is_up` are never used [INFO] [stderr] --> src/input/keyboard_input.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl KeyboardInputManager { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn process_input(&mut self, input: &winit::event::DeviceEvent) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn is_down(&self, keycode: Keycode) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn is_up(&self, keycode: Keycode) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_scroll`, `get_move`, `is_down`, and `is_up` are never used [INFO] [stderr] --> src/input/mouse_input.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl MouseInputManager { [INFO] [stderr] | ---------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn get_scroll(&self) -> (Float, Float) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn get_move(&self) -> (Float, Float) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn is_down(&self, id: usize) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn is_up(&self, id: usize) -> bool { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `OPENGL_TO_WGPU_MATRIX`, `build_camera_matrix`, and `build_projection_matrix` are never used [INFO] [stderr] --> src/renderer/camera.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 12 | impl Camera { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 15 | const OPENGL_TO_WGPU_MATRIX: Matrix4 = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn build_camera_matrix(&self) -> Matrix4{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn build_projection_matrix(&self) -> Matrix4 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yt-game` (lib test) generated 69 warnings (63 duplicates) [INFO] [stderr] warning: `yt-game` (lib) generated 74 warnings (run `cargo fix --lib -p yt-game` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yt_game-090f5b203ce00e73) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test input::keyboard_input::test::keyboard_input_test ... ok [INFO] [stdout] test input::mouse_input::test::mouse_input_test ... ok [INFO] [stdout] test physics::bvh::aabb::test::test_aabb_intersect ... ok [INFO] [stdout] test physics::bvh::aabb::test::test_aabb_merge ... ok [INFO] [stdout] test physics::bvh::bounding_sphere::test::test_sphere_expand ... ok [INFO] [stdout] test physics::bvh::bounding_sphere::test::test_sphere_merge ... ok [INFO] [stdout] test physics::bvh::bounding_sphere::test::test_sphere_intersect ... ok [INFO] [stdout] test physics::bvh::aabb::test::test_aabb_expand ... ok [INFO] [stdout] test physics::bvh::test::test_bvh ... ok [INFO] [stdout] test physics::contact::contact_sphere_sphere::test::test_contact_sphere_sphere ... ok [INFO] [stdout] test renderer::camera::test::camera_vertex_test ... ok [INFO] [stdout] test physics::bvh::test::test_bvh_insert ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- physics::bvh::test::test_bvh_insert stdout ---- [INFO] [stdout] thread 'physics::bvh::test::test_bvh_insert' panicked at src/physics/bvh.rs:463:13: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Some((2, 3)) [INFO] [stdout] right: None [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x642b55f7333a - std::backtrace_rs::backtrace::libunwind::trace::hfe0e1def394da018 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x642b55f7333a - std::backtrace_rs::backtrace::trace_unsynchronized::h96fbb6d117554616 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x642b55f7333a - std::sys::backtrace::_print_fmt::he1169c6f8956325b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x642b55f7333a - ::fmt::ha4a311b32f6b4ad8 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x642b55f99853 - core::fmt::rt::Argument::fmt::h8ccd2627d2418ed3 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x642b55f99853 - core::fmt::write::h1866771663f62b81 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/fmt/mod.rs:1189:21 [INFO] [stdout] 6: 0x642b55f704d3 - std::io::Write::write_fmt::h2df399c9fb8c6039 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/io/mod.rs:1884:15 [INFO] [stdout] 7: 0x642b55f73182 - std::sys::backtrace::BacktraceLock::print::hddd3a9918ce29aa7 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x642b55f747bd - std::panicking::default_hook::{{closure}}::h791f75256b902d7d [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x642b55f745c7 - std::panicking::default_hook::h82cc572fcb0d8cd7 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x642b55f37637 - as core::ops::function::Fn>::call::h47f4385e5c05a6bc [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 11: 0x642b55f37637 - test::test_main::{{closure}}::h592b6187ee9bbe51 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x642b55f74e68 - as core::ops::function::Fn>::call::h80408f032954f187 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 13: 0x642b55f74e68 - std::panicking::rust_panic_with_hook::he21644cc2707f2c4 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x642b55f74c2a - std::panicking::begin_panic_handler::{{closure}}::h42f7c414fed3cad9 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x642b55f73819 - std::sys::backtrace::__rust_end_short_backtrace::ha26cf5766b4e8c65 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x642b55f748bc - rust_begin_unwind [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x642b55ee1aa0 - core::panicking::panic_fmt::h74866b78e934b1c0 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panicking.rs:76:14 [INFO] [stdout] 18: 0x642b55ee1e04 - core::panicking::assert_failed_inner::h096c85975a183618 [INFO] [stdout] 19: 0x642b55efbcba - core::panicking::assert_failed::h335a829427508584 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panicking.rs:373:5 [INFO] [stdout] 20: 0x642b55ee79f7 - yt_game::physics::bvh::test::test_bvh_insert::h8b57010773c3046a [INFO] [stdout] at /opt/rustwide/workdir/src/physics/bvh.rs:463:13 [INFO] [stdout] 21: 0x642b55ee6ec7 - yt_game::physics::bvh::test::test_bvh_insert::{{closure}}::h03b7f75ca0575da1 [INFO] [stdout] at /opt/rustwide/workdir/src/physics/bvh.rs:423:25 [INFO] [stdout] 22: 0x642b55efb5c6 - core::ops::function::FnOnce::call_once::h001034f631a40901 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x642b55f3c1eb - core::ops::function::FnOnce::call_once::h2f54be8ccda9ff77 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x642b55f3c1eb - test::__rust_begin_short_backtrace::h505f4667df5bf10c [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x642b55f3bb48 - test::run_test_in_process::{{closure}}::h5ed3028e6069c117 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x642b55f3bb48 - as core::ops::function::FnOnce<()>>::call_once::hbf705be6aea7c287 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x642b55f3bb48 - std::panicking::try::do_call::h555223a41631f02b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x642b55f3bb48 - std::panicking::try::he81e496d432108c4 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x642b55f3bb48 - std::panic::catch_unwind::hb2ff356e76867b52 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x642b55f3bb48 - test::run_test_in_process::h665bcd2e01d69f5b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x642b55f3bb48 - test::run_test::{{closure}}::ha58fbc9c79c6786d [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x642b55eff5ea - test::run_test::{{closure}}::h958602d5fcb1d647 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x642b55eff5ea - std::sys::backtrace::__rust_begin_short_backtrace::h7ca2fb16f64faa0f [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x642b55f02ea4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hebe77fbe87ddae61 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 35: 0x642b55f02ea4 - as core::ops::function::FnOnce<()>>::call_once::h5e26d6a69f85d1d6 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x642b55f02ea4 - std::panicking::try::do_call::h9787fac579f00884 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x642b55f02ea4 - std::panicking::try::h788012b555fbd7c5 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x642b55f02ea4 - std::panic::catch_unwind::hd194f26f99a98fb5 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x642b55f02ea4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h31c0dcba34ed449c [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 40: 0x642b55f02ea4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h60302d9c688101a6 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x642b55f78dab - as core::ops::function::FnOnce>::call_once::h9578f6ea1d4e1c4b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 42: 0x642b55f78dab - as core::ops::function::FnOnce>::call_once::hf4a2f438d8019348 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 43: 0x642b55f78dab - std::sys::pal::unix::thread::Thread::new::thread_start::h14f1eb868ff90fc9 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x763116c30ac3 - [INFO] [stdout] 45: 0x763116cc1a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] physics::bvh::test::test_bvh_insert [INFO] [stdout] [INFO] [stdout] test result: FAILED. 11 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "2109b1b68defece18cd8d628191b762ecf372da46433dc650b5f155808715221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2109b1b68defece18cd8d628191b762ecf372da46433dc650b5f155808715221", kill_on_drop: false }` [INFO] [stdout] 2109b1b68defece18cd8d628191b762ecf372da46433dc650b5f155808715221