[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 master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fevgh0%2Fopen-object-viewer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/evgh0/open-object-viewer on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "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" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.114
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.114
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.114
[INFO] [stderr]   Downloaded bit_field v0.10.3
[INFO] [stderr]   Downloaded servo-fontconfig v0.5.1
[INFO] [stderr]   Downloaded simd_helpers v0.1.0
[INFO] [stderr]   Downloaded gpu-descriptor-types v0.1.2
[INFO] [stderr]   Downloaded imgui-winit-support v0.11.0
[INFO] [stderr]   Downloaded fax_derive v0.2.0
[INFO] [stderr]   Downloaded maybe-rayon v0.1.1
[INFO] [stderr]   Downloaded interpolate_name v0.2.4
[INFO] [stderr]   Downloaded noop_proc_macro v0.3.0
[INFO] [stderr]   Downloaded aligned v0.4.3
[INFO] [stderr]   Downloaded com-rs v0.2.1
[INFO] [stderr]   Downloaded y4m v0.8.0
[INFO] [stderr]   Downloaded profiling v1.0.17
[INFO] [stderr]   Downloaded arg_enum_proc_macro v0.3.4
[INFO] [stderr]   Downloaded pastey v0.1.1
[INFO] [stderr]   Downloaded equator v0.4.2
[INFO] [stderr]   Downloaded new_debug_unreachable v1.0.6
[INFO] [stderr]   Downloaded mint v0.5.9
[INFO] [stderr]   Downloaded proc-macro-crate v1.3.1
[INFO] [stderr]   Downloaded num_enum_derive v0.5.11
[INFO] [stderr]   Downloaded as-slice v0.2.1
[INFO] [stderr]   Downloaded equator-macro v0.4.2
[INFO] [stderr]   Downloaded avif-serialize v0.8.8
[INFO] [stderr]   Downloaded lebe v0.5.3
[INFO] [stderr]   Downloaded gpu-descriptor v0.2.4
[INFO] [stderr]   Downloaded pollster v0.3.0
[INFO] [stderr]   Downloaded loop9 v0.1.5
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.17
[INFO] [stderr]   Downloaded fax v0.2.6
[INFO] [stderr]   Downloaded chlorine v1.0.13
[INFO] [stderr]   Downloaded aligned-vec v0.6.4
[INFO] [stderr]   Downloaded cmake v0.1.57
[INFO] [stderr]   Downloaded dwrote v0.11.5
[INFO] [stderr]   Downloaded core-text v20.1.0
[INFO] [stderr]   Downloaded hassle-rs v0.10.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.45
[INFO] [stderr]   Downloaded ravif v0.13.0
[INFO] [stderr]   Downloaded v_frame v0.3.9
[INFO] [stderr]   Downloaded is-terminal v0.4.17
[INFO] [stderr]   Downloaded num_enum v0.5.11
[INFO] [stderr]   Downloaded sctk-adwaita v0.4.3
[INFO] [stderr]   Downloaded raw-window-handle v0.5.2
[INFO] [stderr]   Downloaded gpu-alloc v0.5.4
[INFO] [stderr]   Downloaded d3d12 v0.6.0
[INFO] [stderr]   Downloaded pixels v0.13.0
[INFO] [stderr]   Downloaded humantime v2.3.0
[INFO] [stderr]   Downloaded simd-adler32 v0.3.8
[INFO] [stderr]   Downloaded imgui-wgpu v0.23.0
[INFO] [stderr]   Downloaded arbitrary v1.4.2
[INFO] [stderr]   Downloaded tiny-skia-path v0.7.0
[INFO] [stderr]   Downloaded crossfont v0.5.2
[INFO] [stderr]   Downloaded built v0.8.0
[INFO] [stderr]   Downloaded av1-grain v0.2.5
[INFO] [stderr]   Downloaded gif v0.14.1
[INFO] [stderr]   Downloaded zune-inflate v0.2.54
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.114
[INFO] [stderr]   Downloaded wgpu-types v0.16.1
[INFO] [stderr]   Downloaded ultraviolet v0.9.2
[INFO] [stderr]   Downloaded imgref v1.12.0
[INFO] [stderr]   Downloaded calloop v0.10.6
[INFO] [stderr]   Downloaded safe_arch v0.5.2
[INFO] [stderr]   Downloaded gpu-allocator v0.22.0
[INFO] [stderr]   Downloaded rayon-core v1.13.0
[INFO] [stderr]   Downloaded bitstream-io v4.9.0
[INFO] [stderr]   Downloaded qoi v0.4.1
[INFO] [stderr]   Downloaded toml_edit v0.19.15
[INFO] [stderr]   Downloaded tiff v0.11.3
[INFO] [stderr]   Downloaded rand v0.9.2
[INFO] [stderr]   Downloaded js-sys v0.3.91
[INFO] [stderr]   Downloaded cc v1.2.57
[INFO] [stderr]   Downloaded freetype-rs v0.26.0
[INFO] [stderr]   Downloaded indexmap v2.13.0
[INFO] [stderr]   Downloaded mio v0.8.11
[INFO] [stderr]   Downloaded widestring v1.2.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.42
[INFO] [stderr]   Downloaded wide v0.7.33
[INFO] [stderr]   Downloaded imgui v0.11.0
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.12
[INFO] [stderr]   Downloaded nom v8.0.0
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.16.1
[INFO] [stderr]   Downloaded zune-jpeg v0.5.14
[INFO] [stderr]   Downloaded wgpu v0.16.3
[INFO] [stderr]   Downloaded glow v0.12.3
[INFO] [stderr]   Downloaded tiny-skia v0.7.0
[INFO] [stderr]   Downloaded rayon v1.11.0
[INFO] [stderr]   Downloaded wgpu-core v0.16.1
[INFO] [stderr]   Downloaded exr v1.74.0
[INFO] [stderr]   Downloaded wgpu-hal v0.16.2
[INFO] [stderr]   Downloaded zerocopy v0.8.42
[INFO] [stderr]   Downloaded av-scenechange v0.14.1
[INFO] [stderr]   Downloaded naga v0.12.3
[INFO] [stderr]   Downloaded ash v0.37.3+1.3.251
[INFO] [stderr]   Downloaded expat-sys v2.1.6
[INFO] [stderr]   Downloaded web-sys v0.3.72
[INFO] [stderr]   Downloaded libc v0.2.183
[INFO] [stderr]   Downloaded pxfm v0.1.28
[INFO] [stderr]   Downloaded rav1e v0.8.1
[INFO] [stderr]   Downloaded servo-fontconfig-sys v5.1.0
[INFO] [stderr]   Downloaded imgui-sys v0.11.0
[INFO] [stderr]   Downloaded windows v0.44.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c
[INFO] running `Command { std: "docker" "start" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c", 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" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c", 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" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]    Compiling cc v1.2.57
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]     Checking unicode-xid v0.2.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]    Compiling crossfont v0.5.2
[INFO] [stderr]     Checking gpu-alloc v0.5.4
[INFO] [stderr]     Checking wgpu-types v0.16.1
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking foreign-types-shared v0.3.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking tiny-skia-path v0.7.0
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]    Compiling imgui-sys v0.11.0
[INFO] [stderr]     Checking freetype-rs v0.26.0
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]     Checking chlorine v1.0.13
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking mint v0.5.9
[INFO] [stderr]     Checking y4m v0.8.0
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking tiny-skia v0.7.0
[INFO] [stderr]     Checking bitstream-io v4.9.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking imgref v1.12.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking zune-jpeg v0.5.14
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking avif-serialize v0.8.8
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking pxfm v0.1.28
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking rgb v0.8.53
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking image-webp v0.2.4
[INFO] [stderr]     Checking gif v0.14.1
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking png v0.18.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking humantime v2.3.0
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking ultraviolet v0.9.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 fax_derive v0.2.0
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking foreign-types v0.5.0
[INFO] [stderr]     Checking fax v0.2.6
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking naga v0.12.3
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking imgui v0.11.0
[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 ravif v0.13.0
[INFO] [stderr]     Checking wgpu-core v0.16.1
[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: 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: 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] [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: 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 15s
[INFO] running `Command { std: "docker" "inspect" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c", kill_on_drop: false }`
[INFO] [stdout] 174c282b3b73f311b4fcee4b567413b91a63cb30f0b79511b55c25761853645c
