[INFO] cloning repository https://github.com/Liam-Wirth/terminal_renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Liam-Wirth/terminal_renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiam-Wirth%2Fterminal_renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiam-Wirth%2Fterminal_renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4db3b6296392eed46449a6e7937c7dfacedd35f [INFO] checking Liam-Wirth/terminal_renderer against try#94e848735e78b58442e0b82e9c60f8f430840389 for pr-149218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiam-Wirth%2Fterminal_renderer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Liam-Wirth/terminal_renderer [INFO] finished tweaking git repo https://github.com/Liam-Wirth/terminal_renderer [INFO] tweaked toml for git repo https://github.com/Liam-Wirth/terminal_renderer written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Liam-Wirth/terminal_renderer on toolchain 94e848735e78b58442e0b82e9c60f8f430840389 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 227 packages to latest Rust 1.93.0-nightly compatible versions [INFO] [stderr] Adding crossterm v0.28.1 (available: v0.29.0) [INFO] [stderr] Adding glam v0.29.3 (available: v0.30.9) [INFO] [stderr] Adding minifb v0.27.0 (available: v0.28.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.5 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded tobj v4.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2d45b83b4cd44fb4fecbafb69f03f368e3905e76b91cbe3741e6dd3bf1d8082 [INFO] running `Command { std: "docker" "start" "-a" "c2d45b83b4cd44fb4fecbafb69f03f368e3905e76b91cbe3741e6dd3bf1d8082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2d45b83b4cd44fb4fecbafb69f03f368e3905e76b91cbe3741e6dd3bf1d8082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2d45b83b4cd44fb4fecbafb69f03f368e3905e76b91cbe3741e6dd3bf1d8082", kill_on_drop: false }` [INFO] [stdout] c2d45b83b4cd44fb4fecbafb69f03f368e3905e76b91cbe3741e6dd3bf1d8082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+94e848735e78b58442e0b82e9c60f8f430840389" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa88f0ff26cdef6cb5601946a840218d57457260e89b533de7fbda347c761ebe [INFO] running `Command { std: "docker" "start" "-a" "fa88f0ff26cdef6cb5601946a840218d57457260e89b533de7fbda347c761ebe", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking pxfm v0.1.26 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking gif v0.14.0 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking zune-jpeg v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking moxcms v0.7.10 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tobj v4.0.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking terminal_renderer v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage`, and `Rgb` [INFO] [stdout] --> src/core/texture.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage`, and `Rgb` [INFO] [stdout] --> src/core/texture.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{ImageBuffer, Rgb, RgbImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::geometry::mesh::Mesh::bake_normals_to_colors`: I made up the version number, but at this stage I am implementing materials processing and would need to rewrite this method to bake these normals into a diffuse/overlay for the models actual materials. [INFO] [stdout] --> src/pipeline/pipeline.rs:504:18 [INFO] [stdout] | [INFO] [stdout] 504 | .bake_normals_to_colors(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/scene.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let mut out = Entity::new(floormesh, transform, "Floor".to_string()); [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: `face_idx` [INFO] [stdout] --> src/core/geometry/mesh.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | for (face_idx, indices) in mesh_data.indices.chunks(3).enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `face_idx` [INFO] [stdout] --> src/core/geometry/mesh.rs:514:18 [INFO] [stdout] | [INFO] [stdout] 514 | for (face_idx, indices) in mesh_data.indices.chunks(3).enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ambient` is never read [INFO] [stdout] --> src/core/light.rs:281:27 [INFO] [stdout] | [INFO] [stdout] 281 | let mut ambient = Color::WHITE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diffuse` is never read [INFO] [stdout] --> src/core/light.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | let mut diffuse = Color::WHITE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_pos` [INFO] [stdout] --> src/pipeline/rasterizer.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | let world_pos = (pos0 * b0_c + pos1 * b1_c + pos2 * b2_c) * persp_w; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::geometry::mesh::Mesh::bake_normals_to_colors`: I made up the version number, but at this stage I am implementing materials processing and would need to rewrite this method to bake these normals into a diffuse/overlay for the models actual materials. [INFO] [stdout] --> src/pipeline/pipeline.rs:504:18 [INFO] [stdout] | [INFO] [stdout] 504 | .bake_normals_to_colors(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/pipeline/pipeline.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | for (idx, fragment) in fragments.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_proj` [INFO] [stdout] --> src/pipeline/pipeline.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let view_proj = self.scene.camera.view_matrix() * self.scene.camera.projection_matrix(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_view_proj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buff` [INFO] [stdout] --> src/pipeline/pipeline.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | let buff = self.back_buffer.borrow_mut(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/pipeline/pipeline.rs:393:37 [INFO] [stdout] | [INFO] [stdout] 393 | &LightType::Point { position, .. } => {} [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/pipeline/pipeline.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | &LightType::Directional(direction) => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/pipeline/pipeline.rs:396:21 [INFO] [stdout] | [INFO] [stdout] 396 | position, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/pipeline/pipeline.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | direction, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_frame` [INFO] [stdout] --> src/pipeline/pipeline.rs:405:67 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn window_handle_input(&mut self, input: &minifb::Window, last_frame: std::time::Instant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_obj` [INFO] [stdout] --> src/pipeline/pipeline.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | let current_obj = self.states.borrow().current_obj; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/pipeline/pipeline.rs:702:29 [INFO] [stdout] | [INFO] [stdout] 702 | let t = *ent.transform(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pipeline/pipeline.rs:1004:25 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pipeline/pipeline.rs:1004:25 [INFO] [stdout] | [INFO] [stdout] 976 | crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 987 | crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 998 | crossterm::event::MouseButton::Middle => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pipeline/pipeline.rs:1020:29 [INFO] [stdout] | [INFO] [stdout] 1020 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pipeline/pipeline.rs:1020:29 [INFO] [stdout] | [INFO] [stdout] 1009 | ... crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1014 | ... crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1019 | ... crossterm::event::MouseButton::Middle => {} [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] 1020 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `hex_char_to_u8`, `hex_pair_to_u8`, and `hex` are never used [INFO] [stdout] --> src/core/color.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | const fn hex_char_to_u8(c: char) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | const fn hex_pair_to_u8(high: char, low: char) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn hex(hex: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `welded` is never read [INFO] [stdout] --> src/core/geometry/mesh.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | welded: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `better_recalculate_normals` and `angle_between` are never used [INFO] [stdout] --> src/core/geometry/mesh.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn better_recalculate_normals(&self, transform: &Affine3A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn angle_between(v1: &Vec3, v2: &Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_normal` is never used [INFO] [stdout] --> src/core/geometry/process.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn compute_normal(tri: &Tri, mesh: &Mesh) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transform_vertices`, `is_triangle_visible`, `vertex_colors`, and `rasterize_triangle_barycentric` are never used [INFO] [stdout] --> src/pipeline/rasterizer.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Rasterizer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn transform_vertices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn is_triangle_visible(&self, vertices: &[Vec4; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn vertex_colors( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | fn rasterize_triangle_barycentric( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_on_edge` is never used [INFO] [stdout] --> src/pipeline/rasterizer.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | fn is_on_edge(v0: &Vec2, v1: &Vec2, v2: &Vec2, p: &Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside` is never used [INFO] [stdout] --> src/pipeline/rasterizer.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn inside(v0: &Vec2, v1: &Vec2, v2: &Vec2, p: &Vec2) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_light_markers` is never used [INFO] [stdout] --> src/pipeline/pipeline.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Pipeline { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | fn draw_light_markers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/scene.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | let mut out = Entity::new(floormesh, transform, "Floor".to_string()); [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: `face_idx` [INFO] [stdout] --> src/core/geometry/mesh.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | for (face_idx, indices) in mesh_data.indices.chunks(3).enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `face_idx` [INFO] [stdout] --> src/core/geometry/mesh.rs:514:18 [INFO] [stdout] | [INFO] [stdout] 514 | for (face_idx, indices) in mesh_data.indices.chunks(3).enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_face_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ambient` is never read [INFO] [stdout] --> src/core/light.rs:281:27 [INFO] [stdout] | [INFO] [stdout] 281 | let mut ambient = Color::WHITE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `diffuse` is never read [INFO] [stdout] --> src/core/light.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | let mut diffuse = Color::WHITE; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 'mainloop: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_pos` [INFO] [stdout] --> src/pipeline/rasterizer.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | let world_pos = (pos0 * b0_c + pos1 * b1_c + pos2 * b2_c) * persp_w; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `window` is never read [INFO] [stdout] --> src/main.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mut window = Window::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | "Terminal Renderer - Window Mode", [INFO] [stdout] 142 | | WIDTH, [INFO] [stdout] 143 | | HEIGHT, [INFO] [stdout] ... | [INFO] [stdout] 150 | | .expect("Unable to open window"); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_term` is never used [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn run_term(scene: Scene) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_terminal` is never used [INFO] [stdout] --> src/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn cleanup_terminal() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 'mainloop: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/pipeline/pipeline.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | for (idx, fragment) in fragments.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_proj` [INFO] [stdout] --> src/pipeline/pipeline.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let view_proj = self.scene.camera.view_matrix() * self.scene.camera.projection_matrix(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_view_proj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buff` [INFO] [stdout] --> src/pipeline/pipeline.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | let buff = self.back_buffer.borrow_mut(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/pipeline/pipeline.rs:393:37 [INFO] [stdout] | [INFO] [stdout] 393 | &LightType::Point { position, .. } => {} [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/pipeline/pipeline.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | &LightType::Directional(direction) => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/pipeline/pipeline.rs:396:21 [INFO] [stdout] | [INFO] [stdout] 396 | position, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> src/pipeline/pipeline.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | direction, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_frame` [INFO] [stdout] --> src/pipeline/pipeline.rs:405:67 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn window_handle_input(&mut self, input: &minifb::Window, last_frame: std::time::Instant) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_obj` [INFO] [stdout] --> src/pipeline/pipeline.rs:678:29 [INFO] [stdout] | [INFO] [stdout] 678 | let current_obj = self.states.borrow().current_obj; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/pipeline/pipeline.rs:702:29 [INFO] [stdout] | [INFO] [stdout] 702 | let t = *ent.transform(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `window` is never read [INFO] [stdout] --> src/main.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let mut window = Window::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | "Terminal Renderer - Window Mode", [INFO] [stdout] 142 | | WIDTH, [INFO] [stdout] 143 | | HEIGHT, [INFO] [stdout] ... | [INFO] [stdout] 150 | | .expect("Unable to open window"); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pipeline/pipeline.rs:1004:25 [INFO] [stdout] | [INFO] [stdout] 1004 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pipeline/pipeline.rs:1004:25 [INFO] [stdout] | [INFO] [stdout] 976 | crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 987 | crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 998 | crossterm::event::MouseButton::Middle => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1004 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_term` is never used [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn run_term(scene: Scene) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pipeline/pipeline.rs:1020:29 [INFO] [stdout] | [INFO] [stdout] 1020 | ... _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pipeline/pipeline.rs:1020:29 [INFO] [stdout] | [INFO] [stdout] 1009 | ... crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1014 | ... crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1019 | ... crossterm::event::MouseButton::Middle => {} [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] 1020 | ... _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_terminal` is never used [INFO] [stdout] --> src/main.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn cleanup_terminal() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `hex_char_to_u8`, `hex_pair_to_u8`, and `hex` are never used [INFO] [stdout] --> src/core/color.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 13 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | const fn hex_char_to_u8(c: char) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | const fn hex_pair_to_u8(high: char, low: char) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn hex(hex: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `welded` is never read [INFO] [stdout] --> src/core/geometry/mesh.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | welded: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `better_recalculate_normals` and `angle_between` are never used [INFO] [stdout] --> src/core/geometry/mesh.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn better_recalculate_normals(&self, transform: &Affine3A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn angle_between(v1: &Vec3, v2: &Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_normal` is never used [INFO] [stdout] --> src/core/geometry/process.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn compute_normal(tri: &Tri, mesh: &Mesh) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transform_vertices`, `is_triangle_visible`, `vertex_colors`, and `rasterize_triangle_barycentric` are never used [INFO] [stdout] --> src/pipeline/rasterizer.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Rasterizer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | fn transform_vertices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn is_triangle_visible(&self, vertices: &[Vec4; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn vertex_colors( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | fn rasterize_triangle_barycentric( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_on_edge` is never used [INFO] [stdout] --> src/pipeline/rasterizer.rs:662:4 [INFO] [stdout] | [INFO] [stdout] 662 | fn is_on_edge(v0: &Vec2, v1: &Vec2, v2: &Vec2, p: &Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inside` is never used [INFO] [stdout] --> src/pipeline/rasterizer.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn inside(v0: &Vec2, v1: &Vec2, v2: &Vec2, p: &Vec2) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_light_markers` is never used [INFO] [stdout] --> src/pipeline/pipeline.rs:384:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl Pipeline { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | fn draw_light_markers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.03s [INFO] running `Command { std: "docker" "inspect" "fa88f0ff26cdef6cb5601946a840218d57457260e89b533de7fbda347c761ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa88f0ff26cdef6cb5601946a840218d57457260e89b533de7fbda347c761ebe", kill_on_drop: false }` [INFO] [stdout] fa88f0ff26cdef6cb5601946a840218d57457260e89b533de7fbda347c761ebe