[INFO] cloning repository https://github.com/ambrosia13/goldenrod
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ambrosia13/goldenrod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambrosia13%2Fgoldenrod", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambrosia13%2Fgoldenrod'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9aa7c76f449f8877dabe55f3c80135f93a26ac1c
[INFO] checking ambrosia13/goldenrod against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambrosia13%2Fgoldenrod" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ambrosia13/goldenrod
[INFO] finished tweaking git repo https://github.com/ambrosia13/goldenrod
[INFO] tweaked toml for git repo https://github.com/ambrosia13/goldenrod written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ambrosia13/goldenrod on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ambrosia13/goldenrod 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc
[INFO] running `Command { std: "docker" "start" "c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking libloading v0.8.5
[INFO] [stderr]    Compiling wayland-sys v0.31.5
[INFO] [stderr]    Compiling cc v1.1.30
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling wayland-client v0.31.6
[INFO] [stderr]    Compiling quick-xml v0.36.2
[INFO] [stderr]     Checking ttf-parser v0.25.0
[INFO] [stderr]    Compiling naga v22.1.0
[INFO] [stderr]     Checking bit-vec v0.7.0
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]    Compiling ash v0.38.0+1.3.281
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking petgraph v0.6.5
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling wgpu-hal v22.0.0
[INFO] [stderr]     Checking bit-set v0.6.0
[INFO] [stderr]     Checking unicode-xid v0.2.6
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking wgpu-types v22.0.0
[INFO] [stderr]    Compiling wgpu-core v22.1.0
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling wgpu v22.1.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling bytemuck v1.19.0
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling wayland-backend v0.3.7
[INFO] [stderr]     Checking memmap2 v0.9.5
[INFO] [stderr]    Compiling wayland-scanner v0.31.5
[INFO] [stderr]    Compiling winit v0.30.5
[INFO] [stderr]    Compiling document-features v0.2.10
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling glam v0.27.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking type-map v0.5.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking dpi v0.1.1
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking crossbeam-queue v0.3.11
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]     Checking regex v1.11.0
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]    Compiling bytemuck_derive v1.8.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling gltf-derive v1.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling derived-deref v2.1.0
[INFO] [stderr]    Compiling gpu_bytes v0.1.0 (https://github.com/ambrosia13/gpu_bytes.git#3de98768)
[INFO] [stderr]    Compiling gpu_bytes_derive v0.1.0 (https://github.com/ambrosia13/gpu_bytes_derive.git#672719d9)
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking polling v3.7.3
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking emath v0.29.1
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking image v0.25.5
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ecolor v0.29.1
[INFO] [stderr]     Checking epaint v0.29.1
[INFO] [stderr]     Checking gpu-descriptor v0.3.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking gltf-json v1.4.1
[INFO] [stderr]     Checking wayland-protocols v0.32.4
[INFO] [stderr]     Checking wayland-cursor v0.31.6
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking egui v0.29.1
[INFO] [stderr]     Checking gltf v1.4.1
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.4
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.4
[INFO] [stderr]     Checking smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking egui-wgpu v0.29.1
[INFO] [stderr]     Checking goldenrod v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Quat`
[INFO] [stdout]  --> src/engine/engine_state.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use glam::{Quat, Vec3};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sphere`, `material::Material`, and `util`
[INFO] [stdout]   --> src/engine/engine_state.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |         material::Material,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |         object::{ObjectList, Sphere},
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout] 10 |     },
[INFO] [stdout] 11 |     util,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Debug` and `path::Path`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Debug, path::Path};
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BindingEntry` and `Binding`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use binding::{Binding, BindingEntry};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufferConfig`, `BufferData`, `BufferType`, and `Buffer`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use buffer::{Buffer, BufferConfig, BufferData, BufferType};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ShaderBackend`, `ShaderSource`, and `Shader`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use shader::{Shader, ShaderBackend, ShaderSource};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TextureConfig` and `Texture`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use texture::{Texture, TextureConfig};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use wgpu::util::DeviceExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RenderState` and `util`
[INFO] [stdout]  --> src/engine/render_state_ext/texture.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 |     engine::render_state::{GpuState, RenderState},
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout] 9 |     util,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Quat`
[INFO] [stdout]  --> src/engine/engine_state.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use glam::{Quat, Vec3};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Sphere`, `material::Material`, and `util`
[INFO] [stdout]   --> src/engine/engine_state.rs:8:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |         material::Material,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |         object::{ObjectList, Sphere},
[INFO] [stdout]    |                              ^^^^^^
[INFO] [stdout] 10 |     },
[INFO] [stdout] 11 |     util,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Debug` and `path::Path`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Debug, path::Path};
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::render_state::RenderState`
[INFO] [stdout]  --> src/engine/ui.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::render_state::RenderState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `egui_wgpu::RenderState as EguiRenderState`
[INFO] [stdout]  --> src/engine/ui.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use egui_wgpu::RenderState as EguiRenderState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderStateExt`
[INFO] [stdout]  --> src/renderer/buffer/bvh.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             RenderStateExt,
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderStateExt`
[INFO] [stdout]   --> src/renderer/buffer/screen.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             RenderStateExt,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BindingEntry` and `Binding`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use binding::{Binding, BindingEntry};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufferConfig`, `BufferData`, `BufferType`, and `Buffer`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use buffer::{Buffer, BufferConfig, BufferData, BufferType};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ShaderBackend`, `ShaderSource`, and `Shader`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use shader::{Shader, ShaderBackend, ShaderSource};
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TextureConfig` and `Texture`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use texture::{Texture, TextureConfig};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt`
[INFO] [stdout]  --> src/engine/render_state_ext/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use wgpu::util::DeviceExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RenderState` and `util`
[INFO] [stdout]  --> src/engine/render_state_ext/texture.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 |     engine::render_state::{GpuState, RenderState},
[INFO] [stdout]   |                                      ^^^^^^^^^^^
[INFO] [stdout] 9 |     util,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/renderer/debug.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderStateExt`
[INFO] [stdout]   --> src/renderer/screen_quad.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         RenderStateExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `render_state::GpuState` and `render_state_ext::texture::Texture`
[INFO] [stdout]   --> src/util/gltf.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     engine::{render_state::GpuState, render_state_ext::texture::Texture},
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/util/gltf.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 | ) -> Result<(Vec<Triangle>), GltfLoadError> {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 - ) -> Result<(Vec<Triangle>), GltfLoadError> {
[INFO] [stdout] 123 + ) -> Result<Vec<Triangle> , GltfLoadError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::render_state::RenderState`
[INFO] [stdout]  --> src/engine/ui.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::render_state::RenderState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `egui_wgpu::RenderState as EguiRenderState`
[INFO] [stdout]  --> src/engine/ui.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use egui_wgpu::RenderState as EguiRenderState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderStateExt`
[INFO] [stdout]  --> src/renderer/buffer/bvh.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             RenderStateExt,
[INFO] [stdout]   |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderStateExt`
[INFO] [stdout]   --> src/renderer/buffer/screen.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             RenderStateExt,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/renderer/debug.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderStateExt`
[INFO] [stdout]   --> src/renderer/screen_quad.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         RenderStateExt,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `render_state::GpuState` and `render_state_ext::texture::Texture`
[INFO] [stdout]   --> src/util/gltf.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     engine::{render_state::GpuState, render_state_ext::texture::Texture},
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/util/gltf.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 | ) -> Result<(Vec<Triangle>), GltfLoadError> {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 123 - ) -> Result<(Vec<Triangle>), GltfLoadError> {
[INFO] [stdout] 123 + ) -> Result<Vec<Triangle> , GltfLoadError> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profiler_state`
[INFO] [stdout]   --> src/engine/renderer.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn init(render_state: &RenderState, profiler_state: &ProfilerState) -> Self {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `profiler_state`
[INFO] [stdout]   --> src/engine/renderer.rs:45:45
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn init(render_state: &RenderState, profiler_state: &ProfilerState) -> Self {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profiler_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/state/object.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         for i in 0..count {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/state/object.rs:436:49
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn push_mesh<P: AsRef<Path>>(&mut self, path: P) -> Result<(), GltfLoadError> {
[INFO] [stdout]     |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `triangles`
[INFO] [stdout]    --> src/state/object.rs:439:13
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let triangles = util::gltf::load_triangles_from_glb(
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffers`
[INFO] [stdout]    --> src/util/gltf.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let buffers: Vec<_> = gltf.buffers().collect();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/state/object.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         for i in 0..count {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/state/object.rs:436:49
[INFO] [stdout]     |
[INFO] [stdout] 436 |     pub fn push_mesh<P: AsRef<Path>>(&mut self, path: P) -> Result<(), GltfLoadError> {
[INFO] [stdout]     |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `triangles`
[INFO] [stdout]    --> src/state/object.rs:439:13
[INFO] [stdout]     |
[INFO] [stdout] 439 |         let triangles = util::gltf::load_triangles_from_glb(
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mouse_scroll` is never read
[INFO] [stdout]   --> src/engine/input.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Input {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     mouse_scroll: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_mouse_scroll` and `mouse_scroll` are never used
[INFO] [stdout]   --> src/engine/input.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Input {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn set_mouse_scroll(&mut self, delta: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn mouse_scroll(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `just_released` is never used
[INFO] [stdout]   --> src/engine/input.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | / impl<T> ButtonInputs<T>
[INFO] [stdout] 59 | | where
[INFO] [stdout] 60 | |     T: Copy + Eq + std::hash::Hash,
[INFO] [stdout]    | |___________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |       pub fn just_released(&self, input: T) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `memory`, `set_memory`, `average_ms`, and `average_fps` are never used
[INFO] [stdout]   --> src/engine/profiler_state.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ProfilerState {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn memory(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn set_memory(&mut self, memory: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn average_ms(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn average_fps(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance` and `adapter` are never read
[INFO] [stdout]   --> src/engine/render_state.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct GpuState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 15 |     pub instance: Arc<wgpu::Instance>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub adapter: Arc<wgpu::Adapter>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GpuState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `queue` is never used
[INFO] [stdout]   --> src/engine/render_state_ext/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait RenderStateExt {
[INFO] [stdout]    |           -------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn queue(&self) -> &wgpu::Queue;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Uniform`, `Vertex`, and `Index` are never constructed
[INFO] [stdout]   --> src/engine/render_state_ext/buffer.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum BufferType {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 17 |     Storage,
[INFO] [stdout] 18 |     Uniform,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     Vertex,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     Index,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufferType` 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: method `buffer_type` is never used
[INFO] [stdout]    --> src/engine/render_state_ext/buffer.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl Buffer {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn buffer_type(&self) -> BufferType {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Spirv` is never constructed
[INFO] [stdout]   --> src/engine/render_state_ext/shader.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum ShaderBackend {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 12 |     Wgsl,
[INFO] [stdout] 13 |     Spirv,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderBackend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/engine/render_state_ext/shader.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ShaderMetadata {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 17 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load_slang`, `load_spirv`, and `is_fallback` are never used
[INFO] [stdout]   --> src/engine/render_state_ext/shader.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ShaderSource {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn load_slang() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn load_spirv() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn is_fallback(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `source` is never used
[INFO] [stdout]    --> src/engine/render_state_ext/shader.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl Shader {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn source(&self) -> &ShaderSource {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Texture2dArray`, `TextureCubeArray`, and `Texture3d` are never constructed
[INFO] [stdout]   --> src/engine/render_state_ext/texture.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum TextureType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Texture2dArray,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     TextureCube,
[INFO] [stdout] 21 |     TextureCubeArray,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |
[INFO] [stdout] 23 |     Texture3d,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureType` 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 `set_descriptor`, `texture`, `sampler`, and `dimension` are never used
[INFO] [stdout]    --> src/engine/render_state_ext/texture.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl<'a> Texture<'a> {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn set_descriptor(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn texture(&self) -> &wgpu::Texture {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn sampler(&self) -> &wgpu::Sampler {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn dimension(&self) -> wgpu::TextureDimension {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UiState` is never constructed
[INFO] [stdout]  --> src/engine/ui.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct UiState {}
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertex_storage_buffer` and `index_storage_buffer` are never read
[INFO] [stdout]   --> src/renderer/screen_quad.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct ScreenQuad {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 65 |     pub vertex_storage_buffer: Arc<Buffer>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     pub index_storage_buffer: Arc<Buffer>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScreenQuad` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_point` and `is_empty` are never used
[INFO] [stdout]   --> src/state/bvh.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl BoundingVolume {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn from_point(point: Vec3) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn is_empty(self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Volume` is never constructed
[INFO] [stdout]   --> src/state/material.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum MaterialType {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Volume = 3,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MaterialType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `lambertian`, `metal`, `dielectric`, and `with_emission` are never used
[INFO] [stdout]   --> src/state/material.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Material {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 52 |     pub fn lambertian(albedo: Vec3) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn metal(albedo: Vec3, roughness: f32) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn dielectric(albedo: Vec3, roughness: f32, ior: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn with_emission(self, emission: Vec3) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `center` and `radius` are never used
[INFO] [stdout]   --> src/state/object.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Sphere {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn center(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn radius(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `min` and `max` are never used
[INFO] [stdout]   --> src/state/object.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl Aabb {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn min(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn max(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `vertices` are never used
[INFO] [stdout]    --> src/state/object.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | impl Triangle {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 140 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn vertices(&self) -> [Vec3; 3] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cubeception`, `random_spheres`, `bvh_test_scene`, `push_triangle`, `push_mesh`, and `spheres_mut` are never used
[INFO] [stdout]    --> src/state/object.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl ObjectList {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub fn cubeception(&mut self, albedo: Vec3, position: Vec3, radius: f32, ior: f32, depth: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub fn random_spheres(&mut self, count: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn bvh_test_scene(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 431 |     pub fn push_triangle(&mut self, triangle: Triangle) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub fn push_mesh<P: AsRef<Path>>(&mut self, path: P) -> Result<(), GltfLoadError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 454 |     pub fn spheres_mut(&mut self) -> &mut [Sphere] {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_triangles_from_gltf` is never used
[INFO] [stdout]   --> src/util/gltf.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn load_triangles_from_gltf<P: AsRef<Path>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_triangles_from_glb` is never used
[INFO] [stdout]    --> src/util/gltf.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn load_triangles_from_glb<'a, P: AsRef<Path>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffers`
[INFO] [stdout]    --> src/util/gltf.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let buffers: Vec<_> = gltf.buffers().collect();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/renderer/raytrace.rs:188:33
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn load_luts(gpu_state: &GpuState) -> (Texture, Texture, Texture) {
[INFO] [stdout]     |                                 ^^^^^^^^^      ^^^^^^^  ^^^^^^^  ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |              |        |
[INFO] [stdout]     |                                 |              |        the same lifetime is hidden here
[INFO] [stdout]     |                                 |              the same lifetime is hidden here
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn load_luts(gpu_state: &GpuState) -> (Texture<'_>, Texture<'_>, Texture<'_>) {
[INFO] [stdout]     |                                                       ++++         ++++         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mouse_scroll` is never read
[INFO] [stdout]   --> src/engine/input.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Input {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     mouse_scroll: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_mouse_scroll` and `mouse_scroll` are never used
[INFO] [stdout]   --> src/engine/input.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Input {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn set_mouse_scroll(&mut self, delta: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn mouse_scroll(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `just_released` is never used
[INFO] [stdout]   --> src/engine/input.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | / impl<T> ButtonInputs<T>
[INFO] [stdout] 59 | | where
[INFO] [stdout] 60 | |     T: Copy + Eq + std::hash::Hash,
[INFO] [stdout]    | |___________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |       pub fn just_released(&self, input: T) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `memory`, `set_memory`, `average_ms`, and `average_fps` are never used
[INFO] [stdout]   --> src/engine/profiler_state.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl ProfilerState {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn memory(&self) -> usize {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn set_memory(&mut self, memory: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn average_ms(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn average_fps(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance` and `adapter` are never read
[INFO] [stdout]   --> src/engine/render_state.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct GpuState {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 15 |     pub instance: Arc<wgpu::Instance>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 16 |     pub adapter: Arc<wgpu::Adapter>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GpuState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `queue` is never used
[INFO] [stdout]   --> src/engine/render_state_ext/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait RenderStateExt {
[INFO] [stdout]    |           -------------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn queue(&self) -> &wgpu::Queue;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Uniform`, `Vertex`, and `Index` are never constructed
[INFO] [stdout]   --> src/engine/render_state_ext/buffer.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum BufferType {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] 17 |     Storage,
[INFO] [stdout] 18 |     Uniform,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     Vertex,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     Index,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BufferType` 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: method `buffer_type` is never used
[INFO] [stdout]    --> src/engine/render_state_ext/buffer.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl Buffer {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn buffer_type(&self) -> BufferType {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Spirv` is never constructed
[INFO] [stdout]   --> src/engine/render_state_ext/shader.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum ShaderBackend {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] 12 |     Wgsl,
[INFO] [stdout] 13 |     Spirv,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderBackend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/engine/render_state_ext/shader.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ShaderMetadata {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 17 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `load_slang`, `load_spirv`, and `is_fallback` are never used
[INFO] [stdout]   --> src/engine/render_state_ext/shader.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ShaderSource {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn load_slang() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn load_spirv() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn is_fallback(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `source` is never used
[INFO] [stdout]    --> src/engine/render_state_ext/shader.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl Shader {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn source(&self) -> &ShaderSource {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Texture2dArray`, `TextureCubeArray`, and `Texture3d` are never constructed
[INFO] [stdout]   --> src/engine/render_state_ext/texture.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum TextureType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 19 |     Texture2dArray,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     TextureCube,
[INFO] [stdout] 21 |     TextureCubeArray,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |
[INFO] [stdout] 23 |     Texture3d,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextureType` 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 `set_descriptor`, `texture`, `sampler`, and `dimension` are never used
[INFO] [stdout]    --> src/engine/render_state_ext/texture.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl<'a> Texture<'a> {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn set_descriptor(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub fn texture(&self) -> &wgpu::Texture {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn sampler(&self) -> &wgpu::Sampler {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn dimension(&self) -> wgpu::TextureDimension {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UiState` is never constructed
[INFO] [stdout]  --> src/engine/ui.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct UiState {}
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertex_storage_buffer` and `index_storage_buffer` are never read
[INFO] [stdout]   --> src/renderer/screen_quad.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct ScreenQuad {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 65 |     pub vertex_storage_buffer: Arc<Buffer>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     pub index_storage_buffer: Arc<Buffer>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ScreenQuad` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_point` and `is_empty` are never used
[INFO] [stdout]   --> src/state/bvh.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl BoundingVolume {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn from_point(point: Vec3) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn is_empty(self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Volume` is never constructed
[INFO] [stdout]   --> src/state/material.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum MaterialType {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Volume = 3,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MaterialType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `lambertian`, `metal`, `dielectric`, and `with_emission` are never used
[INFO] [stdout]   --> src/state/material.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl Material {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 52 |     pub fn lambertian(albedo: Vec3) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn metal(albedo: Vec3, roughness: f32) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn dielectric(albedo: Vec3, roughness: f32, ior: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn with_emission(self, emission: Vec3) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `center` and `radius` are never used
[INFO] [stdout]   --> src/state/object.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Sphere {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn center(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn radius(&self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `min` and `max` are never used
[INFO] [stdout]   --> src/state/object.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl Aabb {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn min(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn max(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `vertices` are never used
[INFO] [stdout]    --> src/state/object.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | impl Triangle {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] 140 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn vertices(&self) -> [Vec3; 3] {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cubeception`, `random_spheres`, `bvh_test_scene`, `push_triangle`, `push_mesh`, and `spheres_mut` are never used
[INFO] [stdout]    --> src/state/object.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 188 | impl ObjectList {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 199 |     pub fn cubeception(&mut self, albedo: Vec3, position: Vec3, radius: f32, ior: f32, depth: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub fn random_spheres(&mut self, count: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn bvh_test_scene(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 431 |     pub fn push_triangle(&mut self, triangle: Triangle) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub fn push_mesh<P: AsRef<Path>>(&mut self, path: P) -> Result<(), GltfLoadError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 454 |     pub fn spheres_mut(&mut self) -> &mut [Sphere] {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_triangles_from_gltf` is never used
[INFO] [stdout]   --> src/util/gltf.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn load_triangles_from_gltf<P: AsRef<Path>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_triangles_from_glb` is never used
[INFO] [stdout]    --> src/util/gltf.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub fn load_triangles_from_glb<'a, P: AsRef<Path>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/renderer/raytrace.rs:188:33
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn load_luts(gpu_state: &GpuState) -> (Texture, Texture, Texture) {
[INFO] [stdout]     |                                 ^^^^^^^^^      ^^^^^^^  ^^^^^^^  ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |              |        |
[INFO] [stdout]     |                                 |              |        the same lifetime is hidden here
[INFO] [stdout]     |                                 |              the same lifetime is hidden here
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn load_luts(gpu_state: &GpuState) -> (Texture<'_>, Texture<'_>, Texture<'_>) {
[INFO] [stdout]     |                                                       ++++         ++++         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.39s
[INFO] running `Command { std: "docker" "inspect" "c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc", kill_on_drop: false }`
[INFO] [stdout] c67ded274bb98a04b45eb9f2929e68c452734ff1aa4c38588ade5ea476758ccc
