[INFO] cloning repository https://github.com/eduard256/sky-craft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduard256/sky-craft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduard256%2Fsky-craft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduard256%2Fsky-craft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2a162016a3ee38d8e5c1e380714195afc3eb437 [INFO] checking eduard256/sky-craft against 416264364aa47959f5827723e1d7dabc95d0744b for pr-162242 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduard256%2Fsky-craft" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eduard256/sky-craft [INFO] finished tweaking git repo https://github.com/eduard256/sky-craft [INFO] tweaked toml for git repo https://github.com/eduard256/sky-craft written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eduard256/sky-craft on toolchain 416264364aa47959f5827723e1d7dabc95d0744b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eduard256/sky-craft 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" "+416264364aa47959f5827723e1d7dabc95d0744b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582 [INFO] running `Command { std: "docker" "start" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582" "/opt/rustwide/cargo-home/bin/cargo" "+416264364aa47959f5827723e1d7dabc95d0744b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling wayland-client v0.31.13 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking rustls-webpki v0.103.10 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking emath v0.31.1 [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.2.0 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Compiling quinn-udp v0.5.14 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking fastbloom v0.14.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking symphonia-core v0.5.5 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking ecolor v0.31.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Compiling wgpu-core v24.0.5 [INFO] [stderr] Compiling quinn v0.11.9 [INFO] [stderr] Checking epaint_default_fonts v0.31.1 [INFO] [stderr] Checking lru-slab v0.1.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking quinn-proto v0.11.14 [INFO] [stderr] Checking epaint v0.31.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking wayland-protocols v0.32.11 [INFO] [stderr] Checking wayland-cursor v0.31.13 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking symphonia-metadata v0.5.5 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling wgpu v24.0.5 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.5 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking egui v0.31.1 [INFO] [stderr] Checking skycraft-protocol v0.0.1 (/opt/rustwide/workdir/common/protocol) [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking symphonia v0.5.5 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking webbrowser v1.2.0 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.11 [INFO] [stderr] Checking wayland-protocols-misc v0.3.11 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.11 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking rodio v0.20.1 [INFO] [stderr] Checking rcgen v0.13.2 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking winit v0.30.13 [INFO] [stderr] Checking skycraft-server v0.0.1 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> server/src/world/island.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..island_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_ring` [INFO] [stdout] --> server/src/game.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let old_ring = player.current_ring; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_ring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> server/src/game.rs:506:14 [INFO] [stdout] | [INFO] [stdout] 506 | let (pos, respawn) = match self.with_player(entity_id, |p| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> server/src/game.rs:638:61 [INFO] [stdout] | [INFO] [stdout] 638 | let damage = self.with_player(attacker_id, |p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickname` [INFO] [stdout] --> server/src/game.rs:680:51 [INFO] [stdout] | [INFO] [stdout] 680 | fn handle_command(&self, entity_id: EntityId, nickname: &str, command: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> server/src/world/island.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | for i in 0..island_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_ring` [INFO] [stdout] --> server/src/game.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let old_ring = player.current_ring; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_ring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> server/src/game.rs:506:14 [INFO] [stdout] | [INFO] [stdout] 506 | let (pos, respawn) = match self.with_player(entity_id, |p| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> server/src/player.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn take_damage(&mut self, amount: f32, source: DeathCause) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> server/src/game.rs:638:61 [INFO] [stdout] | [INFO] [stdout] 638 | let damage = self.with_player(attacker_id, |p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickname` [INFO] [stdout] --> server/src/game.rs:680:51 [INFO] [stdout] | [INFO] [stdout] 680 | fn handle_command(&self, entity_id: EntityId, nickname: &str, command: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> server/src/world/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 16 | pub seed: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_on_island` and `ring_at` are never used [INFO] [stdout] --> server/src/world/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn is_on_island(&self, pos: BlockPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn ring_at(&self, x: f64, z: f64) -> RingNumber { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `contains`, and `unload` are never used [INFO] [stdout] --> server/src/world/chunk.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ChunkStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn contains(&self, pos: &ChunkPos) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn unload(&self, pos: &ChunkPos) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAK_PLANKS` is never used [INFO] [stdout] --> server/src/world/generator.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OAK_PLANKS: BlockStateId = 15; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAVEL` is never used [INFO] [stdout] --> server/src/world/generator.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub const GRAVEL: BlockStateId = 68; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER` is never used [INFO] [stdout] --> server/src/world/generator.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub const WATER: BlockStateId = 34; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAVA` is never used [INFO] [stdout] --> server/src/world/generator.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const LAVA: BlockStateId = 35; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEDROCK` is never used [INFO] [stdout] --> server/src/world/generator.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub const BEDROCK: BlockStateId = 33; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICE` is never used [INFO] [stdout] --> server/src/world/generator.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub const ICE: BlockStateId = 174; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLAY` is never used [INFO] [stdout] --> server/src/world/generator.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const CLAY: BlockStateId = 120; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOUL_SAND` is never used [INFO] [stdout] --> server/src/world/generator.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SOUL_SAND: BlockStateId = 250; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBSIDIAN` is never used [INFO] [stdout] --> server/src/world/generator.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const OBSIDIAN: BlockStateId = 251; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOSSY_COBBLESTONE` is never used [INFO] [stdout] --> server/src/world/generator.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub const MOSSY_COBBLESTONE: BlockStateId = 253; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGMA_BLOCK` is never used [INFO] [stdout] --> server/src/world/generator.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub const MAGMA_BLOCK: BlockStateId = 259; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASALT` is never used [INFO] [stdout] --> server/src/world/generator.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub const BASALT: BlockStateId = 260; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKED_ICE` is never used [INFO] [stdout] --> server/src/world/generator.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PACKED_ICE: BlockStateId = 261; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_ICE` is never used [INFO] [stdout] --> server/src/world/generator.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub const BLUE_ICE: BlockStateId = 262; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_seed`, `has_village`, and `has_loot_chest` are never read [INFO] [stdout] --> server/src/world/island.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IslandDef { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub name_seed: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | /// Whether this island has a village. [INFO] [stdout] 28 | pub has_village: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | /// Whether this island has a loot chest. [INFO] [stdout] 30 | pub has_loot_chest: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IslandDef` 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 `island_name` is never used [INFO] [stdout] --> server/src/world/island.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn island_name(name_seed: u64, biome: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `biome_display_name` is never used [INFO] [stdout] --> server/src/world/island.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn biome_display_name(biome: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> server/src/world/island.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl IslandDef { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPAWN_RADIUS` is never used [INFO] [stdout] --> server/src/game.rs:748:15 [INFO] [stdout] | [INFO] [stdout] 748 | const SPAWN_RADIUS: f64 = 16.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTBAR_START` is never used [INFO] [stdout] --> server/src/player.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const HOTBAR_START: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTBAR_END` is never used [INFO] [stdout] --> server/src/player.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const HOTBAR_END: usize = 9; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> server/src/player.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | // ── Identity ── [INFO] [stdout] 26 | pub uuid: PlayerId, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub xp_level: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | pub xp_total: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub xp_bar: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub is_sneaking: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub is_sprinting: bool, [INFO] [stdout] 51 | pub is_flying: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub cursor_item: Slot, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub has_slept: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_health` is never read [INFO] [stdout] --> server/src/entity.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub max_health: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Item`, `Projectile`, and `ExperienceOrb` are never constructed [INFO] [stdout] --> server/src/entity.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum EntityKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 27 | Mob(MobData), [INFO] [stdout] 28 | Item(ItemEntityData), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Projectile(ProjectileData), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | ExperienceOrb(XpOrbData), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> server/src/entity.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct MobData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 34 | pub ai: MobAI, [INFO] [stdout] 35 | pub attack_damage: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub attack_cooldown: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub ticks_since_attack: u32, [INFO] [stdout] 38 | pub target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | pub home_pos: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub drops: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub xp_reward: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | pub ring_multiplier: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub debuffs_on_hit: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub is_baby: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | pub can_pick_up_items: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub equipment: [Slot; 6], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `owner` are never read [INFO] [stdout] --> server/src/entity.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ItemEntityData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | pub item: ItemStack, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub owner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shooter`, `damage`, `projectile_type`, and `ticks_alive` are never read [INFO] [stdout] --> server/src/entity.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProjectileData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 59 | pub shooter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub damage: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub projectile_type: ProjectileType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub ticks_alive: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xp_value` and `age` are never read [INFO] [stdout] --> server/src/entity.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct XpOrbData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 66 | pub xp_value: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | pub age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> server/src/entity.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum ProjectileType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 72 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | Trident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | Snowball, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | Egg, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | EnderPearl, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | FishingBobber, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 78 | Fireball, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectileType` 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 `look_target`, `path`, `path_index`, and `stuck_ticks` are never read [INFO] [stdout] --> server/src/entity.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MobAI { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | pub look_target: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub path_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 98 | pub stuck_ticks: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> server/src/entity.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum AIState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Chasing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | Attacking, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | Fleeing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | Breeding, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | Eating, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 110 | Sleeping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 111 | Panicking, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIState` 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 `item_id`, `min_count`, `max_count`, `chance`, and `looting_bonus` are never read [INFO] [stdout] --> server/src/entity.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct LootDrop { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 116 | pub item_id: ItemId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | pub min_count: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub max_count: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 119 | pub chance: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | pub looting_bonus: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_item` and `new_projectile` are never used [INFO] [stdout] --> server/src/entity.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Entity { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn new_item(id: EntityId, position: EntityPos, item: ItemStack, velocity: Velocity) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn new_projectile( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WALK_SPEED` is never used [INFO] [stdout] --> server/src/physics.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const WALK_SPEED: f64 = 0.2163; // 4.317 blocks/sec / 20 tps [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRINT_SPEED` is never used [INFO] [stdout] --> server/src/physics.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const SPRINT_SPEED: f64 = 0.2806; // 5.612 blocks/sec / 20 tps [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNEAK_SPEED` is never used [INFO] [stdout] --> server/src/physics.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const SNEAK_SPEED: f64 = 0.0648; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JUMP_VELOCITY` is never used [INFO] [stdout] --> server/src/physics.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const JUMP_VELOCITY: f64 = 0.42; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_WIDTH` is never used [INFO] [stdout] --> server/src/physics.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const PLAYER_WIDTH: f64 = 0.6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_HEIGHT` is never used [INFO] [stdout] --> server/src/physics.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const PLAYER_HEIGHT: f64 = 1.8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_EYE_HEIGHT` is never used [INFO] [stdout] --> server/src/physics.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PLAYER_EYE_HEIGHT: f64 = 1.62; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fall_damage` is never used [INFO] [stdout] --> server/src/physics.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn fall_damage(fall_distance: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wind_push` is never used [INFO] [stdout] --> server/src/physics.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn wind_push(wind: &WindState, is_sneaking: bool, has_wind_charm: bool, armor_weight: f32) -> Velocity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionResult` is never constructed [INFO] [stdout] --> server/src/physics.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct CollisionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_and_collide` is never used [INFO] [stdout] --> server/src/physics.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn move_and_collide( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> server/src/physics.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn check_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ring_at` is never used [INFO] [stdout] --> server/src/physics.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn ring_at(x: f64, z: f64) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> server/src/player.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn take_damage(&mut self, amount: f32, source: DeathCause) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> server/src/world/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 16 | pub seed: i64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_on_island` and `ring_at` are never used [INFO] [stdout] --> server/src/world/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn is_on_island(&self, pos: BlockPos) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn ring_at(&self, x: f64, z: f64) -> RingNumber { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `contains`, and `unload` are never used [INFO] [stdout] --> server/src/world/chunk.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ChunkStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn contains(&self, pos: &ChunkPos) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn unload(&self, pos: &ChunkPos) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAK_PLANKS` is never used [INFO] [stdout] --> server/src/world/generator.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const OAK_PLANKS: BlockStateId = 15; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAVEL` is never used [INFO] [stdout] --> server/src/world/generator.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub const GRAVEL: BlockStateId = 68; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER` is never used [INFO] [stdout] --> server/src/world/generator.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub const WATER: BlockStateId = 34; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAVA` is never used [INFO] [stdout] --> server/src/world/generator.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | pub const LAVA: BlockStateId = 35; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEDROCK` is never used [INFO] [stdout] --> server/src/world/generator.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | pub const BEDROCK: BlockStateId = 33; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICE` is never used [INFO] [stdout] --> server/src/world/generator.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub const ICE: BlockStateId = 174; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLAY` is never used [INFO] [stdout] --> server/src/world/generator.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const CLAY: BlockStateId = 120; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOUL_SAND` is never used [INFO] [stdout] --> server/src/world/generator.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SOUL_SAND: BlockStateId = 250; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBSIDIAN` is never used [INFO] [stdout] --> server/src/world/generator.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const OBSIDIAN: BlockStateId = 251; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOSSY_COBBLESTONE` is never used [INFO] [stdout] --> server/src/world/generator.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub const MOSSY_COBBLESTONE: BlockStateId = 253; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGMA_BLOCK` is never used [INFO] [stdout] --> server/src/world/generator.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub const MAGMA_BLOCK: BlockStateId = 259; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASALT` is never used [INFO] [stdout] --> server/src/world/generator.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | pub const BASALT: BlockStateId = 260; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PACKED_ICE` is never used [INFO] [stdout] --> server/src/world/generator.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | pub const PACKED_ICE: BlockStateId = 261; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_ICE` is never used [INFO] [stdout] --> server/src/world/generator.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | pub const BLUE_ICE: BlockStateId = 262; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_seed`, `has_village`, and `has_loot_chest` are never read [INFO] [stdout] --> server/src/world/island.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IslandDef { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub name_seed: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | /// Whether this island has a village. [INFO] [stdout] 28 | pub has_village: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | /// Whether this island has a loot chest. [INFO] [stdout] 30 | pub has_loot_chest: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IslandDef` 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 `island_name` is never used [INFO] [stdout] --> server/src/world/island.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn island_name(name_seed: u64, biome: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `biome_display_name` is never used [INFO] [stdout] --> server/src/world/island.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn biome_display_name(biome: u8) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> server/src/world/island.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl IslandDef { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPAWN_RADIUS` is never used [INFO] [stdout] --> server/src/game.rs:748:15 [INFO] [stdout] | [INFO] [stdout] 748 | const SPAWN_RADIUS: f64 = 16.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTBAR_START` is never used [INFO] [stdout] --> server/src/player.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const HOTBAR_START: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOTBAR_END` is never used [INFO] [stdout] --> server/src/player.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const HOTBAR_END: usize = 9; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> server/src/player.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | // ── Identity ── [INFO] [stdout] 26 | pub uuid: PlayerId, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub xp_level: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | pub xp_total: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub xp_bar: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub is_sneaking: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 50 | pub is_sprinting: bool, [INFO] [stdout] 51 | pub is_flying: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub cursor_item: Slot, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub has_slept: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_health` is never read [INFO] [stdout] --> server/src/entity.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Entity { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub max_health: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Item`, `Projectile`, and `ExperienceOrb` are never constructed [INFO] [stdout] --> server/src/entity.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum EntityKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 27 | Mob(MobData), [INFO] [stdout] 28 | Item(ItemEntityData), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | Projectile(ProjectileData), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | ExperienceOrb(XpOrbData), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> server/src/entity.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct MobData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 34 | pub ai: MobAI, [INFO] [stdout] 35 | pub attack_damage: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub attack_cooldown: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub ticks_since_attack: u32, [INFO] [stdout] 38 | pub target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | pub home_pos: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | pub drops: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub xp_reward: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | pub ring_multiplier: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub debuffs_on_hit: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub is_baby: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | pub can_pick_up_items: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub equipment: [Slot; 6], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `item` and `owner` are never read [INFO] [stdout] --> server/src/entity.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ItemEntityData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | pub item: ItemStack, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub owner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `shooter`, `damage`, `projectile_type`, and `ticks_alive` are never read [INFO] [stdout] --> server/src/entity.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProjectileData { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 59 | pub shooter: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | pub damage: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub projectile_type: ProjectileType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub ticks_alive: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xp_value` and `age` are never read [INFO] [stdout] --> server/src/entity.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct XpOrbData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 66 | pub xp_value: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | pub age: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> server/src/entity.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum ProjectileType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 72 | Arrow, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | Trident, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 74 | Snowball, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | Egg, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | EnderPearl, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | FishingBobber, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 78 | Fireball, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectileType` 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 `look_target`, `path`, `path_index`, and `stuck_ticks` are never read [INFO] [stdout] --> server/src/entity.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct MobAI { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 95 | pub look_target: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | pub path: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub path_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 98 | pub stuck_ticks: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> server/src/entity.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum AIState { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Chasing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 106 | Attacking, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 107 | Fleeing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | Breeding, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | Eating, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 110 | Sleeping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 111 | Panicking, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AIState` 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 `item_id`, `min_count`, `max_count`, `chance`, and `looting_bonus` are never read [INFO] [stdout] --> server/src/entity.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct LootDrop { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 116 | pub item_id: ItemId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | pub min_count: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 118 | pub max_count: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 119 | pub chance: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | pub looting_bonus: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_item` and `new_projectile` are never used [INFO] [stdout] --> server/src/entity.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl Entity { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn new_item(id: EntityId, position: EntityPos, item: ItemStack, velocity: Velocity) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn new_projectile( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WALK_SPEED` is never used [INFO] [stdout] --> server/src/physics.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const WALK_SPEED: f64 = 0.2163; // 4.317 blocks/sec / 20 tps [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPRINT_SPEED` is never used [INFO] [stdout] --> server/src/physics.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const SPRINT_SPEED: f64 = 0.2806; // 5.612 blocks/sec / 20 tps [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNEAK_SPEED` is never used [INFO] [stdout] --> server/src/physics.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const SNEAK_SPEED: f64 = 0.0648; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JUMP_VELOCITY` is never used [INFO] [stdout] --> server/src/physics.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const JUMP_VELOCITY: f64 = 0.42; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_WIDTH` is never used [INFO] [stdout] --> server/src/physics.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const PLAYER_WIDTH: f64 = 0.6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_HEIGHT` is never used [INFO] [stdout] --> server/src/physics.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const PLAYER_HEIGHT: f64 = 1.8; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_EYE_HEIGHT` is never used [INFO] [stdout] --> server/src/physics.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PLAYER_EYE_HEIGHT: f64 = 1.62; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fall_damage` is never used [INFO] [stdout] --> server/src/physics.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn fall_damage(fall_distance: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wind_push` is never used [INFO] [stdout] --> server/src/physics.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn wind_push(wind: &WindState, is_sneaking: bool, has_wind_charm: bool, armor_weight: f32) -> Velocity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CollisionResult` is never constructed [INFO] [stdout] --> server/src/physics.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct CollisionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_and_collide` is never used [INFO] [stdout] --> server/src/physics.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn move_and_collide( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> server/src/physics.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn check_collision( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ring_at` is never used [INFO] [stdout] --> server/src/physics.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn ring_at(x: f64, z: f64) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking egui-winit v0.31.1 [INFO] [stderr] Checking egui-wgpu v0.31.1 [INFO] [stderr] Checking skycraft-client v0.0.1 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> client/src/atlas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [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: `skycraft_protocol::codec` [INFO] [stdout] --> client/src/net_bridge.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use skycraft_protocol::codec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> client/src/atlas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [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: `skycraft_protocol::codec` [INFO] [stdout] --> client/src/net_bridge.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use skycraft_protocol::codec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> client/src/atlas.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{GenericImageView, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> client/src/atlas.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{GenericImageView, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_connected` is never used [INFO] [stdout] --> client/src/network.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NetworkClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> client/src/world.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ClientEntity { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 31 | pub id: EntityId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game_mode` and `on_ground` are never read [INFO] [stdout] --> client/src/world.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LocalPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub game_mode: GameMode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mouse_captured` is never read [INFO] [stdout] --> client/src/input.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InputState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub mouse_captured: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_sneak`, `hotbar_key_pressed`, `is_chat_pressed`, `is_escape_pressed`, `is_debug_pressed`, and `is_drop_pressed` are never used [INFO] [stdout] --> client/src/input.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl InputState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_sneak(&self) -> bool { self.is_key_down(KeyCode::ShiftLeft) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn hotbar_key_pressed(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn is_chat_pressed(&self) -> bool { self.is_key_pressed(KeyCode::KeyT) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub fn is_escape_pressed(&self) -> bool { self.is_key_pressed(KeyCode::Escape) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | pub fn is_debug_pressed(&self) -> bool { self.is_key_pressed(KeyCode::F3) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | pub fn is_drop_pressed(&self) -> bool { self.is_key_pressed(KeyCode::KeyQ) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HudState` is never constructed [INFO] [stdout] --> client/src/ui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HudState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatEntry` is never constructed [INFO] [stdout] --> client/src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ChatEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_chat`, and `visible_chat` are never used [INFO] [stdout] --> client/src/ui.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl HudState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push_chat(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn visible_chat(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioManager` is never constructed [INFO] [stdout] --> client/src/audio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `play_sound`, `play_music`, `stop_music`, and `update_listener` are never used [INFO] [stdout] --> client/src/audio.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn play_sound(&self, _sound_id: u16, _x: f64, _y: f64, _z: f64, _volume: f32, _pitch: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn play_music(&self, _track_name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn stop_music(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn update_listener(&self, _x: f64, _y: f64, _z: f64, _yaw: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GoToLogin` is never constructed [INFO] [stdout] --> client/src/state.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 68 | enum UiAction { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 75 | GoToLogin, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> client/src/auth_client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct RequestCodeResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestCodeResponse` 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 `status` is never read [INFO] [stdout] --> client/src/auth_client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct VerifyCodeResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 28 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyCodeResponse` 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] --> client/src/atlas.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct BlockTextureEntry { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockTextureEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockTextures` is never constructed [INFO] [stdout] --> client/src/atlas.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct BlockTextures { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetCommand` is never used [INFO] [stdout] --> client/src/net_bridge.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum NetCommand { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uv` is never used [INFO] [stdout] --> client/src/cow.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn uv(px: f32, py: f32) -> [f32; 2] { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `EventResponse` that must be used [INFO] [stdout] --> client/src/state.rs:722:21 [INFO] [stdout] | [INFO] [stdout] 722 | egui_state.on_window_event(self.window.as_ref().unwrap(), &event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 722 | let _ = egui_state.on_window_event(self.window.as_ref().unwrap(), &event); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_connected` is never used [INFO] [stdout] --> client/src/network.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NetworkClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> client/src/world.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ClientEntity { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 31 | pub id: EntityId, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `game_mode` and `on_ground` are never read [INFO] [stdout] --> client/src/world.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LocalPlayer { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub game_mode: GameMode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub on_ground: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mouse_captured` is never read [INFO] [stdout] --> client/src/input.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct InputState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub mouse_captured: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_sneak`, `hotbar_key_pressed`, `is_chat_pressed`, `is_escape_pressed`, `is_debug_pressed`, and `is_drop_pressed` are never used [INFO] [stdout] --> client/src/input.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl InputState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn is_sneak(&self) -> bool { self.is_key_down(KeyCode::ShiftLeft) } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn hotbar_key_pressed(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn is_chat_pressed(&self) -> bool { self.is_key_pressed(KeyCode::KeyT) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | pub fn is_escape_pressed(&self) -> bool { self.is_key_pressed(KeyCode::Escape) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | pub fn is_debug_pressed(&self) -> bool { self.is_key_pressed(KeyCode::F3) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | pub fn is_drop_pressed(&self) -> bool { self.is_key_pressed(KeyCode::KeyQ) } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HudState` is never constructed [INFO] [stdout] --> client/src/ui.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HudState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatEntry` is never constructed [INFO] [stdout] --> client/src/ui.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ChatEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_chat`, and `visible_chat` are never used [INFO] [stdout] --> client/src/ui.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl HudState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push_chat(&mut self, message: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn visible_chat(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AudioManager` is never constructed [INFO] [stdout] --> client/src/audio.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AudioManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `play_sound`, `play_music`, `stop_music`, and `update_listener` are never used [INFO] [stdout] --> client/src/audio.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn play_sound(&self, _sound_id: u16, _x: f64, _y: f64, _z: f64, _volume: f32, _pitch: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn play_music(&self, _track_name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn stop_music(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn update_listener(&self, _x: f64, _y: f64, _z: f64, _yaw: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GoToLogin` is never constructed [INFO] [stdout] --> client/src/state.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 68 | enum UiAction { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 75 | GoToLogin, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> client/src/auth_client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct RequestCodeResponse { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 22 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestCodeResponse` 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 `status` is never read [INFO] [stdout] --> client/src/auth_client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct VerifyCodeResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 28 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerifyCodeResponse` 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] --> client/src/atlas.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct BlockTextureEntry { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 45 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockTextureEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockTextures` is never constructed [INFO] [stdout] --> client/src/atlas.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct BlockTextures { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NetCommand` is never used [INFO] [stdout] --> client/src/net_bridge.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | enum NetCommand { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uv` is never used [INFO] [stdout] --> client/src/cow.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn uv(px: f32, py: f32) -> [f32; 2] { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `EventResponse` that must be used [INFO] [stdout] --> client/src/state.rs:722:21 [INFO] [stdout] | [INFO] [stdout] 722 | egui_state.on_window_event(self.window.as_ref().unwrap(), &event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 722 | let _ = egui_state.on_window_event(self.window.as_ref().unwrap(), &event); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `rodio` [INFO] [stderr] --> client/Cargo.toml:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | rodio = "0.20" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rodio` [INFO] [stderr] warning: `skycraft-client` (manifest) generated 1 warning [INFO] [stderr] warning: unused dependency `noise` [INFO] [stderr] --> server/Cargo.toml:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | noise = "0.9" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `noise` [INFO] [stderr] warning: `skycraft-server` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: naga v24.0.0, quinn v0.11.9, quinn-udp v0.5.14, wgpu v24.0.5, wgpu-core v24.0.5, wgpu-hal v24.0.4, winit v0.30.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 9` [INFO] running `Command { std: "docker" "inspect" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582", kill_on_drop: false }` [INFO] [stdout] f0a3d8deb17756c5d1d09853df5b722139e1a359e314577cf7af0e04dc258582