[INFO] cloning repository https://github.com/musou1500/rustcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/musou1500/rustcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmusou1500%2Frustcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmusou1500%2Frustcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9631c4bb40aa89bbff96282ee7699e7cdf5c59af [INFO] checking musou1500/rustcraft against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmusou1500%2Frustcraft" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/musou1500/rustcraft [INFO] finished tweaking git repo https://github.com/musou1500/rustcraft [INFO] tweaked toml for git repo https://github.com/musou1500/rustcraft written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/musou1500/rustcraft on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/musou1500/rustcraft 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 881c03c99fefb19c7420c7bfb5bb91b1f9b05b5b4b7ebcf0f1d4aa3a221e5f05 [INFO] running `Command { std: "docker" "start" "-a" "881c03c99fefb19c7420c7bfb5bb91b1f9b05b5b4b7ebcf0f1d4aa3a221e5f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "881c03c99fefb19c7420c7bfb5bb91b1f9b05b5b4b7ebcf0f1d4aa3a221e5f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "881c03c99fefb19c7420c7bfb5bb91b1f9b05b5b4b7ebcf0f1d4aa3a221e5f05", kill_on_drop: false }` [INFO] [stdout] 881c03c99fefb19c7420c7bfb5bb91b1f9b05b5b4b7ebcf0f1d4aa3a221e5f05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7d1214c8b2496df7b14127e7d539deacb1bed114fc202d2d050552214757c8 [INFO] running `Command { std: "docker" "start" "-a" "6c7d1214c8b2496df7b14127e7d539deacb1bed114fc202d2d050552214757c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cgmath v0.18.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/texture_parser.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | use super::*; [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 variable: `content` [INFO] [stdout] --> src/texture_parser.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let content = r#" [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_game_mode` is never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'window> State<'window> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn toggle_game_mode(&mut self) { [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 `save_to_file` is never used [INFO] [stdout] --> src/biome.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl BiomeManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn save_to_file>(&self, path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bedrock` is never constructed [INFO] [stdout] --> src/blocks.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum TextureId { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Bedrock = 10, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `hardness`, `is_solid`, `is_transparent`, and `emission` are never read [INFO] [stdout] --> src/blocks.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BlockMaterial { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 44 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub textures: FaceTextures, [INFO] [stdout] 46 | pub hardness: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub is_solid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub is_transparent: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub emission: f32, // For glowing blocks [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockMaterial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_material` and `is_solid` are never used [INFO] [stdout] --> src/blocks.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl BlockRegistry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_material(&self, block_type: BlockType) -> Option<&BlockMaterial> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_solid(&self, block_type: BlockType) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction`, `color`, and `intensity` are never read [INFO] [stdout] --> src/light.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DirectionalLight { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 15 | pub direction: Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub color: Vector3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `distance` and `hit_point` are never read [INFO] [stdout] --> src/raycast.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct RaycastHit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | pub block_pos: [i32; 3], [INFO] [stdout] 29 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub hit_point: Point3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RaycastHit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_in_slot` is never used [INFO] [stdout] --> src/slot_ui.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl SlotUI { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_block_in_slot(&self, slot: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `structure_type` is never read [INFO] [stdout] --> src/structures.rs:683:9 [INFO] [stdout] | [INFO] [stdout] 679 | pub struct PlacedStructure { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 683 | pub structure_type: StructureType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlacedStructure` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_block_at` is never used [INFO] [stdout] --> src/structures.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 687 | impl PlacedStructure { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 688 | /// Check if this structure contains a block at the given world position [INFO] [stdout] 689 | pub fn has_block_at(&self, world_x: i32, world_y: i32, world_z: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture_atlas.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TextureAtlas { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 4 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/texture_parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct TextureInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] 18 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/texture_parser.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ParsedTexture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 30 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedTexture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_vertices_minecraft` is never used [INFO] [stdout] --> src/voxel.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn create_cube_vertices_minecraft( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_vertices` is never used [INFO] [stdout] --> src/voxel.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn create_cube_vertices(x: f32, y: f32, z: f32, texture_id: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_indices` is never used [INFO] [stdout] --> src/voxel.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn create_cube_indices() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_game_mode` is never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'window> State<'window> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn toggle_game_mode(&mut self) { [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 `save_to_file` is never used [INFO] [stdout] --> src/biome.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl BiomeManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn save_to_file>(&self, path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bedrock` is never constructed [INFO] [stdout] --> src/blocks.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum TextureId { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | Bedrock = 10, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureId` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `hardness`, `is_solid`, `is_transparent`, and `emission` are never read [INFO] [stdout] --> src/blocks.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BlockMaterial { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 44 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub textures: FaceTextures, [INFO] [stdout] 46 | pub hardness: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub is_solid: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub is_transparent: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub emission: f32, // For glowing blocks [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockMaterial` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_material` and `is_solid` are never used [INFO] [stdout] --> src/blocks.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl BlockRegistry { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_material(&self, block_type: BlockType) -> Option<&BlockMaterial> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_solid(&self, block_type: BlockType) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction`, `color`, and `intensity` are never read [INFO] [stdout] --> src/light.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DirectionalLight { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 15 | pub direction: Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub color: Vector3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `distance` and `hit_point` are never read [INFO] [stdout] --> src/raycast.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct RaycastHit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 28 | pub block_pos: [i32; 3], [INFO] [stdout] 29 | pub distance: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 30 | pub hit_point: Point3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RaycastHit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_in_slot` is never used [INFO] [stdout] --> src/slot_ui.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl SlotUI { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn get_block_in_slot(&self, slot: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `structure_type` is never read [INFO] [stdout] --> src/structures.rs:683:9 [INFO] [stdout] | [INFO] [stdout] 679 | pub struct PlacedStructure { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 683 | pub structure_type: StructureType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlacedStructure` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_block_at` is never used [INFO] [stdout] --> src/structures.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 687 | impl PlacedStructure { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 688 | /// Check if this structure contains a block at the given world position [INFO] [stdout] 689 | pub fn has_block_at(&self, world_x: i32, world_y: i32, world_z: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture_atlas.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TextureAtlas { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 4 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/texture_parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct TextureInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | name: String, [INFO] [stdout] 18 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextureInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/texture_parser.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ParsedTexture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 30 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsedTexture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_vertices_minecraft` is never used [INFO] [stdout] --> src/voxel.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn create_cube_vertices_minecraft( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_vertices` is never used [INFO] [stdout] --> src/voxel.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn create_cube_vertices(x: f32, y: f32, z: f32, texture_id: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_cube_indices` is never used [INFO] [stdout] --> src/voxel.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | pub fn create_cube_indices() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.96s [INFO] running `Command { std: "docker" "inspect" "6c7d1214c8b2496df7b14127e7d539deacb1bed114fc202d2d050552214757c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7d1214c8b2496df7b14127e7d539deacb1bed114fc202d2d050552214757c8", kill_on_drop: false }` [INFO] [stdout] 6c7d1214c8b2496df7b14127e7d539deacb1bed114fc202d2d050552214757c8