[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#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlatko1%2Fwgpu-voxel-engine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Blatko1/wgpu-voxel-engine on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fbd156b46887c7a9e50ca0a1e75acc06aef44e493382fd20b03b8eb77c9bd77 [INFO] running `Command { std: "docker" "start" "-a" "4fbd156b46887c7a9e50ca0a1e75acc06aef44e493382fd20b03b8eb77c9bd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fbd156b46887c7a9e50ca0a1e75acc06aef44e493382fd20b03b8eb77c9bd77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbd156b46887c7a9e50ca0a1e75acc06aef44e493382fd20b03b8eb77c9bd77", kill_on_drop: false }` [INFO] [stdout] 4fbd156b46887c7a9e50ca0a1e75acc06aef44e493382fd20b03b8eb77c9bd77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 471fe9fa037b841d16251e4dc8b333fc26501b9865bdbcde4cc64dd16bb18e7c [INFO] running `Command { std: "docker" "start" "-a" "471fe9fa037b841d16251e4dc8b333fc26501b9865bdbcde4cc64dd16bb18e7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [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] Compiling proc-macro-hack v0.5.19 [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 indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling wgpu-core v0.10.1 [INFO] [stderr] Checking gpu-alloc v0.5.0 [INFO] [stderr] Checking ash v0.33.2+1.2.186 [INFO] [stderr] Checking wgpu-types v0.10.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking gpu-descriptor v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking glow v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking ab_glyph v0.2.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking twox-hash v1.6.1 [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] Checking regex v1.4.6 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking tracing v0.1.26 [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] Compiling paste v1.0.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking simdeez v1.0.7 [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 glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking glyph_brush v0.7.2 [INFO] [stderr] Checking uvth v4.0.1 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking tracing-subscriber v0.2.19 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking calloop v0.6.5 [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 simdnoise v3.1.6 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking naga v0.6.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking flume v0.10.9 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Checking wgpu-subscriber v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking simba v0.6.0 [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | .name("Chunk Thread Pool".parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | .name("Chunk Thread Pool".parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] error: could not compile `wgpu-voxel-engine` (bin "wgpu-voxel-engine" test) due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wgpu-voxel-engine` (bin "wgpu-voxel-engine") due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "471fe9fa037b841d16251e4dc8b333fc26501b9865bdbcde4cc64dd16bb18e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471fe9fa037b841d16251e4dc8b333fc26501b9865bdbcde4cc64dd16bb18e7c", kill_on_drop: false }` [INFO] [stdout] 471fe9fa037b841d16251e4dc8b333fc26501b9865bdbcde4cc64dd16bb18e7c