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