[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] testing lucasdellasala/isometric-game against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucasdellasala%2Fisometric-game" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucasdellasala/isometric-game on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.117 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen v0.2.117 [INFO] [stderr] Downloaded zune-jpeg v0.5.15 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded zerocopy-derive v0.8.48 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded libc v0.2.184 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f87d6d38e8d7d66281f049e39c0d9be98bfc1910357dd4373368d72a770323f [INFO] running `Command { std: "docker" "start" "-a" "3f87d6d38e8d7d66281f049e39c0d9be98bfc1910357dd4373368d72a770323f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f87d6d38e8d7d66281f049e39c0d9be98bfc1910357dd4373368d72a770323f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f87d6d38e8d7d66281f049e39c0d9be98bfc1910357dd4373368d72a770323f", kill_on_drop: false }` [INFO] [stdout] 3f87d6d38e8d7d66281f049e39c0d9be98bfc1910357dd4373368d72a770323f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25ab0c58c7b6467297200e481778748cfaa6327abaf95c3c5ba3d2c9844b0644 [INFO] running `Command { std: "docker" "start" "-a" "25ab0c58c7b6467297200e481778748cfaa6327abaf95c3c5ba3d2c9844b0644", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling avif-serialize v0.8.8 [INFO] [stderr] Compiling zune-jpeg v0.5.15 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling pxfm v0.1.28 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiff v0.11.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ravif v0.13.0 [INFO] [stderr] Compiling image v0.25.10 [INFO] [stderr] Compiling 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 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 2m 42s [INFO] running `Command { std: "docker" "inspect" "25ab0c58c7b6467297200e481778748cfaa6327abaf95c3c5ba3d2c9844b0644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25ab0c58c7b6467297200e481778748cfaa6327abaf95c3c5ba3d2c9844b0644", kill_on_drop: false }` [INFO] [stdout] 25ab0c58c7b6467297200e481778748cfaa6327abaf95c3c5ba3d2c9844b0644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c2641d48b1cd796b8a4243ad2f5aadeb107d7af91fd50f29afd1c6156d95117 [INFO] running `Command { std: "docker" "start" "-a" "9c2641d48b1cd796b8a4243ad2f5aadeb107d7af91fd50f29afd1c6156d95117", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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 `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "9c2641d48b1cd796b8a4243ad2f5aadeb107d7af91fd50f29afd1c6156d95117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c2641d48b1cd796b8a4243ad2f5aadeb107d7af91fd50f29afd1c6156d95117", kill_on_drop: false }` [INFO] [stdout] 9c2641d48b1cd796b8a4243ad2f5aadeb107d7af91fd50f29afd1c6156d95117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e988c82471819041982035303b03239f8f2122b754bdc336711978e1c9ab8cf [INFO] running `Command { std: "docker" "start" "-a" "9e988c82471819041982035303b03239f8f2122b754bdc336711978e1c9ab8cf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::core::entity::Direction` [INFO] [stderr] --> src/render/renderer.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | use crate::core::entity::Direction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_rect` [INFO] [stderr] --> src/render/renderer.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | player_rect: Option, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_rect` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_facing` [INFO] [stderr] --> src/ui/debug_menu.rs:299:35 [INFO] [stderr] | [INFO] [stderr] 299 | pub fn handle_left(&mut self, player_facing: crate::core::entity::Direction) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_facing` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player_facing` [INFO] [stderr] --> src/ui/debug_menu.rs:350:36 [INFO] [stderr] | [INFO] [stderr] 350 | pub fn handle_right(&mut self, player_facing: crate::core::entity::Direction) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_facing` [INFO] [stderr] [INFO] [stderr] warning: constant `HIGHLIGHT_ALPHA_ADJACENT` is never used [INFO] [stderr] --> src/config.rs:103:11 [INFO] [stderr] | [INFO] [stderr] 103 | pub const HIGHLIGHT_ALPHA_ADJACENT: u8 = 140; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `HIGHLIGHT_ALPHA_HOVER` is never used [INFO] [stderr] --> src/config.rs:106:11 [INFO] [stderr] | [INFO] [stderr] 106 | pub const HIGHLIGHT_ALPHA_HOVER: u8 = 80; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_BOX_HEIGHT` is never used [INFO] [stderr] --> src/config.rs:132:11 [INFO] [stderr] | [INFO] [stderr] 132 | pub const DIALOGUE_BOX_HEIGHT: i32 = 120; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_BOX_MARGIN` is never used [INFO] [stderr] --> src/config.rs:135:11 [INFO] [stderr] | [INFO] [stderr] 135 | pub const DIALOGUE_BOX_MARGIN: i32 = 20; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_BOX_PADDING` is never used [INFO] [stderr] --> src/config.rs:138:11 [INFO] [stderr] | [INFO] [stderr] 138 | pub const DIALOGUE_BOX_PADDING: i32 = 16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_BG_COLOR` is never used [INFO] [stderr] --> src/config.rs:141:11 [INFO] [stderr] | [INFO] [stderr] 141 | pub const DIALOGUE_BG_COLOR: Color = Color::RGBA(10, 10, 30, 200); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_BORDER_COLOR` is never used [INFO] [stderr] --> src/config.rs:144:11 [INFO] [stderr] | [INFO] [stderr] 144 | pub const DIALOGUE_BORDER_COLOR: Color = Color::RGB(180, 160, 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_NAME_FONT_SIZE` is never used [INFO] [stderr] --> src/config.rs:147:11 [INFO] [stderr] | [INFO] [stderr] 147 | pub const DIALOGUE_NAME_FONT_SIZE: u32 = 22; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_NAME_COLOR` is never used [INFO] [stderr] --> src/config.rs:150:11 [INFO] [stderr] | [INFO] [stderr] 150 | pub const DIALOGUE_NAME_COLOR: Color = Color::RGB(255, 220, 100); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_TEXT_FONT_SIZE` is never used [INFO] [stderr] --> src/config.rs:153:11 [INFO] [stderr] | [INFO] [stderr] 153 | pub const DIALOGUE_TEXT_FONT_SIZE: u32 = 18; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_TEXT_COLOR` is never used [INFO] [stderr] --> src/config.rs:156:11 [INFO] [stderr] | [INFO] [stderr] 156 | pub const DIALOGUE_TEXT_COLOR: Color = Color::RGB(230, 230, 230); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_HINT_FONT_SIZE` is never used [INFO] [stderr] --> src/config.rs:159:11 [INFO] [stderr] | [INFO] [stderr] 159 | pub const DIALOGUE_HINT_FONT_SIZE: u32 = 14; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_HINT_COLOR` is never used [INFO] [stderr] --> src/config.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | pub const DIALOGUE_HINT_COLOR: Color = Color::RGB(150, 150, 150); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_TEXT_GAP` is never used [INFO] [stderr] --> src/config.rs:165:11 [INFO] [stderr] | [INFO] [stderr] 165 | pub const DIALOGUE_TEXT_GAP: i32 = 30; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DIALOGUE_HINT_BOTTOM_GAP` is never used [INFO] [stderr] --> src/config.rs:168:11 [INFO] [stderr] | [INFO] [stderr] 168 | pub const DIALOGUE_HINT_BOTTOM_GAP: i32 = 16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `scale` is never used [INFO] [stderr] --> src/core/entity.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl EnemyType { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn scale(&self) -> f64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `type_scale` is never used [INFO] [stderr] --> src/core/entity.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 191 | impl Entity { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 224 | pub fn type_scale(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_explored` is never used [INFO] [stderr] --> src/core/fov.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl FovMap { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn is_explored(&self, x: i32, y: i32) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_entity_mut` is never used [INFO] [stderr] --> src/core/game_state.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 33 | impl GameState { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | fn get_entity_mut(&mut self, id: u64) -> Option<&mut Entity> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `entity_id`, `grid_x`, and `grid_y` are never read [INFO] [stderr] --> src/core/input.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | EntityMoved { entity_id: u64, grid_x: i32, grid_y: i32 }, [INFO] [stderr] | ----------- ^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] [INFO] [stderr] warning: field `entity_id` is never read [INFO] [stderr] --> src/core/input.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | PathNotFound { entity_id: u64 }, [INFO] [stderr] | ------------ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] [INFO] [stderr] warning: fields `entity_id` and `target_id` are never read [INFO] [stderr] --> src/core/input.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | InteractionStarted { entity_id: u64, target_id: u64 }, [INFO] [stderr] | ------------------ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] [INFO] [stderr] warning: fields `x`, `y`, `edge`, and `variant` are never read [INFO] [stderr] --> src/core/tilemap.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct WallObject { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 26 | pub x: i32, [INFO] [stderr] | ^ [INFO] [stderr] 27 | pub y: i32, [INFO] [stderr] | ^ [INFO] [stderr] 28 | pub edge: WallEdge, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | #[serde(default = "default_wall_variant")] [INFO] [stderr] 30 | pub variant: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WallObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `walls` is never read [INFO] [stderr] --> src/core/tilemap.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 70 | pub struct Tilemap { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 75 | pub walls: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `load_image_with_outline`, `generate_outlines_for_spritesheet`, and `create_solid_texture` are never used [INFO] [stderr] --> src/render/assets.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl<'a> AssetManager<'a> { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn load_image_with_outline(&mut self, texture_key: &str, outline_key: &str, path: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | pub fn generate_outlines_for_spritesheet( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 452 | fn create_solid_texture(&mut self, key: &str, color: Color) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/render/post_process.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 102 | impl DitherParams { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 103 | pub fn new() -> DitherParams { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/render/post_process.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 213 | impl MoebiusParams { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 214 | pub fn new() -> MoebiusParams { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear_cache` is never used [INFO] [stderr] --> src/render/text.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl<'a> TextRenderer<'a> { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn clear_cache(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MenuItem` is never constructed [INFO] [stderr] --> src/ui/debug_menu.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | struct MenuItem { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `isometric_game` (bin "isometric_game" test) generated 33 warnings (run `cargo fix --bin "isometric_game" -p isometric_game --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/isometric_game-6fa146ba31474a6c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9e988c82471819041982035303b03239f8f2122b754bdc336711978e1c9ab8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e988c82471819041982035303b03239f8f2122b754bdc336711978e1c9ab8cf", kill_on_drop: false }` [INFO] [stdout] 9e988c82471819041982035303b03239f8f2122b754bdc336711978e1c9ab8cf