[INFO] cloning repository https://github.com/UnknownRori/scarlet-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UnknownRori/scarlet-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnknownRori%2Fscarlet-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnknownRori%2Fscarlet-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0a431d0f2971706d933a75452b67ea89af5f446 [INFO] checking UnknownRori/scarlet-project against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnknownRori%2Fscarlet-project" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnknownRori/scarlet-project on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UnknownRori/scarlet-project [INFO] finished tweaking git repo https://github.com/UnknownRori/scarlet-project [INFO] tweaked toml for git repo https://github.com/UnknownRori/scarlet-project written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/UnknownRori/scarlet-project 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macroquad-profiler v0.2.0 [INFO] [stderr] Downloaded hecs v0.10.4 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f61c5da2c8a070296e3f7f11a74f60ad5d7916a8be1874c43f87e741776857a6 [INFO] running `Command { std: "docker" "start" "-a" "f61c5da2c8a070296e3f7f11a74f60ad5d7916a8be1874c43f87e741776857a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f61c5da2c8a070296e3f7f11a74f60ad5d7916a8be1874c43f87e741776857a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61c5da2c8a070296e3f7f11a74f60ad5d7916a8be1874c43f87e741776857a6", kill_on_drop: false }` [INFO] [stdout] f61c5da2c8a070296e3f7f11a74f60ad5d7916a8be1874c43f87e741776857a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef39c7bcf7dc21a13679d067d36e247dbbce87dfd2117674ac9223e9d31e71c [INFO] running `Command { std: "docker" "start" "-a" "aef39c7bcf7dc21a13679d067d36e247dbbce87dfd2117674ac9223e9d31e71c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling quad-snd v0.2.7 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking hecs v0.10.4 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking macroquad-profiler v0.2.0 [INFO] [stderr] Checking kurai-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | camera::screen_shake::{self, ScreenShake}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::time::Instant` [INFO] [stdout] --> src/engine/ecs/spawner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::engine::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | .query::<(&CustomDraw)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - .query::<(&CustomDraw)>() [INFO] [stdout] 7 + .query::<&CustomDraw>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] 9 + .for_each(|(_, draw)| (draw.0)()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom_draw::custom_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use custom_draw::custom_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprite2d::sprite2d_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sprite2d::sprite2d_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/entity/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::Texture2D` [INFO] [stdout] --> src/entity/bullet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::texture::Texture2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmpx` [INFO] [stdout] --> src/entity/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cmpx, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Conf` is imported redundantly [INFO] [stdout] --> src/window.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::{miniquad::conf::Platform, prelude::*, window::Conf}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Conf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | camera::screen_shake::{self, ScreenShake}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::time::Instant` [INFO] [stdout] --> src/engine/ecs/spawner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::engine::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | .query::<(&CustomDraw)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - .query::<(&CustomDraw)>() [INFO] [stdout] 7 + .query::<&CustomDraw>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] 9 + .for_each(|(_, draw)| (draw.0)()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom_draw::custom_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use custom_draw::custom_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprite2d::sprite2d_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sprite2d::sprite2d_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/entity/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::Texture2D` [INFO] [stdout] --> src/entity/bullet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::texture::Texture2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmpx` [INFO] [stdout] --> src/entity/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cmpx, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Conf` is imported redundantly [INFO] [stdout] --> src/window.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::{miniquad::conf::Platform, prelude::*, window::Conf}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Conf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut screen_shake = ScreenShake::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut screen_shake = ScreenShake::new(); [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: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn update(&mut self, world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn draw(&self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (id, info, transform) in enemies { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn attack_info_trigger(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/player_control.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (id, pos, info) in player.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/player_control.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | time: f64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_SHOOT_SOUND` is never used [INFO] [stdout] --> src/assets/konst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PLAYER_SHOOT_SOUND: &str = "plr-shoot-snd"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `focus` and `spell` are never read [INFO] [stdout] --> src/components/attack_info.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PlayerAttack { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | pub normal: AttackInfo, [INFO] [stdout] 25 | pub focus: AttackInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub spell: SpellInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAttack` 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: enum `Attack` is never used [INFO] [stdout] --> src/components/attack_info.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Attack { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attack` 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: fields `id`, `name`, `timeout`, and `action` are never read [INFO] [stdout] --> src/components/attack_info.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SpellInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 50 | pub id: usize, // TODO : Maybe for replay purpose [INFO] [stdout] | ^^ [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub timeout: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub action: AttackSpawnFn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellInfo` 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: struct `Controllable` is never constructed [INFO] [stdout] --> src/components/controllable.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Controllable<'a>(pub &'a Controls); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/components/movement.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MoveParams { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn move_next( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn move_asymptotic( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn move_asymptotic_halflife( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn move_asymptotic_simple(vel: Complex, boost_factor: f32) -> MoveParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn move_from_towards( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn move_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn move_from_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn move_towards( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Overwrite` is never constructed [INFO] [stdout] --> src/components/waypoint.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WaypointFactor { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 7 | PreserveVelocity(MoveParams), [INFO] [stdout] 8 | Overwrite(MoveParams), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaypointFactor` 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 `Easy`, `Hard`, and `Lunatic` are never constructed [INFO] [stdout] --> src/difficulty/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Difficulty { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 2 | Easy, // Plebs [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | Normal, // Good [INFO] [stdout] 4 | Hard, // Master [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Lunatic, // Master of Master [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `difficulty_value` is never used [INFO] [stdout] --> src/difficulty/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Difficulty { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 9 | #[inline(always)] [INFO] [stdout] 10 | pub fn difficulty_value(&self, easy: T, normal: T, hard: T, lunatic: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bgm` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AssetsManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub bgm: BgmHandler, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetsManager` 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 `get` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl SfxHandler { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `batch` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl ShaderHandler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn batch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(HashMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `BgmHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `get` are never used [INFO] [stdout] --> src/engine/assets/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | impl BgmHandler { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 115 | pub async fn register(&mut self, name: &str, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `size` are never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ScreenBuffer2DBuilder { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn size(mut self, size: UVec2) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn update(&mut self, world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl ScreenBuffer2D { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(size: UVec2, filter: FilterMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn draw(&self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `camera_offset` is never read [INFO] [stdout] --> src/engine/camera/screen_shake.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScreenShake { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] 7 | pub camera_offset: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shake` is never used [INFO] [stdout] --> src/engine/camera/screen_shake.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ScreenShake { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn shake(&mut self, duration: f32, distance: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hp`, `max_hp`, and `invulnerable` are never read [INFO] [stdout] --> src/engine/components/hitpoint.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Hitpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub hp: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub max_hp: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub invulnerable: bool, // INFO : Phase for invulnerable stuff [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hitpoint` 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 `damage` is never used [INFO] [stdout] --> src/engine/components/hitpoint.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Hitpoint { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn damage(&mut self, damage: f32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Double` is never constructed [INFO] [stdout] --> src/engine/controls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Combination { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 9 | Single(KeyCode), [INFO] [stdout] 10 | Double(KeyCode, KeyMods), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_pressed` is never used [INFO] [stdout] --> src/engine/controls.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Controls [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Hash + Eq + PartialEq, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_pressed(&self, action: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/engine/math/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait CartesianExt { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn x(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] 36 | fn y(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cmpx` is never used [INFO] [stdout] --> src/engine/math/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait ToComplex { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 44 | fn to_cmpx(&self) -> Complex; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `distance_squared`, `cdir`, and `lerp` are never used [INFO] [stdout] --> src/engine/math/complex.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ComplexExt: CartesianExt { [INFO] [stdout] | ---------- associated items in this trait [INFO] [stdout] 15 | fn distance_squared(&self, other: &Self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn cdir(angle: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn lerp(&self, other: &Self, t: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_draw` is never used [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn custom_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sprite2d_draw` is never used [INFO] [stdout] --> src/engine/system/draw/sprite2d.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sprite2d_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instant` is never constructed [INFO] [stdout] --> src/engine/time/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Instant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instant` 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`, `now`, and `elapsed` are never used [INFO] [stdout] --> src/engine/time/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instant { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn elapsed(&self, time_frame: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `just_completed`, `set_paused`, and `stop` are never used [INFO] [stdout] --> src/engine/time/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn just_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_paused(&mut self, paused: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_generic_bullet` is never used [INFO] [stdout] --> src/entity/bullet.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn spawn_generic_bullet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTUAL_STAGE_ASPECT_RATIO` is never used [INFO] [stdout] --> src/konst.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const VIRTUAL_STAGE_ASPECT_RATIO: f32 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DONE_BLINKING` is never used [INFO] [stdout] --> src/konst.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DONE_BLINKING: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end` is never used [INFO] [stdout] --> src/scene/scene.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Scene { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn end(&mut self); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Extra`, `Spell`, and `Special` are never constructed [INFO] [stdout] --> src/scene/stage_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StageType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Story, [INFO] [stdout] 3 | Extra, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Spell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `sub_title`, and `stage_type` are never used [INFO] [stdout] --> src/scene/stage_info.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait StageInfo { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 9 | fn id(&self) -> usize; [INFO] [stdout] 10 | fn title(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | fn sub_title(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn stage_type(&self) -> &StageType; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power` and `difficulty` are never read [INFO] [stdout] --> src/score.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ScoreData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub power: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameState` is never used [INFO] [stdout] --> src/state.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MainMenuState` is never used [INFO] [stdout] --> src/state.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum MainMenuState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_draw` is never used [INFO] [stdout] --> src/system/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_draw(world: &World, controls: &Controls, time: f64, _delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_draw` is never used [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (id, info, transform) in enemies { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn attack_info_trigger(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/player_control.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (id, pos, info) in player.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/player_control.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | time: f64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_SHOOT_SOUND` is never used [INFO] [stdout] --> src/assets/konst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PLAYER_SHOOT_SOUND: &str = "plr-shoot-snd"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `focus` and `spell` are never read [INFO] [stdout] --> src/components/attack_info.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PlayerAttack { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | pub normal: AttackInfo, [INFO] [stdout] 25 | pub focus: AttackInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub spell: SpellInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAttack` 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: enum `Attack` is never used [INFO] [stdout] --> src/components/attack_info.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Attack { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attack` 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: fields `id`, `name`, `timeout`, and `action` are never read [INFO] [stdout] --> src/components/attack_info.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SpellInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 50 | pub id: usize, // TODO : Maybe for replay purpose [INFO] [stdout] | ^^ [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub timeout: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub action: AttackSpawnFn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellInfo` 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: struct `Controllable` is never constructed [INFO] [stdout] --> src/components/controllable.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Controllable<'a>(pub &'a Controls); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/components/movement.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MoveParams { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn move_next( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn move_asymptotic( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn move_asymptotic_halflife( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn move_asymptotic_simple(vel: Complex, boost_factor: f32) -> MoveParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn move_from_towards( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn move_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn move_from_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn move_towards( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Overwrite` is never constructed [INFO] [stdout] --> src/components/waypoint.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WaypointFactor { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 7 | PreserveVelocity(MoveParams), [INFO] [stdout] 8 | Overwrite(MoveParams), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaypointFactor` 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 `Easy`, `Hard`, and `Lunatic` are never constructed [INFO] [stdout] --> src/difficulty/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Difficulty { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 2 | Easy, // Plebs [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | Normal, // Good [INFO] [stdout] 4 | Hard, // Master [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Lunatic, // Master of Master [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `difficulty_value` is never used [INFO] [stdout] --> src/difficulty/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Difficulty { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 9 | #[inline(always)] [INFO] [stdout] 10 | pub fn difficulty_value(&self, easy: T, normal: T, hard: T, lunatic: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bgm` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AssetsManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub bgm: BgmHandler, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetsManager` 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 `get` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl SfxHandler { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `batch` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl ShaderHandler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn batch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(HashMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `BgmHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `get` are never used [INFO] [stdout] --> src/engine/assets/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | impl BgmHandler { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 115 | pub async fn register(&mut self, name: &str, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `size` are never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ScreenBuffer2DBuilder { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn size(mut self, size: UVec2) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl ScreenBuffer2D { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(size: UVec2, filter: FilterMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `camera_offset` is never read [INFO] [stdout] --> src/engine/camera/screen_shake.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScreenShake { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] 7 | pub camera_offset: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shake` is never used [INFO] [stdout] --> src/engine/camera/screen_shake.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ScreenShake { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn shake(&mut self, duration: f32, distance: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hp`, `max_hp`, and `invulnerable` are never read [INFO] [stdout] --> src/engine/components/hitpoint.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Hitpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub hp: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub max_hp: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub invulnerable: bool, // INFO : Phase for invulnerable stuff [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hitpoint` 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 `damage` is never used [INFO] [stdout] --> src/engine/components/hitpoint.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Hitpoint { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn damage(&mut self, damage: f32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Double` is never constructed [INFO] [stdout] --> src/engine/controls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Combination { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 9 | Single(KeyCode), [INFO] [stdout] 10 | Double(KeyCode, KeyMods), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_pressed` is never used [INFO] [stdout] --> src/engine/controls.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Controls [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Hash + Eq + PartialEq, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_pressed(&self, action: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/engine/math/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait CartesianExt { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn x(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] 36 | fn y(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cmpx` is never used [INFO] [stdout] --> src/engine/math/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait ToComplex { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 44 | fn to_cmpx(&self) -> Complex; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `distance_squared`, `cdir`, and `lerp` are never used [INFO] [stdout] --> src/engine/math/complex.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ComplexExt: CartesianExt { [INFO] [stdout] | ---------- associated items in this trait [INFO] [stdout] 15 | fn distance_squared(&self, other: &Self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn cdir(angle: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn lerp(&self, other: &Self, t: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_draw` is never used [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn custom_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sprite2d_draw` is never used [INFO] [stdout] --> src/engine/system/draw/sprite2d.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sprite2d_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instant` is never constructed [INFO] [stdout] --> src/engine/time/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Instant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instant` 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`, `now`, and `elapsed` are never used [INFO] [stdout] --> src/engine/time/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instant { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn elapsed(&self, time_frame: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `just_completed`, `set_paused`, and `stop` are never used [INFO] [stdout] --> src/engine/time/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn just_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_paused(&mut self, paused: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_generic_bullet` is never used [INFO] [stdout] --> src/entity/bullet.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn spawn_generic_bullet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTUAL_STAGE_ASPECT_RATIO` is never used [INFO] [stdout] --> src/konst.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const VIRTUAL_STAGE_ASPECT_RATIO: f32 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DONE_BLINKING` is never used [INFO] [stdout] --> src/konst.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DONE_BLINKING: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end` is never used [INFO] [stdout] --> src/scene/scene.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Scene { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn end(&mut self); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Extra`, `Spell`, and `Special` are never constructed [INFO] [stdout] --> src/scene/stage_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StageType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Story, [INFO] [stdout] 3 | Extra, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Spell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `sub_title`, and `stage_type` are never used [INFO] [stdout] --> src/scene/stage_info.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait StageInfo { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 9 | fn id(&self) -> usize; [INFO] [stdout] 10 | fn title(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | fn sub_title(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn stage_type(&self) -> &StageType; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power` and `difficulty` are never read [INFO] [stdout] --> src/score.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ScoreData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub power: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameState` is never used [INFO] [stdout] --> src/state.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MainMenuState` is never used [INFO] [stdout] --> src/state.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum MainMenuState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_draw` is never used [INFO] [stdout] --> src/system/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_draw(world: &World, controls: &Controls, time: f64, _delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_draw` is never used [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.09s [INFO] running `Command { std: "docker" "inspect" "aef39c7bcf7dc21a13679d067d36e247dbbce87dfd2117674ac9223e9d31e71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef39c7bcf7dc21a13679d067d36e247dbbce87dfd2117674ac9223e9d31e71c", kill_on_drop: false }` [INFO] [stdout] aef39c7bcf7dc21a13679d067d36e247dbbce87dfd2117674ac9223e9d31e71c [INFO] checking UnknownRori/scarlet-project against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnknownRori%2Fscarlet-project" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnknownRori/scarlet-project on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UnknownRori/scarlet-project [INFO] finished tweaking git repo https://github.com/UnknownRori/scarlet-project [INFO] tweaked toml for git repo https://github.com/UnknownRori/scarlet-project written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/UnknownRori/scarlet-project 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21278f018db50314e8caa94c2dd9bd6f7d555c672900c74094e8b9416b0e6f1e [INFO] running `Command { std: "docker" "start" "-a" "21278f018db50314e8caa94c2dd9bd6f7d555c672900c74094e8b9416b0e6f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21278f018db50314e8caa94c2dd9bd6f7d555c672900c74094e8b9416b0e6f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21278f018db50314e8caa94c2dd9bd6f7d555c672900c74094e8b9416b0e6f1e", kill_on_drop: false }` [INFO] [stdout] 21278f018db50314e8caa94c2dd9bd6f7d555c672900c74094e8b9416b0e6f1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed86d9fbd118d74a91e0ffeb1960739a1d05db79eaf5e7c1efeb9635973e9b28 [INFO] running `Command { std: "docker" "start" "-a" "ed86d9fbd118d74a91e0ffeb1960739a1d05db79eaf5e7c1efeb9635973e9b28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quad-snd v0.2.7 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking bumpalo v3.15.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking hecs v0.10.4 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking macroquad-profiler v0.2.0 [INFO] [stderr] Checking kurai-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | camera::screen_shake::{self, ScreenShake}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::time::Instant` [INFO] [stdout] --> src/engine/ecs/spawner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::engine::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | .query::<(&CustomDraw)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - .query::<(&CustomDraw)>() [INFO] [stdout] 7 + .query::<&CustomDraw>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] 9 + .for_each(|(_, draw)| (draw.0)()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom_draw::custom_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use custom_draw::custom_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprite2d::sprite2d_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sprite2d::sprite2d_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/entity/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::Texture2D` [INFO] [stdout] --> src/entity/bullet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::texture::Texture2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmpx` [INFO] [stdout] --> src/entity/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cmpx, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Conf` is imported redundantly [INFO] [stdout] --> src/window.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::{miniquad::conf::Platform, prelude::*, window::Conf}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Conf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut screen_shake = ScreenShake::new(); [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 import: `self` [INFO] [stdout] --> src/app.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | camera::screen_shake::{self, ScreenShake}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::time::Instant` [INFO] [stdout] --> src/engine/ecs/spawner.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::engine::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | .query::<(&CustomDraw)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - .query::<(&CustomDraw)>() [INFO] [stdout] 7 + .query::<&CustomDraw>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - .for_each(|(_, (draw))| (draw.0)()); [INFO] [stdout] 9 + .for_each(|(_, draw)| (draw.0)()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `custom_draw::custom_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use custom_draw::custom_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sprite2d::sprite2d_draw` [INFO] [stdout] --> src/engine/system/draw/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sprite2d::sprite2d_draw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/entity/bullet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::Texture2D` [INFO] [stdout] --> src/entity/bullet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::texture::Texture2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmpx` [INFO] [stdout] --> src/entity/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | cmpx, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Conf` is imported redundantly [INFO] [stdout] --> src/window.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::{miniquad::conf::Platform, prelude::*, window::Conf}; [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item `Conf` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut screen_shake = ScreenShake::new(); [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: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn update(&mut self, world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn draw(&self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (id, info, transform) in enemies { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn attack_info_trigger(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/player_control.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (id, pos, info) in player.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/player_control.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | time: f64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_SHOOT_SOUND` is never used [INFO] [stdout] --> src/assets/konst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PLAYER_SHOOT_SOUND: &str = "plr-shoot-snd"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `focus` and `spell` are never read [INFO] [stdout] --> src/components/attack_info.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PlayerAttack { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | pub normal: AttackInfo, [INFO] [stdout] 25 | pub focus: AttackInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub spell: SpellInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAttack` 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: enum `Attack` is never used [INFO] [stdout] --> src/components/attack_info.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Attack { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attack` 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: fields `id`, `name`, `timeout`, and `action` are never read [INFO] [stdout] --> src/components/attack_info.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SpellInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 50 | pub id: usize, // TODO : Maybe for replay purpose [INFO] [stdout] | ^^ [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub timeout: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub action: AttackSpawnFn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellInfo` 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: struct `Controllable` is never constructed [INFO] [stdout] --> src/components/controllable.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Controllable<'a>(pub &'a Controls); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/components/movement.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MoveParams { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn move_next( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn move_asymptotic( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn move_asymptotic_halflife( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn move_asymptotic_simple(vel: Complex, boost_factor: f32) -> MoveParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn move_from_towards( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn move_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn move_from_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn move_towards( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Overwrite` is never constructed [INFO] [stdout] --> src/components/waypoint.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WaypointFactor { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 7 | PreserveVelocity(MoveParams), [INFO] [stdout] 8 | Overwrite(MoveParams), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaypointFactor` 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 `Easy`, `Hard`, and `Lunatic` are never constructed [INFO] [stdout] --> src/difficulty/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Difficulty { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 2 | Easy, // Plebs [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | Normal, // Good [INFO] [stdout] 4 | Hard, // Master [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Lunatic, // Master of Master [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `difficulty_value` is never used [INFO] [stdout] --> src/difficulty/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Difficulty { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 9 | #[inline(always)] [INFO] [stdout] 10 | pub fn difficulty_value(&self, easy: T, normal: T, hard: T, lunatic: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bgm` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AssetsManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub bgm: BgmHandler, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetsManager` 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 `get` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl SfxHandler { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `batch` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl ShaderHandler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn batch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(HashMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `BgmHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `get` are never used [INFO] [stdout] --> src/engine/assets/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | impl BgmHandler { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 115 | pub async fn register(&mut self, name: &str, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `size` are never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ScreenBuffer2DBuilder { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn size(mut self, size: UVec2) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl ScreenBuffer2D { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(size: UVec2, filter: FilterMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `camera_offset` is never read [INFO] [stdout] --> src/engine/camera/screen_shake.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScreenShake { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] 7 | pub camera_offset: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shake` is never used [INFO] [stdout] --> src/engine/camera/screen_shake.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ScreenShake { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn shake(&mut self, duration: f32, distance: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hp`, `max_hp`, and `invulnerable` are never read [INFO] [stdout] --> src/engine/components/hitpoint.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Hitpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub hp: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub max_hp: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub invulnerable: bool, // INFO : Phase for invulnerable stuff [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hitpoint` 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 `damage` is never used [INFO] [stdout] --> src/engine/components/hitpoint.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Hitpoint { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn damage(&mut self, damage: f32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Double` is never constructed [INFO] [stdout] --> src/engine/controls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Combination { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 9 | Single(KeyCode), [INFO] [stdout] 10 | Double(KeyCode, KeyMods), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_pressed` is never used [INFO] [stdout] --> src/engine/controls.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Controls [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Hash + Eq + PartialEq, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_pressed(&self, action: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/engine/math/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait CartesianExt { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn x(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] 36 | fn y(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cmpx` is never used [INFO] [stdout] --> src/engine/math/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait ToComplex { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 44 | fn to_cmpx(&self) -> Complex; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `distance_squared`, `cdir`, and `lerp` are never used [INFO] [stdout] --> src/engine/math/complex.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ComplexExt: CartesianExt { [INFO] [stdout] | ---------- associated items in this trait [INFO] [stdout] 15 | fn distance_squared(&self, other: &Self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn cdir(angle: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn lerp(&self, other: &Self, t: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_draw` is never used [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn custom_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sprite2d_draw` is never used [INFO] [stdout] --> src/engine/system/draw/sprite2d.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sprite2d_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instant` is never constructed [INFO] [stdout] --> src/engine/time/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Instant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instant` 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`, `now`, and `elapsed` are never used [INFO] [stdout] --> src/engine/time/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instant { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn elapsed(&self, time_frame: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `just_completed`, `set_paused`, and `stop` are never used [INFO] [stdout] --> src/engine/time/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn just_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_paused(&mut self, paused: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_generic_bullet` is never used [INFO] [stdout] --> src/entity/bullet.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn spawn_generic_bullet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTUAL_STAGE_ASPECT_RATIO` is never used [INFO] [stdout] --> src/konst.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const VIRTUAL_STAGE_ASPECT_RATIO: f32 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DONE_BLINKING` is never used [INFO] [stdout] --> src/konst.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DONE_BLINKING: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end` is never used [INFO] [stdout] --> src/scene/scene.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Scene { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn end(&mut self); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Extra`, `Spell`, and `Special` are never constructed [INFO] [stdout] --> src/scene/stage_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StageType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Story, [INFO] [stdout] 3 | Extra, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Spell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `sub_title`, and `stage_type` are never used [INFO] [stdout] --> src/scene/stage_info.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait StageInfo { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 9 | fn id(&self) -> usize; [INFO] [stdout] 10 | fn title(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | fn sub_title(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn stage_type(&self) -> &StageType; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power` and `difficulty` are never read [INFO] [stdout] --> src/score.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ScoreData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub power: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameState` is never used [INFO] [stdout] --> src/state.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MainMenuState` is never used [INFO] [stdout] --> src/state.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum MainMenuState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_draw` is never used [INFO] [stdout] --> src/system/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_draw(world: &World, controls: &Controls, time: f64, _delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_draw` is never used [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | fn start(&mut self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/scene/stage1/mod.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn update(&mut self, world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/scene/stage1/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn draw(&self, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/system/update/ai_movement.rs:5:60 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn enemy_movement_update(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | for (id, info, transform) in enemies { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/attack_info_trigger.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn attack_info_trigger(world: &mut World, time: f64, delta: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/update/player_control.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (id, pos, info) in player.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/system/update/player_control.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | time: f64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_SHOOT_SOUND` is never used [INFO] [stdout] --> src/assets/konst.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PLAYER_SHOOT_SOUND: &str = "plr-shoot-snd"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `focus` and `spell` are never read [INFO] [stdout] --> src/components/attack_info.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PlayerAttack { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 24 | pub normal: AttackInfo, [INFO] [stdout] 25 | pub focus: AttackInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub spell: SpellInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAttack` 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: enum `Attack` is never used [INFO] [stdout] --> src/components/attack_info.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Attack { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attack` 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: fields `id`, `name`, `timeout`, and `action` are never read [INFO] [stdout] --> src/components/attack_info.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct SpellInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 50 | pub id: usize, // TODO : Maybe for replay purpose [INFO] [stdout] | ^^ [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub timeout: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | pub action: AttackSpawnFn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellInfo` 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: struct `Controllable` is never constructed [INFO] [stdout] --> src/components/controllable.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Controllable<'a>(pub &'a Controls); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/components/movement.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MoveParams { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn move_next( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn move_asymptotic( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn move_asymptotic_halflife( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn move_asymptotic_simple(vel: Complex, boost_factor: f32) -> MoveParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn move_from_towards( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn move_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn move_from_towards_exp( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn move_towards( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Overwrite` is never constructed [INFO] [stdout] --> src/components/waypoint.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum WaypointFactor { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 7 | PreserveVelocity(MoveParams), [INFO] [stdout] 8 | Overwrite(MoveParams), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaypointFactor` 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 `Easy`, `Hard`, and `Lunatic` are never constructed [INFO] [stdout] --> src/difficulty/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Difficulty { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 2 | Easy, // Plebs [INFO] [stdout] | ^^^^ [INFO] [stdout] 3 | Normal, // Good [INFO] [stdout] 4 | Hard, // Master [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | Lunatic, // Master of Master [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `difficulty_value` is never used [INFO] [stdout] --> src/difficulty/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Difficulty { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 9 | #[inline(always)] [INFO] [stdout] 10 | pub fn difficulty_value(&self, easy: T, normal: T, hard: T, lunatic: T) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bgm` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AssetsManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub bgm: BgmHandler, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetsManager` 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 `get` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl SfxHandler { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `batch` is never used [INFO] [stdout] --> src/engine/assets/mod.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl ShaderHandler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn batch( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/assets/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(HashMap>); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `BgmHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | pub struct BgmHandler(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `get` are never used [INFO] [stdout] --> src/engine/assets/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | impl BgmHandler { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 115 | pub async fn register(&mut self, name: &str, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `size` are never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ScreenBuffer2DBuilder { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn size(mut self, size: UVec2) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/camera/screen_buffer2d.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl ScreenBuffer2D { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 83 | pub fn new(size: UVec2, filter: FilterMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `camera_offset` is never read [INFO] [stdout] --> src/engine/camera/screen_shake.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ScreenShake { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub distance: f32, [INFO] [stdout] 7 | pub camera_offset: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shake` is never used [INFO] [stdout] --> src/engine/camera/screen_shake.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ScreenShake { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn shake(&mut self, duration: f32, distance: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hp`, `max_hp`, and `invulnerable` are never read [INFO] [stdout] --> src/engine/components/hitpoint.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Hitpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub hp: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 4 | pub max_hp: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub invulnerable: bool, // INFO : Phase for invulnerable stuff [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hitpoint` 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 `damage` is never used [INFO] [stdout] --> src/engine/components/hitpoint.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Hitpoint { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn damage(&mut self, damage: f32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Double` is never constructed [INFO] [stdout] --> src/engine/controls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Combination { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 9 | Single(KeyCode), [INFO] [stdout] 10 | Double(KeyCode, KeyMods), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_pressed` is never used [INFO] [stdout] --> src/engine/controls.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Controls [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: Hash + Eq + PartialEq, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_pressed(&self, action: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/engine/math/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait CartesianExt { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn x(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] 36 | fn y(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_cmpx` is never used [INFO] [stdout] --> src/engine/math/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait ToComplex { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 44 | fn to_cmpx(&self) -> Complex; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `distance_squared`, `cdir`, and `lerp` are never used [INFO] [stdout] --> src/engine/math/complex.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ComplexExt: CartesianExt { [INFO] [stdout] | ---------- associated items in this trait [INFO] [stdout] 15 | fn distance_squared(&self, other: &Self) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn cdir(angle: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn lerp(&self, other: &Self, t: f32) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_draw` is never used [INFO] [stdout] --> src/engine/system/draw/custom_draw.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn custom_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sprite2d_draw` is never used [INFO] [stdout] --> src/engine/system/draw/sprite2d.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sprite2d_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instant` is never constructed [INFO] [stdout] --> src/engine/time/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Instant { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instant` 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`, `now`, and `elapsed` are never used [INFO] [stdout] --> src/engine/time/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instant { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new(time: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn now() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn elapsed(&self, time_frame: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `just_completed`, `set_paused`, and `stop` are never used [INFO] [stdout] --> src/engine/time/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn just_completed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn set_paused(&mut self, paused: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_generic_bullet` is never used [INFO] [stdout] --> src/entity/bullet.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn spawn_generic_bullet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIRTUAL_STAGE_ASPECT_RATIO` is never used [INFO] [stdout] --> src/konst.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const VIRTUAL_STAGE_ASPECT_RATIO: f32 = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DONE_BLINKING` is never used [INFO] [stdout] --> src/konst.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DONE_BLINKING: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end` is never used [INFO] [stdout] --> src/scene/scene.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Scene { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn end(&mut self); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Extra`, `Spell`, and `Special` are never constructed [INFO] [stdout] --> src/scene/stage_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum StageType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Story, [INFO] [stdout] 3 | Extra, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | Spell, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Special, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `title`, `sub_title`, and `stage_type` are never used [INFO] [stdout] --> src/scene/stage_info.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait StageInfo { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 9 | fn id(&self) -> usize; [INFO] [stdout] 10 | fn title(&self) -> &str; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | fn sub_title(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn stage_type(&self) -> &StageType; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power` and `difficulty` are never read [INFO] [stdout] --> src/score.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ScoreData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub power: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub difficulty: Difficulty, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameState` is never used [INFO] [stdout] --> src/state.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MainMenuState` is never used [INFO] [stdout] --> src/state.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum MainMenuState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_draw` is never used [INFO] [stdout] --> src/system/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn update_draw(world: &World, controls: &Controls, time: f64, _delta: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collision_draw` is never used [INFO] [stdout] --> src/system/draw/collision_draw.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn collision_draw(world: &World) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.13s [INFO] running `Command { std: "docker" "inspect" "ed86d9fbd118d74a91e0ffeb1960739a1d05db79eaf5e7c1efeb9635973e9b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed86d9fbd118d74a91e0ffeb1960739a1d05db79eaf5e7c1efeb9635973e9b28", kill_on_drop: false }` [INFO] [stdout] ed86d9fbd118d74a91e0ffeb1960739a1d05db79eaf5e7c1efeb9635973e9b28