[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] c6635fd0e8fbcbb8d1a26130e7d3b5a5143e2643 [INFO] checking Liam-Wirth/terminal_renderer against try#fcfb0ffc7ed7fc631df1136063939ef648434735 for pr-152543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiam-Wirth%2Fterminal_renderer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Liam-Wirth/terminal_renderer on toolchain fcfb0ffc7ed7fc631df1136063939ef648434735 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "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" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 248 packages to latest Rust 1.95.0-nightly compatible versions [INFO] [stderr] Adding crossterm v0.28.1 (available: v0.29.0) [INFO] [stderr] Adding glam v0.29.3 (available: v0.32.0) [INFO] [stderr] Adding minifb v0.27.0 (available: v0.28.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9337a5369c7d474c97ac74bd4f6748b922df5179e195ec2c8afb82a946bc9e46 [INFO] running `Command { std: "docker" "start" "-a" "9337a5369c7d474c97ac74bd4f6748b922df5179e195ec2c8afb82a946bc9e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9337a5369c7d474c97ac74bd4f6748b922df5179e195ec2c8afb82a946bc9e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9337a5369c7d474c97ac74bd4f6748b922df5179e195ec2c8afb82a946bc9e46", kill_on_drop: false }` [INFO] [stdout] 9337a5369c7d474c97ac74bd4f6748b922df5179e195ec2c8afb82a946bc9e46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fcfb0ffc7ed7fc631df1136063939ef648434735" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe34e3fff7161a4ccf184fbed32426d53d86aa11a9087f314667d084819186b8 [INFO] running `Command { std: "docker" "start" "-a" "fe34e3fff7161a4ccf184fbed32426d53d86aa11a9087f314667d084819186b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking num-integer v0.1.46 [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 aligned v0.4.3 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking avif-serialize v0.8.8 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking zune-jpeg v0.5.12 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking clap v4.5.58 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking wayland-cursor v0.29.5 [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 rand_chacha v0.3.1 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking terminal_renderer v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::TextureManager` [INFO] [stdout] --> src/core/scene.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::TextureManager; [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: `geometry::Material` [INFO] [stdout] --> src/core/scene.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::{geometry::Material, Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: unused import: `crate::core::TextureManager` [INFO] [stdout] --> src/core/scene.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core::TextureManager; [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: `geometry::Material` [INFO] [stdout] --> src/core/scene.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use super::{geometry::Material, Color}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/scene.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut entities = Self::from_obj_set(penguin_path.to_str().unwrap()); [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: `mat_color` [INFO] [stdout] --> src/core/geometry/mat.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(mat_color) = self.diffuse { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/pipeline/rasterizer.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | width: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_pos` [INFO] [stdout] --> src/pipeline/rasterizer.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | 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: unused variable: `idx` [INFO] [stdout] --> src/pipeline/pipeline.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | 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:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | 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:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | 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:395:36 [INFO] [stdout] | [INFO] [stdout] 395 | 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:396:40 [INFO] [stdout] | [INFO] [stdout] 396 | 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:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | 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:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | 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:407:63 [INFO] [stdout] | [INFO] [stdout] 407 | 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:673:29 [INFO] [stdout] | [INFO] [stdout] 673 | 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:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | 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:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | _ => {} [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:999:25 [INFO] [stdout] | [INFO] [stdout] 971 | crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 982 | crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 993 | crossterm::event::MouseButton::Middle => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 999 | _ => {} [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:1015:29 [INFO] [stdout] | [INFO] [stdout] 1015 | ... _ => {} [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:1015:29 [INFO] [stdout] | [INFO] [stdout] 1004 | ... crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1009 | ... crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1014 | ... crossterm::event::MouseButton::Middle => {} [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] 1015 | ... _ => {} [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:55:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn better_recalculate_normals(&self, transform: &Affine3A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | 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: field `uv` is never read [INFO] [stdout] --> src/pipeline/rasterizer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct LineVertex { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | uv: Vec2, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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:137:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Rasterizer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn transform_vertices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn is_triangle_visible(&self, vertices: &[Vec4; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn vertex_colors( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | 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:721:4 [INFO] [stdout] | [INFO] [stdout] 721 | 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:731:4 [INFO] [stdout] | [INFO] [stdout] 731 | 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:386:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Pipeline { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | 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:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut entities = Self::from_obj_set(penguin_path.to_str().unwrap()); [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: `mat_color` [INFO] [stdout] --> src/core/geometry/mat.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(mat_color) = self.diffuse { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mat_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/pipeline/rasterizer.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | width: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_pos` [INFO] [stdout] --> src/pipeline/rasterizer.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | 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: unused variable: `idx` [INFO] [stdout] --> src/pipeline/pipeline.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | 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:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | 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:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | 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:395:36 [INFO] [stdout] | [INFO] [stdout] 395 | 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:396:40 [INFO] [stdout] | [INFO] [stdout] 396 | 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:398:20 [INFO] [stdout] | [INFO] [stdout] 398 | 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:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | 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:407:63 [INFO] [stdout] | [INFO] [stdout] 407 | 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:673:29 [INFO] [stdout] | [INFO] [stdout] 673 | 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:697:29 [INFO] [stdout] | [INFO] [stdout] 697 | 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:999:25 [INFO] [stdout] | [INFO] [stdout] 999 | _ => {} [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:999:25 [INFO] [stdout] | [INFO] [stdout] 971 | crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 982 | crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 993 | crossterm::event::MouseButton::Middle => { [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 999 | _ => {} [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:1015:29 [INFO] [stdout] | [INFO] [stdout] 1015 | ... _ => {} [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:1015:29 [INFO] [stdout] | [INFO] [stdout] 1004 | ... crossterm::event::MouseButton::Left => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1009 | ... crossterm::event::MouseButton::Right => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1014 | ... crossterm::event::MouseButton::Middle => {} [INFO] [stdout] | ------------------------------------- matches some of the same values [INFO] [stdout] 1015 | ... _ => {} [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:55:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Mesh { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | 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:163:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn better_recalculate_normals(&self, transform: &Affine3A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | 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: field `uv` is never read [INFO] [stdout] --> src/pipeline/rasterizer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct LineVertex { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | uv: Vec2, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineVertex` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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:137:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Rasterizer { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn transform_vertices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn is_triangle_visible(&self, vertices: &[Vec4; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn vertex_colors( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | 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:721:4 [INFO] [stdout] | [INFO] [stdout] 721 | 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:731:4 [INFO] [stdout] | [INFO] [stdout] 731 | 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:386:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl Pipeline { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | fn draw_light_markers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scale` [INFO] [stdout] --> src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use minifb::{Key, Scale, Window, WindowOptions}; [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: `TINY_DIMENSIONS` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | Color, DEBUG_PIPELINE, TINY_DIMENSIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | '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 import: `Scale` [INFO] [stdout] --> src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use minifb::{Key, Scale, Window, WindowOptions}; [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: `TINY_DIMENSIONS` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | Color, DEBUG_PIPELINE, TINY_DIMENSIONS, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | 'mainloop: loop { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "fe34e3fff7161a4ccf184fbed32426d53d86aa11a9087f314667d084819186b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe34e3fff7161a4ccf184fbed32426d53d86aa11a9087f314667d084819186b8", kill_on_drop: false }` [INFO] [stdout] fe34e3fff7161a4ccf184fbed32426d53d86aa11a9087f314667d084819186b8