[INFO] cloning repository https://github.com/AntonDankov/3D-graphic-render-from-scratch
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntonDankov/3D-graphic-render-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDankov%2F3D-graphic-render-from-scratch", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDankov%2F3D-graphic-render-from-scratch'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d921a4f3f430d975b6e40339d5fba876566bc2f2
[INFO] testing AntonDankov/3D-graphic-render-from-scratch against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDankov%2F3D-graphic-render-from-scratch" "/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/AntonDankov/3D-graphic-render-from-scratch
[INFO] finished tweaking git repo https://github.com/AntonDankov/3D-graphic-render-from-scratch
[INFO] tweaked toml for git repo https://github.com/AntonDankov/3D-graphic-render-from-scratch written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AntonDankov/3D-graphic-render-from-scratch on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AntonDankov/3D-graphic-render-from-scratch 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded version-compare v0.1.1
[INFO] [stderr]   Downloaded errno v0.3.11
[INFO] [stderr]   Downloaded cmake v0.1.54
[INFO] [stderr]   Downloaded native-dialog v0.7.0
[INFO] [stderr]   Downloaded ravif v0.11.11
[INFO] [stderr]   Downloaded versions v5.0.1
[INFO] [stderr]   Downloaded wfd v0.1.7
[INFO] [stderr]   Downloaded ascii v1.1.0
[INFO] [stderr]   Downloaded getrandom v0.3.2
[INFO] [stderr]   Downloaded sdl2 v0.37.0
[INFO] [stderr]   Downloaded cc v1.2.14
[INFO] [stderr]   Downloaded fixed v1.29.0
[INFO] [stderr]   Downloaded sdl2-sys v0.37.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 975aea98c062ae9a5e31bce5ac4b94ac824e413407b7dd8c890a5c102a5672c9
[INFO] running `Command { std: "docker" "start" "-a" "975aea98c062ae9a5e31bce5ac4b94ac824e413407b7dd8c890a5c102a5672c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "975aea98c062ae9a5e31bce5ac4b94ac824e413407b7dd8c890a5c102a5672c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "975aea98c062ae9a5e31bce5ac4b94ac824e413407b7dd8c890a5c102a5672c9", kill_on_drop: false }`
[INFO] [stdout] 975aea98c062ae9a5e31bce5ac4b94ac824e413407b7dd8c890a5c102a5672c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65b8f31ed6a1d63a0c4fdda6ad24608563a01f4beaa7892605146aeb153b12d1
[INFO] running `Command { std: "docker" "start" "-a" "65b8f31ed6a1d63a0c4fdda6ad24608563a01f4beaa7892605146aeb153b12d1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cc v1.2.14
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling fixed v1.29.0
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling versions v5.0.1
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling native-dialog v0.7.0
[INFO] [stderr]    Compiling ravif v0.11.11
[INFO] [stderr]    Compiling image v0.25.6
[INFO] [stderr]    Compiling graphics_3d_from_scratch_pikuma v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FixedVec4`
[INFO] [stdout]  --> src/math.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::{FixedVec4, Vec4};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Camera`, `Entity`, `IntVec2`, `Plane`, `Vec2`, and `Vec3`
[INFO] [stdout]  --> src/subpixel_rendering.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Camera, Entity, IntVec2, Plane, Texture, TextureUV, Vec2, Vec3};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^                      ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Vec4` and `vector4_trunk`
[INFO] [stdout]  --> src/subpixel_rendering.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vector::{vector4_trunk, FixedVec4, Vec4};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/subpixel_rendering.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/subpixel_rendering.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/subpixel_rendering.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/subpixel_rendering.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `barycentric_weights`, `get_inv_slope`, `perspective_project_point`, `transform_vertex`, `triangle_avg`, `triangle_midpoint_uv`, `triangle_vec2_midpoint`, `triangle_vec4_midpoint`, `vector2_add`, `vector2_mul_float`, `vector2_sub`, `vector3_add`, `vector3_cross`, `vector3_dot`, `vector3_mul_float`, `vector3_mul`, `vector3_normalize`, and `vector3_sub`
[INFO] [stdout]   --> src/subpixel_rendering.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     barycentric_weights, get_inv_slope, light_apply_intensity, perspective_project_point,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     transform_vertex, triangle_avg, triangle_midpoint_uv, triangle_vec2_midpoint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     triangle_vec4_midpoint, vector2_add, vector2_mul_float, vector2_sub, vector3_add,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 16 |     vector3_cross, vector3_dot, vector3_mul, vector3_mul_float, vector3_normalize, vector3_sub,
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Matrix4`, `get_fps_view_matrix`, and `get_projection_matrix`
[INFO] [stdout]   --> src/subpixel_rendering.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::matrix::{get_fps_view_matrix, get_projection_matrix, Matrix4};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/input.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 x, xrel, y, yrel, ..
[INFO] [stdout]     |                 ^-
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try removing the field
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/input.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 x, xrel, y, yrel, ..
[INFO] [stdout]     |                          ^-
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: try removing the field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/render.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |     for (i, triangle) in entity.mesh.triangles.iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light_dot`
[INFO] [stdout]    --> src/render.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                         let light_dot = vector3_dot(game_memory.light, normal) * -1.0;
[INFO] [stdout]     |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_dot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `camera`
[INFO] [stdout]   --> src/render.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn render_entity(entity: &Entity, camera: &mut Camera) {
[INFO] [stdout]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_buffer`
[INFO] [stdout]    --> src/render.rs:758:5
[INFO] [stdout]     |
[INFO] [stdout] 758 |     color_buffer: &mut [u32],
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/subpixel_rendering.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     color: u32,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ten_millis`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let ten_millis = Duration::from_millis(10);
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ten_millis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut window = video_subsystem
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BOX_POINT_COUNTER` is never used
[INFO] [stdout]  --> src/game_state.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub static BOX_POINT_COUNTER: usize = 9 * 9 * 9;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `triangle_vec2_midpoint` is never used
[INFO] [stdout]    --> src/math.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn triangle_vec2_midpoint(p0: IntVec2, p1: IntVec2, p2: IntVec2) -> IntVec2 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_triangle` is never used
[INFO] [stdout]    --> src/render.rs:372:8
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub fn fill_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_flat_bottom_triangle` is never used
[INFO] [stdout]    --> src/render.rs:398:8
[INFO] [stdout]     |
[INFO] [stdout] 398 | pub fn fill_flat_bottom_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_flat_top_triangle` is never used
[INFO] [stdout]    --> src/render.rs:426:8
[INFO] [stdout]     |
[INFO] [stdout] 426 | pub fn fill_flat_top_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntVec3` is never constructed
[INFO] [stdout]   --> src/types.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct IntVec3 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/types.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct ViewSettings {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub width: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 92 |     pub height: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color_buffer` is never read
[INFO] [stdout]   --> src/types.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct Memory {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 96 |     pub delta_time: f32,
[INFO] [stdout] 97 |     pub color_buffer: Vec<u32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `z` is never read
[INFO] [stdout]   --> src/vector.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct FixedVec4 {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub z: Fixed,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game_state.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |     unsafe { GAME_MEMORY.as_mut().unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/game_state.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 |     unsafe { &mut COLOR_BUFFER }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 318 |     unsafe { &raw mut COLOR_BUFFER }
[INFO] [stdout]     |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 27s
[INFO] running `Command { std: "docker" "inspect" "65b8f31ed6a1d63a0c4fdda6ad24608563a01f4beaa7892605146aeb153b12d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65b8f31ed6a1d63a0c4fdda6ad24608563a01f4beaa7892605146aeb153b12d1", kill_on_drop: false }`
[INFO] [stdout] 65b8f31ed6a1d63a0c4fdda6ad24608563a01f4beaa7892605146aeb153b12d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db5d57915fe331162e36cdea7ce52f6c84048a2515e4ebbc6823d4f3c3a75a80
[INFO] running `Command { std: "docker" "start" "-a" "db5d57915fe331162e36cdea7ce52f6c84048a2515e4ebbc6823d4f3c3a75a80", kill_on_drop: false }`
[INFO] [stderr]    Compiling graphics_3d_from_scratch_pikuma v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FixedVec4`
[INFO] [stdout]  --> src/math.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::vector::{FixedVec4, Vec4};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Camera`, `Entity`, `IntVec2`, `Plane`, `Vec2`, and `Vec3`
[INFO] [stdout]  --> src/subpixel_rendering.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Camera, Entity, IntVec2, Plane, Texture, TextureUV, Vec2, Vec3};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^                      ^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Vec4` and `vector4_trunk`
[INFO] [stdout]  --> src/subpixel_rendering.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::vector::{vector4_trunk, FixedVec4, Vec4};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/subpixel_rendering.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/subpixel_rendering.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/subpixel_rendering.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/subpixel_rendering.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `barycentric_weights`, `get_inv_slope`, `perspective_project_point`, `transform_vertex`, `triangle_avg`, `triangle_midpoint_uv`, `triangle_vec2_midpoint`, `triangle_vec4_midpoint`, `vector2_add`, `vector2_mul_float`, `vector2_sub`, `vector3_add`, `vector3_cross`, `vector3_dot`, `vector3_mul_float`, `vector3_mul`, `vector3_normalize`, and `vector3_sub`
[INFO] [stdout]   --> src/subpixel_rendering.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     barycentric_weights, get_inv_slope, light_apply_intensity, perspective_project_point,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     transform_vertex, triangle_avg, triangle_midpoint_uv, triangle_vec2_midpoint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     triangle_vec4_midpoint, vector2_add, vector2_mul_float, vector2_sub, vector3_add,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 16 |     vector3_cross, vector3_dot, vector3_mul, vector3_mul_float, vector3_normalize, vector3_sub,
[INFO] [stdout]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Matrix4`, `get_fps_view_matrix`, and `get_projection_matrix`
[INFO] [stdout]   --> src/subpixel_rendering.rs:18:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::matrix::{get_fps_view_matrix, get_projection_matrix, Matrix4};
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/input.rs:112:17
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 x, xrel, y, yrel, ..
[INFO] [stdout]     |                 ^-
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: try removing the field
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/input.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 x, xrel, y, yrel, ..
[INFO] [stdout]     |                          ^-
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: try removing the field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/render.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 |     for (i, triangle) in entity.mesh.triangles.iter().enumerate() {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light_dot`
[INFO] [stdout]    --> src/render.rs:105:29
[INFO] [stdout]     |
[INFO] [stdout] 105 |                         let light_dot = vector3_dot(game_memory.light, normal) * -1.0;
[INFO] [stdout]     |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_dot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `camera`
[INFO] [stdout]   --> src/render.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn render_entity(entity: &Entity, camera: &mut Camera) {
[INFO] [stdout]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_buffer`
[INFO] [stdout]    --> src/render.rs:758:5
[INFO] [stdout]     |
[INFO] [stdout] 758 |     color_buffer: &mut [u32],
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]   --> src/subpixel_rendering.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     color: u32,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ten_millis`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let ten_millis = Duration::from_millis(10);
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ten_millis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut window = video_subsystem
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BOX_POINT_COUNTER` is never used
[INFO] [stdout]  --> src/game_state.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub static BOX_POINT_COUNTER: usize = 9 * 9 * 9;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `triangle_vec2_midpoint` is never used
[INFO] [stdout]    --> src/math.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn triangle_vec2_midpoint(p0: IntVec2, p1: IntVec2, p2: IntVec2) -> IntVec2 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_triangle` is never used
[INFO] [stdout]    --> src/render.rs:372:8
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub fn fill_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_flat_bottom_triangle` is never used
[INFO] [stdout]    --> src/render.rs:398:8
[INFO] [stdout]     |
[INFO] [stdout] 398 | pub fn fill_flat_bottom_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fill_flat_top_triangle` is never used
[INFO] [stdout]    --> src/render.rs:426:8
[INFO] [stdout]     |
[INFO] [stdout] 426 | pub fn fill_flat_top_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IntVec3` is never constructed
[INFO] [stdout]   --> src/types.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct IntVec3 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]   --> src/types.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct ViewSettings {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub width: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 92 |     pub height: u32,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `color_buffer` is never read
[INFO] [stdout]   --> src/types.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct Memory {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 96 |     pub delta_time: f32,
[INFO] [stdout] 97 |     pub color_buffer: Vec<u32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `z` is never read
[INFO] [stdout]   --> src/vector.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct FixedVec4 {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub z: Fixed,
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game_state.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |     unsafe { GAME_MEMORY.as_mut().unwrap() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/game_state.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 |     unsafe { &mut COLOR_BUFFER }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 318 |     unsafe { &raw mut COLOR_BUFFER }
[INFO] [stdout]     |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "db5d57915fe331162e36cdea7ce52f6c84048a2515e4ebbc6823d4f3c3a75a80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db5d57915fe331162e36cdea7ce52f6c84048a2515e4ebbc6823d4f3c3a75a80", kill_on_drop: false }`
[INFO] [stdout] db5d57915fe331162e36cdea7ce52f6c84048a2515e4ebbc6823d4f3c3a75a80
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2b97ff9600610b1ad80a632c9c48f8631df04ff5438c6bb80e385281e897203a
[INFO] running `Command { std: "docker" "start" "-a" "2b97ff9600610b1ad80a632c9c48f8631df04ff5438c6bb80e385281e897203a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `FixedVec4`
[INFO] [stderr]  --> src/math.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::vector::{FixedVec4, Vec4};
[INFO] [stderr]   |                     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Camera`, `Entity`, `IntVec2`, `Plane`, `Vec2`, and `Vec3`
[INFO] [stderr]  --> src/subpixel_rendering.rs:1:20
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::types::{Camera, Entity, IntVec2, Plane, Texture, TextureUV, Vec2, Vec3};
[INFO] [stderr]   |                    ^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^                      ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Vec4` and `vector4_trunk`
[INFO] [stderr]  --> src/subpixel_rendering.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::vector::{vector4_trunk, FixedVec4, Vec4};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^             ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp`
[INFO] [stderr]  --> src/subpixel_rendering.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::cmp;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]  --> src/subpixel_rendering.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::cmp::max;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::min`
[INFO] [stderr]  --> src/subpixel_rendering.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::cmp::min;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/subpixel_rendering.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `barycentric_weights`, `get_inv_slope`, `perspective_project_point`, `transform_vertex`, `triangle_avg`, `triangle_midpoint_uv`, `triangle_vec2_midpoint`, `triangle_vec4_midpoint`, `vector2_add`, `vector2_mul_float`, `vector2_sub`, `vector3_add`, `vector3_cross`, `vector3_dot`, `vector3_mul_float`, `vector3_mul`, `vector3_normalize`, and `vector3_sub`
[INFO] [stderr]   --> src/subpixel_rendering.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     barycentric_weights, get_inv_slope, light_apply_intensity, perspective_project_point,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     transform_vertex, triangle_avg, triangle_midpoint_uv, triangle_vec2_midpoint,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     triangle_vec4_midpoint, vector2_add, vector2_mul_float, vector2_sub, vector3_add,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 16 |     vector3_cross, vector3_dot, vector3_mul, vector3_mul_float, vector3_normalize, vector3_sub,
[INFO] [stderr]    |     ^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Matrix4`, `get_fps_view_matrix`, and `get_projection_matrix`
[INFO] [stderr]   --> src/subpixel_rendering.rs:18:21
[INFO] [stderr]    |
[INFO] [stderr] 18 | use crate::matrix::{get_fps_view_matrix, get_projection_matrix, Matrix4};
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]    --> src/input.rs:112:17
[INFO] [stderr]     |
[INFO] [stderr] 112 |                 x, xrel, y, yrel, ..
[INFO] [stderr]     |                 ^-
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: try removing the field
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]    --> src/input.rs:112:26
[INFO] [stderr]     |
[INFO] [stderr] 112 |                 x, xrel, y, yrel, ..
[INFO] [stderr]     |                          ^-
[INFO] [stderr]     |                          |
[INFO] [stderr]     |                          help: try removing the field
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> src/render.rs:40:10
[INFO] [stderr]    |
[INFO] [stderr] 40 |     for (i, triangle) in entity.mesh.triangles.iter().enumerate() {
[INFO] [stderr]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `light_dot`
[INFO] [stderr]    --> src/render.rs:105:29
[INFO] [stderr]     |
[INFO] [stderr] 105 |                         let light_dot = vector3_dot(game_memory.light, normal) * -1.0;
[INFO] [stderr]     |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_dot`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `camera`
[INFO] [stderr]   --> src/render.rs:17:39
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn render_entity(entity: &Entity, camera: &mut Camera) {
[INFO] [stderr]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color_buffer`
[INFO] [stderr]    --> src/render.rs:758:5
[INFO] [stderr]     |
[INFO] [stderr] 758 |     color_buffer: &mut [u32],
[INFO] [stderr]     |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buffer`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color`
[INFO] [stderr]   --> src/subpixel_rendering.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     color: u32,
[INFO] [stderr]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ten_millis`
[INFO] [stderr]   --> src/main.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let ten_millis = Duration::from_millis(10);
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ten_millis`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let mut window = video_subsystem
[INFO] [stderr]    |         ----^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static `BOX_POINT_COUNTER` is never used
[INFO] [stderr]  --> src/game_state.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub static BOX_POINT_COUNTER: usize = 9 * 9 * 9;
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `triangle_vec2_midpoint` is never used
[INFO] [stderr]    --> src/math.rs:136:8
[INFO] [stderr]     |
[INFO] [stderr] 136 | pub fn triangle_vec2_midpoint(p0: IntVec2, p1: IntVec2, p2: IntVec2) -> IntVec2 {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `fill_triangle` is never used
[INFO] [stderr]    --> src/render.rs:372:8
[INFO] [stderr]     |
[INFO] [stderr] 372 | pub fn fill_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `fill_flat_bottom_triangle` is never used
[INFO] [stderr]    --> src/render.rs:398:8
[INFO] [stderr]     |
[INFO] [stderr] 398 | pub fn fill_flat_bottom_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `fill_flat_top_triangle` is never used
[INFO] [stderr]    --> src/render.rs:426:8
[INFO] [stderr]     |
[INFO] [stderr] 426 | pub fn fill_flat_top_triangle(p0: IntVec2, p1: IntVec2, p2: IntVec2, color: u32) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `IntVec3` is never constructed
[INFO] [stderr]   --> src/types.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct IntVec3 {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `width` and `height` are never read
[INFO] [stderr]   --> src/types.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub struct ViewSettings {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 91 |     pub width: u32,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 92 |     pub height: u32,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `color_buffer` is never read
[INFO] [stderr]   --> src/types.rs:97:9
[INFO] [stderr]    |
[INFO] [stderr] 95 | pub struct Memory {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] 96 |     pub delta_time: f32,
[INFO] [stderr] 97 |     pub color_buffer: Vec<u32>,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `z` is never read
[INFO] [stderr]   --> src/vector.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct FixedVec4 {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub z: Fixed,
[INFO] [stderr]    |         ^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/game_state.rs:79:14
[INFO] [stderr]    |
[INFO] [stderr] 79 |     unsafe { GAME_MEMORY.as_mut().unwrap() }
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/game_state.rs:318:14
[INFO] [stderr]     |
[INFO] [stderr] 318 |     unsafe { &mut COLOR_BUFFER }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 318 |     unsafe { &raw mut COLOR_BUFFER }
[INFO] [stderr]     |               +++
[INFO] [stderr] 
[INFO] [stderr] warning: `graphics_3d_from_scratch_pikuma` (bin "graphics_3d_from_scratch_pikuma" test) generated 29 warnings (run `cargo fix --bin "graphics_3d_from_scratch_pikuma" --tests` to apply 12 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/graphics_3d_from_scratch_pikuma-0f8d54ce809b74e7)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2b97ff9600610b1ad80a632c9c48f8631df04ff5438c6bb80e385281e897203a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b97ff9600610b1ad80a632c9c48f8631df04ff5438c6bb80e385281e897203a", kill_on_drop: false }`
[INFO] [stdout] 2b97ff9600610b1ad80a632c9c48f8631df04ff5438c6bb80e385281e897203a
