[INFO] cloning repository https://github.com/PizzasBear/mclone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PizzasBear/mclone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPizzasBear%2Fmclone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPizzasBear%2Fmclone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ba59363d84d17401f52f7df0249093f1aced0d1 [INFO] linting PizzasBear/mclone against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPizzasBear%2Fmclone" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PizzasBear/mclone [INFO] finished tweaking git repo https://github.com/PizzasBear/mclone [INFO] tweaked toml for git repo https://github.com/PizzasBear/mclone written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PizzasBear/mclone on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PizzasBear/mclone 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-client v0.31.3 [INFO] [stderr] Downloaded wayland-cursor v0.31.3 [INFO] [stderr] Downloaded wayland-sys v0.31.2 [INFO] [stderr] Downloaded wayland-scanner v0.31.2 [INFO] [stderr] Downloaded ravif v0.11.5 [INFO] [stderr] Downloaded built v0.7.3 [INFO] [stderr] Downloaded bitstream-io v2.4.1 [INFO] [stderr] Downloaded sctk-adwaita v0.9.0 [INFO] [stderr] Downloaded wayland-backend v0.3.4 [INFO] [stderr] Downloaded wgpu-core v0.21.0 [INFO] [stderr] Downloaded wgpu-hal v0.21.0 [INFO] [stderr] Downloaded winit v0.30.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c51cb296ff757e22ce1a43ba4a827aab04586e5a3869cc78d8a54daca46e0fa [INFO] running `Command { std: "docker" "start" "-a" "6c51cb296ff757e22ce1a43ba4a827aab04586e5a3869cc78d8a54daca46e0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c51cb296ff757e22ce1a43ba4a827aab04586e5a3869cc78d8a54daca46e0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c51cb296ff757e22ce1a43ba4a827aab04586e5a3869cc78d8a54daca46e0fa", kill_on_drop: false }` [INFO] [stdout] 6c51cb296ff757e22ce1a43ba4a827aab04586e5a3869cc78d8a54daca46e0fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6305ea4397c112fb528f887fda55c231d776f4e3beb91ae7344093264acc0fd2 [INFO] running `Command { std: "docker" "start" "-a" "6305ea4397c112fb528f887fda55c231d776f4e3beb91ae7344093264acc0fd2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wayland-sys v0.31.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling wayland-client v0.31.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling wayland-backend v0.3.4 [INFO] [stderr] Checking nom v7.1.3 [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 parking_lot_core v0.9.10 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling wayland-scanner v0.31.2 [INFO] [stderr] Compiling wgpu-hal v0.21.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling wgpu-core v0.21.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Checking bitstream-io v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Compiling winit v0.30.2 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking owned_ttf_parser v0.21.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking ab_glyph v0.2.26 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Checking glam v0.28.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking tobj v4.0.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking sctk-adwaita v0.9.0 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking mclone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/world/chunk.rs:187:46 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(!value.is_some_and(|v| 1 << 17 - 1 <= v)); [INFO] [stdout] | ^^^^^^^^^^^ help: consider parenthesizing your expression: `1 << (17 - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/world/chunk.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let axis = (face as u8 + 1 & 1) as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(face as u8 + 1) & 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: digits of hex, binary or octal literal not in groups of equal size [INFO] [stdout] --> src/world/mod.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | .with_color(0x97c667_ffu32.to_be_bytes().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: consider: `0x97c6_67ff_u32` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings [INFO] [stdout] = note: `#[warn(clippy::unusual_byte_groupings)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/world/chunk.rs:187:46 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(!value.is_some_and(|v| 1 << 17 - 1 <= v)); [INFO] [stdout] | ^^^^^^^^^^^ help: consider parenthesizing your expression: `1 << (17 - 1)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] = note: `#[warn(clippy::precedence)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: operator precedence might not be obvious [INFO] [stdout] --> src/world/chunk.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let axis = (face as u8 + 1 & 1) as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: consider parenthesizing your expression: `(face as u8 + 1) & 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#precedence [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: digits of hex, binary or octal literal not in groups of equal size [INFO] [stdout] --> src/world/mod.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | .with_color(0x97c667_ffu32.to_be_bytes().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: consider: `0x97c6_67ff_u32` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings [INFO] [stdout] = note: `#[warn(clippy::unusual_byte_groupings)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct LightUniform { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / #[repr(C)] [INFO] [stdout] 26 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 27 | | struct LightUniform { [INFO] [stdout] 28 | | dir: glam::Vec3, [INFO] [stdout] ... | [INFO] [stdout] 31 | | _pad2: u32, [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | 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/camera.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / #[repr(C)] [INFO] [stdout] 30 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 31 | | pub struct CameraUniform { [INFO] [stdout] 32 | | pub view_proj: glam::Mat4, [INFO] [stdout] 33 | | pub view_pos: glam::Vec3, [INFO] [stdout] 34 | | pub _pad1: u32, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | 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/gui.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[repr(C)] [INFO] [stdout] 12 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 13 | | pub struct Vertex { [INFO] [stdout] 14 | | pub position: glam::Vec2, [INFO] [stdout] 15 | | pub tex_coords: glam::Vec2, [INFO] [stdout] 16 | | pub color: [u8; 4], [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct InstanceRaw { [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/gui.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / #[repr(C, packed(4))] [INFO] [stdout] 36 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 37 | | pub struct InstanceRaw { [INFO] [stdout] 38 | | pub model: glam::Mat2, [INFO] [stdout] 39 | | pub position: glam::Vec3, [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct GuiUniform { [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/gui.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / #[repr(C)] [INFO] [stdout] 69 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 70 | | pub struct GuiUniform { [INFO] [stdout] 71 | | pub resolution: glam::Vec2, [INFO] [stdout] 72 | | pub _pad1: u64, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InstanceRaw { [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/model.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C, packed(4))] [INFO] [stdout] 11 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 12 | | pub struct InstanceRaw { [INFO] [stdout] 13 | | pub model: glam::Mat4, [INFO] [stdout] 14 | | pub normal: glam::Mat3, [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | 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/model.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / #[repr(C)] [INFO] [stdout] 67 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 68 | | pub struct Vertex { [INFO] [stdout] 69 | | pub position: glam::Vec3, [INFO] [stdout] ... | [INFO] [stdout] 72 | | pub tangent: glam::Vec3, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/chunk.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChunkInstance { [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/world/chunk.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C)] [INFO] [stdout] 11 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 12 | | pub struct ChunkInstance { [INFO] [stdout] 13 | | pub offset: glam::Vec3, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/chunk.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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/world/chunk.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / #[repr(C)] [INFO] [stdout] 32 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 33 | | pub struct Vertex { [INFO] [stdout] 34 | | pub position: glam::Vec3, [INFO] [stdout] 35 | | pub tex_coords: glam::Vec2, [INFO] [stdout] 36 | | pub color: [u8; 4], [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `CameraUniform` [INFO] [stdout] --> src/camera.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn new() -> Self { [INFO] [stdout] 39 | | Self { [INFO] [stdout] 40 | | view_proj: glam::Mat4::IDENTITY, [INFO] [stdout] 41 | | view_pos: glam::Vec3::ZERO, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 37 + impl Default for CameraUniform { [INFO] [stdout] 38 + fn default() -> Self { [INFO] [stdout] 39 + Self::new() [INFO] [stdout] 40 + } [INFO] [stdout] 41 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/texture.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | label: Some(&format!("Dummy Texture")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Dummy Texture".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/texture.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | label: Some(&format!("Dummy Sampler")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Dummy Sampler".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this bound is already specified as the supertrait of `DoubleEndedIterator` [INFO] [stdout] --> src/world/chunk.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> impl Iterator + DoubleEndedIterator + ExactSizeIterator + iter::FusedIterator + Clone [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls [INFO] [stdout] = note: `#[warn(clippy::implied_bounds_in_impls)]` on by default [INFO] [stdout] help: try removing this bound [INFO] [stdout] | [INFO] [stdout] 73 - ) -> impl Iterator + DoubleEndedIterator + ExactSizeIterator + iter::FusedIterator + Clone [INFO] [stdout] 73 + ) -> impl DoubleEndedIterator + ExactSizeIterator + iter::FusedIterator + Clone [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/world/chunk.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(!value.is_some_and(|v| 1 << 17 - 1 <= v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `value.is_none_or(|v| 1 << 17 - 1 > v)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `map(..).flatten()` on `Iterator` [INFO] [stdout] --> src/world/chunk.rs:568:26 [INFO] [stdout] | [INFO] [stdout] 568 | .map(|f| [0, 1, 2, 2, 3, 0].map(|i| 4 * f + i)) [INFO] [stdout] | __________________________^ [INFO] [stdout] 569 | | .flatten() [INFO] [stdout] | |__________________________________^ help: try replacing `map` with `flat_map` and remove the `.flatten()`: `flat_map(|f| [0, 1, 2, 2, 3, 0].map(|i| 4 * f + i))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten [INFO] [stdout] = note: `#[warn(clippy::map_flatten)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | &device, [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | &config, [INFO] [stdout] | ^^^^^^^ help: change this to: `config` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | &camera_bind_group_layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `camera_bind_group_layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | &light_bind_group_layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `light_bind_group_layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | return; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 468 - if self.camera_controller.device_event(&event) { [INFO] [stdout] 469 - return; [INFO] [stdout] 468 + if self.camera_controller.device_event(&event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` has identical blocks [INFO] [stdout] --> src/main.rs:486:56 [INFO] [stdout] | [INFO] [stdout] 486 | if self.camera_controller.window_event(&event) { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 487 | | return; [INFO] [stdout] 488 | | } else if graphics.world.window_event( [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: same as this [INFO] [stdout] --> src/main.rs:493:11 [INFO] [stdout] | [INFO] [stdout] 493 | ) { [INFO] [stdout] | ___________^ [INFO] [stdout] 494 | | return; [INFO] [stdout] 495 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stdout] = note: `#[warn(clippy::if_same_then_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct LightUniform { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / #[repr(C)] [INFO] [stdout] 26 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 27 | | struct LightUniform { [INFO] [stdout] 28 | | dir: glam::Vec3, [INFO] [stdout] ... | [INFO] [stdout] 31 | | _pad2: u32, [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | 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/camera.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / #[repr(C)] [INFO] [stdout] 30 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 31 | | pub struct CameraUniform { [INFO] [stdout] 32 | | pub view_proj: glam::Mat4, [INFO] [stdout] 33 | | pub view_pos: glam::Vec3, [INFO] [stdout] 34 | | pub _pad1: u32, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | 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/gui.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / #[repr(C)] [INFO] [stdout] 12 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 13 | | pub struct Vertex { [INFO] [stdout] 14 | | pub position: glam::Vec2, [INFO] [stdout] 15 | | pub tex_coords: glam::Vec2, [INFO] [stdout] 16 | | pub color: [u8; 4], [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct InstanceRaw { [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/gui.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / #[repr(C, packed(4))] [INFO] [stdout] 36 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 37 | | pub struct InstanceRaw { [INFO] [stdout] 38 | | pub model: glam::Mat2, [INFO] [stdout] 39 | | pub position: glam::Vec3, [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gui.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct GuiUniform { [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/gui.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / #[repr(C)] [INFO] [stdout] 69 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 70 | | pub struct GuiUniform { [INFO] [stdout] 71 | | pub resolution: glam::Vec2, [INFO] [stdout] 72 | | pub _pad1: u64, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InstanceRaw { [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/model.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C, packed(4))] [INFO] [stdout] 11 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 12 | | pub struct InstanceRaw { [INFO] [stdout] 13 | | pub model: glam::Mat4, [INFO] [stdout] 14 | | pub normal: glam::Mat3, [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | 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/model.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / #[repr(C)] [INFO] [stdout] 67 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 68 | | pub struct Vertex { [INFO] [stdout] 69 | | pub position: glam::Vec3, [INFO] [stdout] ... | [INFO] [stdout] 72 | | pub tangent: glam::Vec3, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/chunk.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChunkInstance { [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/world/chunk.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / #[repr(C)] [INFO] [stdout] 11 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 12 | | pub struct ChunkInstance { [INFO] [stdout] 13 | | pub offset: glam::Vec3, [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/chunk.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | 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/world/chunk.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / #[repr(C)] [INFO] [stdout] 32 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 33 | | pub struct Vertex { [INFO] [stdout] 34 | | pub position: glam::Vec3, [INFO] [stdout] 35 | | pub tex_coords: glam::Vec2, [INFO] [stdout] 36 | | pub color: [u8; 4], [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `CameraUniform` [INFO] [stdout] --> src/camera.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / pub fn new() -> Self { [INFO] [stdout] 39 | | Self { [INFO] [stdout] 40 | | view_proj: glam::Mat4::IDENTITY, [INFO] [stdout] 41 | | view_pos: glam::Vec3::ZERO, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 37 + impl Default for CameraUniform { [INFO] [stdout] 38 + fn default() -> Self { [INFO] [stdout] 39 + Self::new() [INFO] [stdout] 40 + } [INFO] [stdout] 41 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/texture.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | label: Some(&format!("Dummy Texture")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Dummy Texture".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/texture.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | label: Some(&format!("Dummy Sampler")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Dummy Sampler".to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this bound is already specified as the supertrait of `DoubleEndedIterator` [INFO] [stdout] --> src/world/chunk.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> impl Iterator + DoubleEndedIterator + ExactSizeIterator + iter::FusedIterator + Clone [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls [INFO] [stdout] = note: `#[warn(clippy::implied_bounds_in_impls)]` on by default [INFO] [stdout] help: try removing this bound [INFO] [stdout] | [INFO] [stdout] 73 - ) -> impl Iterator + DoubleEndedIterator + ExactSizeIterator + iter::FusedIterator + Clone [INFO] [stdout] 73 + ) -> impl DoubleEndedIterator + ExactSizeIterator + iter::FusedIterator + Clone [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/world/chunk.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(!value.is_some_and(|v| 1 << 17 - 1 <= v)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `value.is_none_or(|v| 1 << 17 - 1 > v)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: called `map(..).flatten()` on `Iterator` [INFO] [stdout] --> src/world/chunk.rs:568:26 [INFO] [stdout] | [INFO] [stdout] 568 | .map(|f| [0, 1, 2, 2, 3, 0].map(|i| 4 * f + i)) [INFO] [stdout] | __________________________^ [INFO] [stdout] 569 | | .flatten() [INFO] [stdout] | |__________________________________^ help: try replacing `map` with `flat_map` and remove the `.flatten()`: `flat_map(|f| [0, 1, 2, 2, 3, 0].map(|i| 4 * f + i))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten [INFO] [stdout] = note: `#[warn(clippy::map_flatten)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | &device, [INFO] [stdout] | ^^^^^^^ help: change this to: `device` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | &config, [INFO] [stdout] | ^^^^^^^ help: change this to: `config` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | &camera_bind_group_layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `camera_bind_group_layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/world/mod.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | &light_bind_group_layout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `light_bind_group_layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/main.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | return; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 468 - if self.camera_controller.device_event(&event) { [INFO] [stdout] 469 - return; [INFO] [stdout] 468 + if self.camera_controller.device_event(&event) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` has identical blocks [INFO] [stdout] --> src/main.rs:486:56 [INFO] [stdout] | [INFO] [stdout] 486 | if self.camera_controller.window_event(&event) { [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 487 | | return; [INFO] [stdout] 488 | | } else if graphics.world.window_event( [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: same as this [INFO] [stdout] --> src/main.rs:493:11 [INFO] [stdout] | [INFO] [stdout] 493 | ) { [INFO] [stdout] | ___________^ [INFO] [stdout] 494 | | return; [INFO] [stdout] 495 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#if_same_then_else [INFO] [stdout] = note: `#[warn(clippy::if_same_then_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6305ea4397c112fb528f887fda55c231d776f4e3beb91ae7344093264acc0fd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6305ea4397c112fb528f887fda55c231d776f4e3beb91ae7344093264acc0fd2", kill_on_drop: false }` [INFO] [stdout] 6305ea4397c112fb528f887fda55c231d776f4e3beb91ae7344093264acc0fd2