[INFO] cloning repository https://github.com/colekuivenhoven/rust-craft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colekuivenhoven/rust-craft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolekuivenhoven%2Frust-craft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolekuivenhoven%2Frust-craft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 597122195ca29e55afb719efc437cc088dc8e0df [INFO] checking colekuivenhoven/rust-craft against master#fe7294f8793d001bc3f9d197e7cdef6cdb46c15a for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolekuivenhoven%2Frust-craft" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/colekuivenhoven/rust-craft [INFO] finished tweaking git repo https://github.com/colekuivenhoven/rust-craft [INFO] tweaked toml for git repo https://github.com/colekuivenhoven/rust-craft written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/colekuivenhoven/rust-craft on toolchain fe7294f8793d001bc3f9d197e7cdef6cdb46c15a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/colekuivenhoven/rust-craft 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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded claxon v0.4.3 [INFO] [stderr] Downloaded wgpu-types v23.0.0 [INFO] [stderr] Downloaded wgpu v23.0.1 [INFO] [stderr] Downloaded glow v0.14.2 [INFO] [stderr] Downloaded wgpu-core v23.0.1 [INFO] [stderr] Downloaded wgpu-hal v23.0.1 [INFO] [stderr] Downloaded naga v23.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3793133cb1ee8c1ba3b83e698141e5c5289aa056344eb496660f580e8d465d53 [INFO] running `Command { std: "docker" "start" "-a" "3793133cb1ee8c1ba3b83e698141e5c5289aa056344eb496660f580e8d465d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3793133cb1ee8c1ba3b83e698141e5c5289aa056344eb496660f580e8d465d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3793133cb1ee8c1ba3b83e698141e5c5289aa056344eb496660f580e8d465d53", kill_on_drop: false }` [INFO] [stdout] 3793133cb1ee8c1ba3b83e698141e5c5289aa056344eb496660f580e8d465d53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+fe7294f8793d001bc3f9d197e7cdef6cdb46c15a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90faddf5e6ac61b1e9e628fcbe564506cf5761d9cd1c9113162e55b0a28f3c2c [INFO] running `Command { std: "docker" "start" "-a" "90faddf5e6ac61b1e9e628fcbe564506cf5761d9cd1c9113162e55b0a28f3c2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking flate2 v1.1.8 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking symphonia-core v0.5.5 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking symphonia-metadata v0.5.5 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking symphonia v0.5.5 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking craft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `set_air` [INFO] [stdout] --> src/chunk.rs:1637:42 [INFO] [stdout] | [INFO] [stdout] 1637 | ... macro_rules! set_air { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::BlockType` [INFO] [stdout] --> src/lighting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::block::BlockType; [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: `create_cube_vertices` [INFO] [stdout] --> src/renderer.rs:3:90 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::block::{BlockType, Vertex, UiVertex, ItemCubeVertex, ModalVertex, LineVertex, create_cube_vertices, create_block_outline, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `set_air` [INFO] [stdout] --> src/chunk.rs:1637:42 [INFO] [stdout] | [INFO] [stdout] 1637 | ... macro_rules! set_air { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::BlockType` [INFO] [stdout] --> src/lighting.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::block::BlockType; [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: `create_cube_vertices` [INFO] [stdout] --> src/renderer.rs:3:90 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::block::{BlockType, Vertex, UiVertex, ItemCubeVertex, ModalVertex, LineVertex, create_cube_vertices, create_block_outline, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `growth` [INFO] [stdout] --> src/chunk.rs:1616:33 [INFO] [stdout] | [INFO] [stdout] 1616 | ... let growth = growth_perlin.get([ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_growth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chunk.rs:2634:41 [INFO] [stdout] | [INFO] [stdout] 2634 | ... let mut sample = |ox: i32, oy: i32, oz: i32| -> f32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `growth` [INFO] [stdout] --> src/chunk.rs:1616:33 [INFO] [stdout] | [INFO] [stdout] 1616 | ... let growth = growth_perlin.get([ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_growth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chunk.rs:2634:41 [INFO] [stdout] | [INFO] [stdout] 2634 | ... let mut sample = |ox: i32, oy: i32, oz: i32| -> f32 { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `face_normal` is never read [INFO] [stdout] --> src/player.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | let mut face_normal = Vector3::new(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_padding` [INFO] [stdout] --> src/renderer.rs:3601:13 [INFO] [stdout] | [INFO] [stdout] 3601 | let slot_padding = 6.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GLYPH_H` is never used [INFO] [stdout] --> src/bitmap_font.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GLYPH_H: u32 = 7; [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 `no_shadow_casting` is never used [INFO] [stdout] --> src/block.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl BlockType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn no_shadow_casting(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_vertices` is never used [INFO] [stdout] --> src/block.rs:847:8 [INFO] [stdout] | [INFO] [stdout] 847 | pub fn create_cube_vertices(pos: Vector3, block_type: BlockType, light_level: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_shadow_vertices` is never used [INFO] [stdout] --> src/block.rs:1095:8 [INFO] [stdout] | [INFO] [stdout] 1095 | pub fn create_shadow_vertices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOTION_BLUR_SAMPLES` is never used [INFO] [stdout] --> src/camera.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MOTION_BLUR_SAMPLES: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_light` is never used [INFO] [stdout] --> src/chunk.rs:2412:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2412 | pub fn get_light(&self, x: usize, y: usize, z: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pending_count` is never used [INFO] [stdout] --> src/chunk_loader.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl ChunkLoader { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn pending_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_saved_chunk` is never used [INFO] [stdout] --> src/chunk_storage.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn has_saved_chunk(chunk_x: i32, chunk_z: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINGER_W` is never used [INFO] [stdout] --> src/entities/humanoid.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const FINGER_W: f32 = 0.025; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINGER_H` is never used [INFO] [stdout] --> src/entities/humanoid.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const FINGER_H: f32 = 0.06; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINGER_D` is never used [INFO] [stdout] --> src/entities/humanoid.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const FINGER_D: f32 = 0.025; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THUMB_W` is never used [INFO] [stdout] --> src/entities/humanoid.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const THUMB_W: f32 = 0.03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THUMB_H` is never used [INFO] [stdout] --> src/entities/humanoid.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const THUMB_H: f32 = 0.05; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THUMB_D` is never used [INFO] [stdout] --> src/entities/humanoid.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const THUMB_D: f32 = 0.03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EYELID_W` is never used [INFO] [stdout] --> src/entities/humanoid.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | const EYELID_W: f32 = 0.082; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/entities/humanoid.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl AnimValue { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | fn reset(&mut self, pt: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_next` and `select_previous` are never used [INFO] [stdout] --> src/inventory.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Inventory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn select_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn select_previous(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LIGHT_LEVEL` is never used [INFO] [stdout] --> src/lighting.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAX_LIGHT_LEVEL: u8 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUNLIGHT_LEVEL` is never used [INFO] [stdout] --> src/lighting.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SUNLIGHT_LEVEL: u8 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/particle.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ParticleManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `heal` is never used [INFO] [stdout] --> src/player.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn heal(&mut self, amount: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid_w` and `grid_h` are never read [INFO] [stdout] --> src/renderer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct CraftingLayout { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | grid_w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | grid_h: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/renderer.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | fog_config: crate::config::FogConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | fog_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 162 | fog_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | sky_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | sun_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | shadow_map_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | shadow_map_view: wgpu::TextureView, [INFO] [stdout] 297 | shadow_map_sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | modal_sand_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 317 | modal_sand_bind_group: wgpu::BindGroup, [INFO] [stdout] 318 | modal_sand_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | modal_sand_sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window` is never used [INFO] [stdout] --> src/renderer.rs:2715:12 [INFO] [stdout] | [INFO] [stdout] 349 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2715 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct TextureAtlas { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 93 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_water_source` is never used [INFO] [stdout] --> src/water.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WaterSimulation { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn add_water_source(&mut self, x: i32, y: i32, z: i32, world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `face_normal` is never read [INFO] [stdout] --> src/player.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | let mut face_normal = Vector3::new(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_padding` [INFO] [stdout] --> src/renderer.rs:3601:13 [INFO] [stdout] | [INFO] [stdout] 3601 | let slot_padding = 6.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GLYPH_H` is never used [INFO] [stdout] --> src/bitmap_font.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GLYPH_H: u32 = 7; [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 `no_shadow_casting` is never used [INFO] [stdout] --> src/block.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl BlockType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn no_shadow_casting(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_vertices` is never used [INFO] [stdout] --> src/block.rs:847:8 [INFO] [stdout] | [INFO] [stdout] 847 | pub fn create_cube_vertices(pos: Vector3, block_type: BlockType, light_level: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_shadow_vertices` is never used [INFO] [stdout] --> src/block.rs:1095:8 [INFO] [stdout] | [INFO] [stdout] 1095 | pub fn create_shadow_vertices( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOTION_BLUR_SAMPLES` is never used [INFO] [stdout] --> src/camera.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const MOTION_BLUR_SAMPLES: u32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_light` is never used [INFO] [stdout] --> src/chunk.rs:2412:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2412 | pub fn get_light(&self, x: usize, y: usize, z: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pending_count` is never used [INFO] [stdout] --> src/chunk_loader.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl ChunkLoader { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn pending_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_saved_chunk` is never used [INFO] [stdout] --> src/chunk_storage.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn has_saved_chunk(chunk_x: i32, chunk_z: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINGER_W` is never used [INFO] [stdout] --> src/entities/humanoid.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const FINGER_W: f32 = 0.025; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINGER_H` is never used [INFO] [stdout] --> src/entities/humanoid.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const FINGER_H: f32 = 0.06; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FINGER_D` is never used [INFO] [stdout] --> src/entities/humanoid.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const FINGER_D: f32 = 0.025; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THUMB_W` is never used [INFO] [stdout] --> src/entities/humanoid.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const THUMB_W: f32 = 0.03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THUMB_H` is never used [INFO] [stdout] --> src/entities/humanoid.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const THUMB_H: f32 = 0.05; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `THUMB_D` is never used [INFO] [stdout] --> src/entities/humanoid.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const THUMB_D: f32 = 0.03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EYELID_W` is never used [INFO] [stdout] --> src/entities/humanoid.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | const EYELID_W: f32 = 0.082; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/entities/humanoid.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl AnimValue { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | fn reset(&mut self, pt: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `select_next` and `select_previous` are never used [INFO] [stdout] --> src/inventory.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Inventory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn select_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn select_previous(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LIGHT_LEVEL` is never used [INFO] [stdout] --> src/lighting.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const MAX_LIGHT_LEVEL: u8 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUNLIGHT_LEVEL` is never used [INFO] [stdout] --> src/lighting.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SUNLIGHT_LEVEL: u8 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `count` is never used [INFO] [stdout] --> src/particle.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ParticleManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `heal` is never used [INFO] [stdout] --> src/player.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn heal(&mut self, amount: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid_w` and `grid_h` are never read [INFO] [stdout] --> src/renderer.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct CraftingLayout { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | grid_w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | grid_h: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/renderer.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 160 | fog_config: crate::config::FogConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 161 | fog_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 162 | fog_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | sky_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | sun_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | shadow_map_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | shadow_map_view: wgpu::TextureView, [INFO] [stdout] 297 | shadow_map_sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | modal_sand_bind_group_layout: wgpu::BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 317 | modal_sand_bind_group: wgpu::BindGroup, [INFO] [stdout] 318 | modal_sand_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | modal_sand_sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `window` is never used [INFO] [stdout] --> src/renderer.rs:2715:12 [INFO] [stdout] | [INFO] [stdout] 349 | impl State { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 2715 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct TextureAtlas { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 93 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_water_source` is never used [INFO] [stdout] --> src/water.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl WaterSimulation { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn add_water_source(&mut self, x: i32, y: i32, z: i32, world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "90faddf5e6ac61b1e9e628fcbe564506cf5761d9cd1c9113162e55b0a28f3c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90faddf5e6ac61b1e9e628fcbe564506cf5761d9cd1c9113162e55b0a28f3c2c", kill_on_drop: false }` [INFO] [stdout] 90faddf5e6ac61b1e9e628fcbe564506cf5761d9cd1c9113162e55b0a28f3c2c