[INFO] cloning repository https://github.com/aznoH333/another-rust-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aznoH333/another-rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaznoH333%2Fanother-rust-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaznoH333%2Fanother-rust-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 117a6251d56d8b21279e1a83bea59933d371f445 [INFO] checking aznoH333/another-rust-game against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaznoH333%2Fanother-rust-game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aznoH333/another-rust-game on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aznoH333/another-rust-game [INFO] finished tweaking git repo https://github.com/aznoH333/another-rust-game [INFO] tweaked toml for git repo https://github.com/aznoH333/another-rust-game written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aznoH333/another-rust-game 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glyph_brush v0.7.12 [INFO] [stderr] Downloaded ordered-float v5.0.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6a97794b842ac00fabe1dc3efe45f54c0a9703a4deb9e5adeb0f0081ef619df [INFO] running `Command { std: "docker" "start" "-a" "a6a97794b842ac00fabe1dc3efe45f54c0a9703a4deb9e5adeb0f0081ef619df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6a97794b842ac00fabe1dc3efe45f54c0a9703a4deb9e5adeb0f0081ef619df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a97794b842ac00fabe1dc3efe45f54c0a9703a4deb9e5adeb0f0081ef619df", kill_on_drop: false }` [INFO] [stdout] a6a97794b842ac00fabe1dc3efe45f54c0a9703a4deb9e5adeb0f0081ef619df [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943a4006c10ff8aab8ecb01ec9440dfa4b9990222095a909e3ba58ac11a2cb5f [INFO] running `Command { std: "docker" "start" "-a" "943a4006c10ff8aab8ecb01ec9440dfa4b9990222095a909e3ba58ac11a2cb5f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking lyon_geom v1.0.6 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking lyon_path v1.0.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking lyon_tessellation v1.0.15 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking twox-hash v2.1.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking lyon_algorithms v1.0.5 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Checking lyon v1.0.1 [INFO] [stderr] Checking crevice v0.13.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking glyph_brush v0.7.12 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking another-rust-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/engine/objects/game_object_manager.rs:1:87 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::{drawing::drawing_manager::DrawingManager, events::event_manager::{self, EventManager}, input::input::InputHandler, ty... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/engine/objects/game_object.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::Map}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `game` and `self` [INFO] [stdout] --> src/engine/world/world_manager.rs:1:88 [INFO] [stdout] | [INFO] [stdout] 1 | ...anager, events::event_manager::{self, EventManager}, objects::game_object_core::GameObjectCore}, game}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/engine/world/world_generator.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::events::event_manager::{self, EventManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/engine/objects/game_object_manager.rs:1:87 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::{drawing::drawing_manager::DrawingManager, events::event_manager::{self, EventManager}, input::input::InputHandler, ty... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::Map` [INFO] [stdout] --> src/engine/objects/game_object.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::Map}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `game` and `self` [INFO] [stdout] --> src/engine/world/world_manager.rs:1:88 [INFO] [stdout] | [INFO] [stdout] 1 | ...anager, events::event_manager::{self, EventManager}, objects::game_object_core::GameObjectCore}, game}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/engine/world/world_generator.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::engine::events::event_manager::{self, EventManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_object_controller::GameObjectController` [INFO] [stdout] --> src/engine/objects/game_object_manager.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{game_object::GameObject, game_object_controller::GameObjectController}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/engine/world/world_manager.rs:121:69 [INFO] [stdout] | [INFO] [stdout] 121 | fn check_world_square_collisions(&self, x: f32, y: f32, w: f32, h: f32) -> Option<&WorldTile> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/engine/events/event_manager.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | if let GameEvent::SpawnObject { spawn_function } = event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game/entities/controllers/projectile_controller.rs:20:95 [INFO] [stdout] | [INFO] [stdout] 20 | ..._object_core::GameObjectCore, event: &ObjectEvent, input: &crate::engine::input::input::InputHandler, event_manager: &mut crate::engin... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/entities/controllers/projectile_controller.rs:20:116 [INFO] [stdout] | [INFO] [stdout] 20 | ...ectCore, event: &ObjectEvent, input: &crate::engine::input::input::InputHandler, event_manager: &mut crate::engine::events::event_mana... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_manager` [INFO] [stdout] --> src/game/entities/controllers/projectile_controller.rs:20:167 [INFO] [stdout] | [INFO] [stdout] 20 | ...:input::InputHandler, event_manager: &mut crate::engine::events::event_manager::EventManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game/entities/controllers/destroy_on_event.rs:14:95 [INFO] [stdout] | [INFO] [stdout] 14 | ..._object_core::GameObjectCore, event: &crate::engine::types::object_event::ObjectEvent, input: &crate::engine::input::input::InputHandl... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/entities/controllers/destroy_on_event.rs:14:152 [INFO] [stdout] | [INFO] [stdout] 14 | ...s::object_event::ObjectEvent, input: &crate::engine::input::input::InputHandler, event_manager: &mut crate::engine::events::event_mana... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_manager` [INFO] [stdout] --> src/game/entities/controllers/destroy_on_event.rs:14:203 [INFO] [stdout] | [INFO] [stdout] 14 | ...:input::InputHandler, event_manager: &mut crate::engine::events::event_manager::EventManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_object_controller::GameObjectController` [INFO] [stdout] --> src/engine/objects/game_object_manager.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{game_object::GameObject, game_object_controller::GameObjectController}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `error_signum` is never used [INFO] [stdout] --> src/utils/number_utils.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NumberUtils { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn error_signum(value: f32, error_margin: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `world_units_to_game_units` is never used [INFO] [stdout] --> src/utils/space_utils.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl SpaceUtils { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn world_units_to_game_units(value: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reload_context`, `get_camera_x`, and `get_camera_y` are never used [INFO] [stdout] --> src/engine/drawing/drawing_manager.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DrawingManager{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn reload_context(&mut self, context: &Context){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_camera_x(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_camera_y(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/engine/drawing/draw_buffer_data.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DrawBufferData{ [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn draw(&self, image: &Image, canvas: &mut Canvas, drawing_context: &DrawingContext){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_x` and `get_y` are never used [INFO] [stdout] --> src/engine/drawing/camera.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_x(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_y(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_camera_x`, `get_camera_y`, and `reload_context` are never used [INFO] [stdout] --> src/engine/drawing/drawing_context.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DrawingContext { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_camera_x(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_camera_y(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn reload_context(&mut self, context: &Context){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_position` is never used [INFO] [stdout] --> src/engine/objects/game_object_core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl GameObjectCore { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_position(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_x`, `get_y`, `get_width`, `get_height`, and `get_position` are never used [INFO] [stdout] --> src/engine/objects/game_object.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl GameObject{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(core: GameObjectCore, controllers: HashMap>>) -> GameObject{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_x(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_y(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_height(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_position(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_input_state` and `key_action2` are never used [INFO] [stdout] --> src/engine/input/input.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InputHandler{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn reset_input_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn key_action2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_texture` is never used [INFO] [stdout] --> src/engine/world/world_tile.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl WorldTile{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_texture(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceMonitor` is never constructed [INFO] [stdout] --> src/engine/performance_monitoring/performance_monitor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PerformanceMonitor{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_section`, `save_record`, and `end_recording` are never used [INFO] [stdout] --> src/engine/performance_monitoring/performance_monitor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PerformanceMonitor{ [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> PerformanceMonitor{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn record_section(&mut self, label: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn save_record(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn end_recording(&mut self, print_result: bool){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceRecord` is never constructed [INFO] [stdout] --> src/engine/performance_monitoring/performance_record.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PerformanceRecord{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_label`, and `get_elapsed_time` are never used [INFO] [stdout] --> src/engine/performance_monitoring/performance_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PerformanceRecord{ [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(label: String, seconds_elapsed: Duration) -> PerformanceRecord{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_label(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_elapsed_time(&self) -> &Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTROLLER_TYPE_INVALID` is never used [INFO] [stdout] --> src/engine/types/controller_type.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CONTROLLER_TYPE_INVALID: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_x` and `tile_y` are never read [INFO] [stdout] --> src/engine/types/object_event.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct WorldCollisionEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 3 | tile_x: i32, // TOOD : implement this [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | tile_y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `world_collision` is never read [INFO] [stdout] --> src/engine/types/object_event.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ObjectEvent { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub world_collision: WorldCollisionEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/engine/world/world_manager.rs:121:69 [INFO] [stdout] | [INFO] [stdout] 121 | fn check_world_square_collisions(&self, x: f32, y: f32, w: f32, h: f32) -> Option<&WorldTile> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/engine/events/event_manager.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | if let GameEvent::SpawnObject { spawn_function } = event { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game/entities/controllers/projectile_controller.rs:20:95 [INFO] [stdout] | [INFO] [stdout] 20 | ..._object_core::GameObjectCore, event: &ObjectEvent, input: &crate::engine::input::input::InputHandler, event_manager: &mut crate::engin... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/entities/controllers/projectile_controller.rs:20:116 [INFO] [stdout] | [INFO] [stdout] 20 | ...ectCore, event: &ObjectEvent, input: &crate::engine::input::input::InputHandler, event_manager: &mut crate::engine::events::event_mana... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_manager` [INFO] [stdout] --> src/game/entities/controllers/projectile_controller.rs:20:167 [INFO] [stdout] | [INFO] [stdout] 20 | ...:input::InputHandler, event_manager: &mut crate::engine::events::event_manager::EventManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game/entities/controllers/destroy_on_event.rs:14:95 [INFO] [stdout] | [INFO] [stdout] 14 | ..._object_core::GameObjectCore, event: &crate::engine::types::object_event::ObjectEvent, input: &crate::engine::input::input::InputHandl... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/entities/controllers/destroy_on_event.rs:14:152 [INFO] [stdout] | [INFO] [stdout] 14 | ...s::object_event::ObjectEvent, input: &crate::engine::input::input::InputHandler, event_manager: &mut crate::engine::events::event_mana... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_manager` [INFO] [stdout] --> src/game/entities/controllers/destroy_on_event.rs:14:203 [INFO] [stdout] | [INFO] [stdout] 14 | ...:input::InputHandler, event_manager: &mut crate::engine::events::event_manager::EventManager) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `error_signum` is never used [INFO] [stdout] --> src/utils/number_utils.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl NumberUtils { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn error_signum(value: f32, error_margin: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `world_units_to_game_units` is never used [INFO] [stdout] --> src/utils/space_utils.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl SpaceUtils { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn world_units_to_game_units(value: i32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reload_context`, `get_camera_x`, and `get_camera_y` are never used [INFO] [stdout] --> src/engine/drawing/drawing_manager.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl DrawingManager{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn reload_context(&mut self, context: &Context){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_camera_x(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_camera_y(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/engine/drawing/draw_buffer_data.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DrawBufferData{ [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn draw(&self, image: &Image, canvas: &mut Canvas, drawing_context: &DrawingContext){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_x` and `get_y` are never used [INFO] [stdout] --> src/engine/drawing/camera.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Camera{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_x(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_y(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_camera_x`, `get_camera_y`, and `reload_context` are never used [INFO] [stdout] --> src/engine/drawing/drawing_context.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl DrawingContext { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_camera_x(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_camera_y(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn reload_context(&mut self, context: &Context){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_position` is never used [INFO] [stdout] --> src/engine/objects/game_object_core.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl GameObjectCore { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_position(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_x`, `get_y`, `get_width`, `get_height`, and `get_position` are never used [INFO] [stdout] --> src/engine/objects/game_object.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl GameObject{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(core: GameObjectCore, controllers: HashMap>>) -> GameObject{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_x(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_y(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_height(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_position(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset_input_state` and `key_action2` are never used [INFO] [stdout] --> src/engine/input/input.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl InputHandler{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn reset_input_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn key_action2(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_texture` is never used [INFO] [stdout] --> src/engine/world/world_tile.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl WorldTile{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_texture(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceMonitor` is never constructed [INFO] [stdout] --> src/engine/performance_monitoring/performance_monitor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PerformanceMonitor{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `record_section`, `save_record`, and `end_recording` are never used [INFO] [stdout] --> src/engine/performance_monitoring/performance_monitor.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PerformanceMonitor{ [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> PerformanceMonitor{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn record_section(&mut self, label: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn save_record(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn end_recording(&mut self, print_result: bool){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerformanceRecord` is never constructed [INFO] [stdout] --> src/engine/performance_monitoring/performance_record.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PerformanceRecord{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_label`, and `get_elapsed_time` are never used [INFO] [stdout] --> src/engine/performance_monitoring/performance_record.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl PerformanceRecord{ [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(label: String, seconds_elapsed: Duration) -> PerformanceRecord{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get_label(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_elapsed_time(&self) -> &Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONTROLLER_TYPE_INVALID` is never used [INFO] [stdout] --> src/engine/types/controller_type.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const CONTROLLER_TYPE_INVALID: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_x` and `tile_y` are never read [INFO] [stdout] --> src/engine/types/object_event.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct WorldCollisionEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 3 | tile_x: i32, // TOOD : implement this [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 4 | tile_y: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `world_collision` is never read [INFO] [stdout] --> src/engine/types/object_event.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ObjectEvent { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub world_collision: WorldCollisionEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "943a4006c10ff8aab8ecb01ec9440dfa4b9990222095a909e3ba58ac11a2cb5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943a4006c10ff8aab8ecb01ec9440dfa4b9990222095a909e3ba58ac11a2cb5f", kill_on_drop: false }` [INFO] [stdout] 943a4006c10ff8aab8ecb01ec9440dfa4b9990222095a909e3ba58ac11a2cb5f