[INFO] cloning repository https://github.com/xmoezzz/rfvp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xmoezzz/rfvp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4769f272a0b2b7005fcaf3aeaa0847b4455ce20 [INFO] checking xmoezzz/rfvp against master#dfdbe30004a095ad63951c4cd6e10a9a971a7399 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmoezzz%2Frfvp" "/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/xmoezzz/rfvp on toolchain dfdbe30004a095ad63951c4cd6e10a9a971a7399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmoezzz/rfvp [INFO] finished tweaking git repo https://github.com/xmoezzz/rfvp [INFO] tweaked toml for git repo https://github.com/xmoezzz/rfvp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xmoezzz/rfvp 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" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.11 [INFO] [stderr] Downloaded com_macros v0.6.0 [INFO] [stderr] Downloaded trackable_derive v1.0.0 [INFO] [stderr] Downloaded hexf v0.2.1 [INFO] [stderr] Downloaded profiling v1.0.14 [INFO] [stderr] Downloaded com_macros_support v0.6.0 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded trackable v1.3.0 [INFO] [stderr] Downloaded com v0.6.0 [INFO] [stderr] Downloaded gpu-allocator v0.25.0 [INFO] [stderr] Downloaded wgpu v0.19.1 [INFO] [stderr] Downloaded naga v0.19.0 [INFO] [stderr] Downloaded wgpu-types v0.19.0 [INFO] [stderr] Downloaded wgpu-hal v0.19.1 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded hecs v0.10.4 [INFO] [stderr] Downloaded wgpu-core v0.19.0 [INFO] [stderr] Downloaded hassle-rs v0.11.0 [INFO] [stderr] Downloaded spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Downloaded mpeg2ts v0.3.1 [INFO] [stderr] Downloaded tiny-skia-path v0.11.4 [INFO] [stderr] Downloaded tiny-skia v0.11.4 [INFO] [stderr] Downloaded presser v0.3.1 [INFO] [stderr] Downloaded khronos-egl v6.0.0 [INFO] [stderr] Downloaded d3d12 v0.19.0 [INFO] [stderr] Downloaded metal v0.27.0 [INFO] [stderr] Downloaded twofloat v0.7.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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3332fbf4dfac8fd808ae5d90788bdac72cbb845ebd800c2028908f8fe471548d [INFO] running `Command { std: "docker" "start" "-a" "3332fbf4dfac8fd808ae5d90788bdac72cbb845ebd800c2028908f8fe471548d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3332fbf4dfac8fd808ae5d90788bdac72cbb845ebd800c2028908f8fe471548d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3332fbf4dfac8fd808ae5d90788bdac72cbb845ebd800c2028908f8fe471548d", kill_on_drop: false }` [INFO] [stdout] 3332fbf4dfac8fd808ae5d90788bdac72cbb845ebd800c2028908f8fe471548d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0e5258c09bd4b02ed19eb6867433633e44bb496b4f792948b5672aee1e2ee9 [INFO] running `Command { std: "docker" "start" "-a" "7d0e5258c09bd4b02ed19eb6867433633e44bb496b4f792948b5672aee1e2ee9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling wgpu-hal v0.19.1 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wgpu-core v0.19.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking wgpu-types v0.19.0 [INFO] [stderr] Checking renderdoc-sys v1.0.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking profiling v1.0.14 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling wgpu v0.19.1 [INFO] [stderr] Checking is-terminal v0.4.11 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling hexf v0.2.1 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking twofloat v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hecs v0.10.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Checking atomic_refcell v0.1.13 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking mpeg2ts v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking symphonia-core v0.5.3 [INFO] [stderr] Checking naga v0.19.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking symphonia-metadata v0.5.3 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Checking symphonia v0.5.3 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking rfvp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::subsystem::resources::scripter::ScriptScheduler` [INFO] [stdout] --> src/script/context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::subsystem::resources::scripter::ScriptScheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `square::Square`, `triangle::Triangle` [INFO] [stdout] --> src/subsystem/components/mod.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use shapes::{square::Square, triangle::Triangle}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Decompress` [INFO] [stdout] --> src/subsystem/resources/texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::Decompress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/subsystem/resources/texture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/subsystem/resources/texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/subsystem/resources/texture.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INVAILD_PRIM_HANDLE` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use super::prim::{PrimManager, INVAILD_PRIM_HANDLE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AlphaMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | pub use super::motion_manager::alpha::{AlphaMotion, AlphaMotionType, AlphaMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | pub use super::motion_manager::normal_move::{MoveMotion, MoveMotionType, MoveMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RotationMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::motion_manager::rotation_move::{RotationMotion, RotationMotionType, RotationMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScaleMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::motion_manager::s2_move::{ScaleMotion, ScaleMotionType, ScaleMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rendering` [INFO] [stdout] --> src/app.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rendering, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::subsystem::resources::scripter::ScriptScheduler` [INFO] [stdout] --> src/script/context.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::subsystem::resources::scripter::ScriptScheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `square::Square`, `triangle::Triangle` [INFO] [stdout] --> src/subsystem/components/mod.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub use shapes::{square::Square, triangle::Triangle}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flate2::Decompress` [INFO] [stdout] --> src/subsystem/resources/texture.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flate2::Decompress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/subsystem/resources/texture.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/subsystem/resources/texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/subsystem/resources/texture.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `INVAILD_PRIM_HANDLE` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use super::prim::{PrimManager, INVAILD_PRIM_HANDLE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AlphaMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | pub use super::motion_manager::alpha::{AlphaMotion, AlphaMotionType, AlphaMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | pub use super::motion_manager::normal_move::{MoveMotion, MoveMotionType, MoveMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RotationMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | pub use super::motion_manager::rotation_move::{RotationMotion, RotationMotionType, RotationMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScaleMotion` [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::motion_manager::s2_move::{ScaleMotion, ScaleMotionType, ScaleMotionContainer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssetRef` [INFO] [stdout] --> src/subsystem/systems/missing_ui_component_system.rs:41:68 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::subsystem::resources::asset_manager::{AssetManager, AssetRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AssetRef` [INFO] [stdout] --> src/subsystem/systems/ui_text_system.rs:199:72 [INFO] [stdout] | [INFO] [stdout] 199 | use crate::subsystem::resources::asset_manager::{AssetManager, AssetRef}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rendering` [INFO] [stdout] --> src/app.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rendering, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subsystem/resources/font_atlas.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | return match read_file(Path::new(&font_path)) { [INFO] [stdout] | _________^______- [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 99 | || Ok(res) => { [INFO] [stdout] 100 | || let font = FontVec::try_from_vec(res); [INFO] [stdout] 101 | || if let Ok(font_vec) = font { [INFO] [stdout] ... || [INFO] [stdout] 160 | || Err(_) => anyhow::bail!("Impossible to find font file"), [INFO] [stdout] 161 | || }; [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________| [INFO] [stdout] | |_________unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subsystem/resources/font_atlas.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | return match read_file(Path::new(&font_path)) { [INFO] [stdout] | _________^______- [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 99 | || Ok(res) => { [INFO] [stdout] 100 | || let font = FontVec::try_from_vec(res); [INFO] [stdout] 101 | || if let Ok(font_vec) = font { [INFO] [stdout] ... || [INFO] [stdout] 160 | || Err(_) => anyhow::bail!("Impossible to find font file"), [INFO] [stdout] 161 | || }; [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________| [INFO] [stdout] | |_________unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middle` [INFO] [stdout] --> src/subsystem/resources/scripter.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | let (middle, right) = middle_right.split_at(1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_middle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | reverse: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_w_factor` [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let src_w_factor = self.src_w_factor as i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_w_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_h_factor` [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let src_h_factor = self.src_h_factor as i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_h_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middle` [INFO] [stdout] --> src/subsystem/resources/scripter.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | let (middle, right) = middle_right.split_at(1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_middle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reverse` [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | reverse: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_w_factor` [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let src_w_factor = self.src_w_factor as i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_w_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_h_factor` [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let src_h_factor = self.src_h_factor as i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_h_factor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut prim_manager = prim_manager.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let mut prim = &mut self.motions[id as usize]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rendering/renderer_state.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let (_size, surface) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn on_start(&mut self, data: &mut GameData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/rendering/renderer_state.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | let (_size, surface) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::_SavedStackInfo::0` [INFO] [stdout] --> src/script/mod.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | _SavedStackInfo(SavedStackInfo), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `Variant::_SavedStackInfo::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/script/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SavedStackInfo` is more private than the item `Variant::as_saved_stack_info` [INFO] [stdout] --> src/script/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn as_saved_stack_info(&self) -> Option<&SavedStackInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Variant::as_saved_stack_info` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SavedStackInfo` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/script/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | struct SavedStackInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/script/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Variant { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_true(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_table(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn is_saved_stack_info(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn as_float(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `start_addr` are never read [INFO] [stdout] --> src/script/context.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 40 | /// the context id [INFO] [stdout] 41 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 50 | start_addr: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `top_frame`, `get_waiting_time`, `set_waiting_time`, `is_main`, and `set_yielded` are never used [INFO] [stdout] --> src/script/context.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn top_frame(&self) -> Result<&StackFrame> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 785 | pub fn get_waiting_time(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 790 | pub fn set_waiting_time(&mut self, wait_ms: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 795 | pub fn is_main(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 835 | pub fn set_yielded(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GBK` and `UTF8` are never constructed [INFO] [stdout] --> src/script/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Nls { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | GBK = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | UTF8 = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nls` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load_from_file` and `save_to_file` are never used [INFO] [stdout] --> src/script/global.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Global { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn load_from_file(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn save_to_file(&self, path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SoundChannel` is never constructed [INFO] [stdout] --> src/subsystem/audio_controller.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct SoundChannel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioController` is never constructed [INFO] [stdout] --> src/subsystem/audio_controller.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct AudioController { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/subsystem/audio_controller.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl AudioController { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 22 | pub(crate) fn new(receiver: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `audio_thread` is never used [INFO] [stdout] --> src/subsystem/audio_controller.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn audio_thread(controller: AudioController) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/components/animations.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Animations { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | /// Creates a new Animations component [INFO] [stdout] 18 | pub fn new(animations: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn single(name: &str, animation: Animation) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn run(&mut self, animation_name: &str, status: AnimationStatus) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn run_animation(&mut self, animation_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn animation_running(&mut self, animation_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn loop_animation(&mut self, animation_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn stop_animation(&mut self, animation_name: &str, force: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn stop_all_animation(&mut self, force: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn stop_single_animation(force: bool, animation: &mut Animation) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn any_animation_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `running`, `looping`, and `initialise_animation` are never used [INFO] [stdout] --> src/subsystem/components/animations.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 134 | impl Animation { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 135 | /// Creates a new animation based on a duration and a list of modifiers [INFO] [stdout] 136 | pub fn new(duration: Duration, mut modifiers: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn running(duration: Duration, mut modifiers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn looping(duration: Duration, mut modifiers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn initialise_animation(duration: Duration, modifiers: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/subsystem/components/animations.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl AnimationModifier { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 199 | /// Creates a new AnimationModifier using a number of keyframes and a type. [INFO] [stdout] 200 | fn new(number_of_keyframes: usize, modifier_type: AnimationModifierType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn transform( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn sprite(tile_numbers: Vec, end_tile_number: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn sprite_with_variant( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn color(number_of_keyframes: usize, target_color: Color) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn blink(number_of_blinks: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn text(content: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TransformModifier`, `SpriteModifier`, `Color`, `Text`, and `Blink` are never constructed [INFO] [stdout] --> src/subsystem/components/animations.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 313 | pub enum AnimationModifierType { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 314 | TransformModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | SpriteModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | Text { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | Blink, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnimationModifierType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TransformModifier` and `Text` are never constructed [INFO] [stdout] --> src/subsystem/components/animations.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub(crate) enum ComputedKeyframeModifier { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] 334 | TransformModifier { vector: Option, scale: Option, rotation: Option }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 335 | Color { r: i16, g: i16, b: i16, a: f32 }, [INFO] [stdout] 336 | Text { cursor: usize }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_animation_keyframe_modifier` is never used [INFO] [stdout] --> src/subsystem/components/animations.rs:365:4 [INFO] [stdout] | [INFO] [stdout] 365 | fn compute_animation_keyframe_modifier(modifier: &mut AnimationModifier) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tileset` is never constructed [INFO] [stdout] --> src/subsystem/components/material.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Material { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Tileset(Tileset), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_raw_buffer` is never used [INFO] [stdout] --> src/subsystem/components/material.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_raw_buffer(bytes: Vec, width: u32, height: u32) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pivot` is never used [INFO] [stdout] --> src/subsystem/components/maths/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Pivot { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `Character`, `Bullet`, `Death`, `Landscape`, and `Custom` are never constructed [INFO] [stdout] --> src/subsystem/components/maths/collider.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ColliderMask { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 26 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Character, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | Bullet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Death, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Landscape, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColliderMask` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Square` and `Rectangle` are never constructed [INFO] [stdout] --> src/subsystem/components/maths/collider.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub enum ColliderType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 37 | Square(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | Rectangle(usize, usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColliderType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_debug_lines`, `with_offset`, `is_colliding`, `collisions`, and `mask_cloned` are never used [INFO] [stdout] --> src/subsystem/components/maths/collider.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Collider { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn with_debug_lines(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn with_offset(mut self, offset: Vector) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn is_colliding(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn collisions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn mask_cloned(&self) -> ColliderMask { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mask`, `entity`, and `coordinates` are never read [INFO] [stdout] --> src/subsystem/components/maths/collider.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct Collision { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 227 | pub(crate) mask: ColliderMask, [INFO] [stdout] | ^^^^ [INFO] [stdout] 228 | pub(crate) entity: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 229 | pub(crate) coordinates: Coordinates, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collision` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entity`, `mask`, and `coordinates` are never used [INFO] [stdout] --> src/subsystem/components/maths/collider.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 232 | impl Collision { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 233 | pub fn entity(&self) -> &Entity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn mask(&self) -> &ColliderMask { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn coordinates(&self) -> &Coordinates { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_z` is never used [INFO] [stdout] --> src/subsystem/components/maths/coordinates.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coordinates { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_z(&mut self, z: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/subsystem/components/maths/transform.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Transform { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn append_vector(&mut self, vector: Vector) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn append_x(&mut self, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn append_y(&mut self, y: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn move_down(&mut self, y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn set_min_x(&mut self, min_x: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn set_max_x(&mut self, max_x: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn set_min_y(&mut self, min_y: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_max_y(&mut self, max_y: Option) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn set_use_screen_as_origin(&mut self, new_value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn set_global_translation_bounds( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransformBuilder` is never constructed [INFO] [stdout] --> src/subsystem/components/maths/transform.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct TransformBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/components/maths/transform.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 216 | impl TransformBuilder { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 217 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn with_xy(mut self, x: f32, y: f32) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn with_translation(mut self, x: f32, y: f32, z: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn with_scale(mut self, scale: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn with_angle(mut self, angle: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn with_screen_as_origin(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn build(self) -> Transform { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `pivot`, and `new_with_offset` are never used [INFO] [stdout] --> src/subsystem/components/shapes/line.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | /// Creates a new line using `vertices`. [INFO] [stdout] 23 | pub fn new(vertices: [Coordinates; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn pivot(self, pivot: Pivot) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new_with_offset(vertices: [Coordinates; 2], offset: Coordinates) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_vertices`, `append_x`, `append_y`, and `compute_contents` are never used [INFO] [stdout] --> src/subsystem/components/shapes/polygon.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_vertices(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn append_x(&mut self, index: usize, x: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn append_y(&mut self, index: usize, y: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn compute_contents(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/subsystem/components/shapes/rectangle.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Rectangle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | width: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | height: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/components/shapes/rectangle.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new(width: f32, height: f32, uvs: Option<[Coordinates; 4]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pivot(self, pivot: Pivot) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn new_with_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn set_height(&mut self, new_height: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_width(&mut self, new_width: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn height(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn width(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_uvs` is never used [INFO] [stdout] --> src/subsystem/components/shapes/rectangle.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn default_uvs() -> [Coordinates; 4] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/subsystem/components/shapes/square.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Square { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | length: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `pivot`, and `new_with_offset` are never used [INFO] [stdout] --> src/subsystem/components/shapes/square.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Square { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(length: f32, uvs: Option<[Coordinates; 4]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn pivot(self, pivot: Pivot) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn new_with_offset(length: f32, uvs: Option<[Coordinates; 4]>, offset: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_uvs` is never used [INFO] [stdout] --> src/subsystem/components/shapes/square.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn default_uvs() -> [Coordinates; 4] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `pivot`, and `new_with_offset` are never used [INFO] [stdout] --> src/subsystem/components/shapes/triangle.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(vertices: [Coordinates; 3], uvs: Option<[Coordinates; 3]>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pivot(self, pivot: Pivot) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn new_with_offset( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_tile_nb` are never used [INFO] [stdout] --> src/subsystem/components/tiles/sprite.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Sprite { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn new(tile_number: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_tile_nb(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pathing` is never constructed [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Pathing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pathing` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `event_type`, and `properties` are never used [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TileEvent { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new(event_type: String, properties: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn event_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn properties(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileInfos` is never constructed [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct TileInfos { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_event`, and `with_pathing` are never used [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl TileInfos { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 66 | /// Creates a new TileInfos struct [INFO] [stdout] 67 | pub fn new(tile_nb: Option, animation: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn with_event(mut self, event: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn with_pathing(mut self, pathing: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TilemapInfo` is never constructed [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct TilemapInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl TilemapInfo { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 93 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tile_entities`, `events`, and `tileset_ref` are never read [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct Tilemap { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 104 | tile_entities: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 105 | events: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | tileset_ref: AssetRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/components/tiles/tilemap.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 109 | impl Tilemap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 110 | pub(crate) fn new(tileset_ref: AssetRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn create(infos: TilemapInfo, world: &mut impl World, mut tile_resolver: F) -> Entity [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn modify_sprite_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn retrieve_sprite_tile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn retrieve_pathing( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn retrieve_event(&mut self, tile_position: &Position) -> Option<&mut TileEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn create_tilemap( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pathing` is never read [INFO] [stdout] --> src/subsystem/components/tiles/tileset.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tileset { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub(crate) pathing: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tileset` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_pathing`, and `from_atlas` are never used [INFO] [stdout] --> src/subsystem/components/tiles/tileset.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Tileset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(texture: String, width: usize, height: usize, tile_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_pathing(mut self, pathing: HashMap>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_atlas(path_to_atlas: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_tab_index` is never used [INFO] [stdout] --> src/subsystem/components/ui/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait Focusable{ [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 17 | fn tab_index(&self) -> usize; [INFO] [stdout] 18 | fn set_tab_index(&mut self, tab_index: usize); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bitmap` is never constructed [INFO] [stdout] --> src/subsystem/components/ui/font.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Font { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 4 | /// Texture based font [INFO] [stdout] 5 | Bitmap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/subsystem/components/ui/ui_image.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UiImage { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 19 | /// Creates a ui_image with `width` and `height` using image at `image_path` [INFO] [stdout] 20 | pub fn new(width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_value` is never used [INFO] [stdout] --> src/subsystem/components/ui/ui_text.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl UiText { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn sync_value(mut self, sync_function: fn(&mut Resources) -> String) -> Self [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/subsystem/components/ui/ui_input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UiInput { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | text: String, [INFO] [stdout] 9 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_font_size`, `with_font_color`, `with_tab_index`, `width`, and `height` are never used [INFO] [stdout] --> src/subsystem/components/ui/ui_input.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl UiInput{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new(width: usize, height: usize, font_ref: AssetRef) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_font_size(mut self, font_size: usize) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_font_color(mut self, color: Color) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn with_tab_index(mut self, tab_index: usize) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cursor`, `resize`, and `dimensions` are never used [INFO] [stdout] --> src/subsystem/resources/window.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Window { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn set_cursor(&mut self, icon: CursorIcon) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn dimensions(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/subsystem/resources/inputs/inputs_controller.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl InputsController { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn on_key_pressed(&self, key: KeyCode, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn on_key_released(&self, key: KeyCode, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn on_left_click_pressed(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn on_right_click_pressed(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn on_middle_click_pressed(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn on_left_click_released(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn on_right_click_released(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn on_middle_click_released(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn all_released_events(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn all_pressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn mouse_xy(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn shortcut_pressed(&self, shortcut: &Shortcut) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn shortcut_released_event(&self, shortcut: &Shortcut) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `key_pressed`, `keyboard_events`, `on_key_pressed`, `on_key_released`, and `all_pressed` are never used [INFO] [stdout] --> src/subsystem/resources/inputs/keyboard.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Keyboard { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 13 | /// Whether or not `key` is currently pressed [INFO] [stdout] 14 | pub fn key_pressed(&self, key: &KeyCode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn keyboard_events(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn on_key_pressed(&self, key: KeyCode, mut action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn on_key_released(&self, key: KeyCode, mut action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn all_pressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/subsystem/resources/inputs/mouse.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl Mouse { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn on_left_click_pressed(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn on_right_click_pressed(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn on_middle_click_pressed(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub(crate) fn on_left_click_released(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn on_right_click_released(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(crate) fn on_middle_click_released(&self, action: Body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn on_mouse_event( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn all_pressed(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn xy(&self) -> (f64, f64) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_messages` is never read [INFO] [stdout] --> src/subsystem/resources/events/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PollConfiguration { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 15 | /// Maximum number of messages a single poll can retrieve [INFO] [stdout] 16 | max_messages: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TopicDoesNotExist` and `SubscriberIdDoesNotExist` are never constructed [INFO] [stdout] --> src/subsystem/resources/events/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum EventError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 28 | TopicAlreadyExist, [INFO] [stdout] 29 | TopicDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SubscriberIdDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `publish`, `subscribe`, and `poll` are never used [INFO] [stdout] --> src/subsystem/resources/events/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Events { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn publish(&mut self, topic_name: &str, event: T) -> Result<(), EventError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn subscribe( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn poll(&mut self, subscriber_id: &SubscriberId) -> Result, EventError> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `publish` is never used [INFO] [stdout] --> src/subsystem/resources/events/topic.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl Topic { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn publish(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delta_duration` is never used [INFO] [stdout] --> src/subsystem/resources/time.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 31 | impl Time { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn delta_duration(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Manual` is never constructed [INFO] [stdout] --> src/subsystem/resources/time.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum TimerType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 56 | Manual, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `elapsed`, `ended`, and `change_cycle` are never used [INFO] [stdout] --> src/subsystem/resources/time.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 77 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn elapsed(&self) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn ended(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn change_cycle(&mut self, new_cycle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exists` is never used [INFO] [stdout] --> src/subsystem/resources/time.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 157 | impl Timers { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn exists(&mut self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `path`, `crossfade`, and `looped` are never read [INFO] [stdout] --> src/subsystem/resources/audio.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SoundChannel { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | buffer: Vec, [INFO] [stdout] 26 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | crossfade: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | volume: f32, [INFO] [stdout] 29 | looped: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/subsystem/resources/audio.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Video` is never constructed [INFO] [stdout] --> src/subsystem/resources/audio.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub enum Sound { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 346 | Video, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register_material`, `register_tileset`, `register_font`, and `retrieve_tileset` are never used [INFO] [stdout] --> src/subsystem/resources/asset_manager.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl AssetManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn register_material(&mut self, material: Material) -> AssetRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn register_tileset(&mut self, tileset: Tileset) -> AssetRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn register_font(&mut self, font: Font) -> AssetRef { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn retrieve_tileset(&self, asset_ref: &AssetRef) -> Option<&Tileset> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> src/subsystem/resources/vfs.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct VfsFile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 19 | entries: HashMap, [INFO] [stdout] 20 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VfsFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_all` is never used [INFO] [stdout] --> src/subsystem/resources/vfs.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl VfsFile { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | pub(crate) fn extract_all(&self, output_dir: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nls` is never read [INFO] [stdout] --> src/subsystem/resources/vfs.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Vfs { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 177 | files: HashMap, [INFO] [stdout] 178 | nls: Nls, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vfs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_vfs_file` is never used [INFO] [stdout] --> src/subsystem/resources/vfs.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl Vfs { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | fn add_vfs_file(&mut self, folder_name: &str, nls: Nls) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NVSGHDR_TYPE_SINGLE_24BIT` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const NVSGHDR_TYPE_SINGLE_24BIT: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NVSGHDR_TYPE_SINGLE_32BIT` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const NVSGHDR_TYPE_SINGLE_32BIT: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NVSGHDR_TYPE_MULTI_32BIT` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const NVSGHDR_TYPE_MULTI_32BIT: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NVSGHDR_TYPE_SINGLE_8BIT` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NVSGHDR_TYPE_SINGLE_8BIT: u16 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NVSGHDR_TYPE_SINGLE_1BIT` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const NVSGHDR_TYPE_SINGLE_1BIT: u16 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HZC1_SIGNATURE` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const HZC1_SIGNATURE: [u8; 4] = [b'h', b'z', b'c', b'1']; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NVSG_SIGNATURE` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const NVSG_SIGNATURE: [u8; 4] = [b'N', b'V', b'S', b'G']; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_u16le` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_u16le(buff: &[u8], offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_u32le` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn read_u32le(buff: &[u8], offset: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BITMAPFILEHEADER` is never constructed [INFO] [stdout] --> src/subsystem/resources/texture.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct BITMAPFILEHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BITMAPINFOHEADER` is never constructed [INFO] [stdout] --> src/subsystem/resources/texture.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextureContainer` is never constructed [INFO] [stdout] --> src/subsystem/resources/texture.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct TextureContainer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_slice` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl TextureContainer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 104 | pub fn add_slice(&mut self, slice: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `texture_to_bmp` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn texture_to_bmp(buff: &[u8], width: i32, height: i32, depth_bytes: u16) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_texture` is never used [INFO] [stdout] --> src/subsystem/resources/texture.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn read_texture(buff: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `get_mut` are never used [INFO] [stdout] --> src/subsystem/resources/scripter.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ScriptScheduler { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get(&self, id: u32) -> Option<&Context> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_mut(&mut self, id: u32) -> Option<&mut Context> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flag` and `text_index` are never read [INFO] [stdout] --> src/subsystem/resources/prim.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Prim { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | flag: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | text_index: i16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Prim` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/resources/prim.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Prim { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_flag(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn set_text_index(&mut self, text_index: i16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn apply_attr(&mut self, attr: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_draw_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn get_blend(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_flag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn get_sprt(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn get_z(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn get_w(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn get_h(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn get_u(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn get_v(&self) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_opx(&self) -> i16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn get_opy(&self) -> i16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn get_rotation(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn get_mode(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn get_tile(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn get_text_index(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom_root_prim_id` is never read [INFO] [stdout] --> src/subsystem/resources/prim.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct PrimManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 278 | prims: Vec>, [INFO] [stdout] 279 | custom_root_prim_id: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_custom_root_prim_id`, `prim_set_sprt`, and `prim_set_text` are never used [INFO] [stdout] --> src/subsystem/resources/prim.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 282 | impl PrimManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 283 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub fn get_custom_root_prim_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub fn prim_set_sprt(&mut self, id: i32, sprt: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn prim_set_text(&mut self, id: i32, text_index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FontItem` is never used [INFO] [stdout] --> src/subsystem/resources/text_manager.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum FontItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextFont` is never constructed [INFO] [stdout] --> src/subsystem/resources/text_manager.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TextFont { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MotionManager { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | pub fn new(prim_manager: Arc>) -> MotionManager { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl AlphaMotion { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> AlphaMotion { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_src_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_dst_alpha(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_anm_type(&self) -> AlphaMotionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_anm_type(&mut self, anm_type: AlphaMotionType) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn set_reverse(&mut self, reverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_src_alpha(&mut self, src_alpha: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_dst_alpha(&mut self, dst_alpha: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn set_duration(&mut self, duration: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_elapsed(&mut self, elapsed: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prim_manager` is never read [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct AlphaMotionContainer { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 197 | prim_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_motions`, and `get_motions_mut` are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/alpha.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl AlphaMotionContainer { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 201 | pub fn new(prim_manager: Arc>) -> AlphaMotionContainer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_motions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn get_motions_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl MoveMotion { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 50 | pub fn new() -> MoveMotion { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_src_x(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_src_y(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_dst_x(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_dst_y(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prim_manager` is never read [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct MoveMotionContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 313 | prim_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_motions`, and `get_motions_mut` are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/normal_move.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 316 | impl MoveMotionContainer { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 317 | pub fn new(prim_manager: Arc>) -> MoveMotionContainer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn get_motions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_motions_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl RotationMotion { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new() -> RotationMotion { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_src_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_dst_angle(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prim_manager` is never read [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct RotationMotionContainer { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 267 | prim_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_motions`, and `get_motions_mut` are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/rotation_move.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl RotationMotionContainer { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 271 | pub fn new(prim_manager: Arc>) -> RotationMotionContainer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn get_motions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn get_motions_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl ScaleMotion { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> ScaleMotion { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_running(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_reverse(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_src_w_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_src_h_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_dst_w_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_dst_h_factor(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn get_duration(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn get_elapsed(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prim_manager` is never read [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct ScaleMotionContainer { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 224 | prim_manager: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_motions`, and `get_motions_mut` are never used [INFO] [stdout] --> src/subsystem/resources/motion_manager/s2_move.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 227 | impl ScaleMotionContainer { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 228 | pub fn new(prim_manager: Arc>) -> ScaleMotionContainer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn get_motions(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn get_motions_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Switch` is never constructed [INFO] [stdout] --> src/subsystem/scene.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) enum SceneTrans { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 59 | Switch(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switch` is never used [INFO] [stdout] --> src/subsystem/scene.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl SceneController { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn switch(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test` is never used [INFO] [stdout] --> src/subsystem/state.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 5 | pub fn test(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `entities`, `clear`, and `add_default_camera` are never used [INFO] [stdout] --> src/subsystem/world.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait World { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 65 | fn entities(&self) -> HashSet; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | fn clear(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn add_default_camera(&mut self) -> Entity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_resource`, `remove_resource`, and `assets_mut` are never used [INFO] [stdout] --> src/subsystem/world.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl GameData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn contains_resource(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn remove_resource(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn assets_mut(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/subsystem/world.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 346 | impl Resources { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 347 | pub fn contains_resource(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn insert_resource(&mut self, resource: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn remove_resource(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn get_resource(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn assets(&self) -> AtomicRef { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn events(&self) -> AtomicRefMut { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn audio(&self) -> AtomicRefMut