[INFO] cloning repository https://github.com/evgh0/open-object-viewer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/evgh0/open-object-viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgh0%2Fopen-object-viewer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgh0%2Fopen-object-viewer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 319237b9b336858c4a088bd606f4b25592fc12b0
[INFO] checking evgh0/open-object-viewer against try#1bdcb63291ccffc030f8223f6f978568dd240e3e for 155501-infallible-never-with-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgh0%2Fopen-object-viewer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/evgh0/open-object-viewer
[INFO] finished tweaking git repo https://github.com/evgh0/open-object-viewer
[INFO] tweaked toml for git repo https://github.com/evgh0/open-object-viewer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/evgh0/open-object-viewer on toolchain 1bdcb63291ccffc030f8223f6f978568dd240e3e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/evgh0/open-object-viewer 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" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c268d9c8e16c4df5e7badd42a6661fb57c0304c3d25fff1ae1a420cfb931a9e9
[INFO] running `Command { std: "docker" "start" "-a" "c268d9c8e16c4df5e7badd42a6661fb57c0304c3d25fff1ae1a420cfb931a9e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c268d9c8e16c4df5e7badd42a6661fb57c0304c3d25fff1ae1a420cfb931a9e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c268d9c8e16c4df5e7badd42a6661fb57c0304c3d25fff1ae1a420cfb931a9e9", kill_on_drop: false }`
[INFO] [stdout] c268d9c8e16c4df5e7badd42a6661fb57c0304c3d25fff1ae1a420cfb931a9e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3042f81aa98a9cdcb68809c1b78f904f0e20380b6093a3d6b2811a5cb3bb453d
[INFO] running `Command { std: "docker" "start" "-a" "3042f81aa98a9cdcb68809c1b78f904f0e20380b6093a3d6b2811a5cb3bb453d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling slotmap v1.1.1
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]     Checking dlib v0.5.3
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking ash v0.37.3+1.3.251
[INFO] [stderr]     Checking wgpu-types v0.16.1
[INFO] [stderr]     Checking gpu-alloc v0.5.4
[INFO] [stderr]    Compiling crossfont v0.5.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking foreign-types-shared v0.3.1
[INFO] [stderr]     Checking tiny-skia-path v0.7.0
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]     Checking chlorine v1.0.13
[INFO] [stderr]     Checking mint v0.5.9
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]     Checking bitstream-io v4.9.0
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking zune-core v0.5.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling imgui-sys v0.11.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking zune-jpeg v0.5.14
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking avif-serialize v0.8.8
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]     Checking pxfm v0.1.28
[INFO] [stderr]     Checking tiny-skia v0.7.0
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]     Checking freetype-rs v0.26.0
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking ultraviolet v0.9.2
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]    Compiling zerocopy-derive v0.8.42
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling foreign-types-macros v0.2.3
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking fax v0.2.6
[INFO] [stderr]     Checking foreign-types v0.5.0
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking naga v0.12.3
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]     Checking av-scenechange v0.14.1
[INFO] [stderr]     Checking imgui v0.11.0
[INFO] [stderr]     Checking rav1e v0.8.1
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking tiff v0.11.3
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]     Checking wgpu-hal v0.16.2
[INFO] [stderr]     Checking wgpu-core v0.16.1
[INFO] [stderr]     Checking ravif v0.13.0
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking wgpu v0.16.3
[INFO] [stderr]     Checking pixels v0.13.0
[INFO] [stderr]     Checking imgui-wgpu v0.23.0
[INFO] [stderr]     Checking sctk-adwaita v0.4.3
[INFO] [stderr]     Checking winit v0.27.5
[INFO] [stderr]     Checking imgui-winit-support v0.11.0
[INFO] [stderr]     Checking open-object-viewer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::material::Material`
[INFO] [stdout]  --> src/mesh_old.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::material::Material;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::texture::Texture`
[INFO] [stdout]  --> src/mesh_old.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::texture::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec4`
[INFO] [stdout]  --> src/material.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::oovm::{Vec3, Vec4};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec3`
[INFO] [stdout]  --> src/pipeline/fragment.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::oovm::{Vec2, Vec3, Vec4};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mesh_old::TriangleMesh`
[INFO] [stdout]  --> src/scene/mesh.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::mesh_old::TriangleMesh;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec4`
[INFO] [stdout]  --> src/scene/mesh.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::oovm::{Vec2, Vec3, Vec4};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Condition`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use imgui::{Condition, Context};
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::time::Instant;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mesh_old::Mesh`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::mesh_old::Mesh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scene`
[INFO] [stdout]   --> src/main.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::scene_old::{LightSource, Scene};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::Material`
[INFO] [stdout]  --> src/mesh_old.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::material::Material;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::texture::Texture`
[INFO] [stdout]  --> src/mesh_old.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::texture::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec4`
[INFO] [stdout]  --> src/material.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::oovm::{Vec3, Vec4};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec3`
[INFO] [stdout]  --> src/pipeline/fragment.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::oovm::{Vec2, Vec3, Vec4};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mesh_old::TriangleMesh`
[INFO] [stdout]  --> src/scene/mesh.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::mesh_old::TriangleMesh;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec4`
[INFO] [stdout]  --> src/scene/mesh.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::oovm::{Vec2, Vec3, Vec4};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Condition`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use imgui::{Condition, Context};
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Instant`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::time::Instant;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mesh_old::Mesh`
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use crate::mesh_old::Mesh;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scene`
[INFO] [stdout]   --> src/main.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::scene_old::{LightSource, Scene};
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scene_old.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut clip_pos = self.view_projection() * global_pos;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/scene_old.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let mut clip_pos = self.view_projection() * global_pos;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `globals`
[INFO] [stdout]   --> src/pipeline/fragment.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn pseudo_shader(fragment_in: FragmentIn, globals: &Globals) -> FragmentOut {
[INFO] [stdout]    |                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_globals`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shades`
[INFO] [stdout]   --> src/pipeline/rasterizer.rs:41:81
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn rasterize(&mut self, pixels: &mut Pixels, vertices: &[VertexOut; 3], shades: Shades, globals: &fragment::Globals) {
[INFO] [stdout]    |                                                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shades`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `globals`
[INFO] [stdout]   --> src/pipeline/fragment.rs:15:47
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn pseudo_shader(fragment_in: FragmentIn, globals: &Globals) -> FragmentOut {
[INFO] [stdout]    |                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_globals`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shades`
[INFO] [stdout]   --> src/pipeline/rasterizer.rs:41:81
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn rasterize(&mut self, pixels: &mut Pixels, vertices: &[VertexOut; 3], shades: Shades, globals: &fragment::Globals) {
[INFO] [stdout]    |                                                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shades`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut scene = scene::Scene::new(
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut r = rasterizer::Rasterizer::new(&pixels);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `mouse_pos` is never read
[INFO] [stdout]    --> src/main.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 mouse_pos = (position.x as f32, position.y as f32);
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `mouse_pressed_left` is never read
[INFO] [stdout]    --> src/main.rs:139:42
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     MouseButton::Left => mouse_pressed_left = pressed,
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mouse_pressed_left` is never read
[INFO] [stdout]    --> src/main.rs:139:42
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     MouseButton::Left => mouse_pressed_left = pressed,
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `mouse_pressed_right` is never read
[INFO] [stdout]    --> src/main.rs:141:43
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     MouseButton::Right => mouse_pressed_right = pressed,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mouse_pressed_right` is never read
[INFO] [stdout]    --> src/main.rs:141:43
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     MouseButton::Right => mouse_pressed_right = pressed,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut r = rasterizer::Rasterizer::new(&pixels);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_pressed_left`
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut mouse_pressed_left = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pressed_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_pressed_right`
[INFO] [stdout]   --> src/main.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let mut mouse_pressed_right = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pressed_right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/scene_old.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) struct LightSource {
[INFO] [stdout]    |                   ----------- fields in this struct
[INFO] [stdout] 13 |     pub(crate) position: Vec4,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 14 |     pub(crate) color: Vec3,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 15 |     pub(crate) z_buffer: Vec<f32>,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 16 |     pub(crate) width: u32,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 17 |     pub(crate) height: u32,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 18 |     //
[INFO] [stdout] 19 |     pub(crate) up: Vec3,
[INFO] [stdout]    |                ^^
[INFO] [stdout] 20 |     pub(crate) target: Vec3,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 21 |     //
[INFO] [stdout] 22 |     pub(crate) fovy: f32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 23 |     pub(crate) aspect: f32,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 24 |     near: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     far: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scene_old.rs:45:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl LightSource {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn clear_z_buffer(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn view_projection(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     fn frustum(&self) -> Mat4 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn camera_space(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn project(vert: &mut Vertex, projection: Mat4) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub(crate) fn render(&mut self, meshes: &Vec<Mesh>) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub(crate) fn get_depth_at_world_pos(&self, global_pos: Vec4) -> Option<f32> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub(crate) fn is_in_shadow(&self, world_pos: Vec4) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn world_transformation(vert: &mut Vertex, transform: Mat4) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub fn compute_z(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rounded` is never constructed
[INFO] [stdout]    --> src/scene_old.rs:354:5
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub enum Shading {
[INFO] [stdout]     |          ------- variant in this enum
[INFO] [stdout] 353 |     Flat,
[INFO] [stdout] 354 |     Rounded
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shading` is never read
[INFO] [stdout]    --> src/scene_old.rs:358:16
[INFO] [stdout]     |
[INFO] [stdout] 357 | pub struct Settings {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 358 |     pub(crate) shading: Shading,
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Scene` is never constructed
[INFO] [stdout]    --> src/scene_old.rs:370:19
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub(crate) struct Scene {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scene_old.rs:380:19
[INFO] [stdout]     |
[INFO] [stdout] 379 | impl Scene {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 380 |     pub(crate) fn new(meshes: Vec<Mesh>, sun: LightSource) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 392 |     pub fn world_transformation(vert: &mut Vertex, transform: Mat4) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 397 |     pub fn project(vert: &mut Vertex, projection: Mat4) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     pub fn perspective_divide(vert: &mut Vertex) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |     pub fn clear(&self, pixels: &mut Pixels) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     fn skybox(pixels: &mut Pixels, camera: &Camera, skybox: &CubeMap) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 470 |     pub(crate) fn render(&mut self, pixels: &mut Pixels, camera: &Camera, rasterizer: &mut Rasterizer) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `z_buffer` is never read
[INFO] [stdout]   --> src/rasterizer.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Rasterizer {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 20 |     pub(crate) z_buffer: Vec<f32>,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `prepare` and `rasterize` are never used
[INFO] [stdout]   --> src/rasterizer.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Rasterizer {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn prepare(&mut self, pixels: &Pixels) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn rasterize(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_old` is never used
[INFO] [stdout]   --> src/ui.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Gui {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn draw_old(&mut self, ui: &Ui, scene: &mut crate::scene_old::Scene, camera: &mut crate::camera::Camera) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot`, `length`, `norm`, and `angle` are never used
[INFO] [stdout]   --> src/oovm.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Vec2 {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn dot(self, rhs: Self) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn length(self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn norm(self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn angle(self, rhs: Self) -> f32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `angle` and `lerp` are never used
[INFO] [stdout]    --> src/oovm.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl Vec3 {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn angle(self, rhs: Self) -> f32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn lerp(self, rhs: Self, t: f32) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `norm`, `angle`, and `cross` are never used
[INFO] [stdout]    --> src/oovm.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 185 | impl Vec4 {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn length(self) -> f32 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn norm(self) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn angle(self, rhs: Self) -> f32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn cross(self, rhs: Self) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `identity`, `translate`, `scale`, `inverse`, `transpose`, and `determinant` are never used
[INFO] [stdout]    --> src/oovm.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 286 | impl Mat4 {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn identity() -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |     pub fn translate(translation: Vec3) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn scale(scale: Vec3) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn inverse(&self) -> Option<Mat4> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub fn transpose(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     pub fn determinant(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]  --> src/mesh_old.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Vertex {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mesh_old.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Vertex {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(position: Vec3, normal: Vec3, uv: Vec2) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TriangleMesh` is never constructed
[INFO] [stdout]   --> src/mesh_old.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct TriangleMesh {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mesh_old.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl TriangleMesh {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 37 |     pub fn new(i0: u32, i1: u32, i2: u32, material_id: Option<u32>, texture_id: Option<u32>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/mesh_old.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Mesh {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/mesh_old.rs:53:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Mesh {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  52 |
[INFO] [stdout]  53 |     pub fn transformation(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn simple_triangle() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn cube() -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn floor() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn icosphere(subdivisions: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn from_norm(path: &str) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn from_ply(path: &str) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polygon` is never constructed
[INFO] [stdout]  --> src/clipper.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Polygon {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Plane` is never used
[INFO] [stdout]   --> src/clipper.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum Plane {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inside` is never used
[INFO] [stdout]   --> src/clipper.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn inside(vertex: &Vertex, plane: Plane) -> bool {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut scene = scene::Scene::new(
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `intersect` is never used
[INFO] [stdout]   --> src/clipper.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn intersect(a: &Vertex, b: &Vertex, plane: Plane) -> Vertex {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sutherland_hodgman` is never used
[INFO] [stdout]   --> src/clipper.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn sutherland_hodgman(input_polygon: Polygon) -> Polygon {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clip_triangle` is never used
[INFO] [stdout]    --> src/clipper.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn clip_triangle(triangle: (Vertex, Vertex, Vertex)) -> Vec<(Vertex, Vertex, Vertex)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut r = rasterizer::Rasterizer::new(&pixels);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color`, `diffuse`, `specular`, and `shininess` are never read
[INFO] [stdout]  --> src/material.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) struct Material {
[INFO] [stdout]   |                   -------- fields in this struct
[INFO] [stdout] 5 |     pub color: Vec3,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 6 |     pub diffuse: Vec3,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub specular: Vec3,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 8 |     pub shininess: f32,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Material` 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 `sample` is never used
[INFO] [stdout]   --> src/texture.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Texture {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn sample(&self, uv: Vec2) -> Vec4 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `left`, `right`, `down`, `up`, `front`, and `back` are never read
[INFO] [stdout]    --> src/texture.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct CubeMap {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 111 |     left: Texture,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 112 |     right: Texture,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 113 |     down: Texture,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 114 |     up: Texture,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 115 |     front: Texture,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 116 |     back: Texture,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sample` is never used
[INFO] [stdout]    --> src/texture.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl CubeMap {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn sample(&self, direction: Vec4) -> Vec4 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `camera_position` is never read
[INFO] [stdout]   --> src/pipeline/vertex.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Globals {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub camera_position: Vec4,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position` and `uv` are never read
[INFO] [stdout]  --> src/pipeline/fragment.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FragmentIn<'a> {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 4 |     pub position: &'a Vec4,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 5 |     pub normal: &'a Vec4,
[INFO] [stdout] 6 |     pub uv: &'a Vec2,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `R` and `Phong` are never constructed
[INFO] [stdout]  --> src/pipeline/rasterizer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Shades {
[INFO] [stdout]   |          ------ variants in this enum
[INFO] [stdout] 7 |     Flat,
[INFO] [stdout] 8 |     R,
[INFO] [stdout]   |     ^
[INFO] [stdout] 9 |     Phong,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `mouse_pos` is never read
[INFO] [stdout]    --> src/main.rs:113:17
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 mouse_pos = (position.x as f32, position.y as f32);
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sun`, `settings`, `skybox`, `materials`, and `textures` are never read
[INFO] [stdout]   --> src/scene/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Scene {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 12 |     pub meshes: Vec<Mesh>,
[INFO] [stdout] 13 |     pub sun: LightSource,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 14 |     pub settings: Settings,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub skybox: Option<CubeMap>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     pub materials: Vec<Material>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 17 |     pub textures: Vec<Texture>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `material_id` is never read
[INFO] [stdout]  --> src/scene/triangle.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Triangle {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub material_id: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `consume_with_relish` is never used
[INFO] [stdout]   --> src/scene/triangle.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Triangle {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn consume_with_relish<F>(func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `mouse_pressed_left` is never read
[INFO] [stdout]    --> src/main.rs:139:42
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     MouseButton::Left => mouse_pressed_left = pressed,
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position`, `rotation`, and `scale` are never read
[INFO] [stdout]   --> src/scene/mesh.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Mesh {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub(crate) position: Vec3,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 11 |     pub(crate) rotation: Vec3,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 12 |     pub(crate) scale: Vec3,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `cube` is never used
[INFO] [stdout]   --> src/scene/mesh.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Mesh {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn cube() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mouse_pressed_left` is never read
[INFO] [stdout]    --> src/main.rs:139:42
[INFO] [stdout]     |
[INFO] [stdout] 139 |                     MouseButton::Left => mouse_pressed_left = pressed,
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value captured by `mouse_pressed_right` is never read
[INFO] [stdout]    --> src/main.rs:141:43
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     MouseButton::Right => mouse_pressed_right = pressed,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: did you mean to capture by reference instead?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `mouse_pressed_right` is never read
[INFO] [stdout]    --> src/main.rs:141:43
[INFO] [stdout]     |
[INFO] [stdout] 141 |                     MouseButton::Right => mouse_pressed_right = pressed,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut r = rasterizer::Rasterizer::new(&pixels);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_pressed_left`
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut mouse_pressed_left = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pressed_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_pressed_right`
[INFO] [stdout]   --> src/main.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let mut mouse_pressed_right = false;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_pressed_right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/scene_old.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(crate) struct LightSource {
[INFO] [stdout]    |                   ----------- fields in this struct
[INFO] [stdout] 13 |     pub(crate) position: Vec4,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 14 |     pub(crate) color: Vec3,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 15 |     pub(crate) z_buffer: Vec<f32>,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 16 |     pub(crate) width: u32,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 17 |     pub(crate) height: u32,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 18 |     //
[INFO] [stdout] 19 |     pub(crate) up: Vec3,
[INFO] [stdout]    |                ^^
[INFO] [stdout] 20 |     pub(crate) target: Vec3,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 21 |     //
[INFO] [stdout] 22 |     pub(crate) fovy: f32,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 23 |     pub(crate) aspect: f32,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 24 |     near: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     far: f32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scene_old.rs:45:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl LightSource {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  45 |     pub fn clear_z_buffer(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn view_projection(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  54 |     fn frustum(&self) -> Mat4 {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     pub fn camera_space(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn project(vert: &mut Vertex, projection: Mat4) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub(crate) fn render(&mut self, meshes: &Vec<Mesh>) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub(crate) fn get_depth_at_world_pos(&self, global_pos: Vec4) -> Option<f32> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub(crate) fn is_in_shadow(&self, world_pos: Vec4) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn world_transformation(vert: &mut Vertex, transform: Mat4) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 222 |     pub fn compute_z(
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rounded` is never constructed
[INFO] [stdout]    --> src/scene_old.rs:354:5
[INFO] [stdout]     |
[INFO] [stdout] 352 | pub enum Shading {
[INFO] [stdout]     |          ------- variant in this enum
[INFO] [stdout] 353 |     Flat,
[INFO] [stdout] 354 |     Rounded
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shading` is never read
[INFO] [stdout]    --> src/scene_old.rs:358:16
[INFO] [stdout]     |
[INFO] [stdout] 357 | pub struct Settings {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] 358 |     pub(crate) shading: Shading,
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Scene` is never constructed
[INFO] [stdout]    --> src/scene_old.rs:370:19
[INFO] [stdout]     |
[INFO] [stdout] 370 | pub(crate) struct Scene {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/scene_old.rs:380:19
[INFO] [stdout]     |
[INFO] [stdout] 379 | impl Scene {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 380 |     pub(crate) fn new(meshes: Vec<Mesh>, sun: LightSource) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 392 |     pub fn world_transformation(vert: &mut Vertex, transform: Mat4) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 397 |     pub fn project(vert: &mut Vertex, projection: Mat4) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     pub fn perspective_divide(vert: &mut Vertex) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 411 |     pub fn clear(&self, pixels: &mut Pixels) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 422 |     fn skybox(pixels: &mut Pixels, camera: &Camera, skybox: &CubeMap) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 470 |     pub(crate) fn render(&mut self, pixels: &mut Pixels, camera: &Camera, rasterizer: &mut Rasterizer) {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `z_buffer` is never read
[INFO] [stdout]   --> src/rasterizer.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Rasterizer {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 20 |     pub(crate) z_buffer: Vec<f32>,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `prepare` and `rasterize` are never used
[INFO] [stdout]   --> src/rasterizer.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Rasterizer {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn prepare(&mut self, pixels: &Pixels) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn rasterize(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_old` is never used
[INFO] [stdout]   --> src/ui.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Gui {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn draw_old(&mut self, ui: &Ui, scene: &mut crate::scene_old::Scene, camera: &mut crate::camera::Camera) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot`, `length`, `norm`, and `angle` are never used
[INFO] [stdout]   --> src/oovm.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Vec2 {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn dot(self, rhs: Self) -> f32 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn length(self) -> f32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn norm(self) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn angle(self, rhs: Self) -> f32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `angle` and `lerp` are never used
[INFO] [stdout]    --> src/oovm.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl Vec3 {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn angle(self, rhs: Self) -> f32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn lerp(self, rhs: Self, t: f32) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `length`, `norm`, `angle`, and `cross` are never used
[INFO] [stdout]    --> src/oovm.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 185 | impl Vec4 {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn length(self) -> f32 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn norm(self) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn angle(self, rhs: Self) -> f32 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn cross(self, rhs: Self) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `identity`, `translate`, `scale`, `inverse`, `transpose`, and `determinant` are never used
[INFO] [stdout]    --> src/oovm.rs:293:12
[INFO] [stdout]     |
[INFO] [stdout] 286 | impl Mat4 {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn identity() -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 340 |     pub fn translate(translation: Vec3) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 352 |     pub fn scale(scale: Vec3) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 365 |     pub fn inverse(&self) -> Option<Mat4> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 415 |     pub fn transpose(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     pub fn determinant(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vertex` is never constructed
[INFO] [stdout]  --> src/mesh_old.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Vertex {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mesh_old.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Vertex {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new(position: Vec3, normal: Vec3, uv: Vec2) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TriangleMesh` is never constructed
[INFO] [stdout]   --> src/mesh_old.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct TriangleMesh {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/mesh_old.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl TriangleMesh {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 37 |     pub fn new(i0: u32, i1: u32, i2: u32, material_id: Option<u32>, texture_id: Option<u32>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mesh` is never constructed
[INFO] [stdout]   --> src/mesh_old.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct Mesh {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/mesh_old.rs:53:12
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Mesh {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  52 |
[INFO] [stdout]  53 |     pub fn transformation(&self) -> Mat4 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn simple_triangle() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     pub fn cube() -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn floor() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn icosphere(subdivisions: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn from_norm(path: &str) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn from_ply(path: &str) -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Polygon` is never constructed
[INFO] [stdout]  --> src/clipper.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Polygon {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Plane` is never used
[INFO] [stdout]   --> src/clipper.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum Plane {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inside` is never used
[INFO] [stdout]   --> src/clipper.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn inside(vertex: &Vertex, plane: Plane) -> bool {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `intersect` is never used
[INFO] [stdout]   --> src/clipper.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn intersect(a: &Vertex, b: &Vertex, plane: Plane) -> Vertex {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sutherland_hodgman` is never used
[INFO] [stdout]   --> src/clipper.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn sutherland_hodgman(input_polygon: Polygon) -> Polygon {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `clip_triangle` is never used
[INFO] [stdout]    --> src/clipper.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn clip_triangle(triangle: (Vertex, Vertex, Vertex)) -> Vec<(Vertex, Vertex, Vertex)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color`, `diffuse`, `specular`, and `shininess` are never read
[INFO] [stdout]  --> src/material.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub(crate) struct Material {
[INFO] [stdout]   |                   -------- fields in this struct
[INFO] [stdout] 5 |     pub color: Vec3,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 6 |     pub diffuse: Vec3,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub specular: Vec3,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 8 |     pub shininess: f32,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Material` 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 `sample` is never used
[INFO] [stdout]   --> src/texture.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Texture {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn sample(&self, uv: Vec2) -> Vec4 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `left`, `right`, `down`, `up`, `front`, and `back` are never read
[INFO] [stdout]    --> src/texture.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub struct CubeMap {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 111 |     left: Texture,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 112 |     right: Texture,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 113 |     down: Texture,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 114 |     up: Texture,
[INFO] [stdout]     |     ^^
[INFO] [stdout] 115 |     front: Texture,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 116 |     back: Texture,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sample` is never used
[INFO] [stdout]    --> src/texture.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | impl CubeMap {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn sample(&self, direction: Vec4) -> Vec4 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `camera_position` is never read
[INFO] [stdout]   --> src/pipeline/vertex.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Globals {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub camera_position: Vec4,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position` and `uv` are never read
[INFO] [stdout]  --> src/pipeline/fragment.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FragmentIn<'a> {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 4 |     pub position: &'a Vec4,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 5 |     pub normal: &'a Vec4,
[INFO] [stdout] 6 |     pub uv: &'a Vec2,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `R` and `Phong` are never constructed
[INFO] [stdout]  --> src/pipeline/rasterizer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum Shades {
[INFO] [stdout]   |          ------ variants in this enum
[INFO] [stdout] 7 |     Flat,
[INFO] [stdout] 8 |     R,
[INFO] [stdout]   |     ^
[INFO] [stdout] 9 |     Phong,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sun`, `settings`, `skybox`, `materials`, and `textures` are never read
[INFO] [stdout]   --> src/scene/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Scene {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 12 |     pub meshes: Vec<Mesh>,
[INFO] [stdout] 13 |     pub sun: LightSource,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 14 |     pub settings: Settings,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 15 |     pub skybox: Option<CubeMap>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 16 |     pub materials: Vec<Material>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 17 |     pub textures: Vec<Texture>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `material_id` is never read
[INFO] [stdout]  --> src/scene/triangle.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Triangle {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub material_id: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `consume_with_relish` is never used
[INFO] [stdout]   --> src/scene/triangle.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Triangle {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn consume_with_relish<F>(func: F)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position`, `rotation`, and `scale` are never read
[INFO] [stdout]   --> src/scene/mesh.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Mesh {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub(crate) position: Vec3,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 11 |     pub(crate) rotation: Vec3,
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 12 |     pub(crate) scale: Vec3,
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `cube` is never used
[INFO] [stdout]   --> src/scene/mesh.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Mesh {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn cube() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "3042f81aa98a9cdcb68809c1b78f904f0e20380b6093a3d6b2811a5cb3bb453d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3042f81aa98a9cdcb68809c1b78f904f0e20380b6093a3d6b2811a5cb3bb453d", kill_on_drop: false }`
[INFO] [stdout] 3042f81aa98a9cdcb68809c1b78f904f0e20380b6093a3d6b2811a5cb3bb453d
