[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 master#b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaLopesMelo%2Ffarm-game" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RafaLopesMelo/farm-game on toolchain b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "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" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67d084bdc55627801970505f4fa9f38bbbc097caba796e9e37b90da6dafe5f67
[INFO] running `Command { std: "docker" "start" "-a" "67d084bdc55627801970505f4fa9f38bbbc097caba796e9e37b90da6dafe5f67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67d084bdc55627801970505f4fa9f38bbbc097caba796e9e37b90da6dafe5f67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67d084bdc55627801970505f4fa9f38bbbc097caba796e9e37b90da6dafe5f67", kill_on_drop: false }`
[INFO] [stdout] 67d084bdc55627801970505f4fa9f38bbbc097caba796e9e37b90da6dafe5f67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b4fefcd60bfd770510f7dc540e887dd3ba4fe5c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e69b3e03bdd7f5cf11fa01de156e26e4a469b3b8368e71d9e74b94c2506a7107
[INFO] running `Command { std: "docker" "start" "-a" "e69b3e03bdd7f5cf11fa01de156e26e4a469b3b8368e71d9e74b94c2506a7107", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[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 indexmap v2.12.0
[INFO] [stderr]     Checking codespan-reporting v0.12.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling wgpu-hal v26.0.6
[INFO] [stderr]     Checking unicode-ident v1.0.20
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking wayland-sys v0.31.7
[INFO] [stderr]     Checking ash v0.38.0+1.3.281
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling wgpu v26.0.1
[INFO] [stderr]     Checking x11-dl v2.21.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking bytemuck v1.24.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 bitflags v2.10.0
[INFO] [stderr]     Checking rustix v1.1.2
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking wgpu-types v26.0.0
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking gpu-descriptor v0.3.2
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking naga v26.0.0
[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 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 wayland-cursor v0.31.11
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking wgpu-core-deps-windows-linux-android v26.0.0
[INFO] [stderr]     Checking wgpu-core v26.0.1
[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 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<T> {
[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<T> Handle<T> {
[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<AssetId, Texture>,
[INFO] [stdout] 52 |     sprites: HashMap<AssetId, Sprite>,
[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<Output = Self> {}
[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<T>
[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<T> Coords2D<T>
[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<T>
[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<T> Coords3D<T>
[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<T> {
[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<i32>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn coords(&self) -> Coords3D<i32> {
[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<i32>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn index_of(&self, coords: Coords2D<i32>) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn tile_at(&self, coords: Coords2D<i32>) -> &Tile {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn tile_at_mut(&mut self, coords: Coords2D<i32>) -> &mut Tile {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking game v0.1.0 (/opt/rustwide/workdir/game)
[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<T> {
[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<T> Handle<T> {
[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<AssetId, Texture>,
[INFO] [stdout] 52 |     sprites: HashMap<AssetId, Sprite>,
[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<T> Coords3D<T>
[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<i32>) -> &mut Tile {
[INFO] [stdout]     |            ^^^^^^^^^^^
[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] [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 36.51s
[INFO] running `Command { std: "docker" "inspect" "e69b3e03bdd7f5cf11fa01de156e26e4a469b3b8368e71d9e74b94c2506a7107", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e69b3e03bdd7f5cf11fa01de156e26e4a469b3b8368e71d9e74b94c2506a7107", kill_on_drop: false }`
[INFO] [stdout] e69b3e03bdd7f5cf11fa01de156e26e4a469b3b8368e71d9e74b94c2506a7107
