[INFO] cloning repository https://github.com/akhaled01/maze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akhaled01/maze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakhaled01%2Fmaze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakhaled01%2Fmaze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a0714070e1c9183d336ff4e07612ec1c34109e3 [INFO] checking akhaled01/maze against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakhaled01%2Fmaze" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akhaled01/maze [INFO] finished tweaking git repo https://github.com/akhaled01/maze [INFO] tweaked toml for git repo https://github.com/akhaled01/maze written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akhaled01/maze on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/akhaled01/maze 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v4.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21819cfd3a38ee2e7ff7f9addc59be2395fa2e42045ee7ef4cf9215e73b2bb05 [INFO] running `Command { std: "docker" "start" "-a" "21819cfd3a38ee2e7ff7f9addc59be2395fa2e42045ee7ef4cf9215e73b2bb05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21819cfd3a38ee2e7ff7f9addc59be2395fa2e42045ee7ef4cf9215e73b2bb05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21819cfd3a38ee2e7ff7f9addc59be2395fa2e42045ee7ef4cf9215e73b2bb05", kill_on_drop: false }` [INFO] [stdout] 21819cfd3a38ee2e7ff7f9addc59be2395fa2e42045ee7ef4cf9215e73b2bb05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a129cc671caee02bfc81fcec102379ed2d4e9557e38cd2f03f24ba03ca3a8cb1 [INFO] running `Command { std: "docker" "start" "-a" "a129cc671caee02bfc81fcec102379ed2d4e9557e38cd2f03f24ba03ca3a8cb1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking tobj v4.0.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking ravif v0.11.12 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking maze v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> client/src/shader.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLContext`, `SkyboxContext`, and `WeaponContext` [INFO] [stdout] --> client/src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | use crate::graphics::{GLContext, WeaponContext, SkyboxContext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_fps_gl` and `draw_minimap_gl` [INFO] [stdout] --> client/src/main.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::graphics::{draw_minimap_gl, draw_fps_gl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAP_HEIGHT` and `MAP_WIDTH` [INFO] [stdout] --> client/src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | use crate::state::{Player, MAP_WIDTH, MAP_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> client/src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> client/src/shader.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLContext`, `SkyboxContext`, and `WeaponContext` [INFO] [stdout] --> client/src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | use crate::graphics::{GLContext, WeaponContext, SkyboxContext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_fps_gl` and `draw_minimap_gl` [INFO] [stdout] --> client/src/main.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::graphics::{draw_minimap_gl, draw_fps_gl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAP_HEIGHT` and `MAP_WIDTH` [INFO] [stdout] --> client/src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | use crate::state::{Player, MAP_WIDTH, MAP_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> client/src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> client/src/shader.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLContext`, `SkyboxContext`, and `WeaponContext` [INFO] [stdout] --> client/src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | use crate::graphics::{GLContext, WeaponContext, SkyboxContext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_fps_gl` and `draw_minimap_gl` [INFO] [stdout] --> client/src/main.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::graphics::{draw_minimap_gl, draw_fps_gl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAP_HEIGHT` and `MAP_WIDTH` [INFO] [stdout] --> client/src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | use crate::state::{Player, MAP_WIDTH, MAP_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> client/src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> client/src/graphics.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | use image::{RgbaImage, Rgba, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_frame` [INFO] [stdout] --> client/src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> client/src/shader.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> client/src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut current_fps = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> client/src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | current_fps = frame_count; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GLContext`, `SkyboxContext`, and `WeaponContext` [INFO] [stdout] --> client/src/main.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | use crate::graphics::{GLContext, WeaponContext, SkyboxContext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draw_fps_gl` and `draw_minimap_gl` [INFO] [stdout] --> client/src/main.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | use crate::graphics::{draw_minimap_gl, draw_fps_gl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAP_HEIGHT` and `MAP_WIDTH` [INFO] [stdout] --> client/src/main.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | use crate::state::{Player, MAP_WIDTH, MAP_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> client/src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut player = Player { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_WIDTH` is never used [INFO] [stdout] --> client/src/state.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAP_WIDTH: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_HEIGHT` is never used [INFO] [stdout] --> client/src/state.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAP_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAZE_EASY` is never used [INFO] [stdout] --> client/src/state.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAZE_EASY: [[u8; MAP_WIDTH]; MAP_HEIGHT] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir_x`, `dir_y`, `plane_x`, and `plane_y` are never read [INFO] [stdout] --> client/src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub dir_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | pub dir_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub plane_x: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub plane_y: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `textures` is never read [INFO] [stdout] --> client/src/graphics.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct GLContext { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 475 | pub textures: [GLuint; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vbo` is never read [INFO] [stdout] --> client/src/graphics.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 483 | pub struct SkyboxContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 484 | pub vao: GLuint, [INFO] [stdout] 485 | pub vbo: GLuint, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQUARE_SHADER` is never used [INFO] [stdout] --> client/src/graphics.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | static SQUARE_SHADER: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLYPH_CACHE` is never used [INFO] [stdout] --> client/src/graphics.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | static GLYPH_CACHE: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_TTF` is never used [INFO] [stdout] --> client/src/graphics.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | static FONT_TTF: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_minimap_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:756:8 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn draw_minimap_gl(player: &crate::state::Player, map: &[[u8; crate::state::MAP_WIDTH]; crate::state::MAP_HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_fps_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn draw_fps_gl(fps: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_shader_and_glyphcache` is never used [INFO] [stdout] --> client/src/graphics.rs:778:4 [INFO] [stdout] | [INFO] [stdout] 778 | fn ensure_shader_and_glyphcache() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_square` is never used [INFO] [stdout] --> client/src/graphics.rs:791:4 [INFO] [stdout] | [INFO] [stdout] 791 | fn draw_square(x: f32, y: f32, color: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_char` is never used [INFO] [stdout] --> client/src/graphics.rs:833:4 [INFO] [stdout] | [INFO] [stdout] 833 | fn draw_char(c: char, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MOVE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRAFE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const STRAFE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOUSE_SENSITIVITY` is never used [INFO] [stdout] --> client/src/input.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MOUSE_SENSITIVITY: f64 = 0.001; // radians per pixel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> client/src/input.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_input( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wall_collision` is never used [INFO] [stdout] --> client/src/input.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn wall_collision(x: f64, y: f64, map: &[[u8; MAP_WIDTH]; MAP_HEIGHT]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_image_bytes` is never used [INFO] [stdout] --> client/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn load_image_bytes(path: &str) -> Result<(u32, u32, Vec), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_texture` is never used [INFO] [stdout] --> client/src/utils.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn load_texture(path: &str, unit: GLenum) -> GLuint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> client/src/graphics.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | use image::{RgbaImage, Rgba, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_frame` [INFO] [stdout] --> client/src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> client/src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut current_fps = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> client/src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | current_fps = frame_count; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut player = Player { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_WIDTH` is never used [INFO] [stdout] --> client/src/state.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAP_WIDTH: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_HEIGHT` is never used [INFO] [stdout] --> client/src/state.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAP_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAZE_EASY` is never used [INFO] [stdout] --> client/src/state.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAZE_EASY: [[u8; MAP_WIDTH]; MAP_HEIGHT] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir_x`, `dir_y`, `plane_x`, and `plane_y` are never read [INFO] [stdout] --> client/src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub dir_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | pub dir_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub plane_x: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub plane_y: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `textures` is never read [INFO] [stdout] --> client/src/graphics.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct GLContext { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 475 | pub textures: [GLuint; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vbo` is never read [INFO] [stdout] --> client/src/graphics.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 483 | pub struct SkyboxContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 484 | pub vao: GLuint, [INFO] [stdout] 485 | pub vbo: GLuint, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQUARE_SHADER` is never used [INFO] [stdout] --> client/src/graphics.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | static SQUARE_SHADER: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLYPH_CACHE` is never used [INFO] [stdout] --> client/src/graphics.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | static GLYPH_CACHE: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_TTF` is never used [INFO] [stdout] --> client/src/graphics.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | static FONT_TTF: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_minimap_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:756:8 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn draw_minimap_gl(player: &crate::state::Player, map: &[[u8; crate::state::MAP_WIDTH]; crate::state::MAP_HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_fps_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn draw_fps_gl(fps: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_shader_and_glyphcache` is never used [INFO] [stdout] --> client/src/graphics.rs:778:4 [INFO] [stdout] | [INFO] [stdout] 778 | fn ensure_shader_and_glyphcache() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_square` is never used [INFO] [stdout] --> client/src/graphics.rs:791:4 [INFO] [stdout] | [INFO] [stdout] 791 | fn draw_square(x: f32, y: f32, color: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_char` is never used [INFO] [stdout] --> client/src/graphics.rs:833:4 [INFO] [stdout] | [INFO] [stdout] 833 | fn draw_char(c: char, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MOVE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRAFE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const STRAFE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOUSE_SENSITIVITY` is never used [INFO] [stdout] --> client/src/input.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MOUSE_SENSITIVITY: f64 = 0.001; // radians per pixel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> client/src/input.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_input( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wall_collision` is never used [INFO] [stdout] --> client/src/input.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn wall_collision(x: f64, y: f64, map: &[[u8; MAP_WIDTH]; MAP_HEIGHT]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_image_bytes` is never used [INFO] [stdout] --> client/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn load_image_bytes(path: &str) -> Result<(u32, u32, Vec), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_texture` is never used [INFO] [stdout] --> client/src/utils.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn load_texture(path: &str, unit: GLenum) -> GLuint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> client/src/graphics.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | use image::{RgbaImage, Rgba, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> client/src/graphics.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | use image::{RgbaImage, Rgba, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_frame` [INFO] [stdout] --> client/src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> client/src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut current_fps = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> client/src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | current_fps = frame_count; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut player = Player { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_WIDTH` is never used [INFO] [stdout] --> client/src/state.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAP_WIDTH: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_HEIGHT` is never used [INFO] [stdout] --> client/src/state.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAP_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAZE_EASY` is never used [INFO] [stdout] --> client/src/state.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAZE_EASY: [[u8; MAP_WIDTH]; MAP_HEIGHT] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir_x`, `dir_y`, `plane_x`, and `plane_y` are never read [INFO] [stdout] --> client/src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub dir_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | pub dir_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub plane_x: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub plane_y: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `textures` is never read [INFO] [stdout] --> client/src/graphics.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct GLContext { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 475 | pub textures: [GLuint; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vbo` is never read [INFO] [stdout] --> client/src/graphics.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 483 | pub struct SkyboxContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 484 | pub vao: GLuint, [INFO] [stdout] 485 | pub vbo: GLuint, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQUARE_SHADER` is never used [INFO] [stdout] --> client/src/graphics.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | static SQUARE_SHADER: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLYPH_CACHE` is never used [INFO] [stdout] --> client/src/graphics.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | static GLYPH_CACHE: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_TTF` is never used [INFO] [stdout] --> client/src/graphics.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | static FONT_TTF: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_minimap_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:756:8 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn draw_minimap_gl(player: &crate::state::Player, map: &[[u8; crate::state::MAP_WIDTH]; crate::state::MAP_HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_fps_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn draw_fps_gl(fps: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_shader_and_glyphcache` is never used [INFO] [stdout] --> client/src/graphics.rs:778:4 [INFO] [stdout] | [INFO] [stdout] 778 | fn ensure_shader_and_glyphcache() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_square` is never used [INFO] [stdout] --> client/src/graphics.rs:791:4 [INFO] [stdout] | [INFO] [stdout] 791 | fn draw_square(x: f32, y: f32, color: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_char` is never used [INFO] [stdout] --> client/src/graphics.rs:833:4 [INFO] [stdout] | [INFO] [stdout] 833 | fn draw_char(c: char, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MOVE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRAFE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const STRAFE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOUSE_SENSITIVITY` is never used [INFO] [stdout] --> client/src/input.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MOUSE_SENSITIVITY: f64 = 0.001; // radians per pixel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> client/src/input.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_input( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wall_collision` is never used [INFO] [stdout] --> client/src/input.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn wall_collision(x: f64, y: f64, map: &[[u8; MAP_WIDTH]; MAP_HEIGHT]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_image_bytes` is never used [INFO] [stdout] --> client/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn load_image_bytes(path: &str) -> Result<(u32, u32, Vec), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_texture` is never used [INFO] [stdout] --> client/src/utils.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn load_texture(path: &str, unit: GLenum) -> GLuint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_frame` [INFO] [stdout] --> client/src/main.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_fps` is assigned to, but never used [INFO] [stdout] --> client/src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut current_fps = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_fps` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_fps` is never read [INFO] [stdout] --> client/src/main.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | current_fps = frame_count; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut player = Player { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let mut last_frame = Instant::now(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_WIDTH` is never used [INFO] [stdout] --> client/src/state.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const MAP_WIDTH: usize = 32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_HEIGHT` is never used [INFO] [stdout] --> client/src/state.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAP_HEIGHT: usize = 32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAZE_EASY` is never used [INFO] [stdout] --> client/src/state.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAZE_EASY: [[u8; MAP_WIDTH]; MAP_HEIGHT] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dir_x`, `dir_y`, `plane_x`, and `plane_y` are never read [INFO] [stdout] --> client/src/state.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub dir_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | pub dir_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub plane_x: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | pub plane_y: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `textures` is never read [INFO] [stdout] --> client/src/graphics.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 472 | pub struct GLContext { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 475 | pub textures: [GLuint; 3], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vbo` is never read [INFO] [stdout] --> client/src/graphics.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 483 | pub struct SkyboxContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 484 | pub vao: GLuint, [INFO] [stdout] 485 | pub vbo: GLuint, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQUARE_SHADER` is never used [INFO] [stdout] --> client/src/graphics.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | static SQUARE_SHADER: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLYPH_CACHE` is never used [INFO] [stdout] --> client/src/graphics.rs:491:8 [INFO] [stdout] | [INFO] [stdout] 491 | static GLYPH_CACHE: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `FONT_TTF` is never used [INFO] [stdout] --> client/src/graphics.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | static FONT_TTF: Lazy> = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_minimap_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:756:8 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn draw_minimap_gl(player: &crate::state::Player, map: &[[u8; crate::state::MAP_WIDTH]; crate::state::MAP_HEIGHT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_fps_gl` is never used [INFO] [stdout] --> client/src/graphics.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 769 | pub fn draw_fps_gl(fps: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_shader_and_glyphcache` is never used [INFO] [stdout] --> client/src/graphics.rs:778:4 [INFO] [stdout] | [INFO] [stdout] 778 | fn ensure_shader_and_glyphcache() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_square` is never used [INFO] [stdout] --> client/src/graphics.rs:791:4 [INFO] [stdout] | [INFO] [stdout] 791 | fn draw_square(x: f32, y: f32, color: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_char` is never used [INFO] [stdout] --> client/src/graphics.rs:833:4 [INFO] [stdout] | [INFO] [stdout] 833 | fn draw_char(c: char, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const MOVE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRAFE_SPEED` is never used [INFO] [stdout] --> client/src/input.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const STRAFE_SPEED: f64 = 2.0; // units per second [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOUSE_SENSITIVITY` is never used [INFO] [stdout] --> client/src/input.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const MOUSE_SENSITIVITY: f64 = 0.001; // radians per pixel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_input` is never used [INFO] [stdout] --> client/src/input.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn handle_input( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wall_collision` is never used [INFO] [stdout] --> client/src/input.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn wall_collision(x: f64, y: f64, map: &[[u8; MAP_WIDTH]; MAP_HEIGHT]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_image_bytes` is never used [INFO] [stdout] --> client/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn load_image_bytes(path: &str) -> Result<(u32, u32, Vec), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_texture` is never used [INFO] [stdout] --> client/src/utils.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn load_texture(path: &str, unit: GLenum) -> GLuint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.77s [INFO] running `Command { std: "docker" "inspect" "a129cc671caee02bfc81fcec102379ed2d4e9557e38cd2f03f24ba03ca3a8cb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a129cc671caee02bfc81fcec102379ed2d4e9557e38cd2f03f24ba03ca3a8cb1", kill_on_drop: false }` [INFO] [stdout] a129cc671caee02bfc81fcec102379ed2d4e9557e38cd2f03f24ba03ca3a8cb1