[INFO] cloning repository https://github.com/lucasdellasala/isometric-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucasdellasala/isometric-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasdellasala%2Fisometric-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasdellasala%2Fisometric-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 896cd858bb829651b92214f0aea25d4df09b244f [INFO] checking lucasdellasala/isometric-game against master#89a99936d9e76a50e8df622e7242190841fd871b for pr-156160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasdellasala%2Fisometric-game" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucasdellasala/isometric-game [INFO] finished tweaking git repo https://github.com/lucasdellasala/isometric-game [INFO] tweaked toml for git repo https://github.com/lucasdellasala/isometric-game written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucasdellasala/isometric-game on toolchain 89a99936d9e76a50e8df622e7242190841fd871b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucasdellasala/isometric-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen v0.2.117 [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea [INFO] running `Command { std: "docker" "start" "7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea" "/opt/rustwide/cargo-home/bin/cargo" "+89a99936d9e76a50e8df622e7242190841fd871b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking aligned v0.4.3 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking avif-serialize v0.8.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ravif v0.13.0 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking tiff v0.11.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking isometric_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core::entity::Direction` [INFO] [stdout] --> src/render/renderer.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::core::entity::Direction; [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: `crate::core::entity::Direction` [INFO] [stdout] --> src/render/renderer.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::core::entity::Direction; [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 variable: `player_rect` [INFO] [stdout] --> src/render/renderer.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | player_rect: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_rect` [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_facing` [INFO] [stdout] --> src/ui/debug_menu.rs:299:35 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn handle_left(&mut self, player_facing: crate::core::entity::Direction) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_facing` [INFO] [stdout] --> src/ui/debug_menu.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn handle_right(&mut self, player_facing: crate::core::entity::Direction) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGHLIGHT_ALPHA_ADJACENT` is never used [INFO] [stdout] --> src/config.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | pub const HIGHLIGHT_ALPHA_ADJACENT: u8 = 140; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGHLIGHT_ALPHA_HOVER` is never used [INFO] [stdout] --> src/config.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const HIGHLIGHT_ALPHA_HOVER: u8 = 80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BOX_HEIGHT` is never used [INFO] [stdout] --> src/config.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | pub const DIALOGUE_BOX_HEIGHT: i32 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BOX_MARGIN` is never used [INFO] [stdout] --> src/config.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub const DIALOGUE_BOX_MARGIN: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BOX_PADDING` is never used [INFO] [stdout] --> src/config.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | pub const DIALOGUE_BOX_PADDING: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BG_COLOR` is never used [INFO] [stdout] --> src/config.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | pub const DIALOGUE_BG_COLOR: Color = Color::RGBA(10, 10, 30, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BORDER_COLOR` is never used [INFO] [stdout] --> src/config.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub const DIALOGUE_BORDER_COLOR: Color = Color::RGB(180, 160, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_NAME_FONT_SIZE` is never used [INFO] [stdout] --> src/config.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub const DIALOGUE_NAME_FONT_SIZE: u32 = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_NAME_COLOR` is never used [INFO] [stdout] --> src/config.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub const DIALOGUE_NAME_COLOR: Color = Color::RGB(255, 220, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_TEXT_FONT_SIZE` is never used [INFO] [stdout] --> src/config.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | pub const DIALOGUE_TEXT_FONT_SIZE: u32 = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_TEXT_COLOR` is never used [INFO] [stdout] --> src/config.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | pub const DIALOGUE_TEXT_COLOR: Color = Color::RGB(230, 230, 230); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_HINT_FONT_SIZE` is never used [INFO] [stdout] --> src/config.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | pub const DIALOGUE_HINT_FONT_SIZE: u32 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_HINT_COLOR` is never used [INFO] [stdout] --> src/config.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | pub const DIALOGUE_HINT_COLOR: Color = Color::RGB(150, 150, 150); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_TEXT_GAP` is never used [INFO] [stdout] --> src/config.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub const DIALOGUE_TEXT_GAP: i32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_HINT_BOTTOM_GAP` is never used [INFO] [stdout] --> src/config.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub const DIALOGUE_HINT_BOTTOM_GAP: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale` is never used [INFO] [stdout] --> src/core/entity.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl EnemyType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn scale(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_scale` is never used [INFO] [stdout] --> src/core/entity.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn type_scale(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_explored` is never used [INFO] [stdout] --> src/core/fov.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FovMap { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_explored(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entity_mut` is never used [INFO] [stdout] --> src/core/game_state.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_entity_mut(&mut self, id: u64) -> Option<&mut Entity> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `grid_x`, and `grid_y` are never read [INFO] [stdout] --> src/core/input.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | EntityMoved { entity_id: u64, grid_x: i32, grid_y: i32 }, [INFO] [stdout] | ----------- ^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/core/input.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | PathNotFound { entity_id: u64 }, [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id` and `target_id` are never read [INFO] [stdout] --> src/core/input.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | InteractionStarted { entity_id: u64, target_id: u64 }, [INFO] [stdout] | ------------------ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `edge`, and `variant` are never read [INFO] [stdout] --> src/core/tilemap.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WallObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 27 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 28 | pub edge: WallEdge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | #[serde(default = "default_wall_variant")] [INFO] [stdout] 30 | pub variant: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WallObject` 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: field `walls` is never read [INFO] [stdout] --> src/core/tilemap.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Tilemap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub walls: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_image_with_outline`, `generate_outlines_for_spritesheet`, and `create_solid_texture` are never used [INFO] [stdout] --> src/render/assets.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> AssetManager<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn load_image_with_outline(&mut self, texture_key: &str, outline_key: &str, path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn generate_outlines_for_spritesheet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | fn create_solid_texture(&mut self, key: &str, color: Color) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/post_process.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl DitherParams { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 103 | pub fn new() -> DitherParams { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/post_process.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl MoebiusParams { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 214 | pub fn new() -> MoebiusParams { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cache` is never used [INFO] [stdout] --> src/render/text.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TextRenderer<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn clear_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MenuItem` is never constructed [INFO] [stdout] --> src/ui/debug_menu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct MenuItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_rect` [INFO] [stdout] --> src/render/renderer.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | player_rect: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_rect` [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_facing` [INFO] [stdout] --> src/ui/debug_menu.rs:299:35 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn handle_left(&mut self, player_facing: crate::core::entity::Direction) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_facing` [INFO] [stdout] --> src/ui/debug_menu.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn handle_right(&mut self, player_facing: crate::core::entity::Direction) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_facing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGHLIGHT_ALPHA_ADJACENT` is never used [INFO] [stdout] --> src/config.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | pub const HIGHLIGHT_ALPHA_ADJACENT: u8 = 140; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGHLIGHT_ALPHA_HOVER` is never used [INFO] [stdout] --> src/config.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | pub const HIGHLIGHT_ALPHA_HOVER: u8 = 80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BOX_HEIGHT` is never used [INFO] [stdout] --> src/config.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | pub const DIALOGUE_BOX_HEIGHT: i32 = 120; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BOX_MARGIN` is never used [INFO] [stdout] --> src/config.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | pub const DIALOGUE_BOX_MARGIN: i32 = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BOX_PADDING` is never used [INFO] [stdout] --> src/config.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | pub const DIALOGUE_BOX_PADDING: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BG_COLOR` is never used [INFO] [stdout] --> src/config.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | pub const DIALOGUE_BG_COLOR: Color = Color::RGBA(10, 10, 30, 200); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_BORDER_COLOR` is never used [INFO] [stdout] --> src/config.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub const DIALOGUE_BORDER_COLOR: Color = Color::RGB(180, 160, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_NAME_FONT_SIZE` is never used [INFO] [stdout] --> src/config.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub const DIALOGUE_NAME_FONT_SIZE: u32 = 22; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_NAME_COLOR` is never used [INFO] [stdout] --> src/config.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub const DIALOGUE_NAME_COLOR: Color = Color::RGB(255, 220, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_TEXT_FONT_SIZE` is never used [INFO] [stdout] --> src/config.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | pub const DIALOGUE_TEXT_FONT_SIZE: u32 = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_TEXT_COLOR` is never used [INFO] [stdout] --> src/config.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | pub const DIALOGUE_TEXT_COLOR: Color = Color::RGB(230, 230, 230); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_HINT_FONT_SIZE` is never used [INFO] [stdout] --> src/config.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | pub const DIALOGUE_HINT_FONT_SIZE: u32 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_HINT_COLOR` is never used [INFO] [stdout] --> src/config.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | pub const DIALOGUE_HINT_COLOR: Color = Color::RGB(150, 150, 150); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_TEXT_GAP` is never used [INFO] [stdout] --> src/config.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub const DIALOGUE_TEXT_GAP: i32 = 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIALOGUE_HINT_BOTTOM_GAP` is never used [INFO] [stdout] --> src/config.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub const DIALOGUE_HINT_BOTTOM_GAP: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scale` is never used [INFO] [stdout] --> src/core/entity.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl EnemyType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn scale(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_scale` is never used [INFO] [stdout] --> src/core/entity.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn type_scale(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_explored` is never used [INFO] [stdout] --> src/core/fov.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FovMap { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_explored(&self, x: i32, y: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entity_mut` is never used [INFO] [stdout] --> src/core/game_state.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_entity_mut(&mut self, id: u64) -> Option<&mut Entity> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id`, `grid_x`, and `grid_y` are never read [INFO] [stdout] --> src/core/input.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | EntityMoved { entity_id: u64, grid_x: i32, grid_y: i32 }, [INFO] [stdout] | ----------- ^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entity_id` is never read [INFO] [stdout] --> src/core/input.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | PathNotFound { entity_id: u64 }, [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entity_id` and `target_id` are never read [INFO] [stdout] --> src/core/input.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | InteractionStarted { entity_id: u64, target_id: u64 }, [INFO] [stdout] | ------------------ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, `edge`, and `variant` are never read [INFO] [stdout] --> src/core/tilemap.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct WallObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 27 | pub y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 28 | pub edge: WallEdge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | #[serde(default = "default_wall_variant")] [INFO] [stdout] 30 | pub variant: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WallObject` 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: field `walls` is never read [INFO] [stdout] --> src/core/tilemap.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Tilemap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub walls: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_image_with_outline`, `generate_outlines_for_spritesheet`, and `create_solid_texture` are never used [INFO] [stdout] --> src/render/assets.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> AssetManager<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn load_image_with_outline(&mut self, texture_key: &str, outline_key: &str, path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn generate_outlines_for_spritesheet( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | fn create_solid_texture(&mut self, key: &str, color: Color) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/post_process.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl DitherParams { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 103 | pub fn new() -> DitherParams { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/post_process.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl MoebiusParams { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 214 | pub fn new() -> MoebiusParams { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_cache` is never used [INFO] [stdout] --> src/render/text.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TextRenderer<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn clear_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MenuItem` is never constructed [INFO] [stdout] --> src/ui/debug_menu.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct MenuItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea", kill_on_drop: false }` [INFO] [stdout] 7609cf425e8f91a579a7cd8412d71ce47ad30acb203162e80245cae89b5064ea