[INFO] cloning repository https://github.com/computermouth/niveluno [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/computermouth/niveluno" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomputermouth%2Fniveluno", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomputermouth%2Fniveluno'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7d47338869c782e01ef9eead47ae85521d5bff7 [INFO] checking computermouth/niveluno against master#040e2f8b9ff2d76fbe2146d6003e297ed4532088 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcomputermouth%2Fniveluno" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/computermouth/niveluno [INFO] finished tweaking git repo https://github.com/computermouth/niveluno [INFO] tweaked toml for git repo https://github.com/computermouth/niveluno written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/computermouth/niveluno on toolchain 040e2f8b9ff2d76fbe2146d6003e297ed4532088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/computermouth/niveluno 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" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/computermouth/msgpacker.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b76fb10f9ac6d5d00e5a1390905d8bd4d35d92c95ce2de75628ab3b8a65d98a6 [INFO] running `Command { std: "docker" "start" "-a" "b76fb10f9ac6d5d00e5a1390905d8bd4d35d92c95ce2de75628ab3b8a65d98a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b76fb10f9ac6d5d00e5a1390905d8bd4d35d92c95ce2de75628ab3b8a65d98a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76fb10f9ac6d5d00e5a1390905d8bd4d35d92c95ce2de75628ab3b8a65d98a6", kill_on_drop: false }` [INFO] [stdout] b76fb10f9ac6d5d00e5a1390905d8bd4d35d92c95ce2de75628ab3b8a65d98a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+040e2f8b9ff2d76fbe2146d6003e297ed4532088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35df8b634771a860090382b4ce595c526bdc21be1914f230521bba721858174 [INFO] running `Command { std: "docker" "start" "-a" "e35df8b634771a860090382b4ce595c526bdc21be1914f230521bba721858174", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking bitstream-io v2.5.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking rgb v0.8.45 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking munzip v0.1.2 (/opt/rustwide/workdir/munzip) [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking raymath v0.1.0 (/opt/rustwide/workdir/raymath) [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking minipng v0.1.1 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling msgpacker-derive v0.4.0 (https://github.com/computermouth/msgpacker.git?rev=9074f28ad3da7ada789aedda67d56808242aeea0#9074f28a) [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking msgpacker v0.5.0 (https://github.com/computermouth/msgpacker.git?rev=9074f28ad3da7ada789aedda67d56808242aeea0#9074f28a) [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking ppv-lite86 v0.2.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mparse v0.1.0 (/opt/rustwide/workdir/mparse) [INFO] [stdout] warning: struct `DecorInstance` is never constructed [INFO] [stdout] --> mparse/src/types.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DecorInstance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecorInstance` is never constructed [INFO] [stdout] --> mparse/src/types.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct DecorInstance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking niveluno v0.1.0 (/opt/rustwide/workdir/niveluno) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> niveluno/src/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundingBox`, `RayCollision`, `Vector2`, `vector2_add`, `vector2_distance`, `vector2_dot_product`, `vector2_length`, `vector2_normalize`, `vector2_scale`, and `vector2_subtract` [INFO] [stdout] --> niveluno/src/e_player.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | matrix_rotate_y, matrix_translate, vector2_add, vector2_distance, vector2_dot_product, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | vector2_length, vector2_normalize, vector2_scale, vector2_subtract, vector3_add, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | vector3_distance, vector3_dot_product, vector3_length, vector3_multiply, vector3_negate, [INFO] [stdout] 7 | vector3_normalize, vector3_scale, vector3_subtract, vector3_transform, BoundingBox, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | RayCollision, Vector2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> niveluno/src/e_player.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instance` [INFO] [stdout] --> niveluno/src/e_player.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::g_instance::{get_decor_instances, Instance}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ray_collision_mesh` [INFO] [stdout] --> niveluno/src/e_player.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | closest_point_to_triangle, get_ray_collision_mesh, mesh_tranform, vec3_face_normal, Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OverlaySurface` [INFO] [stdout] --> niveluno/src/e_player.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::text::{self, OverlaySurface}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> niveluno/src/text.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoundingBox`, `RayCollision`, `Vector2`, `vector2_add`, `vector2_distance`, `vector2_dot_product`, `vector2_length`, `vector2_normalize`, `vector2_scale`, and `vector2_subtract` [INFO] [stdout] --> niveluno/src/e_player.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | matrix_rotate_y, matrix_translate, vector2_add, vector2_distance, vector2_dot_product, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | vector2_length, vector2_normalize, vector2_scale, vector2_subtract, vector3_add, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | vector3_distance, vector3_dot_product, vector3_length, vector3_multiply, vector3_negate, [INFO] [stdout] 7 | vector3_normalize, vector3_scale, vector3_subtract, vector3_transform, BoundingBox, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | RayCollision, Vector2, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> niveluno/src/e_player.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instance` [INFO] [stdout] --> niveluno/src/e_player.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::g_instance::{get_decor_instances, Instance}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_ray_collision_mesh` [INFO] [stdout] --> niveluno/src/e_player.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | closest_point_to_triangle, get_ray_collision_mesh, mesh_tranform, vec3_face_normal, Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OverlaySurface` [INFO] [stdout] --> niveluno/src/e_player.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::text::{self, OverlaySurface}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `sfx_map`, and `mus_map` are never read [INFO] [stdout] --> niveluno/src/audio.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | struct AudioGod<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub ctx: sdl2::mixer::Sdl2MixerContext, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub sfx_map: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub mus_map: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_sfx` is never used [INFO] [stdout] --> niveluno/src/audio.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn load_sfx() -> Result<(), NUError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_mus` is never used [INFO] [stdout] --> niveluno/src/audio.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn load_mus() -> Result<(), NUError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_ref` is never read [INFO] [stdout] --> niveluno/src/map.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 25 | pub ref_id: usize, [INFO] [stdout] 26 | pub has_ref: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_box_vertices` is never used [INFO] [stdout] --> niveluno/src/math.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_box_vertices(bbox: &BoundingBox) -> [Vector3; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_triangle_edges` is never used [INFO] [stdout] --> niveluno/src/math.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_triangle_edges(tri: [Vector3; 3]) -> [Vector3; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_shape_on_axis` is never used [INFO] [stdout] --> niveluno/src/math.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn project_shape_on_axis(vertices: &[Vector3], axis: Vector3) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines_overlap` is never used [INFO] [stdout] --> niveluno/src/math.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn lines_overlap(min1: f32, max1: f32, min2: f32, max2: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_point_in_box` is never used [INFO] [stdout] --> niveluno/src/math.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn is_point_in_box(point: Vector3, bbox: &BoundingBox) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_aabb_tri` is never used [INFO] [stdout] --> niveluno/src/math.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn sat_aabb_tri(bbox: &BoundingBox, tri: [Vector3; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_plane` is never used [INFO] [stdout] --> niveluno/src/math.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn closest_point_on_plane(plane_normal: Vector3, plane_distance: f32, point: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_in_triangle` is never used [INFO] [stdout] --> niveluno/src/math.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn point_in_triangle(p: Vector3, t: [Vector3; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_line` is never used [INFO] [stdout] --> niveluno/src/math.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn closest_point_on_line(line: [Vector3; 2], point: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_triangle` is never used [INFO] [stdout] --> niveluno/src/math.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | fn closest_point_on_triangle(triangle: [Vector3; 3], point: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> niveluno/src/render.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct MetaTex { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 46 | texture: GLuint, [INFO] [stdout] 47 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `placeholder_tex_id` is never used [INFO] [stdout] --> niveluno/src/render.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn placeholder_tex_id() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ETriggerLevelChange` is never constructed [INFO] [stdout] --> niveluno/src/g_instance.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Instance { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | ETriggerLevelChange, // todo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GcylFrames` is never used [INFO] [stdout] --> niveluno/src/e_gcyl.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GcylFrames { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orientation` is never read [INFO] [stdout] --> niveluno/src/e_light.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_on_orientation` is never used [INFO] [stdout] --> niveluno/src/e_light.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Light { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn move_on_orientation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/asset.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / ASSET_GOD [INFO] [stdout] 18 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] --> niveluno/src/audio.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | / AUDIO_GOD [INFO] [stdout] 16 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/input.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / INPUT_GOD [INFO] [stdout] 35 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/render.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | / RENDER_GOD [INFO] [stdout] 106 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/text.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / TEXT_GOD [INFO] [stdout] 107 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/time.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / TIME_GOD [INFO] [stdout] 13 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/g_game.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / GAME_GOD [INFO] [stdout] 21 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `sfx_map`, and `mus_map` are never read [INFO] [stdout] --> niveluno/src/audio.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | struct AudioGod<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub ctx: sdl2::mixer::Sdl2MixerContext, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | pub sfx_map: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub mus_map: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_sfx` is never used [INFO] [stdout] --> niveluno/src/audio.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn load_sfx() -> Result<(), NUError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_mus` is never used [INFO] [stdout] --> niveluno/src/audio.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn load_mus() -> Result<(), NUError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `has_ref` is never read [INFO] [stdout] --> niveluno/src/map.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 25 | pub ref_id: usize, [INFO] [stdout] 26 | pub has_ref: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_box_vertices` is never used [INFO] [stdout] --> niveluno/src/math.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_box_vertices(bbox: &BoundingBox) -> [Vector3; 8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_triangle_edges` is never used [INFO] [stdout] --> niveluno/src/math.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn get_triangle_edges(tri: [Vector3; 3]) -> [Vector3; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_shape_on_axis` is never used [INFO] [stdout] --> niveluno/src/math.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn project_shape_on_axis(vertices: &[Vector3], axis: Vector3) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines_overlap` is never used [INFO] [stdout] --> niveluno/src/math.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn lines_overlap(min1: f32, max1: f32, min2: f32, max2: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_point_in_box` is never used [INFO] [stdout] --> niveluno/src/math.rs:103:4 [INFO] [stdout] | [INFO] [stdout] 103 | fn is_point_in_box(point: Vector3, bbox: &BoundingBox) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sat_aabb_tri` is never used [INFO] [stdout] --> niveluno/src/math.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn sat_aabb_tri(bbox: &BoundingBox, tri: [Vector3; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_plane` is never used [INFO] [stdout] --> niveluno/src/math.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn closest_point_on_plane(plane_normal: Vector3, plane_distance: f32, point: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `point_in_triangle` is never used [INFO] [stdout] --> niveluno/src/math.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn point_in_triangle(p: Vector3, t: [Vector3; 3]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_line` is never used [INFO] [stdout] --> niveluno/src/math.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn closest_point_on_line(line: [Vector3; 2], point: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_point_on_triangle` is never used [INFO] [stdout] --> niveluno/src/math.rs:314:4 [INFO] [stdout] | [INFO] [stdout] 314 | fn closest_point_on_triangle(triangle: [Vector3; 3], point: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> niveluno/src/render.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct MetaTex { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 46 | texture: GLuint, [INFO] [stdout] 47 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `placeholder_tex_id` is never used [INFO] [stdout] --> niveluno/src/render.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn placeholder_tex_id() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ETriggerLevelChange` is never constructed [INFO] [stdout] --> niveluno/src/g_instance.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Instance { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | ETriggerLevelChange, // todo [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GcylFrames` is never used [INFO] [stdout] --> niveluno/src/e_gcyl.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GcylFrames { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orientation` is never read [INFO] [stdout] --> niveluno/src/e_light.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_on_orientation` is never used [INFO] [stdout] --> niveluno/src/e_light.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Light { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn move_on_orientation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/asset.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | / ASSET_GOD [INFO] [stdout] 18 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] --> niveluno/src/audio.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | / AUDIO_GOD [INFO] [stdout] 16 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/input.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / INPUT_GOD [INFO] [stdout] 35 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/render.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | / RENDER_GOD [INFO] [stdout] 106 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/text.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | / TEXT_GOD [INFO] [stdout] 107 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/time.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | / TIME_GOD [INFO] [stdout] 13 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> niveluno/src/g_game.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | / GAME_GOD [INFO] [stdout] 21 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Checking ravif v0.11.9 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking nmcc v0.1.0 (/opt/rustwide/workdir/nmcc) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.40s [INFO] running `Command { std: "docker" "inspect" "e35df8b634771a860090382b4ce595c526bdc21be1914f230521bba721858174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35df8b634771a860090382b4ce595c526bdc21be1914f230521bba721858174", kill_on_drop: false }` [INFO] [stdout] e35df8b634771a860090382b4ce595c526bdc21be1914f230521bba721858174