[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 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDankov%2F3D-graphic-render-from-scratch" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AntonDankov/3D-graphic-render-from-scratch on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded native-dialog v0.7.0
[INFO] [stderr]   Downloaded zune-jpeg v0.4.14
[INFO] [stderr]   Downloaded v_frame v0.3.8
[INFO] [stderr]   Downloaded wfd v0.1.7
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.16
[INFO] [stderr]   Downloaded versions v5.0.1
[INFO] [stderr]   Downloaded aligned-vec v0.5.0
[INFO] [stderr]   Downloaded avif-serialize v0.8.3
[INFO] [stderr]   Downloaded ravif v0.11.11
[INFO] [stderr]   Downloaded av1-grain v0.2.3
[INFO] [stderr]   Downloaded image-webp v0.2.1
[INFO] [stderr]   Downloaded winnow v0.7.6
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.9
[INFO] [stderr]   Downloaded fixed v1.29.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0406a75d9d5e8e9455e4666c9dd2bbf14acb60248ecf39d4adacf04d9595f341
[INFO] running `Command { std: "docker" "start" "-a" "0406a75d9d5e8e9455e4666c9dd2bbf14acb60248ecf39d4adacf04d9595f341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0406a75d9d5e8e9455e4666c9dd2bbf14acb60248ecf39d4adacf04d9595f341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0406a75d9d5e8e9455e4666c9dd2bbf14acb60248ecf39d4adacf04d9595f341", kill_on_drop: false }`
[INFO] [stdout] 0406a75d9d5e8e9455e4666c9dd2bbf14acb60248ecf39d4adacf04d9595f341
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd42088d72ceb6a889caccf8263cceefe27879046481d00a4cb04854269e6933
[INFO] running `Command { std: "docker" "start" "-a" "cd42088d72ceb6a889caccf8263cceefe27879046481d00a4cb04854269e6933", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling cc v1.2.14
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling fixed v1.29.0
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling versions v5.0.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[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)]` (part of `#[warn(unused)]`) 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]     |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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]     |                          ^ help: try ignoring the field: `y: _`
[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: `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: `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: 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)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) 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/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)]` (part of `#[warn(rust_2024_compatibility)]`) 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/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 2m 22s
[INFO] running `Command { std: "docker" "inspect" "cd42088d72ceb6a889caccf8263cceefe27879046481d00a4cb04854269e6933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd42088d72ceb6a889caccf8263cceefe27879046481d00a4cb04854269e6933", kill_on_drop: false }`
[INFO] [stdout] cd42088d72ceb6a889caccf8263cceefe27879046481d00a4cb04854269e6933
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9073d4d3af9ec5373fd27802e1af2682b11c71d556b48d4a96513fd55cc71faf
[INFO] running `Command { std: "docker" "start" "-a" "9073d4d3af9ec5373fd27802e1af2682b11c71d556b48d4a96513fd55cc71faf", 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)]` (part of `#[warn(unused)]`) 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]     |                 ^ help: try ignoring the field: `x: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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]     |                          ^ help: try ignoring the field: `y: _`
[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: `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: `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: 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)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) 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/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)]` (part of `#[warn(rust_2024_compatibility)]`) 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/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 1.09s
[INFO] running `Command { std: "docker" "inspect" "9073d4d3af9ec5373fd27802e1af2682b11c71d556b48d4a96513fd55cc71faf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9073d4d3af9ec5373fd27802e1af2682b11c71d556b48d4a96513fd55cc71faf", kill_on_drop: false }`
[INFO] [stdout] 9073d4d3af9ec5373fd27802e1af2682b11c71d556b48d4a96513fd55cc71faf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a78605caecae0bec65598897300d843d38c73c2e7f33f0bb3480f341f1a8324e
[INFO] running `Command { std: "docker" "start" "-a" "a78605caecae0bec65598897300d843d38c73c2e7f33f0bb3480f341f1a8324e", 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)]` (part of `#[warn(unused)]`) 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]     |                 ^ help: try ignoring the field: `x: _`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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]     |                          ^ help: try ignoring the field: `y: _`
[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: `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: `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: 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)]` (part of `#[warn(unused)]`) on by default
[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: 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)]` (part of `#[warn(unused)]`) 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/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)]` (part of `#[warn(rust_2024_compatibility)]`) 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/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" -p graphics_3d_from_scratch_pikuma --tests` to apply 18 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/graphics_3d_from_scratch_pikuma-70483288f9d0a8b3)
[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" "a78605caecae0bec65598897300d843d38c73c2e7f33f0bb3480f341f1a8324e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a78605caecae0bec65598897300d843d38c73c2e7f33f0bb3480f341f1a8324e", kill_on_drop: false }`
[INFO] [stdout] a78605caecae0bec65598897300d843d38c73c2e7f33f0bb3480f341f1a8324e
