[INFO] cloning repository https://github.com/CesarPetrescu/rustcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CesarPetrescu/rustcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCesarPetrescu%2Frustcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCesarPetrescu%2Frustcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b3c3669ebe69534a5ebd65c6c2ba6d67769fc2f [INFO] checking CesarPetrescu/rustcraft against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCesarPetrescu%2Frustcraft" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CesarPetrescu/rustcraft [INFO] finished tweaking git repo https://github.com/CesarPetrescu/rustcraft [INFO] tweaked toml for git repo https://github.com/CesarPetrescu/rustcraft written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CesarPetrescu/rustcraft on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CesarPetrescu/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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bffab8a3ae0915d233c810d25f4fc4a3c58405792f9c71a38a37dc1a2f116d4c [INFO] running `Command { std: "docker" "start" "-a" "bffab8a3ae0915d233c810d25f4fc4a3c58405792f9c71a38a37dc1a2f116d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bffab8a3ae0915d233c810d25f4fc4a3c58405792f9c71a38a37dc1a2f116d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffab8a3ae0915d233c810d25f4fc4a3c58405792f9c71a38a37dc1a2f116d4c", kill_on_drop: false }` [INFO] [stdout] bffab8a3ae0915d233c810d25f4fc4a3c58405792f9c71a38a37dc1a2f116d4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7e4249e0d7d785c31c428fe4ad14f4c56b6e4a970f591576f98797a7c105925 [INFO] running `Command { std: "docker" "start" "-a" "c7e4249e0d7d785c31c428fe4ad14f4c56b6e4a970f591576f98797a7c105925", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.9.12 [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 libloading v0.7.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ash v0.37.3+1.3.251 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking wgpu-hal v0.19.5 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking wgpu-core v0.19.4 [INFO] [stderr] Checking wgpu v0.19.4 [INFO] [stderr] Checking minecraft_clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::block::BlockType` [INFO] [stdout] --> src/lighting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::block::BlockType; [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: `crate::block::BlockType` [INFO] [stdout] --> src/lighting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::block::BlockType; [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: `world_y` [INFO] [stdout] --> src/lighting.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn update_light_at(world: &mut World, world_x: i32, world_y: i32, world_z: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_y` [INFO] [stdout] --> src/lighting.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn update_light_at(world: &mut World, world_x: i32, world_y: i32, world_z: i32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_fluid` [INFO] [stdout] --> src/world.rs:957:80 [INFO] [stdout] | [INFO] [stdout] 957 | pub fn finalize_fluid_chunk_state(&mut self, pos: ChunkPos, changed: bool, has_fluid: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_fluid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:1073:13 [INFO] [stdout] | [INFO] [stdout] 1073 | let mut tints = base_biome_tints(column.biome); [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: unused variable: `has_fluid` [INFO] [stdout] --> src/world.rs:957:80 [INFO] [stdout] | [INFO] [stdout] 957 | pub fn finalize_fluid_chunk_state(&mut self, pos: ChunkPos, changed: bool, has_fluid: bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_fluid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:1073:13 [INFO] [stdout] | [INFO] [stdout] 1073 | let mut tints = base_biome_tints(column.biome); [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: variants `CaveCrystal` and `CaveMoss` are never constructed [INFO] [stdout] --> src/block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum BlockType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | CaveCrystal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | CaveMoss, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/block.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Axis { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn to_index(self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign` is never used [INFO] [stdout] --> src/block.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl BlockFace { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn sign(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tool` and `Any` are never constructed [INFO] [stdout] --> src/crafting.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum RecipeIngredient { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 24 | Block(BlockType), [INFO] [stdout] 25 | Tool(ToolType), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecipeIngredient` 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: field `chunk` is never read [INFO] [stdout] --> src/electric.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct ElectricalNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 182 | pub component: ElectricalComponent, [INFO] [stdout] 183 | pub chunk: ChunkPos, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElectricalNode` 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 `terminal_faces` is never used [INFO] [stdout] --> src/electric.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl ElectricalNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn terminal_faces(&self) -> (BlockFace, BlockFace) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `axis` is never read [INFO] [stdout] --> src/electric.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct NetworkElement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 204 | pub axis: Axis, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkElement` 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 `update_block` and `set_axis` are never used [INFO] [stdout] --> src/electric.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl ElectricalSystem { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn update_block( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn set_axis(&mut self, world_pos: BlockPos3, face: BlockFace, axis: Axis) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max_durability` and `durability` are never used [INFO] [stdout] --> src/item.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ItemType { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn max_durability(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn durability(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/item.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ToolType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | DiamondPickaxe, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | IronAxe, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | DiamondAxe, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | IronShovel, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | DiamondShovel, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | WoodenSword, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | StoneSword, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 113 | IronSword, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 114 | DiamondSword, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolType` 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: method `category` is never used [INFO] [stdout] --> src/item.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl ToolType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn category(&self) -> ToolCategory { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ToolCategory` is never used [INFO] [stdout] --> src/item.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum ToolCategory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_light_at` is never used [INFO] [stdout] --> src/lighting.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl LightingSystem { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn update_light_at(world: &mut World, world_x: i32, world_y: i32, world_z: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_world_mesh` is never used [INFO] [stdout] --> src/mesh.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn generate_world_mesh(world: &World) -> MeshData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BiomeTints` is never constructed [INFO] [stdout] --> src/world.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct BiomeTints { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_time_of_day` and `set_day_length` are never used [INFO] [stdout] --> src/world.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl WorldEnvironment { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn set_time_of_day(&mut self, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_day_length(&mut self, seconds: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul3` is never used [INFO] [stdout] --> src/world.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn mul3(color: [f32; 3], scalar: f32) -> [f32; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_biome_tints` is never used [INFO] [stdout] --> src/world.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn base_biome_tints(biome: BiomeType) -> BiomeTints { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subsurface` is never read [INFO] [stdout] --> src/world.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct BiomeConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 256 | surface: BlockType, [INFO] [stdout] 257 | subsurface: BlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BiomeConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CaveBiome` is never used [INFO] [stdout] --> src/world.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 285 | enum CaveBiome { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `glow_emitters`, `hazard_emitters`, and `loot_sites` are never read [INFO] [stdout] --> src/world.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct CaveChunkInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 294 | pub glow_emitters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 295 | pub hazard_emitters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | pub loot_sites: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaveChunkInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/world.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl CaveChunkInfo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 300 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratedChunk` is never constructed [INFO] [stdout] --> src/world.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct GeneratedChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cave_biome_noise` and `cave_humidity_noise` are never read [INFO] [stdout] --> src/world.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct WorldGenContext { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 327 | cave_biome_noise: Perlin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 328 | cave_humidity_noise: Perlin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorldGenContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cave_chunk_info` is never read [INFO] [stdout] --> src/world.rs:782:5 [INFO] [stdout] | [INFO] [stdout] 779 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 782 | cave_chunk_info: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `environment`, `environment_mut`, `biome_at`, `biome_tints_at`, and `biome_tints_from_column` are never used [INFO] [stdout] --> src/world.rs:820:12 [INFO] [stdout] | [INFO] [stdout] 788 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 820 | pub fn environment(&self) -> &WorldEnvironment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | pub fn environment_mut(&mut self) -> &mut WorldEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | pub fn biome_at(&self, x: i32, z: i32) -> BiomeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 992 | pub fn biome_tints_at(&self, x: i32, z: i32) -> BiomeTints { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1068 | fn biome_tints_from_column( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CaveCrystal` and `CaveMoss` are never constructed [INFO] [stdout] --> src/block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum BlockType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | CaveCrystal, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | CaveMoss, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/block.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Axis { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn to_index(self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sign` is never used [INFO] [stdout] --> src/block.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl BlockFace { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn sign(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tool` and `Any` are never constructed [INFO] [stdout] --> src/crafting.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum RecipeIngredient { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 24 | Block(BlockType), [INFO] [stdout] 25 | Tool(ToolType), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecipeIngredient` 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: field `chunk` is never read [INFO] [stdout] --> src/electric.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct ElectricalNode { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 182 | pub component: ElectricalComponent, [INFO] [stdout] 183 | pub chunk: ChunkPos, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElectricalNode` 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 `terminal_faces` is never used [INFO] [stdout] --> src/electric.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl ElectricalNode { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn terminal_faces(&self) -> (BlockFace, BlockFace) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `axis` is never read [INFO] [stdout] --> src/electric.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct NetworkElement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 204 | pub axis: Axis, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetworkElement` 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 `update_block` and `set_axis` are never used [INFO] [stdout] --> src/electric.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl ElectricalSystem { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn update_block( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn set_axis(&mut self, world_pos: BlockPos3, face: BlockFace, axis: Axis) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max_durability` and `durability` are never used [INFO] [stdout] --> src/item.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl ItemType { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn max_durability(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn durability(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/item.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum ToolType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | DiamondPickaxe, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | IronAxe, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 102 | DiamondAxe, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | IronShovel, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 108 | DiamondShovel, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | WoodenSword, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | StoneSword, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 113 | IronSword, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 114 | DiamondSword, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToolType` 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: method `category` is never used [INFO] [stdout] --> src/item.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 117 | impl ToolType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn category(&self) -> ToolCategory { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ToolCategory` is never used [INFO] [stdout] --> src/item.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 239 | pub enum ToolCategory { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_light_at` is never used [INFO] [stdout] --> src/lighting.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl LightingSystem { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn update_light_at(world: &mut World, world_x: i32, world_y: i32, world_z: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_world_mesh` is never used [INFO] [stdout] --> src/mesh.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn generate_world_mesh(world: &World) -> MeshData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BiomeTints` is never constructed [INFO] [stdout] --> src/world.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct BiomeTints { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_time_of_day` and `set_day_length` are never used [INFO] [stdout] --> src/world.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl WorldEnvironment { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn set_time_of_day(&mut self, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_day_length(&mut self, seconds: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul3` is never used [INFO] [stdout] --> src/world.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn mul3(color: [f32; 3], scalar: f32) -> [f32; 3] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base_biome_tints` is never used [INFO] [stdout] --> src/world.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn base_biome_tints(biome: BiomeType) -> BiomeTints { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subsurface` is never read [INFO] [stdout] --> src/world.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct BiomeConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 256 | surface: BlockType, [INFO] [stdout] 257 | subsurface: BlockType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BiomeConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CaveBiome` is never used [INFO] [stdout] --> src/world.rs:285:6 [INFO] [stdout] | [INFO] [stdout] 285 | enum CaveBiome { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `glow_emitters`, `hazard_emitters`, and `loot_sites` are never read [INFO] [stdout] --> src/world.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 293 | pub struct CaveChunkInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 294 | pub glow_emitters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 295 | pub hazard_emitters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 296 | pub loot_sites: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaveChunkInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/world.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 299 | impl CaveChunkInfo { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 300 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeneratedChunk` is never constructed [INFO] [stdout] --> src/world.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct GeneratedChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cave_biome_noise` and `cave_humidity_noise` are never read [INFO] [stdout] --> src/world.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 314 | struct WorldGenContext { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 327 | cave_biome_noise: Perlin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 328 | cave_humidity_noise: Perlin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorldGenContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cave_chunk_info` is never read [INFO] [stdout] --> src/world.rs:782:5 [INFO] [stdout] | [INFO] [stdout] 779 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 782 | cave_chunk_info: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `environment`, `environment_mut`, `biome_at`, `biome_tints_at`, and `biome_tints_from_column` are never used [INFO] [stdout] --> src/world.rs:820:12 [INFO] [stdout] | [INFO] [stdout] 788 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 820 | pub fn environment(&self) -> &WorldEnvironment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 824 | pub fn environment_mut(&mut self) -> &mut WorldEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | pub fn biome_at(&self, x: i32, z: i32) -> BiomeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 992 | pub fn biome_tints_at(&self, x: i32, z: i32) -> BiomeTints { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1068 | fn biome_tints_from_column( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.37s [INFO] running `Command { std: "docker" "inspect" "c7e4249e0d7d785c31c428fe4ad14f4c56b6e4a970f591576f98797a7c105925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e4249e0d7d785c31c428fe4ad14f4c56b6e4a970f591576f98797a7c105925", kill_on_drop: false }` [INFO] [stdout] c7e4249e0d7d785c31c428fe4ad14f4c56b6e4a970f591576f98797a7c105925