[INFO] cloning repository https://github.com/Torwalt/game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Torwalt/game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorwalt%2Fgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorwalt%2Fgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e642a034cd2082459ce76d1c8cb5dbd3c95fccba [INFO] checking Torwalt/game against try#d83b14207998f47b18a34e930157ac0d7c18b16e for pr-149137 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorwalt%2Fgame" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Torwalt/game [INFO] finished tweaking git repo https://github.com/Torwalt/game [INFO] tweaked toml for git repo https://github.com/Torwalt/game written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Torwalt/game on toolchain d83b14207998f47b18a34e930157ac0d7c18b16e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Torwalt/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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1346293621a80a49800b68218c1b91e8947c815a593489be7aa659df89fd653 [INFO] running `Command { std: "docker" "start" "-a" "e1346293621a80a49800b68218c1b91e8947c815a593489be7aa659df89fd653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1346293621a80a49800b68218c1b91e8947c815a593489be7aa659df89fd653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1346293621a80a49800b68218c1b91e8947c815a593489be7aa659df89fd653", kill_on_drop: false }` [INFO] [stdout] e1346293621a80a49800b68218c1b91e8947c815a593489be7aa659df89fd653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d83b14207998f47b18a34e930157ac0d7c18b16e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6615de8224406d8fe0c81d319e6dd5b6fe99f593a4798609c3c53727d8c31a5 [INFO] running `Command { std: "docker" "start" "-a" "a6615de8224406d8fe0c81d319e6dd5b6fe99f593a4798609c3c53727d8c31a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling winit v0.30.7 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-protocols v0.32.5 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.7 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.5 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.5 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/graphics/mesh_builder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/graphics/mesh_builder.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game::{self, TileMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/graphics/mesh_builder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/graphics/mesh_builder.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::game::{self, TileMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entities` and `map` are never read [INFO] [stdout] --> src/game.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | entities: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | map: TileMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle` is never used [INFO] [stdout] --> src/game.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn handle(&self, _event: Event<()>) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_any_down` and `is_released` are never used [INFO] [stdout] --> src/game/input.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl InputState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_any_down(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_released(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor_pos` and `mouse_button` are never read [INFO] [stdout] --> src/game/input.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | cursor_pos: PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | mouse_button: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `size`, and `window` are never read [INFO] [stdout] --> src/graphics.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | size: PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | window: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_type` is never read [INFO] [stdout] --> src/graphics/assets.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LoadedImage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub file_type: OsString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_INSTANCES_PER_ROW` is never used [INFO] [stdout] --> src/graphics/mesh_builder.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NUM_INSTANCES_PER_ROW: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used [INFO] [stdout] --> src/graphics/mesh_builder.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INSTANCE_DISPLACEMENT: cgmath::Vector2 = cgmath::Vector2::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> src/graphics/mesh_builder.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct QuadMesh { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 227 | mesh: [Vertex; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slice` is never used [INFO] [stdout] --> src/graphics/mesh_builder.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl TriangleMesh { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn slice(&self) -> wgpu::BufferSlice { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> TileMapIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> TileMapIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics/mesh_builder.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn slice(&self) -> wgpu::BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn slice(&self) -> wgpu::BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entities` and `map` are never read [INFO] [stdout] --> src/game.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | entities: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | map: TileMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle` is never used [INFO] [stdout] --> src/game.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn handle(&self, _event: Event<()>) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_any_down` and `is_released` are never used [INFO] [stdout] --> src/game/input.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl InputState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_any_down(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_released(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cursor_pos` and `mouse_button` are never read [INFO] [stdout] --> src/game/input.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 37 | cursor_pos: PhysicalPosition, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | mouse_button: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `size`, and `window` are never read [INFO] [stdout] --> src/graphics.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | size: PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | window: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_type` is never read [INFO] [stdout] --> src/graphics/assets.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LoadedImage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub file_type: OsString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_INSTANCES_PER_ROW` is never used [INFO] [stdout] --> src/graphics/mesh_builder.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const NUM_INSTANCES_PER_ROW: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used [INFO] [stdout] --> src/graphics/mesh_builder.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const INSTANCE_DISPLACEMENT: cgmath::Vector2 = cgmath::Vector2::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh` is never read [INFO] [stdout] --> src/graphics/mesh_builder.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct QuadMesh { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 227 | mesh: [Vertex; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slice` is never used [INFO] [stdout] --> src/graphics/mesh_builder.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl TriangleMesh { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn slice(&self) -> wgpu::BufferSlice { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> TileMapIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn iter(&self) -> TileMapIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics/mesh_builder.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn slice(&self) -> wgpu::BufferSlice { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn slice(&self) -> wgpu::BufferSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "a6615de8224406d8fe0c81d319e6dd5b6fe99f593a4798609c3c53727d8c31a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6615de8224406d8fe0c81d319e6dd5b6fe99f593a4798609c3c53727d8c31a5", kill_on_drop: false }` [INFO] [stdout] a6615de8224406d8fe0c81d319e6dd5b6fe99f593a4798609c3c53727d8c31a5