[INFO] cloning repository https://github.com/Blatko1/wgpu-voxel-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Blatko1/wgpu-voxel-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-voxel-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-voxel-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc88097332bc73450173d0150d64f78214c46ad0 [INFO] checking Blatko1/wgpu-voxel-engine against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-voxel-engine" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Blatko1/wgpu-voxel-engine [INFO] finished tweaking git repo https://github.com/Blatko1/wgpu-voxel-engine [INFO] tweaked toml for git repo https://github.com/Blatko1/wgpu-voxel-engine written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Blatko1/wgpu-voxel-engine on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Blatko1/wgpu-voxel-engine 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 304fe9cff0d2fc178dbd1359830bd76a48735b79ee928b0833ca56a7fdecbaad [INFO] running `Command { std: "docker" "start" "-a" "304fe9cff0d2fc178dbd1359830bd76a48735b79ee928b0833ca56a7fdecbaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "304fe9cff0d2fc178dbd1359830bd76a48735b79ee928b0833ca56a7fdecbaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304fe9cff0d2fc178dbd1359830bd76a48735b79ee928b0833ca56a7fdecbaad", kill_on_drop: false }` [INFO] [stdout] 304fe9cff0d2fc178dbd1359830bd76a48735b79ee928b0833ca56a7fdecbaad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 021f5ea7d0ee3081fc0167f1a24edde37f61f4f9c2c82ea71d495d056af259b7 [INFO] running `Command { std: "docker" "start" "-a" "021f5ea7d0ee3081fc0167f1a24edde37f61f4f9c2c82ea71d495d056af259b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking gpu-descriptor v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.10.1 [INFO] [stderr] Checking gpu-alloc v0.5.0 [INFO] [stderr] Checking wgpu-types v0.10.0 [INFO] [stderr] Checking ash v0.33.2+1.2.186 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking glow v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking twox-hash v1.6.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking maybe-uninit v2.0.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking simdeez v1.0.7 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking nanorand v0.6.1 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking uvth v4.0.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wgpu-subscriber v0.1.0 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Checking futures-util v0.3.17 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking naga v0.6.1 [INFO] [stderr] Checking simdnoise v3.1.6 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking flume v0.10.9 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking wgpu-hal v0.10.2 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking wgpu v0.10.1 [INFO] [stderr] Checking wgpu_glyph v0.14.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking wgpu-voxel-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `to_chunk_coord` is never used [INFO] [stdout] --> src/coordinate.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coord3DI { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_chunk_coord(&self) -> ChunkCoord3D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_type` is never used [INFO] [stdout] --> src/cube.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn set_type(&mut self, cube_type: CubeType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIRT` is never constructed [INFO] [stdout] --> src/cube.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum CubeType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 18 | GRASS = 0, [INFO] [stdout] 19 | DIRT = 1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CubeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_2d` is never used [INFO] [stdout] --> src/perlin_noise.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn perlin_2d(pos: ChunkCoord3D) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/instance.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable, Debug)] [INFO] [stdout] 3 | | pub struct InstanceRaw { [INFO] [stdout] 4 | | pub t_matrix: [[f32; 4]; 4], [INFO] [stdout] 5 | | pub texture_index: u32, [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/vertex.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/vertex.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(bytemuck::Pod, bytemuck::Zeroable, Copy, Clone, Debug)] [INFO] [stdout] 3 | | pub struct Vertex { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] 5 | | pub tex_coords: [f32; 2], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/uniform.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct MatrixData { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/uniform.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / #[repr(C)] [INFO] [stdout] 83 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 84 | | pub struct MatrixData { [INFO] [stdout] 85 | | pub proj_view_model_matrix: [[f32; 4]; 4], [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/debug_info.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | if (time.as_millis() - FPS_SHOW_TIME.as_millis()) > 1000 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/debug_info.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | let delta = time.as_micros() - TIME.as_micros(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderer/renderer.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | fn build(&self) -> wgpu::RenderPassDescriptor { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 115 | fn build(&self) -> wgpu::RenderPassDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/texture.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | TEXTURE_INDEX_LIST.push([0, 0, 0, 0, 2, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/texture.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | TEXTURE_INDEX_LIST.push([1, 1, 1, 1, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_chunk_coord` is never used [INFO] [stdout] --> src/coordinate.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Coord3DI { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn to_chunk_coord(&self) -> ChunkCoord3D { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_type` is never used [INFO] [stdout] --> src/cube.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Cube { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn set_type(&mut self, cube_type: CubeType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIRT` is never constructed [INFO] [stdout] --> src/cube.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum CubeType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 18 | GRASS = 0, [INFO] [stdout] 19 | DIRT = 1, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CubeType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_2d` is never used [INFO] [stdout] --> src/perlin_noise.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn perlin_2d(pos: ChunkCoord3D) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/instance.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable, Debug)] [INFO] [stdout] 3 | | pub struct InstanceRaw { [INFO] [stdout] 4 | | pub t_matrix: [[f32; 4]; 4], [INFO] [stdout] 5 | | pub texture_index: u32, [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer/vertex.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/renderer/vertex.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(bytemuck::Pod, bytemuck::Zeroable, Copy, Clone, Debug)] [INFO] [stdout] 3 | | pub struct Vertex { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] 5 | | pub tex_coords: [f32; 2], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/uniform.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct MatrixData { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/uniform.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / #[repr(C)] [INFO] [stdout] 83 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 84 | | pub struct MatrixData { [INFO] [stdout] 85 | | pub proj_view_model_matrix: [[f32; 4]; 4], [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/debug_info.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | if (time.as_millis() - FPS_SHOW_TIME.as_millis()) > 1000 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/debug_info.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | let delta = time.as_micros() - TIME.as_micros(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderer/renderer.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | fn build(&self) -> wgpu::RenderPassDescriptor { [INFO] [stdout] | ^^^^^ -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 115 | fn build(&self) -> wgpu::RenderPassDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/texture.rs:241:5 [INFO] [stdout] | [INFO] [stdout] 241 | TEXTURE_INDEX_LIST.push([0, 0, 0, 0, 2, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/texture.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | TEXTURE_INDEX_LIST.push([1, 1, 1, 1, 1, 1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "021f5ea7d0ee3081fc0167f1a24edde37f61f4f9c2c82ea71d495d056af259b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "021f5ea7d0ee3081fc0167f1a24edde37f61f4f9c2c82ea71d495d056af259b7", kill_on_drop: false }` [INFO] [stdout] 021f5ea7d0ee3081fc0167f1a24edde37f61f4f9c2c82ea71d495d056af259b7