[INFO] cloning repository https://github.com/ARelaxedScholar/wgpu-foray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ARelaxedScholar/wgpu-foray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FARelaxedScholar%2Fwgpu-foray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FARelaxedScholar%2Fwgpu-foray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfdf69ea071371844bd3e9de6e11e4900c06cfca [INFO] linting ARelaxedScholar/wgpu-foray against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FARelaxedScholar%2Fwgpu-foray" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ARelaxedScholar/wgpu-foray [INFO] finished tweaking git repo https://github.com/ARelaxedScholar/wgpu-foray [INFO] tweaked toml for git repo https://github.com/ARelaxedScholar/wgpu-foray written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ARelaxedScholar/wgpu-foray 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/ARelaxedScholar/wgpu-foray 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.38 [INFO] [stderr] Downloaded proc-macro2 v1.0.93 [INFO] [stderr] Downloaded log v0.4.25 [INFO] [stderr] Downloaded ravif v0.11.11 [INFO] [stderr] Downloaded avif-serialize v0.8.2 [INFO] [stderr] Downloaded serde_spanned v0.6.8 [INFO] [stderr] Downloaded built v0.7.6 [INFO] [stderr] Downloaded cmake v0.1.53 [INFO] [stderr] Downloaded thiserror-impl v2.0.11 [INFO] [stderr] Downloaded redox_syscall v0.5.8 [INFO] [stderr] Downloaded anyhow v1.0.95 [INFO] [stderr] Downloaded image-webp v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded cc v1.2.13 [INFO] [stderr] Downloaded toml_edit v0.22.23 [INFO] [stderr] Downloaded glfw v0.59.0 [INFO] [stderr] Downloaded indexmap v2.7.1 [INFO] [stderr] Downloaded winnow v0.7.2 [INFO] [stderr] Downloaded wgpu v24.0.1 [INFO] [stderr] Downloaded flate2 v1.0.35 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded image v0.25.5 [INFO] [stderr] Downloaded wgpu-core v24.0.0 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] [stderr] Downloaded toml v0.8.20 [INFO] [stderr] Downloaded wgpu-hal v24.0.0 [INFO] [stderr] Downloaded zune-jpeg v0.4.14 [INFO] [stderr] Downloaded miniz_oxide v0.8.3 [INFO] [stderr] Downloaded bytemuck v1.21.0 [INFO] [stderr] Downloaded wgpu-types v24.0.0 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded thiserror v2.0.11 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded naga v24.0.0 [INFO] [stderr] Downloaded glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3333da9412fdd59d0466a89af72bd5513bcbf0a8a592cccde7586c19f86042c7 [INFO] running `Command { std: "docker" "start" "-a" "3333da9412fdd59d0466a89af72bd5513bcbf0a8a592cccde7586c19f86042c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3333da9412fdd59d0466a89af72bd5513bcbf0a8a592cccde7586c19f86042c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3333da9412fdd59d0466a89af72bd5513bcbf0a8a592cccde7586c19f86042c7", kill_on_drop: false }` [INFO] [stdout] 3333da9412fdd59d0466a89af72bd5513bcbf0a8a592cccde7586c19f86042c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9bef49ad33b7aec79033149a0411c817f958be086254349d15f9b6709bf1a9f6 [INFO] running `Command { std: "docker" "start" "-a" "9bef49ad33b7aec79033149a0411c817f958be086254349d15f9b6709bf1a9f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wgpu-hal v24.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling wgpu-core v24.0.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling cmake v0.1.53 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Compiling glfw-sys v5.0.0+3.3.9 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking glfw v0.59.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking wgpu-forray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.086_824_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, clippy::pedantic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(clippy::unreadable_literal)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.086_824_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, clippy::pedantic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(clippy::unreadable_literal)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.492_403_86` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.492_403_86` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.495_134_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.495_134_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.069_586_47` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.069_586_47` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.219_185_49` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.219_185_49` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.449_397_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.449_397_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.359_669_98` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.359_669_98` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.347_329_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.347_329_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.441_473_72` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.441_473_72` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.234_735_9` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.234_735_9` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.086_824_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.086_824_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.492_403_86` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | position: [-0.0868241, 0.49240386, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.492_403_86` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.495_134_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.495_134_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.069_586_47` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | position: [-0.49513406, 0.06958647, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.069_586_47` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.219_185_49` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.219_185_49` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.449_397_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | position: [-0.21918549, -0.44939706, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.449_397_06` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.359_669_98` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.359_669_98` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.347_329_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | position: [0.35966998, -0.3473291, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.347_329_1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.441_473_72` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^^ help: consider: `0.441_473_72` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.234_735_9` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: long literal lacking separators [INFO] [stdout] --> src/main.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | position: [0.44147372, 0.2347359, 0.0], [INFO] [stdout] | ^^^^^^^^^ help: consider: `0.234_735_9` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderEncoder` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | util::{DeviceExt, RenderEncoder}, [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: `RenderEncoder` [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | util::{DeviceExt, RenderEncoder}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderPipelineBank` is never constructed [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct RenderPipelineBank { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderPipelineBank` is never constructed [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct RenderPipelineBank { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAR_VERTICES` is never used [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const STAR_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForayRender` is never constructed [INFO] [stdout] --> src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct ForayRender; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAR_VERTICES` is never used [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const STAR_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForayRender` is never constructed [INFO] [stdout] --> src/main.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct ForayRender; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stage` is never used [INFO] [stdout] --> src/main.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | enum Stage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stage` is never used [INFO] [stdout] --> src/main.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | enum Stage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_vertices` is never read [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | num_vertices: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_vertices` is never read [INFO] [stdout] --> src/main.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 106 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | num_vertices: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many lines (161/100) [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | async fn new(window: &'a mut Window) -> State<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines [INFO] [stdout] = note: `#[warn(clippy::too_many_lines)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many lines (161/100) [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | async fn new(window: &'a mut Window) -> State<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines [INFO] [stdout] = note: `#[warn(clippy::too_many_lines)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `MemoryHints::default()` is more clear than this expression [INFO] [stdout] --> src/main.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | memory_hints: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `MemoryHints::default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access [INFO] [stdout] = note: `#[warn(clippy::default_trait_access)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calling `MemoryHints::default()` is more clear than this expression [INFO] [stdout] --> src/main.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | memory_hints: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try: `MemoryHints::default()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access [INFO] [stdout] = note: `#[warn(clippy::default_trait_access)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | width: size.0.max(1) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `size.0.max(1).cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] = note: `#[warn(clippy::cast_sign_loss)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | height: size.1.max(1) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `size.1.max(1).cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | width: size.0.max(1) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `size.0.max(1).cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] = note: `#[warn(clippy::cast_sign_loss)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | height: size.1.max(1) as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `size.1.max(1).cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers [INFO] [stdout] --> src/main.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | num_vertices: VERTICES.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation [INFO] [stdout] = note: `#[warn(clippy::cast_possible_truncation)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: ... or use `try_from` and handle the error accordingly [INFO] [stdout] | [INFO] [stdout] 295 - num_vertices: VERTICES.len() as u32, [INFO] [stdout] 295 + num_vertices: u32::try_from(VERTICES.len()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers [INFO] [stdout] --> src/main.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | num_vertices: VERTICES.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation [INFO] [stdout] = note: `#[warn(clippy::cast_possible_truncation)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: ... or use `try_from` and handle the error accordingly [INFO] [stdout] | [INFO] [stdout] 295 - num_vertices: VERTICES.len() as u32, [INFO] [stdout] 295 + num_vertices: u32::try_from(VERTICES.len()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers [INFO] [stdout] --> src/main.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | num_indices: INDICES.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation [INFO] [stdout] help: ... or use `try_from` and handle the error accordingly [INFO] [stdout] | [INFO] [stdout] 297 - num_indices: INDICES.len() as u32, [INFO] [stdout] 297 + num_indices: u32::try_from(INDICES.len()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `usize` to `u32` may truncate the value on targets with 64-bit wide pointers [INFO] [stdout] --> src/main.rs:297:26 [INFO] [stdout] | [INFO] [stdout] 297 | num_indices: INDICES.len() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation [INFO] [stdout] help: ... or use `try_from` and handle the error accordingly [INFO] [stdout] | [INFO] [stdout] 297 - num_indices: INDICES.len() as u32, [INFO] [stdout] 297 + num_indices: u32::try_from(INDICES.len()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | self.config.width = new_size.0 as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `new_size.0.cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:305:34 [INFO] [stdout] | [INFO] [stdout] 305 | self.config.height = new_size.1 as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `new_size.1.cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | self.config.width = new_size.0 as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `new_size.0.cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting `i32` to `u32` may lose the sign of the value [INFO] [stdout] --> src/main.rs:305:34 [INFO] [stdout] | [INFO] [stdout] 305 | self.config.height = new_size.1 as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, use `cast_unsigned()` instead: `new_size.1.cast_unsigned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `self` argument [INFO] [stdout] --> src/main.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn update(&mut self) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider refactoring to an associated function [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self [INFO] [stdout] = note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `self` argument [INFO] [stdout] --> src/main.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | fn _render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider refactoring to an associated function [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `self` argument [INFO] [stdout] --> src/main.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 391 | fn update(&mut self) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider refactoring to an associated function [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self [INFO] [stdout] = note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `self` argument [INFO] [stdout] --> src/main.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | fn _render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider refactoring to an associated function [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function's return value is unnecessary [INFO] [stdout] --> src/main.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | fn _render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps [INFO] [stdout] = note: `#[warn(clippy::unnecessary_wraps)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: remove the return type... [INFO] [stdout] | [INFO] [stdout] 393 - fn _render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] 393 + fn _render(&mut self) -> () { [INFO] [stdout] | [INFO] [stdout] help: ...and then remove returned values [INFO] [stdout] | [INFO] [stdout] 394 - Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many lines (128/100) [INFO] [stdout] --> src/main.rs:398:1 [INFO] [stdout] | [INFO] [stdout] 398 | async fn run() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function's return value is unnecessary [INFO] [stdout] --> src/main.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | fn _render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps [INFO] [stdout] = note: `#[warn(clippy::unnecessary_wraps)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: remove the return type... [INFO] [stdout] | [INFO] [stdout] 393 - fn _render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] 393 + fn _render(&mut self) -> () { [INFO] [stdout] | [INFO] [stdout] help: ...and then remove returned values [INFO] [stdout] | [INFO] [stdout] 394 - Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many lines (128/100) [INFO] [stdout] --> src/main.rs:398:1 [INFO] [stdout] | [INFO] [stdout] 398 | async fn run() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider adding a `;` to the last statement for consistent formatting [INFO] [stdout] --> src/main.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | state.window.set_should_close(true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `state.window.set_should_close(true);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned [INFO] [stdout] = note: `#[warn(clippy::semicolon_if_nothing_returned)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider adding a `;` to the last statement for consistent formatting [INFO] [stdout] --> src/main.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | state.window.set_should_close(true) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `state.window.set_should_close(true);` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned [INFO] [stdout] = note: `#[warn(clippy::semicolon_if_nothing_returned)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variables can be used directly in the `format!` string [INFO] [stdout] --> src/main.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | println!("{}, {}", x, y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args [INFO] [stdout] = note: `#[warn(clippy::uninlined_format_args)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 481 - println!("{}, {}", x, y); [INFO] [stdout] 481 + println!("{x}, {y}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casts from `i32` to `f64` can be expressed infallibly using `From` [INFO] [stdout] --> src/main.rs:482:44 [INFO] [stdout] | [INFO] [stdout] 482 | let x_normalized = x / (state.size.0 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: an `as` cast can become silently lossy if the types change in the future [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stdout] = note: `#[warn(clippy::cast_lossless)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: use `f64::from` instead [INFO] [stdout] | [INFO] [stdout] 482 - let x_normalized = x / (state.size.0 as f64); [INFO] [stdout] 482 + let x_normalized = x / f64::from(state.size.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variables can be used directly in the `format!` string [INFO] [stdout] --> src/main.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | println!("{}, {}", x, y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args [INFO] [stdout] = note: `#[warn(clippy::uninlined_format_args)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 481 - println!("{}, {}", x, y); [INFO] [stdout] 481 + println!("{x}, {y}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casts from `i32` to `f64` can be expressed infallibly using `From` [INFO] [stdout] --> src/main.rs:483:44 [INFO] [stdout] | [INFO] [stdout] 483 | let y_normalized = y / (state.size.1 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: an `as` cast can become silently lossy if the types change in the future [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stdout] help: use `f64::from` instead [INFO] [stdout] | [INFO] [stdout] 483 - let y_normalized = y / (state.size.1 as f64); [INFO] [stdout] 483 + let y_normalized = y / f64::from(state.size.1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casts from `i32` to `f64` can be expressed infallibly using `From` [INFO] [stdout] --> src/main.rs:482:44 [INFO] [stdout] | [INFO] [stdout] 482 | let x_normalized = x / (state.size.0 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: an `as` cast can become silently lossy if the types change in the future [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stdout] = note: `#[warn(clippy::cast_lossless)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] help: use `f64::from` instead [INFO] [stdout] | [INFO] [stdout] 482 - let x_normalized = x / (state.size.0 as f64); [INFO] [stdout] 482 + let x_normalized = x / f64::from(state.size.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `midpoint` which can overflow [INFO] [stdout] --> src/main.rs:503:28 [INFO] [stdout] | [INFO] [stdout] 503 | b: (x_normalized + y_normalized) / 2., [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `f64::midpoint` instead: `f64::midpoint(x_normalized, y_normalized)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_midpoint [INFO] [stdout] = note: `#[warn(clippy::manual_midpoint)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casts from `i32` to `f64` can be expressed infallibly using `From` [INFO] [stdout] --> src/main.rs:483:44 [INFO] [stdout] | [INFO] [stdout] 483 | let y_normalized = y / (state.size.1 as f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: an `as` cast can become silently lossy if the types change in the future [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stdout] help: use `f64::from` instead [INFO] [stdout] | [INFO] [stdout] 483 - let y_normalized = y / (state.size.1 as f64); [INFO] [stdout] 483 + let y_normalized = y / f64::from(state.size.1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `midpoint` which can overflow [INFO] [stdout] --> src/main.rs:503:28 [INFO] [stdout] | [INFO] [stdout] 503 | b: (x_normalized + y_normalized) / 2., [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `f64::midpoint` instead: `f64::midpoint(x_normalized, y_normalized)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_midpoint [INFO] [stdout] = note: `#[warn(clippy::manual_midpoint)]` implied by `#[warn(clippy::pedantic)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:527:46 [INFO] [stdout] | [INFO] [stdout] 527 | render_pass.set_pipeline(&render_pipeline); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: change this to: `render_pipeline` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, clippy::pedantic)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` implied by `#[warn(clippy::all)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variables can be used directly in the `format!` string [INFO] [stdout] --> src/main.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | println!("{:?}", event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 538 - println!("{:?}", event); [INFO] [stdout] 538 + println!("{event:?}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:527:46 [INFO] [stdout] | [INFO] [stdout] 527 | render_pass.set_pipeline(&render_pipeline); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: change this to: `render_pipeline` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, clippy::pedantic)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` implied by `#[warn(clippy::all)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variables can be used directly in the `format!` string [INFO] [stdout] --> src/main.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | println!("{:?}", event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 538 - println!("{:?}", event); [INFO] [stdout] 538 + println!("{event:?}"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.90s [INFO] running `Command { std: "docker" "inspect" "9bef49ad33b7aec79033149a0411c817f958be086254349d15f9b6709bf1a9f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bef49ad33b7aec79033149a0411c817f958be086254349d15f9b6709bf1a9f6", kill_on_drop: false }` [INFO] [stdout] 9bef49ad33b7aec79033149a0411c817f958be086254349d15f9b6709bf1a9f6