[INFO] cloning repository https://github.com/antis0007/3d-falling-sand-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antis0007/3d-falling-sand-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantis0007%2F3d-falling-sand-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantis0007%2F3d-falling-sand-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 609ce60f8b04a008b22248b52886ec9aef36662a [INFO] checking antis0007/3d-falling-sand-prototype against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantis0007%2F3d-falling-sand-prototype" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/antis0007/3d-falling-sand-prototype [INFO] finished tweaking git repo https://github.com/antis0007/3d-falling-sand-prototype [INFO] tweaked toml for git repo https://github.com/antis0007/3d-falling-sand-prototype written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/antis0007/3d-falling-sand-prototype on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/antis0007/3d-falling-sand-prototype 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 324c412e25495a4b3696e8139bfd4ed58117e61a4fb02204a1e89047348cae32 [INFO] running `Command { std: "docker" "start" "-a" "324c412e25495a4b3696e8139bfd4ed58117e61a4fb02204a1e89047348cae32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "324c412e25495a4b3696e8139bfd4ed58117e61a4fb02204a1e89047348cae32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324c412e25495a4b3696e8139bfd4ed58117e61a4fb02204a1e89047348cae32", kill_on_drop: false }` [INFO] [stdout] 324c412e25495a4b3696e8139bfd4ed58117e61a4fb02204a1e89047348cae32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 410b3099ed1461b843e7bd66bd5bfc58dc9f8b638e00bcc22c903987ae099742 [INFO] running `Command { std: "docker" "start" "-a" "410b3099ed1461b843e7bd66bd5bfc58dc9f8b638e00bcc22c903987ae099742", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking ecolor v0.27.2 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking emath v0.27.2 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking epaint v0.27.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking egui v0.27.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking wayland-protocols-misc v0.3.10 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling falling_sand_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking jiff v0.2.21 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking egui-winit v0.27.2 [INFO] [stderr] Checking egui-wgpu v0.27.2 [INFO] [stdout] warning: unused imports: `ACID`, `DEAD_LEAF`, `DIRT`, `EMBER_ASH`, `EMBER_HOT`, `EMBER_WARM`, `FIRE_GAS`, `LAVA`, `LEAVES`, `PLANT`, `SMOKE`, `STEAM`, `STONE`, `TORCH`, `TREE_SEED`, `TURF`, `WATER`, `WEED`, and `WOOD` [INFO] [stdout] --> src/sim.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ACID, BUSH, DEAD_LEAF, DIRT, EMBER_ASH, EMBER_HOT, EMBER_WARM, FIRE_GAS, GRASS, LAVA, LEAVES, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 3 | PLANT, SMOKE, STEAM, STONE, TORCH, TREE_SEED, TURF, WATER, WEED, WOOD, [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 imports: `CHUNK_SIZE` and `EMPTY` [INFO] [stdout] --> src/sim.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::world::{MaterialId, CHUNK_SIZE, EMPTY}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ACID`, `DEAD_LEAF`, `DIRT`, `EMBER_ASH`, `EMBER_HOT`, `EMBER_WARM`, `FIRE_GAS`, `LAVA`, `LEAVES`, `PLANT`, `SMOKE`, `STEAM`, `STONE`, `TORCH`, `TREE_SEED`, `TURF`, `WATER`, `WEED`, and `WOOD` [INFO] [stdout] --> src/sim.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ACID, BUSH, DEAD_LEAF, DIRT, EMBER_ASH, EMBER_HOT, EMBER_WARM, FIRE_GAS, GRASS, LAVA, LEAVES, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 3 | PLANT, SMOKE, STEAM, STONE, TORCH, TREE_SEED, TURF, WATER, WEED, WOOD, [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 imports: `CHUNK_SIZE` and `EMPTY` [INFO] [stdout] --> src/sim.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::world::{MaterialId, CHUNK_SIZE, EMPTY}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_compute.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let mut dispatch = |pipeline: &wgpu::ComputePipeline, jacobi_iteration: u32| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_compute.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let mut dispatch = |pipeline: &wgpu::ComputePipeline, jacobi_iteration: u32| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_world.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut voxel_budget = if metadata.max_voxels_to_process == 0 { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_world.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut voxel_budget = if metadata.max_voxels_to_process == 0 { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1351:13 [INFO] [stdout] | [INFO] [stdout] 1351 | let region = HashSet::from([source_chunk]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1431:13 [INFO] [stdout] | [INFO] [stdout] 1431 | let region = HashSet::from([c]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1473:13 [INFO] [stdout] | [INFO] [stdout] 1473 | let region = HashSet::from([c]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1533:13 [INFO] [stdout] | [INFO] [stdout] 1533 | let region = HashSet::from([source_chunk]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1584:13 [INFO] [stdout] | [INFO] [stdout] 1584 | let region = HashSet::from([c]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditCommand` is more private than the item `GpuChunkTask::edit_commands` [INFO] [stdout] --> src/gpu_compute.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | pub edit_commands: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `GpuChunkTask::edit_commands` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `EditCommand` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gpu_compute.rs:1673:1 [INFO] [stdout] | [INFO] [stdout] 1673 | struct EditCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `axis` and `edge` are never read [INFO] [stdout] --> src/chunk_store.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct NeighborFace { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 132 | coord: ChunkCoord, [INFO] [stdout] 133 | axis: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | edge: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeighborFace` has a derived impl for the trait `Clone`, but this is 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 `rebuild_face_cache` is never used [INFO] [stdout] --> src/chunk_store.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | fn rebuild_face_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_vertex_buffer` and `chunk_index_buffer` are never read [INFO] [stdout] --> src/gpu_compute.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct WorkerGpuState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 334 | chunk_vertex_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 335 | chunk_index_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty_page_indices` is never read [INFO] [stdout] --> src/gpu_compute.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct GpuScratchPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | dirty_page_indices: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_TIMEOUTS` is never used [INFO] [stdout] --> src/gpu_compute.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | static GPU_DISPATCH_TIMEOUTS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_ERRORS` is never used [INFO] [stdout] --> src/gpu_compute.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | static GPU_DISPATCH_ERRORS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `size` are never read [INFO] [stdout] --> src/renderer.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MeshBufferRange { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 104 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshBufferRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index`, `vertex`, and `index` are never read [INFO] [stdout] --> src/renderer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct MeshAllocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 112 | page_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 113 | vertex: MeshBufferRange, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | index: MeshBufferRange, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshAllocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageRange` is never constructed [INFO] [stdout] --> src/renderer.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct MeshPageRange { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPage` is never constructed [INFO] [stdout] --> src/renderer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct MeshPage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageAllocator` is never constructed [INFO] [stdout] --> src/renderer.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct MeshPageAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `page`, `allocate`, and `free` are never used [INFO] [stdout] --> src/renderer.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl MeshPageAllocator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 146 | fn new(label: &'static str, page_size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn page(&self, page_index: usize) -> Option<&MeshPage> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn free(&mut self, allocation: MeshAllocation) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshAllocatorTelemetry` is never constructed [INFO] [stdout] --> src/renderer.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | struct MeshAllocatorTelemetry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/renderer.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ChunkMesh { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 332 | allocation: MeshAllocation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 333 | index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 334 | debug_aabb_vb: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 335 | debug_aabb_ib: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 336 | debug_aabb_index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 337 | world_aabb_min: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 338 | world_aabb_max: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 339 | chunk_origin_world: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMeshCache` is never constructed [INFO] [stdout] --> src/renderer.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | struct ChunkMeshCache { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `slot_mut`, `best_available`, `drain`, and `is_empty` are never used [INFO] [stdout] --> src/renderer.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl ChunkMeshCache { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 353 | fn get(&self, lod: ChunkLod) -> Option<&ChunkMesh> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn slot_mut(&mut self, lod: ChunkLod) -> &mut Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn best_available( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn drain(self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOriginInstance` is never constructed [INFO] [stdout] --> src/renderer.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | struct ChunkOriginInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VISIBLE_CHUNK_LOG_COUNT` is never used [INFO] [stdout] --> src/renderer.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | const DEBUG_VISIBLE_CHUNK_LOG_COUNT: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_RENDER_CHUNK_AABBS` is never used [INFO] [stdout] --> src/renderer.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | const DEBUG_RENDER_CHUNK_AABBS: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VALIDATE_CULL_SPACE` is never used [INFO] [stdout] --> src/renderer.rs:433:7 [INFO] [stdout] | [INFO] [stdout] 433 | const DEBUG_VALIDATE_CULL_SPACE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_gpu_page_indirect_buffer`, `global_gpu_mesh_meta_buffer`, `global_gpu_face_mask_buffer`, `global_gpu_face_offset_buffer`, and `global_gpu_face_count_buffer` are never read [INFO] [stdout] --> src/renderer.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 498 | global_gpu_page_indirect_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | global_gpu_mesh_meta_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 500 | global_gpu_face_mask_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 501 | global_gpu_face_offset_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 502 | global_gpu_face_count_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index` and `origin` are never read [INFO] [stdout] --> src/renderer.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 885 | struct GpuChunkDraw { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 886 | page_index: GpuPageIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 889 | origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuChunkDraw` 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: function `build_debug_aabb_mesh` is never used [INFO] [stdout] --> src/renderer.rs:3322:4 [INFO] [stdout] | [INFO] [stdout] 3322 | fn build_debug_aabb_mesh() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_debug_aabb` is never used [INFO] [stdout] --> src/renderer.rs:3350:4 [INFO] [stdout] | [INFO] [stdout] 3350 | fn draw_debug_aabb<'a>(pass: &mut wgpu::RenderPass<'a>, mesh: &'a ChunkMesh, _color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_horizontal_distance_to_camera` is never used [INFO] [stdout] --> src/renderer.rs:3370:4 [INFO] [stdout] | [INFO] [stdout] 3370 | fn chunk_horizontal_distance_to_camera(coord: ChunkCoord, world_camera_pos: Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_visible_in_world_space` is never used [INFO] [stdout] --> src/renderer.rs:3488:4 [INFO] [stdout] | [INFO] [stdout] 3488 | fn chunk_visible_in_world_space( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_BASE_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:422:7 [INFO] [stdout] | [INFO] [stdout] 422 | const WATER_BASE_EVAPORATION_CHANCE: f32 = 0.006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOT_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | const WATER_HOT_EVAPORATION_CHANCE: f32 = 0.035; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOTSPOT_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 424 | const WATER_HOTSPOT_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_ISOLATION_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | const WATER_ISOLATION_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gpu_compute.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | / GPU_TASK_TX [INFO] [stdout] 1425 | | .get() [INFO] [stdout] 1426 | | .expect("gpu task queue") [INFO] [stdout] 1427 | | .send(GpuChunkTask { [INFO] [stdout] ... | [INFO] [stdout] 1437 | | mesh_slice, [INFO] [stdout] 1438 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 1424 | let _ = GPU_TASK_TX [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditCommand` is more private than the item `GpuChunkTask::edit_commands` [INFO] [stdout] --> src/gpu_compute.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | pub edit_commands: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `GpuChunkTask::edit_commands` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `EditCommand` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gpu_compute.rs:1673:1 [INFO] [stdout] | [INFO] [stdout] 1673 | struct EditCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `axis` and `edge` are never read [INFO] [stdout] --> src/chunk_store.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct NeighborFace { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 132 | coord: ChunkCoord, [INFO] [stdout] 133 | axis: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | edge: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeighborFace` has a derived impl for the trait `Clone`, but this is 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 `rebuild_face_cache` is never used [INFO] [stdout] --> src/chunk_store.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | fn rebuild_face_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_vertex_buffer` and `chunk_index_buffer` are never read [INFO] [stdout] --> src/gpu_compute.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct WorkerGpuState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 334 | chunk_vertex_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 335 | chunk_index_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty_page_indices` is never read [INFO] [stdout] --> src/gpu_compute.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct GpuScratchPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | dirty_page_indices: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_TIMEOUTS` is never used [INFO] [stdout] --> src/gpu_compute.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | static GPU_DISPATCH_TIMEOUTS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_ERRORS` is never used [INFO] [stdout] --> src/gpu_compute.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | static GPU_DISPATCH_ERRORS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `size` are never read [INFO] [stdout] --> src/renderer.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MeshBufferRange { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 104 | offset: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshBufferRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index`, `vertex`, and `index` are never read [INFO] [stdout] --> src/renderer.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | struct MeshAllocation { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 112 | page_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 113 | vertex: MeshBufferRange, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | index: MeshBufferRange, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshAllocation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageRange` is never constructed [INFO] [stdout] --> src/renderer.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct MeshPageRange { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPage` is never constructed [INFO] [stdout] --> src/renderer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct MeshPage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageAllocator` is never constructed [INFO] [stdout] --> src/renderer.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct MeshPageAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `page`, `allocate`, and `free` are never used [INFO] [stdout] --> src/renderer.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl MeshPageAllocator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 146 | fn new(label: &'static str, page_size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn page(&self, page_index: usize) -> Option<&MeshPage> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn free(&mut self, allocation: MeshAllocation) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshAllocatorTelemetry` is never constructed [INFO] [stdout] --> src/renderer.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | struct MeshAllocatorTelemetry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/renderer.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ChunkMesh { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 332 | allocation: MeshAllocation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 333 | index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 334 | debug_aabb_vb: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 335 | debug_aabb_ib: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 336 | debug_aabb_index_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 337 | world_aabb_min: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 338 | world_aabb_max: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 339 | chunk_origin_world: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMeshCache` is never constructed [INFO] [stdout] --> src/renderer.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | struct ChunkMeshCache { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `slot_mut`, `best_available`, `drain`, and `is_empty` are never used [INFO] [stdout] --> src/renderer.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl ChunkMeshCache { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 353 | fn get(&self, lod: ChunkLod) -> Option<&ChunkMesh> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn slot_mut(&mut self, lod: ChunkLod) -> &mut Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn best_available( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn drain(self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOriginInstance` is never constructed [INFO] [stdout] --> src/renderer.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | struct ChunkOriginInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VISIBLE_CHUNK_LOG_COUNT` is never used [INFO] [stdout] --> src/renderer.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | const DEBUG_VISIBLE_CHUNK_LOG_COUNT: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_RENDER_CHUNK_AABBS` is never used [INFO] [stdout] --> src/renderer.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | const DEBUG_RENDER_CHUNK_AABBS: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VALIDATE_CULL_SPACE` is never used [INFO] [stdout] --> src/renderer.rs:433:7 [INFO] [stdout] | [INFO] [stdout] 433 | const DEBUG_VALIDATE_CULL_SPACE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_gpu_page_indirect_buffer`, `global_gpu_mesh_meta_buffer`, `global_gpu_face_mask_buffer`, `global_gpu_face_offset_buffer`, and `global_gpu_face_count_buffer` are never read [INFO] [stdout] --> src/renderer.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 498 | global_gpu_page_indirect_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | global_gpu_mesh_meta_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 500 | global_gpu_face_mask_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 501 | global_gpu_face_offset_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 502 | global_gpu_face_count_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index` and `origin` are never read [INFO] [stdout] --> src/renderer.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 885 | struct GpuChunkDraw { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 886 | page_index: GpuPageIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 889 | origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuChunkDraw` 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: function `build_debug_aabb_mesh` is never used [INFO] [stdout] --> src/renderer.rs:3322:4 [INFO] [stdout] | [INFO] [stdout] 3322 | fn build_debug_aabb_mesh() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_debug_aabb` is never used [INFO] [stdout] --> src/renderer.rs:3350:4 [INFO] [stdout] | [INFO] [stdout] 3350 | fn draw_debug_aabb<'a>(pass: &mut wgpu::RenderPass<'a>, mesh: &'a ChunkMesh, _color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_horizontal_distance_to_camera` is never used [INFO] [stdout] --> src/renderer.rs:3370:4 [INFO] [stdout] | [INFO] [stdout] 3370 | fn chunk_horizontal_distance_to_camera(coord: ChunkCoord, world_camera_pos: Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_BASE_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:422:7 [INFO] [stdout] | [INFO] [stdout] 422 | const WATER_BASE_EVAPORATION_CHANCE: f32 = 0.006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOT_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | const WATER_HOT_EVAPORATION_CHANCE: f32 = 0.035; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOTSPOT_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 424 | const WATER_HOTSPOT_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_ISOLATION_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | const WATER_ISOLATION_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gpu_compute.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | / GPU_TASK_TX [INFO] [stdout] 1425 | | .get() [INFO] [stdout] 1426 | | .expect("gpu task queue") [INFO] [stdout] 1427 | | .send(GpuChunkTask { [INFO] [stdout] ... | [INFO] [stdout] 1437 | | mesh_slice, [INFO] [stdout] 1438 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 1424 | let _ = GPU_TASK_TX [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ACID`, `DEAD_LEAF`, `DIRT`, `EMBER_ASH`, `EMBER_HOT`, `EMBER_WARM`, `FIRE_GAS`, `LAVA`, `LEAVES`, `PLANT`, `SMOKE`, `STEAM`, `STONE`, `TORCH`, `TREE_SEED`, `TURF`, `WATER`, `WEED`, and `WOOD` [INFO] [stdout] --> src/sim.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ACID, BUSH, DEAD_LEAF, DIRT, EMBER_ASH, EMBER_HOT, EMBER_WARM, FIRE_GAS, GRASS, LAVA, LEAVES, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 3 | PLANT, SMOKE, STEAM, STONE, TORCH, TREE_SEED, TURF, WATER, WEED, WOOD, [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 imports: `CHUNK_SIZE` and `EMPTY` [INFO] [stdout] --> src/sim.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::world::{MaterialId, CHUNK_SIZE, EMPTY}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ACID`, `DEAD_LEAF`, `DIRT`, `EMBER_ASH`, `EMBER_HOT`, `EMBER_WARM`, `FIRE_GAS`, `LAVA`, `LEAVES`, `PLANT`, `SMOKE`, `STEAM`, `STONE`, `TORCH`, `TREE_SEED`, `TURF`, `WATER`, `WEED`, and `WOOD` [INFO] [stdout] --> src/sim.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ACID, BUSH, DEAD_LEAF, DIRT, EMBER_ASH, EMBER_HOT, EMBER_WARM, FIRE_GAS, GRASS, LAVA, LEAVES, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^ [INFO] [stdout] 3 | PLANT, SMOKE, STEAM, STONE, TORCH, TREE_SEED, TURF, WATER, WEED, WOOD, [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 imports: `CHUNK_SIZE` and `EMPTY` [INFO] [stdout] --> src/sim.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::world::{MaterialId, CHUNK_SIZE, EMPTY}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_used_unloaded_chunks` is never read [INFO] [stdout] --> src/app.rs:1160:25 [INFO] [stdout] | [INFO] [stdout] 1160 | collision_used_unloaded_chunks = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_unknown_samples` is never read [INFO] [stdout] --> src/app.rs:1161:25 [INFO] [stdout] | [INFO] [stdout] 1161 | collision_unknown_samples = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_unknown_blocks_as_solid` is never read [INFO] [stdout] --> src/app.rs:1162:25 [INFO] [stdout] | [INFO] [stdout] 1162 | collision_unknown_blocks_as_solid = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_soft_timeout_active` is never read [INFO] [stdout] --> src/app.rs:1163:25 [INFO] [stdout] | [INFO] [stdout] 1163 | collision_soft_timeout_active = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_axis_reverts` is never read [INFO] [stdout] --> src/app.rs:1200:25 [INFO] [stdout] | [INFO] [stdout] 1200 | collision_axis_reverts = collision_step.axis_reverts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collision_axis_reverts` is never read [INFO] [stdout] --> src/app.rs:1200:25 [INFO] [stdout] | [INFO] [stdout] 1200 | collision_axis_reverts = collision_step.axis_reverts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `last_desired_cap_stats` is never read [INFO] [stdout] --> src/app.rs:1380:25 [INFO] [stdout] | [INFO] [stdout] 1380 | last_desired_cap_stats = desired_cap_stats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `stream_debug` is never read [INFO] [stdout] --> src/app.rs:1827:25 [INFO] [stdout] | [INFO] [stdout] 1827 | stream_debug = format!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `preview_block_list` is never read [INFO] [stdout] --> src/app.rs:1880:25 [INFO] [stdout] | [INFO] [stdout] 1880 | preview_block_list = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_axis_reverts` [INFO] [stdout] --> src/app.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | let mut collision_axis_reverts = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_axis_reverts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_compute.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let mut dispatch = |pipeline: &wgpu::ComputePipeline, jacobi_iteration: u32| { [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: value captured by `collision_used_unloaded_chunks` is never read [INFO] [stdout] --> src/app.rs:1160:25 [INFO] [stdout] | [INFO] [stdout] 1160 | collision_used_unloaded_chunks = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_unknown_samples` is never read [INFO] [stdout] --> src/app.rs:1161:25 [INFO] [stdout] | [INFO] [stdout] 1161 | collision_unknown_samples = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_unknown_blocks_as_solid` is never read [INFO] [stdout] --> src/app.rs:1162:25 [INFO] [stdout] | [INFO] [stdout] 1162 | collision_unknown_blocks_as_solid = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_soft_timeout_active` is never read [INFO] [stdout] --> src/app.rs:1163:25 [INFO] [stdout] | [INFO] [stdout] 1163 | collision_soft_timeout_active = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `collision_axis_reverts` is never read [INFO] [stdout] --> src/app.rs:1200:25 [INFO] [stdout] | [INFO] [stdout] 1200 | collision_axis_reverts = collision_step.axis_reverts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collision_axis_reverts` is never read [INFO] [stdout] --> src/app.rs:1200:25 [INFO] [stdout] | [INFO] [stdout] 1200 | collision_axis_reverts = collision_step.axis_reverts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `last_desired_cap_stats` is never read [INFO] [stdout] --> src/app.rs:1380:25 [INFO] [stdout] | [INFO] [stdout] 1380 | last_desired_cap_stats = desired_cap_stats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `stream_debug` is never read [INFO] [stdout] --> src/app.rs:1827:25 [INFO] [stdout] | [INFO] [stdout] 1827 | stream_debug = format!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `preview_block_list` is never read [INFO] [stdout] --> src/app.rs:1880:25 [INFO] [stdout] | [INFO] [stdout] 1880 | preview_block_list = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collision_axis_reverts` [INFO] [stdout] --> src/app.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | let mut collision_axis_reverts = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collision_axis_reverts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/procgen.rs:743:13 [INFO] [stdout] | [INFO] [stdout] 743 | let mut world = ProcGenVolume::new(config.dims); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu_compute.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let mut dispatch = |pipeline: &wgpu::ComputePipeline, jacobi_iteration: u32| { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/procgen.rs:743:13 [INFO] [stdout] | [INFO] [stdout] 743 | let mut world = ProcGenVolume::new(config.dims); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_world.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut voxel_budget = if metadata.max_voxels_to_process == 0 { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditCommand` is more private than the item `GpuChunkTask::edit_commands` [INFO] [stdout] --> src/gpu_compute.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | pub edit_commands: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `GpuChunkTask::edit_commands` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `EditCommand` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gpu_compute.rs:1673:1 [INFO] [stdout] | [INFO] [stdout] 1673 | struct EditCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProcGenVolume` is more private than the item `find_safe_spawn` [INFO] [stdout] --> src/procgen.rs:2980:1 [INFO] [stdout] | [INFO] [stdout] 2980 | pub fn find_safe_spawn(world: &ProcGenVolume, seed: u64) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `find_safe_spawn` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ProcGenVolume` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/procgen.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | struct ProcGenVolume { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HITCH_CAPTURE_FRAME_MS` is never used [INFO] [stdout] --> src/app.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const HITCH_CAPTURE_FRAME_MS: f32 = 120.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HITCH_CAPTURE_RING_SIZE` is never used [INFO] [stdout] --> src/app.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | const HITCH_CAPTURE_RING_SIZE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requested_at` is never read [INFO] [stdout] --> src/app.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 218 | struct GenResult { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 221 | requested_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ultra_dropped` is never read [INFO] [stdout] --> src/app.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct DesiredCapStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 390 | ultra_dropped: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DesiredCapStats` 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: multiple fields are never read [INFO] [stdout] --> src/chunk_store.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct ChunkMeshingInput<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 78 | pub voxels: &'a [MaterialId], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 79 | pub neg_x: [MaterialId; CHUNK_BORDER_AREA], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | pub pos_x: [MaterialId; CHUNK_BORDER_AREA], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | pub neg_y: [MaterialId; CHUNK_BORDER_AREA], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | pub pos_y: [MaterialId; CHUNK_BORDER_AREA], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 83 | pub neg_z: [MaterialId; CHUNK_BORDER_AREA], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 84 | pub pos_z: [MaterialId; CHUNK_BORDER_AREA], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | pub known_neighbor_mask: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkMeshingInput` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `axis` and `edge` are never read [INFO] [stdout] --> src/chunk_store.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct NeighborFace { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 132 | coord: ChunkCoord, [INFO] [stdout] 133 | axis: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | edge: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeighborFace` 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 `rebuild_face_cache` is never used [INFO] [stdout] --> src/chunk_store.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | fn rebuild_face_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MarkExisting` and `None` are never constructed [INFO] [stdout] --> src/chunk_store.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 363 | pub enum NeighborDirtyPolicy { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 364 | MarkExisting, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 365 | GeneratedConditional, [INFO] [stdout] 366 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeighborDirtyPolicy` 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: methods `build_meshing_input`, `chunk_face_non_empty_mask`, `insert_chunk`, `remove_chunk`, `mark_dirty`, and `dirty_chunks_snapshot` are never used [INFO] [stdout] --> src/chunk_store.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl ChunkStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn build_meshing_input(&self, coord: ChunkCoord) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | pub fn chunk_face_non_empty_mask(&self, coord: ChunkCoord) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn insert_chunk(&mut self, coord: ChunkCoord, chunk: Chunk) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | pub fn remove_chunk(&mut self, coord: ChunkCoord) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn mark_dirty(&mut self, coord: ChunkCoord) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | pub fn dirty_chunks_snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoxelEdit` is never constructed [INFO] [stdout] --> src/edits.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VoxelEdit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditJournal` is never constructed [INFO] [stdout] --> src/edits.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EditJournal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `entries` are never used [INFO] [stdout] --> src/edits.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl EditJournal { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn push(&mut self, edit: VoxelEdit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn entries(&self) -> &[VoxelEdit] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_vertex_buffer` and `chunk_index_buffer` are never read [INFO] [stdout] --> src/gpu_compute.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct WorkerGpuState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 334 | chunk_vertex_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 335 | chunk_index_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty_page_indices` is never read [INFO] [stdout] --> src/gpu_compute.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct GpuScratchPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | dirty_page_indices: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `changed_voxels`, `dropped_frontier_writes`, and `cross_border_attempts` are never read [INFO] [stdout] --> src/gpu_compute.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 561 | pub struct ChunkSimulationDiagnostics { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 562 | pub changed_voxels: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 563 | pub dropped_frontier_writes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 564 | pub cross_border_attempts: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSimulationDiagnostics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frontier_cap_events` and `mesh_slot_alloc_failed` are never read [INFO] [stdout] --> src/gpu_compute.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 578 | pub struct GpuComputeProfilerSnapshot { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 582 | pub frontier_cap_events: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 583 | pub mesh_slot_alloc_failed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuComputeProfilerSnapshot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_TIMEOUTS` is never used [INFO] [stdout] --> src/gpu_compute.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | static GPU_DISPATCH_TIMEOUTS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_ERRORS` is never used [INFO] [stdout] --> src/gpu_compute.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | static GPU_DISPATCH_ERRORS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index`, `lod`, and `draw_indirect_index` are never read [INFO] [stdout] --> src/gpu_compute.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 703 | pub struct MeshArtifactGPU { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 704 | pub page_index: GpuPageIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 705 | pub lod: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 706 | pub draw_indirect_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshArtifactGPU` 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 `simulation_diagnostics` is never read [INFO] [stdout] --> src/gpu_compute.rs:1779:9 [INFO] [stdout] | [INFO] [stdout] 1778 | pub struct ComputedChunkArtifacts { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 1779 | pub simulation_diagnostics: ChunkSimulationDiagnostics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_any_surface` is never used [INFO] [stdout] --> src/gpu_compute.rs:1784:12 [INFO] [stdout] | [INFO] [stdout] 1783 | impl ComputedChunkArtifacts { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 1784 | pub fn has_any_surface(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STONE` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const STONE: MaterialId = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WOOD` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const WOOD: MaterialId = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const WATER: MaterialId = 5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAVA` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const LAVA: MaterialId = 6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ACID: MaterialId = 7; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SMOKE` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SMOKE: MaterialId = 8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STEAM` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const STEAM: MaterialId = 9; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIRE_GAS` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const FIRE_GAS: MaterialId = 11; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TORCH` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const TORCH: MaterialId = 12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMBER_HOT` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const EMBER_HOT: MaterialId = 13; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMBER_WARM` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const EMBER_WARM: MaterialId = 14; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMBER_ASH` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const EMBER_ASH: MaterialId = 15; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRT` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DIRT: MaterialId = 16; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TURF` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TURF: MaterialId = 17; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLANT` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PLANT: MaterialId = 20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEED` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const WEED: MaterialId = 21; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TREE_SEED` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const TREE_SEED: MaterialId = 22; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEAVES` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const LEAVES: MaterialId = 23; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_LEAF` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const DEAD_LEAF: MaterialId = 24; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATED_MATERIAL_IDS` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const GENERATED_MATERIAL_IDS: &[(&str, MaterialId)] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_HEIGHT_BLOCKS` is never used [INFO] [stdout] --> src/player.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const PLAYER_HEIGHT_BLOCKS: f32 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_WIDTH_BLOCKS` is never used [INFO] [stdout] --> src/player.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const PLAYER_WIDTH_BLOCKS: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUND_CONTACT_EPSILON_BLOCKS` is never used [INFO] [stdout] --> src/player.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const GROUND_CONTACT_EPSILON_BLOCKS: f32 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump_eligibility_y_blocks` is never used [INFO] [stdout] --> src/player.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn jump_eligibility_y_blocks() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eye_height_world_meters` is never used [INFO] [stdout] --> src/player.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn eye_height_world_meters(voxel_size: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_HYDROLOGY_MIN_HALO_RADIUS` is never used [INFO] [stdout] --> src/procgen.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const CHUNK_HYDROLOGY_MIN_HALO_RADIUS: i32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_HYDROLOGY_MAX_HALO_RADIUS` is never used [INFO] [stdout] --> src/procgen.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const CHUNK_HYDROLOGY_MAX_HALO_RADIUS: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_HYDROLOGY_HALO_DIVISOR` is never used [INFO] [stdout] --> src/procgen.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const CHUNK_HYDROLOGY_HALO_DIVISOR: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `splitmix64` is never used [INFO] [stdout] --> src/procgen.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn splitmix64(mut x: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash3` is never used [INFO] [stdout] --> src/procgen.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn hash3(seed: u64, x: i32, y: i32, z: i32) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HydroFeature` is never used [INFO] [stdout] --> src/procgen.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum HydroFeature { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/procgen.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl HydroFeature { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 356 | pub fn label(self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcGenControl` is never constructed [INFO] [stdout] --> src/procgen.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | struct ProcGenControl<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ocean` is never read [INFO] [stdout] --> src/procgen.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 411 | struct ColumnGenData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 420 | ocean: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnGenData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HydrologyColumnContext` is never constructed [INFO] [stdout] --> src/procgen.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | struct HydrologyColumnContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vegetation_anchor` is never read [INFO] [stdout] --> src/procgen.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 511 | struct ProcGenFieldCell { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 519 | vegetation_anchor: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcGenFieldCell` 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 `cell_local` is never used [INFO] [stdout] --> src/procgen.rs:558:8 [INFO] [stdout] | [INFO] [stdout] 533 | impl ProcGenFieldCache { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 558 | fn cell_local(&self, lx: i32, lz: i32) -> Option<&ProcGenFieldCell> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_world` is never used [INFO] [stdout] --> src/procgen.rs:733:4 [INFO] [stdout] | [INFO] [stdout] 733 | fn generate_world(config: ProcGenConfig) -> ProcGenVolume { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_world_with_control` is never used [INFO] [stdout] --> src/procgen.rs:748:4 [INFO] [stdout] | [INFO] [stdout] 748 | fn generate_world_with_control( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hydro_feature_at_world` is never used [INFO] [stdout] --> src/procgen.rs:822:8 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn hydro_feature_at_world(config: &ProcGenConfig, x: i32, z: i32) -> HydroFeature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_heightmap` is never used [INFO] [stdout] --> src/procgen.rs:842:4 [INFO] [stdout] | [INFO] [stdout] 842 | fn build_heightmap(config: &ProcGenConfig) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_column_cache` is never used [INFO] [stdout] --> src/procgen.rs:847:4 [INFO] [stdout] | [INFO] [stdout] 847 | fn build_column_cache( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_hydrology_cache` is never used [INFO] [stdout] --> src/procgen.rs:972:4 [INFO] [stdout] | [INFO] [stdout] 972 | fn build_hydrology_cache( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pack_column_key` is never used [INFO] [stdout] --> src/procgen.rs:1257:4 [INFO] [stdout] | [INFO] [stdout] 1257 | fn pack_column_key(wx: i32, wz: i32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slope_at_world` is never used [INFO] [stdout] --> src/procgen.rs:1602:4 [INFO] [stdout] | [INFO] [stdout] 1602 | fn slope_at_world(config: &ProcGenConfig, wx: i32, wz: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_surface_heightmap_from_world` is never used [INFO] [stdout] --> src/procgen.rs:1676:4 [INFO] [stdout] | [INFO] [stdout] 1676 | fn build_surface_heightmap_from_world(world: &ProcGenVolume) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flood_fill_columns` is never used [INFO] [stdout] --> src/procgen.rs:1693:4 [INFO] [stdout] | [INFO] [stdout] 1693 | fn flood_fill_columns( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_neighbors_below_heightmap` is never used [INFO] [stdout] --> src/procgen.rs:1901:4 [INFO] [stdout] | [INFO] [stdout] 1901 | fn count_neighbors_below_heightmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_lowland_fraction` is never used [INFO] [stdout] --> src/procgen.rs:1924:4 [INFO] [stdout] | [INFO] [stdout] 1924 | fn local_lowland_fraction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `height_sample_with_fallback` is never used [INFO] [stdout] --> src/procgen.rs:1947:4 [INFO] [stdout] | [INFO] [stdout] 1947 | fn height_sample_with_fallback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vegetation_pass` is never used [INFO] [stdout] --> src/procgen.rs:2089:4 [INFO] [stdout] | [INFO] [stdout] 2089 | fn vegetation_pass( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_submerged_or_shoreline_overwater` is never used [INFO] [stdout] --> src/procgen.rs:2567:4 [INFO] [stdout] | [INFO] [stdout] 2567 | fn is_submerged_or_shoreline_overwater( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_consistent_neighbor_support` is never used [INFO] [stdout] --> src/procgen.rs:2586:4 [INFO] [stdout] | [INFO] [stdout] 2586 | fn has_consistent_neighbor_support( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_deterministic_tree_support` is never used [INFO] [stdout] --> src/procgen.rs:2612:4 [INFO] [stdout] | [INFO] [stdout] 2612 | fn has_deterministic_tree_support( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_tree_support_and_headroom` is never used [INFO] [stdout] --> src/procgen.rs:2631:4 [INFO] [stdout] | [INFO] [stdout] 2631 | fn has_tree_support_and_headroom( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_safe_spawn` is never used [INFO] [stdout] --> src/procgen.rs:2980:8 [INFO] [stdout] | [INFO] [stdout] 2980 | pub fn find_safe_spawn(world: &ProcGenVolume, seed: u64) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_surface_spawn_y` is never used [INFO] [stdout] --> src/procgen.rs:3010:4 [INFO] [stdout] | [INFO] [stdout] 3010 | fn valid_surface_spawn_y(world: &ProcGenVolume, x: i32, z: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `biome_anchor` is never used [INFO] [stdout] --> src/procgen.rs:3241:4 [INFO] [stdout] | [INFO] [stdout] 3241 | fn biome_anchor(seed: u64, chunk_x: i32, chunk_z: i32) -> BiomeType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dominant_biome` is never used [INFO] [stdout] --> src/procgen.rs:3258:4 [INFO] [stdout] | [INFO] [stdout] 3258 | fn dominant_biome(weights: [f32; BIOME_COUNT]) -> BiomeType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `near_water_tree_penalty` is never used [INFO] [stdout] --> src/procgen.rs:3277:4 [INFO] [stdout] | [INFO] [stdout] 3277 | fn near_water_tree_penalty( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `can_place_tree` is never used [INFO] [stdout] --> src/procgen.rs:3301:4 [INFO] [stdout] | [INFO] [stdout] 3301 | fn can_place_tree( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `near_water` is never used [INFO] [stdout] --> src/procgen.rs:3348:4 [INFO] [stdout] | [INFO] [stdout] 3348 | fn near_water(world: &ProcGenVolume, x: i32, y: i32, z: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshBufferRange` is never constructed [INFO] [stdout] --> src/renderer.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct MeshBufferRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshAllocation` is never constructed [INFO] [stdout] --> src/renderer.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | struct MeshAllocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageRange` is never constructed [INFO] [stdout] --> src/renderer.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct MeshPageRange { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPage` is never constructed [INFO] [stdout] --> src/renderer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct MeshPage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageAllocator` is never constructed [INFO] [stdout] --> src/renderer.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct MeshPageAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `page`, `allocate`, and `free` are never used [INFO] [stdout] --> src/renderer.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl MeshPageAllocator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 146 | fn new(label: &'static str, page_size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn page(&self, page_index: usize) -> Option<&MeshPage> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn free(&mut self, allocation: MeshAllocation) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshAllocatorTelemetry` is never constructed [INFO] [stdout] --> src/renderer.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | struct MeshAllocatorTelemetry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMesh` is never constructed [INFO] [stdout] --> src/renderer.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ChunkMesh { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMeshCache` is never constructed [INFO] [stdout] --> src/renderer.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | struct ChunkMeshCache { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `slot_mut`, `best_available`, `drain`, and `is_empty` are never used [INFO] [stdout] --> src/renderer.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl ChunkMeshCache { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 353 | fn get(&self, lod: ChunkLod) -> Option<&ChunkMesh> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn slot_mut(&mut self, lod: ChunkLod) -> &mut Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn best_available( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn drain(self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOriginInstance` is never constructed [INFO] [stdout] --> src/renderer.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | struct ChunkOriginInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VISIBLE_CHUNK_LOG_COUNT` is never used [INFO] [stdout] --> src/renderer.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | const DEBUG_VISIBLE_CHUNK_LOG_COUNT: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_RENDER_CHUNK_AABBS` is never used [INFO] [stdout] --> src/renderer.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | const DEBUG_RENDER_CHUNK_AABBS: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VALIDATE_CULL_SPACE` is never used [INFO] [stdout] --> src/renderer.rs:433:7 [INFO] [stdout] | [INFO] [stdout] 433 | const DEBUG_VALIDATE_CULL_SPACE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_gpu_page_indirect_buffer`, `global_gpu_mesh_meta_buffer`, `global_gpu_face_mask_buffer`, `global_gpu_face_offset_buffer`, and `global_gpu_face_count_buffer` are never read [INFO] [stdout] --> src/renderer.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 498 | global_gpu_page_indirect_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | global_gpu_mesh_meta_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 500 | global_gpu_face_mask_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 501 | global_gpu_face_offset_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 502 | global_gpu_face_count_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/renderer.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 655 | impl DirtyChunkQueues { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 737 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index` and `origin` are never read [INFO] [stdout] --> src/renderer.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 885 | struct GpuChunkDraw { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 886 | page_index: GpuPageIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 889 | origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuChunkDraw` 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: fields `verts` and `inds` are never read [INFO] [stdout] --> src/renderer.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 910 | Gpu { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 915 | verts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 916 | inds: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `geometry` is never used [INFO] [stdout] --> src/renderer.rs:941:19 [INFO] [stdout] | [INFO] [stdout] 940 | impl ChunkMeshArtifact { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 941 | pub(crate) fn geometry(&self) -> (&[Vertex], &[u32], DrawIndirectArgs, Vec3, Vec3, Vec3) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `settings` and `clear_mesh_cache` are never used [INFO] [stdout] --> src/renderer.rs:1543:12 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1543 | pub fn settings(&self) -> RendererSettings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2231 | pub fn clear_mesh_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_debug_aabb_mesh` is never used [INFO] [stdout] --> src/renderer.rs:3322:4 [INFO] [stdout] | [INFO] [stdout] 3322 | fn build_debug_aabb_mesh() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_debug_aabb` is never used [INFO] [stdout] --> src/renderer.rs:3350:4 [INFO] [stdout] | [INFO] [stdout] 3350 | fn draw_debug_aabb<'a>(pass: &mut wgpu::RenderPass<'a>, mesh: &'a ChunkMesh, _color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_horizontal_distance_to_camera` is never used [INFO] [stdout] --> src/renderer.rs:3370:4 [INFO] [stdout] | [INFO] [stdout] 3370 | fn chunk_horizontal_distance_to_camera(coord: ChunkCoord, world_camera_pos: Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_visible_in_world_space` is never used [INFO] [stdout] --> src/renderer.rs:3488:4 [INFO] [stdout] | [INFO] [stdout] 3488 | fn chunk_visible_in_world_space( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `melts_from_lava` and `viscosity` are never read [INFO] [stdout] --> src/sim.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub melts_from_lava: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub viscosity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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: struct `SimState` is never constructed [INFO] [stdout] --> src/sim.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct SimState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_BASE_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:422:7 [INFO] [stdout] | [INFO] [stdout] 422 | const WATER_BASE_EVAPORATION_CHANCE: f32 = 0.006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOT_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | const WATER_HOT_EVAPORATION_CHANCE: f32 = 0.035; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOTSPOT_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 424 | const WATER_HOTSPOT_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_ISOLATION_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | const WATER_ISOLATION_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimSoAChunkBuffer` is never constructed [INFO] [stdout] --> src/sim_world.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct SimSoAChunkBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step_region` and `build_soa_for_chunk` are never used [INFO] [stdout] --> src/sim_world.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl SimWorld { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn step_region( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn build_soa_for_chunk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_region_profiled` is never used [INFO] [stdout] --> src/sim_world.rs:1086:8 [INFO] [stdout] | [INFO] [stdout] 1086 | pub fn step_region_profiled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_region` is never used [INFO] [stdout] --> src/sim_world.rs:1097:8 [INFO] [stdout] | [INFO] [stdout] 1097 | pub fn step_region(store: &mut ChunkStore, _region: &HashSet, rng: &mut Rng) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Residency` is never used [INFO] [stdout] --> src/streaming.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Residency { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `score` and `far_version` are never read [INFO] [stdout] --> src/streaming.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct GenerateQueueMeta { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 60 | class: Option, [INFO] [stdout] 61 | score: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | enqueue_seq: u64, [INFO] [stdout] 63 | far_version: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateQueueMeta` 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: methods `residency_of`, `drain_generate_requests`, `next_generation_job`, `mark_dispatch_failed_or_deferred`, `generation_version_for`, and `drain_work_items` are never used [INFO] [stdout] --> src/streaming.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl ChunkStreaming { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn residency_of(&self, coord: ChunkCoord) -> Residency { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 664 | pub fn drain_generate_requests(&mut self, limit: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn next_generation_job(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 693 | pub fn mark_dispatch_failed_or_deferred(&mut self, coord: ChunkCoord) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 790 | pub fn generation_version_for(&self, coord: ChunkCoord) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 852 | pub fn drain_work_items(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `best_generate_index` is never used [INFO] [stdout] --> src/streaming.rs:941:8 [INFO] [stdout] | [INFO] [stdout] 904 | impl ChunkStreaming { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 941 | fn best_generate_index(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingState` is never constructed [INFO] [stdout] --> src/streaming.rs:965:12 [INFO] [stdout] | [INFO] [stdout] 965 | pub struct StreamingState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ensure_resident`, and `get_resident_set` are never used [INFO] [stdout] --> src/streaming.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 969 | impl StreamingState { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 970 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | pub fn ensure_resident(&mut self, region: impl IntoIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | pub fn get_resident_set(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOriginWorld` is never constructed [INFO] [stdout] --> src/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ChunkOriginWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshHandle` is never constructed [INFO] [stdout] --> src/types.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct MeshHandle(pub u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gpu_compute.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | / GPU_TASK_TX [INFO] [stdout] 1425 | | .get() [INFO] [stdout] 1426 | | .expect("gpu task queue") [INFO] [stdout] 1427 | | .send(GpuChunkTask { [INFO] [stdout] ... | [INFO] [stdout] 1437 | | mesh_slice, [INFO] [stdout] 1438 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 1424 | let _ = GPU_TASK_TX [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim_world.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut voxel_budget = if metadata.max_voxels_to_process == 0 { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1351:13 [INFO] [stdout] | [INFO] [stdout] 1351 | let region = HashSet::from([source_chunk]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1431:13 [INFO] [stdout] | [INFO] [stdout] 1431 | let region = HashSet::from([c]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1473:13 [INFO] [stdout] | [INFO] [stdout] 1473 | let region = HashSet::from([c]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1533:13 [INFO] [stdout] | [INFO] [stdout] 1533 | let region = HashSet::from([source_chunk]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region` [INFO] [stdout] --> src/sim_world.rs:1584:13 [INFO] [stdout] | [INFO] [stdout] 1584 | let region = HashSet::from([c]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `EditCommand` is more private than the item `GpuChunkTask::edit_commands` [INFO] [stdout] --> src/gpu_compute.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 619 | pub edit_commands: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `GpuChunkTask::edit_commands` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `EditCommand` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/gpu_compute.rs:1673:1 [INFO] [stdout] | [INFO] [stdout] 1673 | struct EditCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `procgen::ProcGenVolume` is more private than the item `find_safe_spawn` [INFO] [stdout] --> src/procgen.rs:2980:1 [INFO] [stdout] | [INFO] [stdout] 2980 | pub fn find_safe_spawn(world: &ProcGenVolume, seed: u64) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `find_safe_spawn` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `procgen::ProcGenVolume` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/procgen.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | struct ProcGenVolume { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HITCH_CAPTURE_FRAME_MS` is never used [INFO] [stdout] --> src/app.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | const HITCH_CAPTURE_FRAME_MS: f32 = 120.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HITCH_CAPTURE_RING_SIZE` is never used [INFO] [stdout] --> src/app.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | const HITCH_CAPTURE_RING_SIZE: usize = 64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requested_at` is never read [INFO] [stdout] --> src/app.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 218 | struct GenResult { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 221 | requested_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ultra_dropped` is never read [INFO] [stdout] --> src/app.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct DesiredCapStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 390 | ultra_dropped: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DesiredCapStats` 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 `voxels` is never read [INFO] [stdout] --> src/chunk_store.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct ChunkMeshingInput<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 78 | pub voxels: &'a [MaterialId], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkMeshingInput` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `axis` and `edge` are never read [INFO] [stdout] --> src/chunk_store.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct NeighborFace { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 132 | coord: ChunkCoord, [INFO] [stdout] 133 | axis: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | edge: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NeighborFace` 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 `rebuild_face_cache` is never used [INFO] [stdout] --> src/chunk_store.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 204 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 293 | fn rebuild_face_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_dirty` and `dirty_chunks_snapshot` are never used [INFO] [stdout] --> src/chunk_store.rs:716:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl ChunkStore { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn mark_dirty(&mut self, coord: ChunkCoord) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | pub fn dirty_chunks_snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoxelEdit` is never constructed [INFO] [stdout] --> src/edits.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VoxelEdit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EditJournal` is never constructed [INFO] [stdout] --> src/edits.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EditJournal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push` and `entries` are never used [INFO] [stdout] --> src/edits.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl EditJournal { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn push(&mut self, edit: VoxelEdit) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn entries(&self) -> &[VoxelEdit] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_vertex_buffer` and `chunk_index_buffer` are never read [INFO] [stdout] --> src/gpu_compute.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 323 | struct WorkerGpuState { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 334 | chunk_vertex_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 335 | chunk_index_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty_page_indices` is never read [INFO] [stdout] --> src/gpu_compute.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct GpuScratchPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 353 | dirty_page_indices: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `changed_voxels`, `dropped_frontier_writes`, and `cross_border_attempts` are never read [INFO] [stdout] --> src/gpu_compute.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 561 | pub struct ChunkSimulationDiagnostics { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 562 | pub changed_voxels: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 563 | pub dropped_frontier_writes: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 564 | pub cross_border_attempts: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkSimulationDiagnostics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `frontier_cap_events` and `mesh_slot_alloc_failed` are never read [INFO] [stdout] --> src/gpu_compute.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 578 | pub struct GpuComputeProfilerSnapshot { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 582 | pub frontier_cap_events: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 583 | pub mesh_slot_alloc_failed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuComputeProfilerSnapshot` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_TIMEOUTS` is never used [INFO] [stdout] --> src/gpu_compute.rs:598:8 [INFO] [stdout] | [INFO] [stdout] 598 | static GPU_DISPATCH_TIMEOUTS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GPU_DISPATCH_ERRORS` is never used [INFO] [stdout] --> src/gpu_compute.rs:600:8 [INFO] [stdout] | [INFO] [stdout] 600 | static GPU_DISPATCH_ERRORS: AtomicU64 = AtomicU64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index`, `lod`, and `draw_indirect_index` are never read [INFO] [stdout] --> src/gpu_compute.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 703 | pub struct MeshArtifactGPU { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 704 | pub page_index: GpuPageIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 705 | pub lod: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 706 | pub draw_indirect_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MeshArtifactGPU` 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 `simulation_diagnostics` is never read [INFO] [stdout] --> src/gpu_compute.rs:1779:9 [INFO] [stdout] | [INFO] [stdout] 1778 | pub struct ComputedChunkArtifacts { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 1779 | pub simulation_diagnostics: ChunkSimulationDiagnostics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_any_surface` is never used [INFO] [stdout] --> src/gpu_compute.rs:1784:12 [INFO] [stdout] | [INFO] [stdout] 1783 | impl ComputedChunkArtifacts { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 1784 | pub fn has_any_surface(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STONE` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const STONE: MaterialId = 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WOOD` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const WOOD: MaterialId = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const WATER: MaterialId = 5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LAVA` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const LAVA: MaterialId = 6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ACID` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ACID: MaterialId = 7; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SMOKE` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SMOKE: MaterialId = 8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STEAM` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const STEAM: MaterialId = 9; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIRE_GAS` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const FIRE_GAS: MaterialId = 11; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TORCH` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const TORCH: MaterialId = 12; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMBER_HOT` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const EMBER_HOT: MaterialId = 13; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMBER_WARM` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const EMBER_WARM: MaterialId = 14; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMBER_ASH` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const EMBER_ASH: MaterialId = 15; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIRT` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DIRT: MaterialId = 16; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TURF` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TURF: MaterialId = 17; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLANT` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PLANT: MaterialId = 20; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEED` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const WEED: MaterialId = 21; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TREE_SEED` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const TREE_SEED: MaterialId = 22; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LEAVES` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const LEAVES: MaterialId = 23; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEAD_LEAF` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const DEAD_LEAF: MaterialId = 24; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GENERATED_MATERIAL_IDS` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/falling_sand_3d-5c99d564bb322c99/out/material_ids.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const GENERATED_MATERIAL_IDS: &[(&str, MaterialId)] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_HEIGHT_BLOCKS` is never used [INFO] [stdout] --> src/player.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const PLAYER_HEIGHT_BLOCKS: f32 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_WIDTH_BLOCKS` is never used [INFO] [stdout] --> src/player.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const PLAYER_WIDTH_BLOCKS: f32 = 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROUND_CONTACT_EPSILON_BLOCKS` is never used [INFO] [stdout] --> src/player.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const GROUND_CONTACT_EPSILON_BLOCKS: f32 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jump_eligibility_y_blocks` is never used [INFO] [stdout] --> src/player.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn jump_eligibility_y_blocks() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eye_height_world_meters` is never used [INFO] [stdout] --> src/player.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn eye_height_world_meters(voxel_size: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_HYDROLOGY_MIN_HALO_RADIUS` is never used [INFO] [stdout] --> src/procgen.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const CHUNK_HYDROLOGY_MIN_HALO_RADIUS: i32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_HYDROLOGY_MAX_HALO_RADIUS` is never used [INFO] [stdout] --> src/procgen.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const CHUNK_HYDROLOGY_MAX_HALO_RADIUS: i32 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_HYDROLOGY_HALO_DIVISOR` is never used [INFO] [stdout] --> src/procgen.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | const CHUNK_HYDROLOGY_HALO_DIVISOR: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `splitmix64` is never used [INFO] [stdout] --> src/procgen.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn splitmix64(mut x: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash3` is never used [INFO] [stdout] --> src/procgen.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn hash3(seed: u64, x: i32, y: i32, z: i32) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HydroFeature` is never used [INFO] [stdout] --> src/procgen.rs:347:10 [INFO] [stdout] | [INFO] [stdout] 347 | pub enum HydroFeature { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/procgen.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 355 | impl HydroFeature { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 356 | pub fn label(self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HydrologyColumnContext` is never constructed [INFO] [stdout] --> src/procgen.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | struct HydrologyColumnContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vegetation_anchor` is never read [INFO] [stdout] --> src/procgen.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 511 | struct ProcGenFieldCell { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 519 | vegetation_anchor: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcGenFieldCell` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hydro_feature_at_world` is never used [INFO] [stdout] --> src/procgen.rs:822:8 [INFO] [stdout] | [INFO] [stdout] 822 | pub fn hydro_feature_at_world(config: &ProcGenConfig, x: i32, z: i32) -> HydroFeature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_heightmap` is never used [INFO] [stdout] --> src/procgen.rs:842:4 [INFO] [stdout] | [INFO] [stdout] 842 | fn build_heightmap(config: &ProcGenConfig) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pack_column_key` is never used [INFO] [stdout] --> src/procgen.rs:1257:4 [INFO] [stdout] | [INFO] [stdout] 1257 | fn pack_column_key(wx: i32, wz: i32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flood_fill_columns` is never used [INFO] [stdout] --> src/procgen.rs:1693:4 [INFO] [stdout] | [INFO] [stdout] 1693 | fn flood_fill_columns( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_neighbors_below_heightmap` is never used [INFO] [stdout] --> src/procgen.rs:1901:4 [INFO] [stdout] | [INFO] [stdout] 1901 | fn count_neighbors_below_heightmap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `local_lowland_fraction` is never used [INFO] [stdout] --> src/procgen.rs:1924:4 [INFO] [stdout] | [INFO] [stdout] 1924 | fn local_lowland_fraction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `height_sample_with_fallback` is never used [INFO] [stdout] --> src/procgen.rs:1947:4 [INFO] [stdout] | [INFO] [stdout] 1947 | fn height_sample_with_fallback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_tree_support_and_headroom` is never used [INFO] [stdout] --> src/procgen.rs:2631:4 [INFO] [stdout] | [INFO] [stdout] 2631 | fn has_tree_support_and_headroom( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_safe_spawn` is never used [INFO] [stdout] --> src/procgen.rs:2980:8 [INFO] [stdout] | [INFO] [stdout] 2980 | pub fn find_safe_spawn(world: &ProcGenVolume, seed: u64) -> [f32; 3] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `valid_surface_spawn_y` is never used [INFO] [stdout] --> src/procgen.rs:3010:4 [INFO] [stdout] | [INFO] [stdout] 3010 | fn valid_surface_spawn_y(world: &ProcGenVolume, x: i32, z: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `biome_anchor` is never used [INFO] [stdout] --> src/procgen.rs:3241:4 [INFO] [stdout] | [INFO] [stdout] 3241 | fn biome_anchor(seed: u64, chunk_x: i32, chunk_z: i32) -> BiomeType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dominant_biome` is never used [INFO] [stdout] --> src/procgen.rs:3258:4 [INFO] [stdout] | [INFO] [stdout] 3258 | fn dominant_biome(weights: [f32; BIOME_COUNT]) -> BiomeType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_river_channel_columns` is never used [INFO] [stdout] --> src/procgen.rs:3555:8 [INFO] [stdout] | [INFO] [stdout] 3555 | fn count_river_channel_columns(hydrology: &HydrologyData) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshBufferRange` is never constructed [INFO] [stdout] --> src/renderer.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct MeshBufferRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshAllocation` is never constructed [INFO] [stdout] --> src/renderer.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | struct MeshAllocation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageRange` is never constructed [INFO] [stdout] --> src/renderer.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct MeshPageRange { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPage` is never constructed [INFO] [stdout] --> src/renderer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct MeshPage { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshPageAllocator` is never constructed [INFO] [stdout] --> src/renderer.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | struct MeshPageAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `page`, `allocate`, and `free` are never used [INFO] [stdout] --> src/renderer.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl MeshPageAllocator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 146 | fn new(label: &'static str, page_size: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn page(&self, page_index: usize) -> Option<&MeshPage> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn allocate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn free(&mut self, allocation: MeshAllocation) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshAllocatorTelemetry` is never constructed [INFO] [stdout] --> src/renderer.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | struct MeshAllocatorTelemetry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMesh` is never constructed [INFO] [stdout] --> src/renderer.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | pub struct ChunkMesh { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkMeshCache` is never constructed [INFO] [stdout] --> src/renderer.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | struct ChunkMeshCache { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `slot_mut`, `best_available`, `drain`, and `is_empty` are never used [INFO] [stdout] --> src/renderer.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 352 | impl ChunkMeshCache { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 353 | fn get(&self, lod: ChunkLod) -> Option<&ChunkMesh> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | fn slot_mut(&mut self, lod: ChunkLod) -> &mut Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | fn best_available( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | fn drain(self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOriginInstance` is never constructed [INFO] [stdout] --> src/renderer.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | struct ChunkOriginInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VISIBLE_CHUNK_LOG_COUNT` is never used [INFO] [stdout] --> src/renderer.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | const DEBUG_VISIBLE_CHUNK_LOG_COUNT: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_RENDER_CHUNK_AABBS` is never used [INFO] [stdout] --> src/renderer.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | const DEBUG_RENDER_CHUNK_AABBS: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_VALIDATE_CULL_SPACE` is never used [INFO] [stdout] --> src/renderer.rs:433:7 [INFO] [stdout] | [INFO] [stdout] 433 | const DEBUG_VALIDATE_CULL_SPACE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global_gpu_page_indirect_buffer`, `global_gpu_mesh_meta_buffer`, `global_gpu_face_mask_buffer`, `global_gpu_face_offset_buffer`, and `global_gpu_face_count_buffer` are never read [INFO] [stdout] --> src/renderer.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Renderer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 498 | global_gpu_page_indirect_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | global_gpu_mesh_meta_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 500 | global_gpu_face_mask_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 501 | global_gpu_face_offset_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 502 | global_gpu_face_count_buffer: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/renderer.rs:737:8 [INFO] [stdout] | [INFO] [stdout] 655 | impl DirtyChunkQueues { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 737 | fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page_index` and `origin` are never read [INFO] [stdout] --> src/renderer.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 885 | struct GpuChunkDraw { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 886 | page_index: GpuPageIndex, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 889 | origin: Vec3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuChunkDraw` 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: fields `verts` and `inds` are never read [INFO] [stdout] --> src/renderer.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 910 | Gpu { [INFO] [stdout] | --- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 915 | verts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 916 | inds: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `geometry` is never used [INFO] [stdout] --> src/renderer.rs:941:19 [INFO] [stdout] | [INFO] [stdout] 940 | impl ChunkMeshArtifact { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 941 | pub(crate) fn geometry(&self) -> (&[Vertex], &[u32], DrawIndirectArgs, Vec3, Vec3, Vec3) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `settings` and `clear_mesh_cache` are never used [INFO] [stdout] --> src/renderer.rs:1543:12 [INFO] [stdout] | [INFO] [stdout] 1123 | impl Renderer { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1543 | pub fn settings(&self) -> RendererSettings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2231 | pub fn clear_mesh_cache(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_debug_aabb_mesh` is never used [INFO] [stdout] --> src/renderer.rs:3322:4 [INFO] [stdout] | [INFO] [stdout] 3322 | fn build_debug_aabb_mesh() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_debug_aabb` is never used [INFO] [stdout] --> src/renderer.rs:3350:4 [INFO] [stdout] | [INFO] [stdout] 3350 | fn draw_debug_aabb<'a>(pass: &mut wgpu::RenderPass<'a>, mesh: &'a ChunkMesh, _color: [u8; 4]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chunk_horizontal_distance_to_camera` is never used [INFO] [stdout] --> src/renderer.rs:3370:4 [INFO] [stdout] | [INFO] [stdout] 3370 | fn chunk_horizontal_distance_to_camera(coord: ChunkCoord, world_camera_pos: Vec3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `melts_from_lava` and `viscosity` are never read [INFO] [stdout] --> src/sim.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub melts_from_lava: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub viscosity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` 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: struct `SimState` is never constructed [INFO] [stdout] --> src/sim.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub struct SimState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_BASE_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:422:7 [INFO] [stdout] | [INFO] [stdout] 422 | const WATER_BASE_EVAPORATION_CHANCE: f32 = 0.006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOT_EVAPORATION_CHANCE` is never used [INFO] [stdout] --> src/sim.rs:423:7 [INFO] [stdout] | [INFO] [stdout] 423 | const WATER_HOT_EVAPORATION_CHANCE: f32 = 0.035; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_HOTSPOT_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:424:7 [INFO] [stdout] | [INFO] [stdout] 424 | const WATER_HOTSPOT_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WATER_ISOLATION_RADIUS_SQ` is never used [INFO] [stdout] --> src/sim.rs:425:7 [INFO] [stdout] | [INFO] [stdout] 425 | const WATER_ISOLATION_RADIUS_SQ: i32 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_region_profiled` is never used [INFO] [stdout] --> src/sim_world.rs:1086:8 [INFO] [stdout] | [INFO] [stdout] 1086 | pub fn step_region_profiled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `step_region` is never used [INFO] [stdout] --> src/sim_world.rs:1097:8 [INFO] [stdout] | [INFO] [stdout] 1097 | pub fn step_region(store: &mut ChunkStore, _region: &HashSet, rng: &mut Rng) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `far_version` is never read [INFO] [stdout] --> src/streaming.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct GenerateQueueMeta { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | far_version: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenerateQueueMeta` 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: methods `mark_dispatch_failed_or_deferred`, `generation_version_for`, and `drain_work_items` are never used [INFO] [stdout] --> src/streaming.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl ChunkStreaming { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 693 | pub fn mark_dispatch_failed_or_deferred(&mut self, coord: ChunkCoord) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 790 | pub fn generation_version_for(&self, coord: ChunkCoord) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 852 | pub fn drain_work_items(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StreamingState` is never constructed [INFO] [stdout] --> src/streaming.rs:965:12 [INFO] [stdout] | [INFO] [stdout] 965 | pub struct StreamingState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ensure_resident`, and `get_resident_set` are never used [INFO] [stdout] --> src/streaming.rs:970:12 [INFO] [stdout] | [INFO] [stdout] 969 | impl StreamingState { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 970 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | pub fn ensure_resident(&mut self, region: impl IntoIterator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | pub fn get_resident_set(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChunkOriginWorld` is never constructed [INFO] [stdout] --> src/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ChunkOriginWorld { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MeshHandle` is never constructed [INFO] [stdout] --> src/types.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct MeshHandle(pub u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/gpu_compute.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | / GPU_TASK_TX [INFO] [stdout] 1425 | | .get() [INFO] [stdout] 1426 | | .expect("gpu task queue") [INFO] [stdout] 1427 | | .send(GpuChunkTask { [INFO] [stdout] ... | [INFO] [stdout] 1437 | | mesh_slice, [INFO] [stdout] 1438 | | }); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 1424 | let _ = GPU_TASK_TX [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "410b3099ed1461b843e7bd66bd5bfc58dc9f8b638e00bcc22c903987ae099742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410b3099ed1461b843e7bd66bd5bfc58dc9f8b638e00bcc22c903987ae099742", kill_on_drop: false }` [INFO] [stdout] 410b3099ed1461b843e7bd66bd5bfc58dc9f8b638e00bcc22c903987ae099742