[INFO] cloning repository https://github.com/Shapur1234/Rezcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shapur1234/Rezcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShapur1234%2FRezcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShapur1234%2FRezcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e20d81843768387c0622735c4cb3f4679c429673 [INFO] building Shapur1234/Rezcraft against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShapur1234%2FRezcraft" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Shapur1234/Rezcraft [INFO] finished tweaking git repo https://github.com/Shapur1234/Rezcraft [INFO] tweaked toml for git repo https://github.com/Shapur1234/Rezcraft written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Shapur1234/Rezcraft on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Shapur1234/Rezcraft 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v1.3.3 [INFO] [stderr] Downloaded wasm-cookies v0.2.1 [INFO] [stderr] Downloaded xcursor v0.3.7 [INFO] [stderr] Downloaded rle_vec v0.4.1 [INFO] [stderr] Downloaded rng v0.1.0 [INFO] [stderr] Downloaded wasm_thread v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.205 [INFO] [stderr] Downloaded ilattice v0.1.0 [INFO] [stderr] Downloaded ref_thread_local v0.1.1 [INFO] [stderr] Downloaded ndshape v0.3.0 [INFO] [stderr] Downloaded block-mesh v0.2.0 [INFO] [stderr] Downloaded confy v0.5.1 [INFO] [stderr] Downloaded cc v1.1.8 [INFO] [stderr] Downloaded collision v0.20.1 [INFO] [stderr] Downloaded egui_wgpu_backend v0.25.0 [INFO] [stderr] Downloaded ndcopy v0.3.0 [INFO] [stderr] Downloaded egui_winit_platform v0.19.0 [INFO] [stderr] Downloaded serde v1.0.205 [INFO] [stderr] Downloaded glam v0.19.0 [INFO] [stderr] Downloaded noise v0.8.2 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec166b757cd0b66f1814f21f839acb364690267254a40e3e0d001f51257116e9 [INFO] running `Command { std: "docker" "start" "-a" "ec166b757cd0b66f1814f21f839acb364690267254a40e3e0d001f51257116e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec166b757cd0b66f1814f21f839acb364690267254a40e3e0d001f51257116e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec166b757cd0b66f1814f21f839acb364690267254a40e3e0d001f51257116e9", kill_on_drop: false }` [INFO] [stdout] ec166b757cd0b66f1814f21f839acb364690267254a40e3e0d001f51257116e9 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] f0b0a2f6f9029d30dde400f57fef8f918064fcddecc5e55509abb57663436058 [INFO] running `Command { std: "docker" "start" "-a" "f0b0a2f6f9029d30dde400f57fef8f918064fcddecc5e55509abb57663436058", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ttf-parser v0.24.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling atomic_refcell v0.1.13 [INFO] [stderr] Compiling owned_ttf_parser v0.24.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling ndshape v0.3.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling glam v0.19.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling ndcopy v0.3.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling ilattice v0.1.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rezcraft v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling collision v0.20.1 [INFO] [stderr] Compiling block-mesh v0.2.0 [INFO] [stderr] Compiling rng v0.1.0 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ref_thread_local v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling js-sys v0.3.68 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.68 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.41 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling naga v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling wgpu-types v0.17.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling wasm_thread v0.2.0 [INFO] [stderr] Compiling console_log v1.0.0 [INFO] [stderr] Compiling wasm-cookies v0.2.1 [INFO] [stderr] Compiling noise v0.8.2 [INFO] [stderr] Compiling wgpu-hal v0.17.2 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling emath v0.22.0 [INFO] [stderr] Compiling ecolor v0.22.0 [INFO] [stderr] Compiling epaint v0.22.0 [INFO] [stderr] Compiling wgpu-core v0.17.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling egui v0.22.0 [INFO] [stderr] Compiling wgpu v0.17.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling egui_wgpu_backend v0.25.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling rle_vec v0.4.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling egui_winit_platform v0.19.0 [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use wasm_bindgen::prelude::*; [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: `Icon` [INFO] [stdout] --> src/main.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | window::{self, Icon}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `loader::load_resource_binary` [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | misc::{loader::load_resource_binary, ui::UI, Settings}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut out = Self { [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: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut terrain = Terrain::new( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `load_last_save` [INFO] [stdout] --> src/game/state.rs:37:75 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(texture_atlas: &TextureAtlas, block_manager: BlockManager, load_last_save: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_load_last_save` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/game/world/terrain.rs:1083:40 [INFO] [stdout] | [INFO] [stdout] 1083 | self.chunks.retain(|chunk_pos, chunk| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/camera.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/engine/camera.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[repr(C)] [INFO] [stdout] 6 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 7 | | pub struct CameraUniform { [INFO] [stdout] 8 | | view_position: [f32; 4], [INFO] [stdout] 9 | | view_proj: [[f32; 4]; 4], [INFO] [stdout] 10 | | chunk_pos_and_chunk_size: [i32; 4], [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/renderer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct SettingsUniform { [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/engine/renderer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / #[repr(C)] [INFO] [stdout] 25 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 26 | | struct SettingsUniform { [INFO] [stdout] 27 | | sunlight_intensity: u32, [INFO] [stdout] ... | [INFO] [stdout] 30 | | tile_size: f32, [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read [INFO] [stdout] --> src/engine/resource/model.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/engine/resource/texture.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/game/world/mesh.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / #[repr(C)] [INFO] [stdout] 34 | | #[derive(Copy, Clone, Debug, bytemuck::Zeroable)] [INFO] [stdout] 35 | | pub struct BlockVertex { [INFO] [stdout] 36 | | pub pos: [u8; 4], [INFO] [stdout] ... | [INFO] [stdout] 41 | | pub transparency: u8, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `chunk_pos_buffer` are never read [INFO] [stdout] --> src/game/world/mesh.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct ChunkMesh { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 106 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub chunk_pos_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_save_name` is never read [INFO] [stdout] --> src/game/world/terrain.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct BlocksThreadRequest { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 57 | pos: Vector3, [INFO] [stdout] 58 | current_save_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transparency` and `texture_atlas` are never used [INFO] [stdout] --> src/game/world/terrain.rs:1349:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl Terrain { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1349 | pub fn transparency(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1353 | pub fn texture_atlas(&self) -> &TextureAtlas { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `selected_save`, `do_save`, and `do_load` are never read [INFO] [stdout] --> src/misc/ui.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct UI<'a> { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | selected_save: &'a mut String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | do_save: &'a mut bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | do_load: &'a mut bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 24s [INFO] running `Command { std: "docker" "inspect" "f0b0a2f6f9029d30dde400f57fef8f918064fcddecc5e55509abb57663436058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b0a2f6f9029d30dde400f57fef8f918064fcddecc5e55509abb57663436058", kill_on_drop: false }` [INFO] [stdout] f0b0a2f6f9029d30dde400f57fef8f918064fcddecc5e55509abb57663436058 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] d81fb903b138022401a45350671249ad43fce2c57600ead46525afb962a91966 [INFO] running `Command { std: "docker" "start" "-a" "d81fb903b138022401a45350671249ad43fce2c57600ead46525afb962a91966", kill_on_drop: false }` [INFO] [stderr] Compiling rezcraft v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use wasm_bindgen::prelude::*; [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: `Icon` [INFO] [stdout] --> src/main.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | window::{self, Icon}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `loader::load_resource_binary` [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | misc::{loader::load_resource_binary, ui::UI, Settings}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut out = Self { [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: variable does not need to be mutable [INFO] [stdout] --> src/game/state.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut terrain = Terrain::new( [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `load_last_save` [INFO] [stdout] --> src/game/state.rs:37:75 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(texture_atlas: &TextureAtlas, block_manager: BlockManager, load_last_save: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_load_last_save` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk` [INFO] [stdout] --> src/game/world/terrain.rs:1083:40 [INFO] [stdout] | [INFO] [stdout] 1083 | self.chunks.retain(|chunk_pos, chunk| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/camera.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/engine/camera.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[repr(C)] [INFO] [stdout] 6 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 7 | | pub struct CameraUniform { [INFO] [stdout] 8 | | view_position: [f32; 4], [INFO] [stdout] 9 | | view_proj: [[f32; 4]; 4], [INFO] [stdout] 10 | | chunk_pos_and_chunk_size: [i32; 4], [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/engine/renderer.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct SettingsUniform { [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/engine/renderer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / #[repr(C)] [INFO] [stdout] 25 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 26 | | struct SettingsUniform { [INFO] [stdout] 27 | | sunlight_intensity: u32, [INFO] [stdout] ... | [INFO] [stdout] 30 | | tile_size: f32, [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read [INFO] [stdout] --> src/engine/resource/model.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/engine/resource/texture.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/game/world/mesh.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / #[repr(C)] [INFO] [stdout] 34 | | #[derive(Copy, Clone, Debug, bytemuck::Zeroable)] [INFO] [stdout] 35 | | pub struct BlockVertex { [INFO] [stdout] 36 | | pub pos: [u8; 4], [INFO] [stdout] ... | [INFO] [stdout] 41 | | pub transparency: u8, [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `chunk_pos_buffer` are never read [INFO] [stdout] --> src/game/world/mesh.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct ChunkMesh { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 106 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub chunk_pos_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_save_name` is never read [INFO] [stdout] --> src/game/world/terrain.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | struct BlocksThreadRequest { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 57 | pos: Vector3, [INFO] [stdout] 58 | current_save_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transparency` and `texture_atlas` are never used [INFO] [stdout] --> src/game/world/terrain.rs:1349:12 [INFO] [stdout] | [INFO] [stdout] 218 | impl Terrain { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1349 | pub fn transparency(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1353 | pub fn texture_atlas(&self) -> &TextureAtlas { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `selected_save`, `do_save`, and `do_load` are never read [INFO] [stdout] --> src/misc/ui.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct UI<'a> { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | selected_save: &'a mut String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | do_save: &'a mut bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | do_load: &'a mut bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "d81fb903b138022401a45350671249ad43fce2c57600ead46525afb962a91966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d81fb903b138022401a45350671249ad43fce2c57600ead46525afb962a91966", kill_on_drop: false }` [INFO] [stdout] d81fb903b138022401a45350671249ad43fce2c57600ead46525afb962a91966