[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#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmusou1500%2Frustcraft" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/musou1500/rustcraft on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded noise v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4c2e4e37256ddd5df58acba2b9204bc4b606a5232c1464dac732e6b19dd8966 [INFO] running `Command { std: "docker" "start" "-a" "b4c2e4e37256ddd5df58acba2b9204bc4b606a5232c1464dac732e6b19dd8966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4c2e4e37256ddd5df58acba2b9204bc4b606a5232c1464dac732e6b19dd8966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4c2e4e37256ddd5df58acba2b9204bc4b606a5232c1464dac732e6b19dd8966", kill_on_drop: false }` [INFO] [stdout] b4c2e4e37256ddd5df58acba2b9204bc4b606a5232c1464dac732e6b19dd8966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92fc1af7962bc6f051b1326332d37971a11e1d103eac5a7e90cea44ca4d58e9e [INFO] running `Command { std: "docker" "start" "-a" "92fc1af7962bc6f051b1326332d37971a11e1d103eac5a7e90cea44ca4d58e9e", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [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 bytemuck v1.23.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-client v0.31.11 [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.23s [INFO] running `Command { std: "docker" "inspect" "92fc1af7962bc6f051b1326332d37971a11e1d103eac5a7e90cea44ca4d58e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92fc1af7962bc6f051b1326332d37971a11e1d103eac5a7e90cea44ca4d58e9e", kill_on_drop: false }` [INFO] [stdout] 92fc1af7962bc6f051b1326332d37971a11e1d103eac5a7e90cea44ca4d58e9e