[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] feea42df75c5b6135e312b0b1b508be20edc3de7 [INFO] checking UnknownRori/scarlet-project/feea42df75c5b6135e312b0b1b508be20edc3de7 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUnknownRori%2Fscarlet-project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UnknownRori/scarlet-project on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-2-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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 audir-sles v0.1.0 [INFO] [stderr] Downloaded dasp_frame v0.11.0 [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded ogg v0.7.1 [INFO] [stderr] Downloaded audrey v0.3.0 [INFO] [stderr] Downloaded hecs v0.10.4 [INFO] [stderr] Downloaded quad-alsa-sys v0.3.2 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] [stderr] Downloaded quad-snd v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f51f223b0b7d669c5a9b98402c7d918686ba77e411b0464c9ce7ddf06cb31c80 [INFO] running `Command { std: "docker" "start" "-a" "f51f223b0b7d669c5a9b98402c7d918686ba77e411b0464c9ce7ddf06cb31c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f51f223b0b7d669c5a9b98402c7d918686ba77e411b0464c9ce7ddf06cb31c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51f223b0b7d669c5a9b98402c7d918686ba77e411b0464c9ce7ddf06cb31c80", kill_on_drop: false }` [INFO] [stdout] f51f223b0b7d669c5a9b98402c7d918686ba77e411b0464c9ce7ddf06cb31c80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea467e336e31d86351e70f91a62897c705c494176107d9c8aa58df91f096fc7 [INFO] running `Command { std: "docker" "start" "-a" "eea467e336e31d86351e70f91a62897c705c494176107d9c8aa58df91f096fc7", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling quad-snd v0.2.7 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking hecs v0.10.4 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking macroquad v0.4.5 [INFO] [stderr] Checking macroquad-profiler v0.2.0 [INFO] [stderr] Checking kurai-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fairy_spin_delay::FairySpinDelay` [INFO] [stdout] --> src/attack_info/non_spells/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use fairy_spin_delay::FairySpinDelay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Laser` [INFO] [stdout] --> src/components/mod.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use bullet::{Bullet, Grazed, Laser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Boss` and `MidBoss` [INFO] [stdout] --> src/components/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub use enemy::{Boss, Enemy, MidBoss}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Friendly` [INFO] [stdout] --> src/components/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub use player::{Friendly, Player}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_complex::Complex` [INFO] [stdout] --> src/entity/items.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComplexExt` [INFO] [stdout] --> src/entity/items.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | math::{ComplexExt, ToComplex}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Cell` [INFO] [stdout] --> src/entity/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::Cell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `POST_PROCESSING` [INFO] [stdout] --> src/render/renderer.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | konst::{BLOOM, HUD, LIGHTMAP, POST_PROCESSING}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage1` [INFO] [stdout] --> src/stage/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use stage1::{LazyStage1, Stage1}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2` [INFO] [stdout] --> src/system/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | vec2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/system/mod.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | .without::<(&Bullet)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - .without::<(&Bullet)>() [INFO] [stdout] 100 + .without::<&Bullet>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/system/mod.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | .without::<(&Bullet)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - .without::<(&Bullet)>() [INFO] [stdout] 113 + .without::<&Bullet>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fairy_spin_delay::FairySpinDelay` [INFO] [stdout] --> src/attack_info/non_spells/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use fairy_spin_delay::FairySpinDelay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Laser` [INFO] [stdout] --> src/components/mod.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use bullet::{Bullet, Grazed, Laser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Boss` and `MidBoss` [INFO] [stdout] --> src/components/mod.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub use enemy::{Boss, Enemy, MidBoss}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Friendly` [INFO] [stdout] --> src/components/mod.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub use player::{Friendly, Player}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_complex::Complex` [INFO] [stdout] --> src/entity/items.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_complex::Complex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComplexExt` [INFO] [stdout] --> src/entity/items.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | math::{ComplexExt, ToComplex}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Cell` [INFO] [stdout] --> src/entity/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::Cell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `POST_PROCESSING` [INFO] [stdout] --> src/render/renderer.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | konst::{BLOOM, HUD, LIGHTMAP, POST_PROCESSING}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage1` [INFO] [stdout] --> src/stage/mod.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | pub use stage1::{LazyStage1, Stage1}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2` [INFO] [stdout] --> src/system/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | vec2, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/system/mod.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | .without::<(&Bullet)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - .without::<(&Bullet)>() [INFO] [stdout] 100 + .without::<&Bullet>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/system/mod.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | .without::<(&Bullet)>() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - .without::<(&Bullet)>() [INFO] [stdout] 113 + .without::<&Bullet>() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/components/waypoints.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, move_params: &mut MoveParams, transform: &Transform2D) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/waypoints.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | WaypointFactor::PreserveVelocityUseOrigin(mut param) => { [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: `id` [INFO] [stdout] --> src/system/mod.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | for (id, transform, hitbox) in &players { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/components/waypoints.rs:41:60 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, move_params: &mut MoveParams, transform: &Transform2D) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/waypoints.rs:58:59 [INFO] [stdout] | [INFO] [stdout] 58 | WaypointFactor::PreserveVelocityUseOrigin(mut param) => { [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: associated function `new` is never used [INFO] [stdout] --> src/attack_info/non_spells/fairy_spin_delay.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl FairySpinDelay { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(assets: &Assets) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spell` is never read [INFO] [stdout] --> src/components/attack_info.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PlayerAttackInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub spell: SpellInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAttackInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `timeout`, and `spawn` are never read [INFO] [stdout] --> src/components/attack_info.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SpellInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub timeout: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub spawn: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laser` is never constructed [INFO] [stdout] --> src/components/bullet.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Laser; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MidBoss` is never constructed [INFO] [stdout] --> src/components/enemy.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MidBoss; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Boss` is never constructed [INFO] [stdout] --> src/components/enemy.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Boss; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_hp` is never read [INFO] [stdout] --> src/components/hitpoint.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Hitpoint { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 3 | pub hp: f32, [INFO] [stdout] 4 | pub max_hp: f32, [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: variants `Heart` and `BigPower` are never constructed [INFO] [stdout] --> src/components/item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DropItemType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 3 | Heart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | BigPower, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropItemType` 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 `heart` and `big_power` are never read [INFO] [stdout] --> src/components/item.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DropItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | pub heart: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub power: u8, [INFO] [stdout] 13 | pub big_power: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropItem` 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 functions `move_asymptotic_simple`, `move_towards_exp`, and `move_from_towards_exp` are never used [INFO] [stdout] --> src/components/move_params.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MoveParams { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn move_asymptotic_simple(vel: Complex, boost_factor: f32) -> MoveParams { [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] [INFO] [stdout] warning: struct `Friendly` is never constructed [INFO] [stdout] --> src/components/player.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Friendly; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreserveVelocityUseOrigin` and `Overwrite` are never constructed [INFO] [stdout] --> src/components/waypoints.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum WaypointFactor { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | PreserveVelocity(MoveParams), [INFO] [stdout] 10 | PreserveVelocityUseOrigin(MoveParams), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | 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: methods `x` and `y` are never used [INFO] [stdout] --> src/math/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait CartesianExt { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn x(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] 35 | fn y(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_squared` and `lerp` are never used [INFO] [stdout] --> src/math/complex.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ComplexExt: CartesianExt { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 15 | fn distance_squared(&self, other: &Self) -> f32; [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 `fetch_lightmap` is never used [INFO] [stdout] --> src/render/renderer.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn fetch_lightmap(assets: &Assets, from: &Camera2D, to: &Camera2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bloom` is never used [INFO] [stdout] --> src/render/renderer.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn generate_bloom(assets: &Assets, from: &Camera2D, to: &Camera2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/system/mod.rs:146:14 [INFO] [stdout] | [INFO] [stdout] 146 | for (id, transform, hitbox) in &players { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/attack_info/non_spells/fairy_spin_delay.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl FairySpinDelay { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(assets: &Assets) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `spell` is never read [INFO] [stdout] --> src/components/attack_info.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PlayerAttackInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub spell: SpellInfo, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayerAttackInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `timeout`, and `spawn` are never read [INFO] [stdout] --> src/components/attack_info.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SpellInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 31 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | pub timeout: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub spawn: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpellInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Laser` is never constructed [INFO] [stdout] --> src/components/bullet.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Laser; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MidBoss` is never constructed [INFO] [stdout] --> src/components/enemy.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MidBoss; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Boss` is never constructed [INFO] [stdout] --> src/components/enemy.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Boss; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_hp` is never read [INFO] [stdout] --> src/components/hitpoint.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Hitpoint { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 3 | pub hp: f32, [INFO] [stdout] 4 | pub max_hp: f32, [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: variants `Heart` and `BigPower` are never constructed [INFO] [stdout] --> src/components/item.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DropItemType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 3 | Heart, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | BigPower, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropItemType` 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 `heart` and `big_power` are never read [INFO] [stdout] --> src/components/item.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DropItem { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | pub heart: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub power: u8, [INFO] [stdout] 13 | pub big_power: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DropItem` 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 functions `move_asymptotic_simple`, `move_towards_exp`, and `move_from_towards_exp` are never used [INFO] [stdout] --> src/components/move_params.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl MoveParams { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn move_asymptotic_simple(vel: Complex, boost_factor: f32) -> MoveParams { [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] [INFO] [stdout] warning: struct `Friendly` is never constructed [INFO] [stdout] --> src/components/player.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Friendly; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PreserveVelocityUseOrigin` and `Overwrite` are never constructed [INFO] [stdout] --> src/components/waypoints.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum WaypointFactor { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 9 | PreserveVelocity(MoveParams), [INFO] [stdout] 10 | PreserveVelocityUseOrigin(MoveParams), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | 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: methods `x` and `y` are never used [INFO] [stdout] --> src/math/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait CartesianExt { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn x(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] 35 | fn y(&self) -> &Self::Output; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `distance_squared` and `lerp` are never used [INFO] [stdout] --> src/math/complex.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait ComplexExt: CartesianExt { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 15 | fn distance_squared(&self, other: &Self) -> f32; [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 `fetch_lightmap` is never used [INFO] [stdout] --> src/render/renderer.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 461 | pub fn fetch_lightmap(assets: &Assets, from: &Camera2D, to: &Camera2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_bloom` is never used [INFO] [stdout] --> src/render/renderer.rs:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | pub fn generate_bloom(assets: &Assets, from: &Camera2D, to: &Camera2D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.37s [INFO] running `Command { std: "docker" "inspect" "eea467e336e31d86351e70f91a62897c705c494176107d9c8aa58df91f096fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea467e336e31d86351e70f91a62897c705c494176107d9c8aa58df91f096fc7", kill_on_drop: false }` [INFO] [stdout] eea467e336e31d86351e70f91a62897c705c494176107d9c8aa58df91f096fc7