[INFO] cloning repository https://github.com/f0ursqu4r3/gauche [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/f0ursqu4r3/gauche" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff0ursqu4r3%2Fgauche", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff0ursqu4r3%2Fgauche'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2990f0211aa747bbc469551cfbae04d5299a28af [INFO] checking f0ursqu4r3/gauche against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ff0ursqu4r3%2Fgauche" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/f0ursqu4r3/gauche [INFO] finished tweaking git repo https://github.com/f0ursqu4r3/gauche [INFO] tweaked toml for git repo https://github.com/f0ursqu4r3/gauche written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/f0ursqu4r3/gauche on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/f0ursqu4r3/gauche 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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded noise v0.9.0 [INFO] [stderr] Downloaded prettyplease v0.2.34 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 171a90ecb4a5b1a307a66d2d0f4d3930cee57d7e2d4fdc62117d508f4ac79508 [INFO] running `Command { std: "docker" "start" "-a" "171a90ecb4a5b1a307a66d2d0f4d3930cee57d7e2d4fdc62117d508f4ac79508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "171a90ecb4a5b1a307a66d2d0f4d3930cee57d7e2d4fdc62117d508f4ac79508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171a90ecb4a5b1a307a66d2d0f4d3930cee57d7e2d4fdc62117d508f4ac79508", kill_on_drop: false }` [INFO] [stdout] 171a90ecb4a5b1a307a66d2d0f4d3930cee57d7e2d4fdc62117d508f4ac79508 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 492df519ef46c119da12da4f7587aab0a1e8dbe0a9ab28d2cbac42ae52537261 [INFO] running `Command { std: "docker" "start" "-a" "492df519ef46c119da12da4f7587aab0a1e8dbe0a9ab28d2cbac42ae52537261", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking glam v0.30.4 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking gauche v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Audio`, `is_tile_occupied`, `self`, `state::State`, and `step::entity_step_sound_lookup` [INFO] [stdout] --> src/entity.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | audio::{Audio, SoundEffect}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | state::State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | step::entity_step_sound_lookup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | tile::{self, is_tile_occupied}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/entity_behavior.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | entity::{self, swap_step_sound, EntityState, EntityType, StepSound, VID}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `item_use::use_item`, `item`, and `tile::Tile` [INFO] [stdout] --> src/item.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{item, item_use::use_item, sprite::Sprite, tile::Tile}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `render::TILE_SIZE` [INFO] [stdout] --> src/item_use.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | entity::{Alignment, DamageType, VID}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | render::TILE_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random_range` [INFO] [stdout] --> src/render.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Audio`, `is_tile_occupied`, `self`, `state::State`, and `step::entity_step_sound_lookup` [INFO] [stdout] --> src/entity.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | audio::{Audio, SoundEffect}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | state::State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | step::entity_step_sound_lookup, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | tile::{self, is_tile_occupied}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::EntityType`, `render_debug_info`, and `tile::get_tile_sprite` [INFO] [stdout] --> src/render.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | entity::EntityType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | draw_cursor, render_debug_info, render_hand_item, render_health_bar, render_inventory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | tile::get_tile_sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaylibMode2D` [INFO] [stdout] --> src/render_entities.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | prelude::{RaylibDraw, RaylibDrawHandle, RaylibMode2D, RaylibTextureMode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/entity_behavior.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | entity::{self, swap_step_sound, EntityState, EntityType, StepSound, VID}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile::get_tile_sprite` [INFO] [stdout] --> src/render_entities.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tile::get_tile_sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaylibMode2D` [INFO] [stdout] --> src/render_tiles.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | prelude::{RaylibDraw, RaylibDrawHandle, RaylibMode2D, RaylibTextureMode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_manhattan_range_fill` and `draw_manhattan_range_outline` [INFO] [stdout] --> src/render_ui.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | draw_manhattan_range_fill, draw_manhattan_range_outline, draw_manhattan_ring_fill, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `item_use::use_item`, `item`, and `tile::Tile` [INFO] [stdout] --> src/item.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{item, item_use::use_item, sprite::Sprite, tile::Tile}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntityType`, `ItemType`, `Item`, `Mood`, `self`, and `sprite::Sprite` [INFO] [stdout] --> src/stage.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | entity::{self, EntityType, Mood}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | item::{Item, ItemType}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 10 | sprite::Sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment` and `render::TILE_SIZE` [INFO] [stdout] --> src/item_use.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | entity::{Alignment, DamageType, VID}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | render::TILE_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tile`, `can_build_on`, `entity_manager`, `self`, and `self` [INFO] [stdout] --> src/step.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | entity::{self, Entity, EntityType, StepSound, VID}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | entity_manager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | tile::{self, can_build_on, flip_tile, tile_shake_attenuation, Tile}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random_range` [INFO] [stdout] --> src/render.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::random_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::EntityType`, `render_debug_info`, and `tile::get_tile_sprite` [INFO] [stdout] --> src/render.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | entity::EntityType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | draw_cursor, render_debug_info, render_hand_item, render_health_bar, render_inventory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | tile::get_tile_sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaylibMode2D` [INFO] [stdout] --> src/render_entities.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | prelude::{RaylibDraw, RaylibDrawHandle, RaylibMode2D, RaylibTextureMode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tile::get_tile_sprite` [INFO] [stdout] --> src/render_entities.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tile::get_tile_sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaylibMode2D` [INFO] [stdout] --> src/render_tiles.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | prelude::{RaylibDraw, RaylibDrawHandle, RaylibMode2D, RaylibTextureMode}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_manhattan_range_fill` and `draw_manhattan_range_outline` [INFO] [stdout] --> src/render_ui.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | draw_manhattan_range_fill, draw_manhattan_range_outline, draw_manhattan_ring_fill, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntityType`, `ItemType`, `Item`, `Mood`, `self`, and `sprite::Sprite` [INFO] [stdout] --> src/stage.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | entity::{self, EntityType, Mood}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | item::{Item, ItemType}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 10 | sprite::Sprite, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tile`, `can_build_on`, `entity_manager`, `self`, and `self` [INFO] [stdout] --> src/step.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | entity::{self, Entity, EntityType, StepSound, VID}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | entity_manager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | tile::{self, can_build_on, flip_tile, tile_shake_attenuation, Tile}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_world_pos` [INFO] [stdout] --> src/render_ui.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | let mouse_world_pos = graphics.screen_to_world(mouse_screen_pos) * TILE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_world_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/render_ui.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let player_pos = player.pos * TILE_SIZE; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_world_pos` [INFO] [stdout] --> src/render_ui.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | let mouse_world_pos = graphics.screen_to_world(mouse_screen_pos) * TILE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_world_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/render_ui.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | let player_pos = player.pos * TILE_SIZE; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render_ui.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | mut x: f32, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render_ui.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | mut x: f32, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphics` [INFO] [stdout] --> src/render_ui.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | graphics: &Graphics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphics` [INFO] [stdout] --> src/render_ui.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | graphics: &Graphics, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `used` [INFO] [stdout] --> src/step.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | let used = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `used` [INFO] [stdout] --> src/step.rs:323:21 [INFO] [stdout] | [INFO] [stdout] 323 | let used = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_used` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tile.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/tile.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 155 | DamageType::Punch => true, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 156 | DamageType::Scratch => true, // Zombies should also be able to claw at walls [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 157 | _ => false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/tile.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/tile.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 155 | DamageType::Punch => true, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 156 | DamageType::Scratch => true, // Zombies should also be able to claw at walls [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 157 | _ => false, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `play_song`, `stop_current_song`, and `stop_song` are never used [INFO] [stdout] --> src/audio.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl<'a> Audio<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn play_song(&mut self, song: Song) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn stop_current_song(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn stop_song(&mut self, song: Song) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Walking` is never constructed [INFO] [stdout] --> src/entity.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum EntityState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 27 | Idle, [INFO] [stdout] 28 | Walking, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityState` 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 `PointLabel` is never used [INFO] [stdout] --> src/entity.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum PointLabel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EntityLabel` is never used [INFO] [stdout] --> src/entity.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum EntityLabel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Background` and `Foreground` are never constructed [INFO] [stdout] --> src/entity.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum DrawLayer { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 65 | Background, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | Middle, [INFO] [stdout] 67 | Foreground, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawLayer` 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: variant `Scratch` is never constructed [INFO] [stdout] --> src/entity.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum DamageType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 72 | Punch, [INFO] [stdout] 73 | Scratch, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DamageType` 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 `play_song`, `stop_current_song`, and `stop_song` are never used [INFO] [stdout] --> src/audio.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl<'a> Audio<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn play_song(&mut self, song: Song) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn stop_current_song(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn stop_song(&mut self, song: Song) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Noticing`, `ChasingTarget`, and `LosingTarget` are never constructed [INFO] [stdout] --> src/entity.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub enum Mood { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Noticing, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 99 | ChasingTarget, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | LosingTarget, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mood` 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: variant `Walking` is never constructed [INFO] [stdout] --> src/entity.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum EntityState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 27 | Idle, [INFO] [stdout] 28 | Walking, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntityState` 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 `PointLabel` is never used [INFO] [stdout] --> src/entity.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum PointLabel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/entity.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | pub vel: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | pub acc: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | pub size: Vec2, [INFO] [stdout] 118 | pub dist_traveled_this_frame: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub horizontal_flip: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub draw_layer: DrawLayer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub can_be_stunned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub threshold_a: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub target_entity: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub detection_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EntityLabel` is never used [INFO] [stdout] --> src/entity.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum EntityLabel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Background` and `Foreground` are never constructed [INFO] [stdout] --> src/entity.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum DrawLayer { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 65 | Background, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | Middle, [INFO] [stdout] 67 | Foreground, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DrawLayer` 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 `reset` and `get_tl_and_br_corners` are never used [INFO] [stdout] --> src/entity.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_tl_and_br_corners(&self) -> (Vec2, Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_adjacent_tile_position` is never used [INFO] [stdout] --> src/entity_behavior.rs:871:8 [INFO] [stdout] | [INFO] [stdout] 871 | pub fn pick_random_adjacent_tile_position(pos: IVec2) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Scratch` is never constructed [INFO] [stdout] --> src/entity.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum DamageType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 72 | Punch, [INFO] [stdout] 73 | Scratch, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DamageType` 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: function `pick_random_adjacent_tile_position_with_diagonals` is never used [INFO] [stdout] --> src/entity_behavior.rs:893:8 [INFO] [stdout] | [INFO] [stdout] 893 | pub fn pick_random_adjacent_tile_position_with_diagonals(pos: IVec2) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_adjacent_tile_position_with_diagonals_include_center` is never used [INFO] [stdout] --> src/entity_behavior.rs:908:8 [INFO] [stdout] | [INFO] [stdout] 908 | pub fn pick_random_adjacent_tile_position_with_diagonals_include_center(pos: IVec2) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Noticing`, `ChasingTarget`, and `LosingTarget` are never constructed [INFO] [stdout] --> src/entity.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub enum Mood { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Noticing, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 99 | ChasingTarget, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | LosingTarget, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mood` 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: function `pick_random_tile_position_in_radius` is never used [INFO] [stdout] --> src/entity_behavior.rs:924:8 [INFO] [stdout] | [INFO] [stdout] 924 | pub fn pick_random_tile_position_in_radius(pos: IVec2, radius: i32) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_tile_position_in_radius_include_center` is never used [INFO] [stdout] --> src/entity_behavior.rs:931:8 [INFO] [stdout] | [INFO] [stdout] 931 | pub fn pick_random_tile_position_in_radius_include_center(pos: IVec2, radius: i32) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/entity.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | pub vel: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | pub acc: Vec2, [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | pub size: Vec2, [INFO] [stdout] 118 | pub dist_traveled_this_frame: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub horizontal_flip: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub draw_layer: DrawLayer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub can_be_stunned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub threshold_a: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub target_entity: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub detection_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/entity_manager.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl EntityManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_entity_inactive(&mut self, entity: &mut Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_vid(&self, id: usize) -> VID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_entity_by_id(&self, id: usize) -> &Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn num_entities(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn num_active_entities(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear_all_non_player_entities(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `get_tl_and_br_corners` are never used [INFO] [stdout] --> src/entity.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Entity { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_tl_and_br_corners(&self) -> (Vec2, Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shaders` is never read [INFO] [stdout] --> src/graphics.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Graphics { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub shaders: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_adjacent_tile_position` is never used [INFO] [stdout] --> src/entity_behavior.rs:871:8 [INFO] [stdout] | [INFO] [stdout] 871 | pub fn pick_random_adjacent_tile_position(pos: IVec2) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `world_to_screen` is never used [INFO] [stdout] --> src/graphics.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Graphics { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn world_to_screen(&self, world_pos: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_adjacent_tile_position_with_diagonals` is never used [INFO] [stdout] --> src/entity_behavior.rs:893:8 [INFO] [stdout] | [INFO] [stdout] 893 | pub fn pick_random_adjacent_tile_position_with_diagonals(pos: IVec2) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_to_tile_coords` is never used [INFO] [stdout] --> src/graphics.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn window_to_tile_coords( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_adjacent_tile_position_with_diagonals_include_center` is never used [INFO] [stdout] --> src/entity_behavior.rs:908:8 [INFO] [stdout] | [INFO] [stdout] 908 | pub fn pick_random_adjacent_tile_position_with_diagonals_include_center(pos: IVec2) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pick_random_tile_position_in_radius` is never used [INFO] [stdout] --> src/entity_behavior.rs:924:8 [INFO] [stdout] | [INFO] [stdout] 924 | pub fn pick_random_tile_position_in_radius(pos: IVec2, radius: i32) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `right` and `scroll` are never read [INFO] [stdout] --> src/inputs.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MouseInputs { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 46 | pub left: bool, [INFO] [stdout] 47 | pub right: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | pub pos: IVec2, [INFO] [stdout] 49 | pub scroll: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseInputs` 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: function `pick_random_tile_position_in_radius_include_center` is never used [INFO] [stdout] --> src/entity_behavior.rs:931:8 [INFO] [stdout] | [INFO] [stdout] 931 | pub fn pick_random_tile_position_in_radius_include_center(pos: IVec2, radius: i32) -> IVec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `remove_count_from_slot`, `iter`, and `selected_entry_mut` are never used [INFO] [stdout] --> src/inventory.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Inventory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn remove_count_from_slot(&mut self, index: usize, count_to_remove: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn iter(&self) -> std::slice::Iter<'_, InvEntry> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn selected_entry_mut(&mut self) -> Option<&mut InvEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemAttributes` is never used [INFO] [stdout] --> src/item.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ItemAttributes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_item` is never used [INFO] [stdout] --> src/item.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn can_use_item(item: &Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step_cooldown` is never used [INFO] [stdout] --> src/item.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Item { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn step_cooldown(&mut self, dt: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/entity_manager.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl EntityManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_entity_inactive(&mut self, entity: &mut Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_vid(&self, id: usize) -> VID { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_entity_by_id(&self, id: usize) -> &Entity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn num_entities(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn num_active_entities(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear_all_non_player_entities(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn_spline`, `spawn_animated`, and `clear` are never used [INFO] [stdout] --> src/particle.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Particles { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn spawn_spline( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn spawn_animated( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shaders` is never read [INFO] [stdout] --> src/graphics.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Graphics { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub shaders: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_alpha_from_state` is never used [INFO] [stdout] --> src/render.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_alpha_from_state(state: &State, target: Vec2) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_manhattan_range_fill` is never used [INFO] [stdout] --> src/render_primitives.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn draw_manhattan_range_fill( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `world_to_screen` is never used [INFO] [stdout] --> src/graphics.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Graphics { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn world_to_screen(&self, world_pos: Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_manhattan_range_outline` is never used [INFO] [stdout] --> src/render_primitives.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn draw_manhattan_range_outline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_to_tile_coords` is never used [INFO] [stdout] --> src/graphics.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn window_to_tile_coords( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_debug_info` is never used [INFO] [stdout] --> src/render_ui.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn render_debug_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text_wrapped` is never used [INFO] [stdout] --> src/render_ui.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn draw_text_wrapped( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `right` and `scroll` are never read [INFO] [stdout] --> src/inputs.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MouseInputs { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 46 | pub left: bool, [INFO] [stdout] 47 | pub right: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | pub pos: IVec2, [INFO] [stdout] 49 | pub scroll: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseInputs` 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: constant `STAT_FONT_SIZE` is never used [INFO] [stdout] --> src/render_ui.rs:525:11 [INFO] [stdout] | [INFO] [stdout] 525 | const STAT_FONT_SIZE: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_KEY_COLOR` is never used [INFO] [stdout] --> src/render_ui.rs:528:11 [INFO] [stdout] | [INFO] [stdout] 528 | const STAT_KEY_COLOR: Color = Color::new(150, 150, 150, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty`, `remove_count_from_slot`, `iter`, and `selected_entry_mut` are never used [INFO] [stdout] --> src/inventory.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Inventory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn remove_count_from_slot(&mut self, index: usize, count_to_remove: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn iter(&self) -> std::slice::Iter<'_, InvEntry> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn selected_entry_mut(&mut self) -> Option<&mut InvEntry> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ItemAttributes` is never used [INFO] [stdout] --> src/item.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ItemAttributes { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SettingsMode` is never used [INFO] [stdout] --> src/settings.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum SettingsMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_use_item` is never used [INFO] [stdout] --> src/item.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn can_use_item(item: &Item) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/settings.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step_cooldown` is never used [INFO] [stdout] --> src/item.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Item { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn step_cooldown(&mut self, dt: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoSettings` is never constructed [INFO] [stdout] --> src/settings.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct VideoSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl VideoSettings { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioSettings` is never constructed [INFO] [stdout] --> src/settings.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AudioSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn_spline`, `spawn_animated`, and `clear` are never used [INFO] [stdout] --> src/particle.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Particles { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn spawn_spline( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn spawn_animated( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl AudioSettings { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 60 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_alpha_from_state` is never used [INFO] [stdout] --> src/render.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn get_alpha_from_state(state: &State, target: Vec2) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlsSettings` is never constructed [INFO] [stdout] --> src/settings.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct ControlsSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_manhattan_range_fill` is never used [INFO] [stdout] --> src/render_primitives.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn draw_manhattan_range_fill( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl ControlsSettings { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 74 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_manhattan_range_outline` is never used [INFO] [stdout] --> src/render_primitives.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn draw_manhattan_range_outline( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MENU_SELECTION_DEBOUNCE_INTERVAL` is never used [INFO] [stdout] --> src/settings.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const MENU_SELECTION_DEBOUNCE_INTERVAL: f32 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_debug_info` is never used [INFO] [stdout] --> src/render_ui.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn render_debug_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_text_wrapped` is never used [INFO] [stdout] --> src/render_ui.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn draw_text_wrapped( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stage_type` is never read [INFO] [stdout] --> src/stage.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Stage { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 49 | pub stage_type: StageType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stage` 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: constant `STAT_FONT_SIZE` is never used [INFO] [stdout] --> src/render_ui.rs:525:11 [INFO] [stdout] | [INFO] [stdout] 525 | const STAT_FONT_SIZE: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/stage.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Stage { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_KEY_COLOR` is never used [INFO] [stdout] --> src/render_ui.rs:528:11 [INFO] [stdout] | [INFO] [stdout] 528 | const STAT_KEY_COLOR: Color = Color::new(150, 150, 150, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Settings`, `VideoSettings`, and `Win` are never constructed [INFO] [stdout] --> src/state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | Title, [INFO] [stdout] 15 | Settings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | VideoSettings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Win, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SettingsMode` is never used [INFO] [stdout] --> src/settings.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum SettingsMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/settings.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mouse_mode` and `now` are never read [INFO] [stdout] --> src/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub mouse_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub now: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Settings { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VideoSettings` is never constructed [INFO] [stdout] --> src/settings.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct VideoSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_spatial_grid`, `get_vids_in_rect`, and `get_vids_in_rect_centered` are never used [INFO] [stdout] --> src/state.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn clear_spatial_grid(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_vids_in_rect(&self, top_left: IVec2, bottom_right: IVec2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_vids_in_rect_centered(&self, center: IVec2, size: IVec2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl VideoSettings { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLACE_TILE_COOLDOWN` is never used [INFO] [stdout] --> src/step.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const PLACE_TILE_COOLDOWN: f32 = 0.05; // Cooldown for placing tiles in seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exhaustive_state_size` is never used [INFO] [stdout] --> src/step.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn exhaustive_state_size(state: &State) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioSettings` is never constructed [INFO] [stdout] --> src/settings.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct AudioSettings { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_item` is never used [INFO] [stdout] --> src/step.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn drop_item(state: &mut State, audio: &mut Audio, item: Item, pos: IVec2) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `empty` is never used [INFO] [stdout] --> src/tile.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn empty(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl AudioSettings { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 60 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_tile_empty` is never used [INFO] [stdout] --> src/tile.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn is_tile_empty(state: &State, tile_coords: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ControlsSettings` is never constructed [INFO] [stdout] --> src/settings.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct ControlsSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div_mod` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn div_mod(a: i32, b: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/settings.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl ControlsSettings { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 74 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MENU_SELECTION_DEBOUNCE_INTERVAL` is never used [INFO] [stdout] --> src/settings.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | pub const MENU_SELECTION_DEBOUNCE_INTERVAL: f32 = 0.2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stage_type` is never read [INFO] [stdout] --> src/stage.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct Stage { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 49 | pub stage_type: StageType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stage` 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 `clear` is never used [INFO] [stdout] --> src/stage.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Stage { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Settings`, `VideoSettings`, and `Win` are never constructed [INFO] [stdout] --> src/state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Mode { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | Title, [INFO] [stdout] 15 | Settings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | VideoSettings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Win, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mouse_mode` and `now` are never read [INFO] [stdout] --> src/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub mouse_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub now: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear_spatial_grid`, `get_vids_in_rect`, and `get_vids_in_rect_centered` are never used [INFO] [stdout] --> src/state.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl State { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn clear_spatial_grid(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn get_vids_in_rect(&self, top_left: IVec2, bottom_right: IVec2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_vids_in_rect_centered(&self, center: IVec2, size: IVec2) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLACE_TILE_COOLDOWN` is never used [INFO] [stdout] --> src/step.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const PLACE_TILE_COOLDOWN: f32 = 0.05; // Cooldown for placing tiles in seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exhaustive_state_size` is never used [INFO] [stdout] --> src/step.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn exhaustive_state_size(state: &State) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `drop_item` is never used [INFO] [stdout] --> src/step.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn drop_item(state: &mut State, audio: &mut Audio, item: Item, pos: IVec2) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `empty` is never used [INFO] [stdout] --> src/tile.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn empty(self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_tile_empty` is never used [INFO] [stdout] --> src/tile.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn is_tile_empty(state: &State, tile_coords: IVec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div_mod` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn div_mod(a: i32, b: i32) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity_manager.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter(&self) -> std::slice::Iter<'_, Entity> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity_manager.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Entity> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity_manager.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter(&self) -> std::slice::Iter<'_, Entity> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity_manager.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Entity> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.59s [INFO] running `Command { std: "docker" "inspect" "492df519ef46c119da12da4f7587aab0a1e8dbe0a9ab28d2cbac42ae52537261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492df519ef46c119da12da4f7587aab0a1e8dbe0a9ab28d2cbac42ae52537261", kill_on_drop: false }` [INFO] [stdout] 492df519ef46c119da12da4f7587aab0a1e8dbe0a9ab28d2cbac42ae52537261