[INFO] cloning repository https://github.com/Simineon/engine_r_source
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simineon/engine_r_source" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimineon%2Fengine_r_source", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimineon%2Fengine_r_source'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] feaff64b86295e66e6ea28b35e6f9838771fbabc
[INFO] checking Simineon/engine_r_source against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimineon%2Fengine_r_source" "/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/Simineon/engine_r_source
[INFO] finished tweaking git repo https://github.com/Simineon/engine_r_source
[INFO] tweaked toml for git repo https://github.com/Simineon/engine_r_source written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Simineon/engine_r_source on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Simineon/engine_r_source 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `engine_source` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-3-tc1/source/target/.../engine_source
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `engine-source`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 - name = "engine_source"
[INFO] [stderr] 10 + name = "engine-source"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `engine-source`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:11:19
[INFO] [stderr]    |
[INFO] [stderr] 11 ~ version = "0.1.0"
[INFO] [stderr] 12 + [[bin]]
[INFO] [stderr] 13 + name = "engine-source"
[INFO] [stderr] 14 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `engine_source` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simba v0.8.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.121
[INFO] [stderr]   Downloaded nalgebra-glm v0.18.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.121
[INFO] [stderr]   Downloaded matrixmultiply v0.3.11
[INFO] [stderr]   Downloaded glutin v0.29.1
[INFO] [stderr]   Downloaded crossfont v0.5.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.121
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.121
[INFO] [stderr]   Downloaded nalgebra v0.32.6
[INFO] [stderr]   Downloaded web-sys v0.3.98
[INFO] [stderr]   Downloaded wayland-egl v0.29.5
[INFO] [stderr]   Downloaded js-sys v0.3.98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b
[INFO] running `Command { std: "docker" "start" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `engine_source` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../engine_source
[INFO] [stderr]    |                          ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `engine-source`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 - name = "engine_source"
[INFO] [stderr] 10 + name = "engine-source"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `engine-source`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:11:19
[INFO] [stderr]    |
[INFO] [stderr] 11 ~ version = "0.1.0"
[INFO] [stderr] 12 + [[bin]]
[INFO] [stderr] 13 + name = "engine-source"
[INFO] [stderr] 14 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `engine_source` (manifest) generated 1 warning
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling slotmap v1.1.1
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]    Compiling crossfont v0.5.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking dlib v0.5.3
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking foreign-types-shared v0.3.1
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.11
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking gif v0.13.3
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking freetype-rs v0.26.0
[INFO] [stderr]     Checking servo-fontconfig v0.5.1
[INFO] [stderr]     Checking simba v0.8.1
[INFO] [stderr]     Checking tiny-skia v0.7.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling foreign-types-macros v0.2.3
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking wayland-egl v0.29.5
[INFO] [stderr]     Checking foreign-types v0.5.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking nalgebra v0.32.6
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking nalgebra-glm v0.18.0
[INFO] [stderr]     Checking sctk-adwaita v0.4.3
[INFO] [stderr]     Checking winit v0.27.5
[INFO] [stderr]     Checking glutin v0.29.1
[INFO] [stderr]     Checking engine_source v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `get_all_game_objects` and `register_game_object`
[INFO] [stdout]  --> src/engine/general/objects2d/sprite.rs:1:54
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::engine::general::entity::entity::{Entity, get_all_game_objects, register_game_object};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GLsizeiptr`
[INFO] [stdout]  --> src/engine/graphics/shader.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gl::types::{GLenum, GLint, GLsizeiptr, GLuint};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateShader`
[INFO] [stdout]  --> src/engine/graphics/shader.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::{self, CreateShader};
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `NulError`
[INFO] [stdout]  --> src/engine/graphics/shader.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString, NulError};
[INFO] [stdout]   |                ^^^^           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GLenum` and `GLsizeiptr`
[INFO] [stdout]  --> src/engine/graphics/vertex_array.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gl::types::{GLenum, GLint, GLsizeiptr, GLuint};
[INFO] [stdout]   |                 ^^^^^^         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_all_game_objects` and `register_game_object`
[INFO] [stdout]  --> src/engine/general/objects2d/sprite.rs:1:54
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::engine::general::entity::entity::{Entity, get_all_game_objects, register_game_object};
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GLsizeiptr`
[INFO] [stdout]  --> src/engine/graphics/shader.rs:1:32
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gl::types::{GLenum, GLint, GLsizeiptr, GLuint};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateShader`
[INFO] [stdout]  --> src/engine/graphics/shader.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::{self, CreateShader};
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `NulError`
[INFO] [stdout]  --> src/engine/graphics/shader.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString, NulError};
[INFO] [stdout]   |                ^^^^           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GLenum` and `GLsizeiptr`
[INFO] [stdout]  --> src/engine/graphics/vertex_array.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gl::types::{GLenum, GLint, GLsizeiptr, GLuint};
[INFO] [stdout]   |                 ^^^^^^         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateShader`
[INFO] [stdout]  --> src/engine/graphics/vertex_array.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::{self, CreateShader};
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr`, `CString`, and `NulError`
[INFO] [stdout]  --> src/engine/graphics/vertex_array.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString, NulError};
[INFO] [stdout]   |                ^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateShader`
[INFO] [stdout]  --> src/engine/graphics/vertex_array.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::{self, CreateShader};
[INFO] [stdout]   |                ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr`, `CString`, and `NulError`
[INFO] [stdout]  --> src/engine/graphics/vertex_array.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString, NulError};
[INFO] [stdout]   |                ^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GenBuffers` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         gl::GenBuffers(1, &mut id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub unsafe fn new(target: GLuint) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::BindBuffer` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gl::BindBuffer(self.target, self.id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub unsafe fn bind(&self) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `engine::graphics::buffer::Buffer::bind` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         self.bind();
[INFO] [stdout]    |         ^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub unsafe fn set_data<D>(&self, data: &[D], usage: GLuint) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::<impl [T]>::align_to` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (_, data_bytes, _) = data.align_to::<u8>();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GenBuffers` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         gl::GenBuffers(1, &mut id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub unsafe fn new(target: GLuint) -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::BufferData` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | /         gl::BufferData(
[INFO] [stdout] 28 | |             self.target,
[INFO] [stdout] 29 | |             data_bytes.len() as GLsizeiptr,
[INFO] [stdout] 30 | |             data_bytes.as_ptr() as *const _,
[INFO] [stdout] 31 | |             usage,
[INFO] [stdout] 32 | |         );
[INFO] [stdout]    | |_________^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::BindBuffer` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gl::BindBuffer(self.target, self.id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub unsafe fn bind(&self) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `engine::graphics::buffer::Buffer::bind` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         self.bind();
[INFO] [stdout]    |         ^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub unsafe fn set_data<D>(&self, data: &[D], usage: GLuint) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::<impl [T]>::align_to` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (_, data_bytes, _) = data.align_to::<u8>();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::BufferData` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/buffer.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | /         gl::BufferData(
[INFO] [stdout] 28 | |             self.target,
[INFO] [stdout] 29 | |             data_bytes.len() as GLsizeiptr,
[INFO] [stdout] 30 | |             data_bytes.as_ptr() as *const _,
[INFO] [stdout] 31 | |             usage,
[INFO] [stdout] 32 | |         );
[INFO] [stdout]    | |_________^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::CreateProgram` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |             id: gl::CreateProgram(),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/shader.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub unsafe fn new(shaders: &[Shader]) -> Result<Self, ShaderError> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::AttachShader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             gl::AttachShader(program.id, shader.id);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::LinkProgram` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         gl::LinkProgram(program.id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetProgramiv` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         gl::GetProgramiv(program.id, gl::LINK_STATUS, &mut success);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetProgramiv` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             gl::GetProgramiv(program.id, gl::INFO_LOG_LENGTH, &mut error_log_size);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetProgramInfoLog` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout]  96 | /             gl::GetProgramInfoLog(
[INFO] [stdout]  97 | |                 program.id,
[INFO] [stdout]  98 | |                 error_log_size,
[INFO] [stdout]  99 | |                 &mut error_log_size,
[INFO] [stdout] 100 | |                 error_log.as_mut_ptr() as *mut _,
[INFO] [stdout] 101 | |             );
[INFO] [stdout]     | |_____________^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::<T, A>::set_len` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             error_log.set_len(error_log_size as usize);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::UseProgram` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         gl::UseProgram(self.id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/engine/graphics/shader.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub unsafe fn apply(&self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `engine::graphics::shader::ShaderProgram::apply` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         self.apply();
[INFO] [stdout]     |         ^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/engine/graphics/shader.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub unsafe fn set_int_uniform(&self, name: &str, value: i32) -> Result<(), ShaderError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::Uniform1i` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         gl::Uniform1i(gl::GetUniformLocation(self.id, uniform.as_ptr()), value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetUniformLocation` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:124:23
[INFO] [stdout]     |
[INFO] [stdout] 124 |         gl::Uniform1i(gl::GetUniformLocation(self.id, uniform.as_ptr()), value);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::CreateProgram` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |             id: gl::CreateProgram(),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/shader.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub unsafe fn new(shaders: &[Shader]) -> Result<Self, ShaderError> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::AttachShader` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             gl::AttachShader(program.id, shader.id);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::LinkProgram` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         gl::LinkProgram(program.id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetProgramiv` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         gl::GetProgramiv(program.id, gl::LINK_STATUS, &mut success);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetProgramiv` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/shader.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             gl::GetProgramiv(program.id, gl::INFO_LOG_LENGTH, &mut error_log_size);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetProgramInfoLog` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:96:13
[INFO] [stdout]     |
[INFO] [stdout]  96 | /             gl::GetProgramInfoLog(
[INFO] [stdout]  97 | |                 program.id,
[INFO] [stdout]  98 | |                 error_log_size,
[INFO] [stdout]  99 | |                 &mut error_log_size,
[INFO] [stdout] 100 | |                 error_log.as_mut_ptr() as *mut _,
[INFO] [stdout] 101 | |             );
[INFO] [stdout]     | |_____________^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::vec::Vec::<T, A>::set_len` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |             error_log.set_len(error_log_size as usize);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::UseProgram` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |         gl::UseProgram(self.id);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/engine/graphics/shader.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub unsafe fn apply(&self) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `engine::graphics::shader::ShaderProgram::apply` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |         self.apply();
[INFO] [stdout]     |         ^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/engine/graphics/shader.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub unsafe fn set_int_uniform(&self, name: &str, value: i32) -> Result<(), ShaderError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::Uniform1i` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         gl::Uniform1i(gl::GetUniformLocation(self.id, uniform.as_ptr()), value);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GetUniformLocation` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/engine/graphics/shader.rs:124:23
[INFO] [stdout]     |
[INFO] [stdout] 124 |         gl::Uniform1i(gl::GetUniformLocation(self.id, uniform.as_ptr()), value);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GenVertexArrays` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         gl::GenVertexArrays(1, &mut id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub unsafe fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::BindVertexArray` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         gl::BindVertexArray(self.id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub unsafe fn bind(&self) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::GenVertexArrays` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         gl::GenVertexArrays(1, &mut id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub unsafe fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `engine::graphics::vertex_array::VertexArray::bind` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         self.bind();
[INFO] [stdout]    |         ^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | /     pub unsafe fn set_attribute<V: Sized>(
[INFO] [stdout] 33 | |         &self,
[INFO] [stdout] 34 | |         attrib_pos: GLint,
[INFO] [stdout] 35 | |         components: GLint,
[INFO] [stdout] 36 | |         offset: GLint,
[INFO] [stdout] 37 | |     ) {
[INFO] [stdout]    | |_____^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::BindVertexArray` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         gl::BindVertexArray(self.id);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub unsafe fn bind(&self) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::VertexAttribPointer` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | /         gl::VertexAttribPointer(
[INFO] [stdout] 44 | |             attrib_pos as GLuint,
[INFO] [stdout] 45 | |             components,
[INFO] [stdout] 46 | |             gl::FLOAT,
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             offset as *const _,
[INFO] [stdout] 50 | |         );
[INFO] [stdout]    | |_________^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::EnableVertexAttribArray` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         gl::EnableVertexAttribArray(attrib_pos as GLuint);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `engine::graphics::vertex_array::VertexArray::bind` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         self.bind();
[INFO] [stdout]    |         ^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | /     pub unsafe fn set_attribute<V: Sized>(
[INFO] [stdout] 33 | |         &self,
[INFO] [stdout] 34 | |         attrib_pos: GLint,
[INFO] [stdout] 35 | |         components: GLint,
[INFO] [stdout] 36 | |         offset: GLint,
[INFO] [stdout] 37 | |     ) {
[INFO] [stdout]    | |_____^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::VertexAttribPointer` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 | /         gl::VertexAttribPointer(
[INFO] [stdout] 44 | |             attrib_pos as GLuint,
[INFO] [stdout] 45 | |             components,
[INFO] [stdout] 46 | |             gl::FLOAT,
[INFO] [stdout] ...  |
[INFO] [stdout] 49 | |             offset as *const _,
[INFO] [stdout] 50 | |         );
[INFO] [stdout]    | |_________^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `gl::EnableVertexAttribArray` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/engine/graphics/vertex_array.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         gl::EnableVertexAttribArray(attrib_pos as GLuint);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Directions` is never used
[INFO] [stdout]  --> src/engine/general/camera.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Directions {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `key_interact`, `mouse_interact`, `scroll_wheel_interact`, `get_zoom`, and `get_front` are never used
[INFO] [stdout]    --> src/engine/general/camera.rs:66:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Camera {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn key_interact(&mut self, direction: Directions) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn mouse_interact(&mut self, dx: f32, dy: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn scroll_wheel_interact(&mut self, delta: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_zoom(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn get_front(&self) -> &nalgebra_glm::Vec3 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_entity_ids` is never used
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_all_entity_ids() -> Vec<u64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_game_objects` is never used
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn get_all_game_objects() -> Vec<Entity> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_game_object` is never used
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn is_game_object(entity: Entity) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Location` is never constructed
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Location {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_parent`, `is_children`, and `is_default` are never read
[INFO] [stdout]  --> src/engine/general/entity/entity_hierarchy.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct EntityHierarchy {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 4 |     pub is_parent: Option<bool>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 5 |     pub is_children: Option<bool>,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 6 |     pub is_default: Option<bool>, // "default" means is not parent and is not children
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_game_objects`, `refresh_game_objects`, and `is_game_object` are never used
[INFO] [stdout]   --> src/engine/general/entity/entity_hierarchy.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl EntityHierarchy {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn get_game_objects(&self) -> &Vec<Entity> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn refresh_game_objects(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn is_game_object(&self, entity: Entity) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_key_released`, `get_key_duration`, and `get_key_release_duration` are never used
[INFO] [stdout]   --> src/engine/general/inputing/input.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Input {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn is_key_released(&self, key: Key) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn get_key_duration(&self, key: Key) -> Option<Duration> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn get_key_release_duration(&self, key: Key) -> Option<Duration> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CapsLock` is never constructed
[INFO] [stdout]   --> src/engine/general/inputing/keys.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub enum Key {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 60 |     CapsLock,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_game_object` is never read
[INFO] [stdout]   --> src/engine/general/objects2d/sprite.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Sprite {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub is_game_object: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_coords` is never used
[INFO] [stdout]   --> src/engine/general/objects2d/sprite.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Sprite {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn set_coords(&mut self, new_x: f32, new_y: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/engine/general/scene/scene.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Scene {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 8 |     id: usize,
[INFO] [stdout] 9 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_camera_to_follow_sprite` and `get_name` are never used
[INFO] [stdout]   --> src/engine/general/scene/scene.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Scene {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn update_camera_to_follow_sprite(&mut self, sprite_index: usize, camera_index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn get_name(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `change_scene` is never used
[INFO] [stdout]   --> src/engine/general/scene/scene_adapter.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SceneAdapter {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn change_scene(&mut self, id: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Directions` is never used
[INFO] [stdout]  --> src/engine/general/camera.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum Directions {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `key_interact`, `mouse_interact`, `scroll_wheel_interact`, `get_zoom`, and `get_front` are never used
[INFO] [stdout]    --> src/engine/general/camera.rs:66:12
[INFO] [stdout]     |
[INFO] [stdout]  27 | impl Camera {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn key_interact(&mut self, direction: Directions) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn mouse_interact(&mut self, dx: f32, dy: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn scroll_wheel_interact(&mut self, delta: f32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_zoom(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     pub fn get_front(&self) -> &nalgebra_glm::Vec3 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_entity_ids` is never used
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_all_entity_ids() -> Vec<u64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_game_objects` is never used
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn get_all_game_objects() -> Vec<Entity> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_game_object` is never used
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn is_game_object(entity: Entity) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Location` is never constructed
[INFO] [stdout]   --> src/engine/general/entity/entity.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Location {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `is_parent`, `is_children`, and `is_default` are never read
[INFO] [stdout]  --> src/engine/general/entity/entity_hierarchy.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct EntityHierarchy {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 4 |     pub is_parent: Option<bool>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 5 |     pub is_children: Option<bool>,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 6 |     pub is_default: Option<bool>, // "default" means is not parent and is not children
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_game_objects`, `refresh_game_objects`, and `is_game_object` are never used
[INFO] [stdout]   --> src/engine/general/entity/entity_hierarchy.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl EntityHierarchy {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn get_game_objects(&self) -> &Vec<Entity> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn refresh_game_objects(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn is_game_object(&self, entity: Entity) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_key_released`, `get_key_duration`, and `get_key_release_duration` are never used
[INFO] [stdout]   --> src/engine/general/inputing/input.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Input {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn is_key_released(&self, key: Key) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn get_key_duration(&self, key: Key) -> Option<Duration> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn get_key_release_duration(&self, key: Key) -> Option<Duration> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CapsLock` is never constructed
[INFO] [stdout]   --> src/engine/general/inputing/keys.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout]  2 | pub enum Key {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 60 |     CapsLock,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Key` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_game_object` is never read
[INFO] [stdout]   --> src/engine/general/objects2d/sprite.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Sprite {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub is_game_object: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sprite` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_coords` is never used
[INFO] [stdout]   --> src/engine/general/objects2d/sprite.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Sprite {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     pub fn set_coords(&mut self, new_x: f32, new_y: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/engine/general/scene/scene.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Scene {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 8 |     id: usize,
[INFO] [stdout] 9 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_camera_to_follow_sprite` and `get_name` are never used
[INFO] [stdout]   --> src/engine/general/scene/scene.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Scene {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn update_camera_to_follow_sprite(&mut self, sprite_index: usize, camera_index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn get_name(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `change_scene` is never used
[INFO] [stdout]   --> src/engine/general/scene/scene_adapter.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SceneAdapter {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn change_scene(&mut self, id: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `wait` is never used
[INFO] [stdout]   --> src/engine/general/time.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Time {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn wait(&mut self, timer_name: &str, secs: f64) -> bool {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw` is never used
[INFO] [stdout]    --> src/engine/graphics/mesh/mesh.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Mesh {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn draw(&self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `textures` is never read
[INFO] [stdout]   --> src/engine/graphics/renderer.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Renderer {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     program: ShaderProgram,
[INFO] [stdout] 13 |     textures: Vec<Texture>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     CompilationError(String),
[INFO] [stdout]    |     ---------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     CompilationError(String),
[INFO] [stdout] 13 +     CompilationError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     LinkingError(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     LinkingError(String),
[INFO] [stdout] 14 +     LinkingError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Utf8Error(std::string::FromUtf8Error),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     Utf8Error(std::string::FromUtf8Error),
[INFO] [stdout] 15 +     Utf8Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     NulError(std::ffi::NulError),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     NulError(std::ffi::NulError),
[INFO] [stdout] 16 +     NulError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_file`, `unbind`, `get_param`, `get_width`, and `get_height` are never used
[INFO] [stdout]    --> src/engine/graphics/texture.rs:30:12
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl Texture {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  30 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn unbind(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn get_param(&self, param: GLenum) -> GLint {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn get_width(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_height(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `wait` is never used
[INFO] [stdout]   --> src/engine/general/time.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Time {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn wait(&mut self, timer_name: &str, secs: f64) -> bool {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw` is never used
[INFO] [stdout]    --> src/engine/graphics/mesh/mesh.rs:109:12
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl Mesh {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn draw(&self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `textures` is never read
[INFO] [stdout]   --> src/engine/graphics/renderer.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Renderer {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 12 |     program: ShaderProgram,
[INFO] [stdout] 13 |     textures: Vec<Texture>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |     CompilationError(String),
[INFO] [stdout]    |     ---------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     CompilationError(String),
[INFO] [stdout] 13 +     CompilationError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     LinkingError(String),
[INFO] [stdout]    |     ------------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     LinkingError(String),
[INFO] [stdout] 14 +     LinkingError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Utf8Error(std::string::FromUtf8Error),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 15 -     Utf8Error(std::string::FromUtf8Error),
[INFO] [stdout] 15 +     Utf8Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/engine/graphics/shader.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     NulError(std::ffi::NulError),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ShaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     NulError(std::ffi::NulError),
[INFO] [stdout] 16 +     NulError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_file`, `unbind`, `get_param`, `get_width`, and `get_height` are never used
[INFO] [stdout]    --> src/engine/graphics/texture.rs:30:12
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl Texture {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  30 |     pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  42 |     pub fn unbind(&self) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn get_param(&self, param: GLenum) -> GLint {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn get_width(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_height(&self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.28s
[INFO] running `Command { std: "docker" "inspect" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b", kill_on_drop: false }`
[INFO] [stdout] 7187c0a8344f1f406f163ac6c68135064b06cd599e9008720028b3d6ad2b392b
