[INFO] cloning repository https://github.com/PhantasmaCora/sgr_cubes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PhantasmaCora/sgr_cubes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhantasmaCora%2Fsgr_cubes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhantasmaCora%2Fsgr_cubes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a08c2be24c6df0d757c08eaaba5eb0d0343e0458 [INFO] checking PhantasmaCora/sgr_cubes against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhantasmaCora%2Fsgr_cubes" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PhantasmaCora/sgr_cubes [INFO] finished tweaking git repo https://github.com/PhantasmaCora/sgr_cubes [INFO] tweaked toml for git repo https://github.com/PhantasmaCora/sgr_cubes written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PhantasmaCora/sgr_cubes on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PhantasmaCora/sgr_cubes 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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/bonsairobo/ilattice-rs/` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecheck_derive v0.7.0 [INFO] [stderr] Downloaded xcursor v0.3.7 [INFO] [stderr] Downloaded bytecheck v0.7.0 [INFO] [stderr] Downloaded iter-read v0.3.1 [INFO] [stderr] Downloaded ilattice v0.4.0 [INFO] [stderr] Downloaded d3d12 v22.0.0 [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded manyhow-macros v0.11.3 [INFO] [stderr] Downloaded quote-use-macros v0.8.3 [INFO] [stderr] Downloaded quote-use v0.8.3 [INFO] [stderr] Downloaded easing-function v0.1.0 [INFO] [stderr] Downloaded manyhow v0.11.3 [INFO] [stderr] Downloaded interner v0.2.1 [INFO] [stderr] Downloaded kempt v0.2.4 [INFO] [stderr] Downloaded justjson v0.3.0 [INFO] [stderr] Downloaded nominals v0.3.1 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.3 [INFO] [stderr] Downloaded figures v0.4.0 [INFO] [stderr] Downloaded appit v0.3.1 [INFO] [stderr] Downloaded kludgine v0.10.0 [INFO] [stderr] Downloaded skrifa v0.20.0 [INFO] [stderr] Downloaded swash v0.1.18 [INFO] [stderr] Downloaded lyon_tessellation v1.0.15 [INFO] [stderr] Downloaded read-fonts v0.20.0 [INFO] [stderr] Downloaded serde-pickle v1.1.1 [INFO] [stderr] Downloaded ndarray v0.16.0 [INFO] [stderr] Downloaded lyon_path v1.0.5 [INFO] [stderr] Downloaded glam v0.28.0 [INFO] [stderr] Downloaded alot v0.3.1 [INFO] [stderr] Downloaded font-types v0.6.0 [INFO] [stderr] Downloaded etagere v0.2.13 [INFO] [stderr] Downloaded rgb v0.8.48 [INFO] [stderr] Downloaded cushy-macros v0.4.0 [INFO] [stderr] Downloaded intentional v0.1.1 [INFO] [stderr] Downloaded cushy v0.4.0 [INFO] [stderr] Downloaded attribute-derive-macro v0.10.0 [INFO] [stderr] Downloaded attribute-derive v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa36f51ca4d1e2d8fd983b61c1d3f97608f51fcf2f9cd6fe227c476644cc5994 [INFO] running `Command { std: "docker" "start" "-a" "fa36f51ca4d1e2d8fd983b61c1d3f97608f51fcf2f9cd6fe227c476644cc5994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa36f51ca4d1e2d8fd983b61c1d3f97608f51fcf2f9cd6fe227c476644cc5994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa36f51ca4d1e2d8fd983b61c1d3f97608f51fcf2f9cd6fe227c476644cc5994", kill_on_drop: false }` [INFO] [stdout] fa36f51ca4d1e2d8fd983b61c1d3f97608f51fcf2f9cd6fe227c476644cc5994 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08505b25e738e4555717c0551f7d505432675337bf9ac0632937e8e238a79ec9 [INFO] running `Command { std: "docker" "start" "-a" "08505b25e738e4555717c0551f7d505432675337bf9ac0632937e8e238a79ec9", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking xcursor v0.3.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling naga v22.1.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Checking euclid v0.22.10 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling wgpu-core v22.1.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking bitstream-io v2.5.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling manyhow-macros v0.11.3 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking font-types v0.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking read-fonts v0.20.0 [INFO] [stderr] Compiling quote-use-macros v0.8.3 [INFO] [stderr] Checking rgb v0.8.48 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu v22.1.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.3 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking ravif v0.11.10 [INFO] [stderr] Checking image-webp v0.1.3 [INFO] [stderr] Checking skrifa v0.20.0 [INFO] [stderr] Compiling quote-use v0.8.3 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling manyhow v0.11.3 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking lyon_geom v1.0.5 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling bytecheck v0.7.0 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling attribute-derive-macro v0.10.0 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking lyon_path v1.0.5 [INFO] [stderr] Checking swash v0.1.18 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling bytecheck_derive v0.7.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking intentional v0.1.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Checking svg_fmt v0.4.3 [INFO] [stderr] Checking etagere v0.2.13 [INFO] [stderr] Checking lyon_tessellation v1.0.15 [INFO] [stderr] Checking smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking appit v0.3.1 [INFO] [stderr] Compiling attribute-derive v0.10.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking alot v0.3.1 [INFO] [stderr] Checking justjson v0.3.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling cushy-macros v0.4.0 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Compiling sgr_cubes v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking iter-read v0.3.1 [INFO] [stderr] Checking easing-function v0.1.0 [INFO] [stderr] Checking nominals v0.3.1 [INFO] [stderr] Checking kempt v0.2.4 [INFO] [stderr] Checking interner v0.2.1 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking serde-pickle v1.1.1 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ndarray v0.16.0 [INFO] [stderr] Checking ilattice v0.4.0 (https://github.com/bonsairobo/ilattice-rs/#8b0af3dc) [INFO] [stderr] Checking winit v0.29.15 [INFO] [stderr] Checking grid-ray v0.1.0 (https://github.com/bonsairobo/ilattice-rs/#8b0af3dc) [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking glam v0.28.0 [INFO] [stderr] Checking ilattice v0.4.0 [INFO] [stderr] Checking figures v0.4.0 [INFO] [stderr] Checking kludgine v0.10.0 [INFO] [stderr] Checking cushy v0.4.0 [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/wctx.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/wctx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/wctx.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Read [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/wctx.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/wctx/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `styles::IntoComponentValue` [INFO] [stdout] --> src/wctx/ui.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | styles::IntoComponentValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicReader` [INFO] [stdout] --> src/wctx/ui.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | DynamicReader, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UPx` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | UPx [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `figures::IntoSigned` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use figures::IntoSigned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `styles::IntoComponentValue` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | styles::IntoComponentValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicReader`, `Dynamic`, and `Source` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | Dynamic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | DynamicReader, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/wctx/world_loader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/wctx/world_saver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/wctx/world_saver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Read [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/wctx.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/wctx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/wctx.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Read [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::util::DeviceExt` [INFO] [stdout] --> src/wctx.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use wgpu::util::DeviceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/wctx/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `styles::IntoComponentValue` [INFO] [stdout] --> src/wctx/ui.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | styles::IntoComponentValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicReader` [INFO] [stdout] --> src/wctx/ui.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | DynamicReader, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UPx` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | UPx [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `figures::IntoSigned` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use figures::IntoSigned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `styles::IntoComponentValue` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | styles::IntoComponentValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicReader`, `Dynamic`, and `Source` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | Dynamic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | DynamicReader, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/wctx/world_loader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/wctx/world_saver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/wctx/world_saver.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Read [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/camera.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut forward = Vector3::new(1.0, 0.0, 0.0); [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 assigned to `dirty` is never read [INFO] [stdout] --> src/wctx/chunk.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut dirty = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/wctx/texture.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/block.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/block.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 69 | rotation_group::RotType::RotFace => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | rotation_group::RotType::RotVert => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | rotation_group::RotType::RotEdge => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | rotation_group::RotType::Static => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 79 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/block.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/block.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 117 | rotation_group::RotType::RotFace => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | rotation_group::RotType::RotVert => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 123 | rotation_group::RotType::RotEdge => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 126 | rotation_group::RotType::Static => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 127 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/block.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/block.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 135 | rotation_group::RotType::RotFace => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 138 | rotation_group::RotType::RotVert => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | rotation_group::RotType::RotEdge => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 144 | rotation_group::RotType::Static => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 145 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/rotation_group.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut vv = vect.normalize(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/rotation_group.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | _ => RotVert::XmYmZm [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/rotation_group.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 185 | (false, false, false) => RotVert::XmYmZm, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 186 | (false, false, true) => RotVert::XmYmZp, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 187 | (false, true, false) => RotVert::XmYpZm, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 188 | (false, true, true) => RotVert::XmYpZp, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 193 | _ => RotVert::XmYmZm [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | move |click| { create_world.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | move |click| { back.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui/world_ui.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut screen = builder.finish_virtual(device, queue); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | move |click| { load_clone.set(nm.clone()) } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | move |click| { opt_clone.set(nm.clone()) } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui/world_ui.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut buttonstyles = Self::make_buttonstyles(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | move |click| { go.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | move |click| { back.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui/world_ui.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut screen = builder.finish_virtual(device, queue); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui.rs:319:55 [INFO] [stdout] | [INFO] [stdout] 319 | return_button = return_button.on_click( move |click| { do_return.set(true); } ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui.rs:465:51 [INFO] [stdout] | [INFO] [stdout] 465 | play_button = play_button.on_click( move |click| { do_enter_saves.set(true); } ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let mut fs = gfx.font_system(); [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/wctx/ui.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let mut fs = gfx.font_system(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wielditem_size` is never read [INFO] [stdout] --> src/wctx/ui.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 814 | let mut wielditem_size = std::cmp::min( target_size.0 / 120, target_size.1 / 120 ); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui.rs:1428:21 [INFO] [stdout] | [INFO] [stdout] 1428 | let mut camera_uniform = crate::wctx::world::CameraUniform{ view_proj: [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/wctx/world.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let mut broken = self.world.chunk_manager.get_mut_block( ( current.x as usize, current.y as usize, current.z as usize ) ); [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/wctx/world.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | let mut placed = self.world.chunk_manager.get_mut_block( ( last.x as usize, last.y as usize, last.z as usize ) ); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/wctx/world.rs:526:49 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn render(&self, device: &wgpu::Device, queue: &wgpu::Queue, out_view: &wgpu::TextureView) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/wctx/world_loader.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | if let Ok(size) = read_result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 70 | if let Ok(_size) = read_result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 70 - if let Ok(size) = read_result { [INFO] [stdout] 70 + if let Ok(wctx::chunk::CHUNK_SIZE) = read_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size2` [INFO] [stdout] --> src/wctx/world_loader.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | ... if let Ok(size2) = read_result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(_size2) = read_result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 89 - if let Ok(size2) = read_result { [INFO] [stdout] 89 + if let Ok(wctx::chunk::CHUNK_SIZE) = read_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/wctx/world_loader.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | for idx in 0..texes.len() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 130 | for _idx in 0..texes.len() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 130 - for idx in 0..texes.len() { [INFO] [stdout] 130 + for wctx::chunk::CHUNK_SIZE in 0..texes.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/world_loader.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut file = File::open(lbuf); [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/wctx/world_loader.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let mut texture = cushy::kludgine::Texture::new( [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/wctx/world_loader.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let mut ifile = File::open(ibuf); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wctx.rs:255:47 [INFO] [stdout] | [INFO] [stdout] 255 | WindowEvent::CursorMoved{ device_id, position } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process_scroll` is never used [INFO] [stdout] --> src/wctx/camera.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl CameraController { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn process_scroll(&mut self, delta: &MouseScrollDelta) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_in_bounds` is never used [INFO] [stdout] --> src/wctx/chunk.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn is_in_bounds( pos: (usize, usize, usize) ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registry_id`, `pretty_name`, and `light` are never read [INFO] [stdout] --> src/wctx/block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | registry_id: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub pretty_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub transparent: bool, [INFO] [stdout] 23 | pub light: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RotFace` is never constructed [INFO] [stdout] --> src/wctx/rotation_group.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum RotType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 10 | Static, [INFO] [stdout] 11 | RotFace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_rv` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn reverse_rv( rv: RotVert ) -> RotVert { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_rv` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn rotate_rv( rv: RotVert, quat: &Quaternion ) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_re` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn reverse_re( re: RotEdge ) -> RotEdge { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `re_to_vector` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn re_to_vector( re: RotEdge ) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_to_re` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn vector_to_re( vect: Vector3 ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_re` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn rotate_re( re: RotEdge, quat: &Quaternion ) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_names` is never read [INFO] [stdout] --> src/wctx/data_loader.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct BlockLoader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 29 | pub block_registry: crate::wctx::block::BlockRegistry, [INFO] [stdout] 30 | block_names: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crosshair_tex` is never read [INFO] [stdout] --> src/wctx/ui.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct UICore { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | crosshair_tex: crate::wctx::texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sprite` is never constructed [INFO] [stdout] --> src/wctx/ui.rs:1504:5 [INFO] [stdout] | [INFO] [stdout] 1502 | pub enum WieldItem { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 1503 | Block(u16), [INFO] [stdout] 1504 | Sprite [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/ui.rs:1510:8 [INFO] [stdout] | [INFO] [stdout] 1510 | struct UIVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/ui.rs:1508:1 [INFO] [stdout] | [INFO] [stdout] 1508 | / #[repr(C)] [INFO] [stdout] 1509 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 1510 | | struct UIVertex { [INFO] [stdout] 1511 | | position: [f32; 2], [INFO] [stdout] ... | [INFO] [stdout] 1514 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/ui.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | struct BMVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/ui.rs:1538:1 [INFO] [stdout] | [INFO] [stdout] 1538 | / #[repr(C)] [INFO] [stdout] 1539 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 1540 | | struct BMVertex { [INFO] [stdout] 1541 | | position: [f32; 2], [INFO] [stdout] 1542 | | uv: [f32; 2], [INFO] [stdout] 1543 | | uv2: [f32; 2], [INFO] [stdout] 1544 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opt_world` is never read [INFO] [stdout] --> src/wctx/ui/world_ui.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct WorldSelectUI { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub opt_world: cushy::value::Dynamic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_atlas` is never read [INFO] [stdout] --> src/wctx/world.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct WorldRender { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub block_atlas: atlas_tex::AtlasTexture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/world.rs:772:12 [INFO] [stdout] | [INFO] [stdout] 772 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/world.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | / #[repr(C)] [INFO] [stdout] 771 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 772 | | pub struct CameraUniform { [INFO] [stdout] 773 | | pub view_proj: [[f32; 4]; 4], [INFO] [stdout] 774 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/world.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/world.rs:790:1 [INFO] [stdout] | [INFO] [stdout] 790 | / #[repr(C)] [INFO] [stdout] 791 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 792 | | pub struct Vertex { [INFO] [stdout] 793 | | position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 798 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/wctx/world_loader.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WorldPreview { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorldPreview` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:697:36 [INFO] [stdout] | [INFO] [stdout] 697 | UIMode::PauseMenu => { self.pause_buttonmenu.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 697 | UIMode::PauseMenu => { let _ = self.pause_buttonmenu.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:698:36 [INFO] [stdout] | [INFO] [stdout] 698 | UIMode::MainTitle => { self.main_title.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 698 | UIMode::MainTitle => { let _ = self.main_title.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:699:41 [INFO] [stdout] | [INFO] [stdout] 699 | UIMode::WorldSelection => { self.world_select_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 699 | UIMode::WorldSelection => { let _ = self.world_select_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:700:42 [INFO] [stdout] | [INFO] [stdout] 700 | UIMode::CreateWorldMenu => { self.world_create_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 700 | UIMode::CreateWorldMenu => { let _ = self.world_create_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wctx/world_saver.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | create_all( &pbuf, false ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = create_all( &pbuf, false ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wctx/world_saver.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | img.save(ibuf); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = img.save(ibuf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/camera.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut forward = Vector3::new(1.0, 0.0, 0.0); [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 assigned to `dirty` is never read [INFO] [stdout] --> src/wctx/chunk.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut dirty = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/wctx/texture.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/block.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/block.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 69 | rotation_group::RotType::RotFace => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | rotation_group::RotType::RotVert => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | rotation_group::RotType::RotEdge => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | rotation_group::RotType::Static => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 79 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/block.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/block.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 117 | rotation_group::RotType::RotFace => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | rotation_group::RotType::RotVert => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 123 | rotation_group::RotType::RotEdge => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 126 | rotation_group::RotType::Static => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 127 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/block.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/block.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 135 | rotation_group::RotType::RotFace => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 138 | rotation_group::RotType::RotVert => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 141 | rotation_group::RotType::RotEdge => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 144 | rotation_group::RotType::Static => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 145 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/rotation_group.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut vv = vect.normalize(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/wctx/rotation_group.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | _ => RotVert::XmYmZm [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/wctx/rotation_group.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 185 | (false, false, false) => RotVert::XmYmZm, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 186 | (false, false, true) => RotVert::XmYmZp, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 187 | (false, true, false) => RotVert::XmYpZm, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 188 | (false, true, true) => RotVert::XmYpZp, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 193 | _ => RotVert::XmYmZm [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | move |click| { create_world.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | move |click| { back.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui/world_ui.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut screen = builder.finish_virtual(device, queue); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | move |click| { load_clone.set(nm.clone()) } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | move |click| { opt_clone.set(nm.clone()) } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui/world_ui.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut buttonstyles = Self::make_buttonstyles(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | move |click| { go.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui/world_ui.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | move |click| { back.set(true); } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui/world_ui.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut screen = builder.finish_virtual(device, queue); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui.rs:319:55 [INFO] [stdout] | [INFO] [stdout] 319 | return_button = return_button.on_click( move |click| { do_return.set(true); } ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click` [INFO] [stdout] --> src/wctx/ui.rs:465:51 [INFO] [stdout] | [INFO] [stdout] 465 | play_button = play_button.on_click( move |click| { do_enter_saves.set(true); } ); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let mut fs = gfx.font_system(); [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/wctx/ui.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let mut fs = gfx.font_system(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `wielditem_size` is never read [INFO] [stdout] --> src/wctx/ui.rs:814:25 [INFO] [stdout] | [INFO] [stdout] 814 | let mut wielditem_size = std::cmp::min( target_size.0 / 120, target_size.1 / 120 ); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/ui.rs:1428:21 [INFO] [stdout] | [INFO] [stdout] 1428 | let mut camera_uniform = crate::wctx::world::CameraUniform{ view_proj: [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/wctx/world.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 500 | let mut broken = self.world.chunk_manager.get_mut_block( ( current.x as usize, current.y as usize, current.z as usize ) ); [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/wctx/world.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | let mut placed = self.world.chunk_manager.get_mut_block( ( last.x as usize, last.y as usize, last.z as usize ) ); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/wctx/world.rs:526:49 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn render(&self, device: &wgpu::Device, queue: &wgpu::Queue, out_view: &wgpu::TextureView) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/wctx/world_loader.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | if let Ok(size) = read_result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 70 | if let Ok(_size) = read_result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 70 - if let Ok(size) = read_result { [INFO] [stdout] 70 + if let Ok(wctx::chunk::CHUNK_SIZE) = read_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size2` [INFO] [stdout] --> src/wctx/world_loader.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | ... if let Ok(size2) = read_result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 89 | if let Ok(_size2) = read_result { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 89 - if let Ok(size2) = read_result { [INFO] [stdout] 89 + if let Ok(wctx::chunk::CHUNK_SIZE) = read_result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/wctx/world_loader.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | for idx in 0..texes.len() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 130 | for _idx in 0..texes.len() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE` [INFO] [stdout] | [INFO] [stdout] 130 - for idx in 0..texes.len() { [INFO] [stdout] 130 + for wctx::chunk::CHUNK_SIZE in 0..texes.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wctx/world_loader.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut file = File::open(lbuf); [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/wctx/world_loader.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | let mut texture = cushy::kludgine::Texture::new( [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/wctx/world_loader.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let mut ifile = File::open(ibuf); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/wctx.rs:255:47 [INFO] [stdout] | [INFO] [stdout] 255 | WindowEvent::CursorMoved{ device_id, position } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process_scroll` is never used [INFO] [stdout] --> src/wctx/camera.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl CameraController { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn process_scroll(&mut self, delta: &MouseScrollDelta) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_in_bounds` is never used [INFO] [stdout] --> src/wctx/chunk.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn is_in_bounds( pos: (usize, usize, usize) ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `registry_id`, `pretty_name`, and `light` are never read [INFO] [stdout] --> src/wctx/block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Block { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | registry_id: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub pretty_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub transparent: bool, [INFO] [stdout] 23 | pub light: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RotFace` is never constructed [INFO] [stdout] --> src/wctx/rotation_group.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum RotType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 10 | Static, [INFO] [stdout] 11 | RotFace, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_rv` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn reverse_rv( rv: RotVert ) -> RotVert { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_rv` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn rotate_rv( rv: RotVert, quat: &Quaternion ) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_re` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn reverse_re( re: RotEdge ) -> RotEdge { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `re_to_vector` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn re_to_vector( re: RotEdge ) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_to_re` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn vector_to_re( vect: Vector3 ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotate_re` is never used [INFO] [stdout] --> src/wctx/rotation_group.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn rotate_re( re: RotEdge, quat: &Quaternion ) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_names` is never read [INFO] [stdout] --> src/wctx/data_loader.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct BlockLoader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 29 | pub block_registry: crate::wctx::block::BlockRegistry, [INFO] [stdout] 30 | block_names: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crosshair_tex` is never read [INFO] [stdout] --> src/wctx/ui.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct UICore { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | crosshair_tex: crate::wctx::texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sprite` is never constructed [INFO] [stdout] --> src/wctx/ui.rs:1504:5 [INFO] [stdout] | [INFO] [stdout] 1502 | pub enum WieldItem { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 1503 | Block(u16), [INFO] [stdout] 1504 | Sprite [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/ui.rs:1510:8 [INFO] [stdout] | [INFO] [stdout] 1510 | struct UIVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/ui.rs:1508:1 [INFO] [stdout] | [INFO] [stdout] 1508 | / #[repr(C)] [INFO] [stdout] 1509 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 1510 | | struct UIVertex { [INFO] [stdout] 1511 | | position: [f32; 2], [INFO] [stdout] ... | [INFO] [stdout] 1514 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/ui.rs:1540:8 [INFO] [stdout] | [INFO] [stdout] 1540 | struct BMVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/ui.rs:1538:1 [INFO] [stdout] | [INFO] [stdout] 1538 | / #[repr(C)] [INFO] [stdout] 1539 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 1540 | | struct BMVertex { [INFO] [stdout] 1541 | | position: [f32; 2], [INFO] [stdout] 1542 | | uv: [f32; 2], [INFO] [stdout] 1543 | | uv2: [f32; 2], [INFO] [stdout] 1544 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `opt_world` is never read [INFO] [stdout] --> src/wctx/ui/world_ui.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct WorldSelectUI { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub opt_world: cushy::value::Dynamic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_atlas` is never read [INFO] [stdout] --> src/wctx/world.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct WorldRender { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub block_atlas: atlas_tex::AtlasTexture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/world.rs:772:12 [INFO] [stdout] | [INFO] [stdout] 772 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/world.rs:770:1 [INFO] [stdout] | [INFO] [stdout] 770 | / #[repr(C)] [INFO] [stdout] 771 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 772 | | pub struct CameraUniform { [INFO] [stdout] 773 | | pub view_proj: [[f32; 4]; 4], [INFO] [stdout] 774 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/wctx/world.rs:792:12 [INFO] [stdout] | [INFO] [stdout] 792 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/wctx/world.rs:790:1 [INFO] [stdout] | [INFO] [stdout] 790 | / #[repr(C)] [INFO] [stdout] 791 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 792 | | pub struct Vertex { [INFO] [stdout] 793 | | position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 798 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/wctx/world_loader.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WorldPreview { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorldPreview` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:697:36 [INFO] [stdout] | [INFO] [stdout] 697 | UIMode::PauseMenu => { self.pause_buttonmenu.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 697 | UIMode::PauseMenu => { let _ = self.pause_buttonmenu.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:698:36 [INFO] [stdout] | [INFO] [stdout] 698 | UIMode::MainTitle => { self.main_title.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 698 | UIMode::MainTitle => { let _ = self.main_title.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:699:41 [INFO] [stdout] | [INFO] [stdout] 699 | UIMode::WorldSelection => { self.world_select_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 699 | UIMode::WorldSelection => { let _ = self.world_select_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::ops::ControlFlow` that must be used [INFO] [stdout] --> src/wctx/ui.rs:700:42 [INFO] [stdout] | [INFO] [stdout] 700 | UIMode::CreateWorldMenu => { self.world_create_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 700 | UIMode::CreateWorldMenu => { let _ = self.world_create_ui.screen.mouse_input(cushy::window::DeviceId::Virtual(0), kstate, kbutton); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wctx/world_saver.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | create_all( &pbuf, false ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = create_all( &pbuf, false ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/wctx/world_saver.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | img.save(ibuf); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 115 | let _ = img.save(ibuf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 19s [INFO] running `Command { std: "docker" "inspect" "08505b25e738e4555717c0551f7d505432675337bf9ac0632937e8e238a79ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08505b25e738e4555717c0551f7d505432675337bf9ac0632937e8e238a79ec9", kill_on_drop: false }` [INFO] [stdout] 08505b25e738e4555717c0551f7d505432675337bf9ac0632937e8e238a79ec9