[INFO] cloning repository https://github.com/RafaLopesMelo/farm-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RafaLopesMelo/farm-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaLopesMelo%2Ffarm-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaLopesMelo%2Ffarm-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4336e665b8b112e0ac9c10b5ee9c62fbe6ab602 [INFO] checking RafaLopesMelo/farm-game against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaLopesMelo%2Ffarm-game" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RafaLopesMelo/farm-game [INFO] finished tweaking git repo https://github.com/RafaLopesMelo/farm-game [INFO] tweaked toml for git repo https://github.com/RafaLopesMelo/farm-game written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RafaLopesMelo/farm-game on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RafaLopesMelo/farm-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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07910157ea438156a70ac3a9ed71b5d85a48ba990161d1b973e72edad56aafb1 [INFO] running `Command { std: "docker" "start" "-a" "07910157ea438156a70ac3a9ed71b5d85a48ba990161d1b973e72edad56aafb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07910157ea438156a70ac3a9ed71b5d85a48ba990161d1b973e72edad56aafb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07910157ea438156a70ac3a9ed71b5d85a48ba990161d1b973e72edad56aafb1", kill_on_drop: false }` [INFO] [stdout] 07910157ea438156a70ac3a9ed71b5d85a48ba990161d1b973e72edad56aafb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 492580bb4434a255d0d24f5082e2eadf4b6b1c6761bc63bcad80182c5f85ffe7 [INFO] running `Command { std: "docker" "start" "-a" "492580bb4434a255d0d24f5082e2eadf4b6b1c6761bc63bcad80182c5f85ffe7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wgpu-hal v26.0.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking glam v0.30.9 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> engine/src/handler.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | fn user_event(&mut self, event_loop: &ActiveEventLoop, event: Internal) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> engine/src/handler.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> engine/src/render/tiles.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn from_chunk(chunk: tilemap::Chunk) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteId` is never constructed [INFO] [stdout] --> engine/src/assets/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SpriteId(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handle` is never constructed [INFO] [stdout] --> engine/src/assets/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `id` are never used [INFO] [stdout] --> engine/src/assets/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Handle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(id: AssetId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn id(&self) -> AssetId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sprites` is never read [INFO] [stdout] --> engine/src/assets/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct AssetsRegistry { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 51 | textures: HashMap, [INFO] [stdout] 52 | sprites: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture_id` and `uv` are never read [INFO] [stdout] --> engine/src/assets/sprite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Sprite { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | texture_id: AssetId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | uv: UvRect, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> engine/src/assets/sprite.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sprite { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(texture_id: AssetId, uv: UvRect) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate`, `set_position`, `world_to_screen`, and `screen_to_world` are never used [INFO] [stdout] --> engine/src/camera.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera2D { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn translate(&mut self, delta: glam::Vec2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn set_position(&mut self, position: glam::Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn world_to_screen(&self, world: glam::Vec2) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn screen_to_world(&self, screen: glam::Vec2) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `internal` is never used [INFO] [stdout] --> engine/src/handler.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Handler { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn internal(&self) -> &Internal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_systems` is never used [INFO] [stdout] --> engine/src/internal.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Internal { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn run_systems(&mut self, dt: std::time::Duration) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `z` is never used [INFO] [stdout] --> engine/src/math/coords.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Coords3D [INFO] [stdout] 56 | | where [INFO] [stdout] 57 | | T: CoordScalar, [INFO] [stdout] | |___________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn z(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `view`, `sampler`, and `bind_group` are never read [INFO] [stdout] --> engine/src/render/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GpuTexture { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub view: wgpu::TextureView, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub bind_group: wgpu::BindGroup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> engine/src/render/texture.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GpuTextureManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get(&self, id: AssetId) -> &GpuTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileChunkMesh` is never constructed [INFO] [stdout] --> engine/src/render/tiles.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TileChunkMesh { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_chunk` is never used [INFO] [stdout] --> engine/src/render/tiles.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TileChunkMesh { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 14 | pub fn from_chunk(chunk: tilemap::Chunk) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileKind` is never constructed [INFO] [stdout] --> engine/src/tilemap/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct TileKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind_id` is never read [INFO] [stdout] --> engine/src/tilemap/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Tile { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 14 | kind_id: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tile_at_mut` is never used [INFO] [stdout] --> engine/src/tilemap/mod.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn tile_at_mut(&mut self, coords: Coords2D) -> &mut Tile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> engine/src/handler.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | fn user_event(&mut self, event_loop: &ActiveEventLoop, event: Internal) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> engine/src/handler.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> engine/src/render/tiles.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn from_chunk(chunk: tilemap::Chunk) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpriteId` is never constructed [INFO] [stdout] --> engine/src/assets/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SpriteId(pub u16); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handle` is never constructed [INFO] [stdout] --> engine/src/assets/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Handle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `id` are never used [INFO] [stdout] --> engine/src/assets/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Handle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(id: AssetId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn id(&self) -> AssetId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sprites` is never read [INFO] [stdout] --> engine/src/assets/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct AssetsRegistry { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 51 | textures: HashMap, [INFO] [stdout] 52 | sprites: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture_id` and `uv` are never read [INFO] [stdout] --> engine/src/assets/sprite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Sprite { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | texture_id: AssetId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | uv: UvRect, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> engine/src/assets/sprite.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sprite { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(texture_id: AssetId, uv: UvRect) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `translate`, `set_position`, `world_to_screen`, and `screen_to_world` are never used [INFO] [stdout] --> engine/src/camera.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera2D { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn translate(&mut self, delta: glam::Vec2) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn set_position(&mut self, position: glam::Vec2) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn world_to_screen(&self, world: glam::Vec2) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn screen_to_world(&self, screen: glam::Vec2) -> glam::Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `internal` is never used [INFO] [stdout] --> engine/src/handler.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Handler { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn internal(&self) -> &Internal { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_systems` is never used [INFO] [stdout] --> engine/src/internal.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Internal { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn run_systems(&mut self, dt: std::time::Duration) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CoordScalar` is never used [INFO] [stdout] --> engine/src/math/coords.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait CoordScalar: Copy + Sub {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coords2D` is never constructed [INFO] [stdout] --> engine/src/math/coords.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Coords2D [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `x`, and `y` are never used [INFO] [stdout] --> engine/src/math/coords.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl Coords2D [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: CoordScalar, [INFO] [stdout] | |___________________- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new(x: T, y: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn x(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn y(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coords3D` is never constructed [INFO] [stdout] --> engine/src/math/coords.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Coords3D [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `x`, `y`, `z`, and `to_2d` are never used [INFO] [stdout] --> engine/src/math/coords.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 55 | / impl Coords3D [INFO] [stdout] 56 | | where [INFO] [stdout] 57 | | T: CoordScalar, [INFO] [stdout] | |___________________- associated items in this implementation [INFO] [stdout] 58 | { [INFO] [stdout] 59 | pub fn new(x: T, y: T, z: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn x(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn y(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn z(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn to_2d(&self) -> Coords2D { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_pixels`, and `to_array` are never used [INFO] [stdout] --> engine/src/math/uv.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl UvRect { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | #[inline] [INFO] [stdout] 11 | pub fn new(u: f32, v: f32, w: f32, h: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_pixels(coords: [Pixels; 2], size: [Pixels; 2], total_size: [Pixels; 2]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn to_array(&self) -> [f32; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture`, `view`, `sampler`, and `bind_group` are never read [INFO] [stdout] --> engine/src/render/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GpuTexture { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub view: wgpu::TextureView, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub bind_group: wgpu::BindGroup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> engine/src/render/texture.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GpuTextureManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn get(&self, id: AssetId) -> &GpuTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileChunkMesh` is never constructed [INFO] [stdout] --> engine/src/render/tiles.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TileChunkMesh { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_chunk` is never used [INFO] [stdout] --> engine/src/render/tiles.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl TileChunkMesh { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 14 | pub fn from_chunk(chunk: tilemap::Chunk) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileKind` is never constructed [INFO] [stdout] --> engine/src/tilemap/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct TileKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> engine/src/tilemap/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `coords` are never used [INFO] [stdout] --> engine/src/tilemap/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Tile { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(kind_id: u16, coords: Coords3D) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn coords(&self) -> Coords3D { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIZE` is never used [INFO] [stdout] --> engine/src/tilemap/mod.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const CHUNK_SIZE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> engine/src/tilemap/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `contains`, `index_of`, `tile_at`, and `tile_at_mut` are never used [INFO] [stdout] --> engine/src/tilemap/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Chunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new(tiles: [Tile; CHUNK_SIZE * CHUNK_SIZE]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn contains(&self, coords: Coords2D) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn index_of(&self, coords: Coords2D) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn tile_at(&self, coords: Coords2D) -> &Tile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn tile_at_mut(&mut self, coords: Coords2D) -> &mut Tile { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> game/src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn run(&mut self, world: &mut engine::ecs::world::World, dt: std::time::Duration) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> game/src/main.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | fn run(&mut self, world: &mut engine::ecs::world::World, dt: std::time::Duration) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> game/src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | fn run(&mut self, world: &mut engine::ecs::world::World, dt: std::time::Duration) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> game/src/main.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | fn run(&mut self, world: &mut engine::ecs::world::World, dt: std::time::Duration) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.80s [INFO] running `Command { std: "docker" "inspect" "492580bb4434a255d0d24f5082e2eadf4b6b1c6761bc63bcad80182c5f85ffe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492580bb4434a255d0d24f5082e2eadf4b6b1c6761bc63bcad80182c5f85ffe7", kill_on_drop: false }` [INFO] [stdout] 492580bb4434a255d0d24f5082e2eadf4b6b1c6761bc63bcad80182c5f85ffe7