[INFO] cloning repository https://github.com/ErikBot42/marching_cubes_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ErikBot42/marching_cubes_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikBot42%2Fmarching_cubes_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikBot42%2Fmarching_cubes_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57ea7608386b0e82af33c0f4117df91209542207 [INFO] checking ErikBot42/marching_cubes_rs against try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErikBot42%2Fmarching_cubes_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ErikBot42/marching_cubes_rs [INFO] finished tweaking git repo https://github.com/ErikBot42/marching_cubes_rs [INFO] tweaked toml for git repo https://github.com/ErikBot42/marching_cubes_rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ErikBot42/marching_cubes_rs on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ErikBot42/marching_cubes_rs 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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcdc55f0116d03cfcf8ea7d71e074efa3dd2bd6618c70ade2880a26a6e36c4da [INFO] running `Command { std: "docker" "start" "-a" "dcdc55f0116d03cfcf8ea7d71e074efa3dd2bd6618c70ade2880a26a6e36c4da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcdc55f0116d03cfcf8ea7d71e074efa3dd2bd6618c70ade2880a26a6e36c4da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcdc55f0116d03cfcf8ea7d71e074efa3dd2bd6618c70ade2880a26a6e36c4da", kill_on_drop: false }` [INFO] [stdout] dcdc55f0116d03cfcf8ea7d71e074efa3dd2bd6618c70ade2880a26a6e36c4da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b1837dbe0cc5559f75aada0c1ae07aed384869d7f6407453608849c6393303 [INFO] running `Command { std: "docker" "start" "-a" "a8b1837dbe0cc5559f75aada0c1ae07aed384869d7f6407453608849c6393303", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking raw-window-handle v0.6.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-hal v0.20.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Compiling wgpu-core v0.20.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling wgpu v0.20.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling marching_cubes_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking webbrowser v1.0.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking ecolor v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stderr] Checking emath v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking epaint v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking egui v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking egui_plot v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Checking egui-winit v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stderr] Checking egui-wgpu v0.27.2 (https://github.com/emilk/egui.git?rev=c3f386aa301f26106397c4e14434bd5a734ba6b6#c3f386aa) [INFO] [stdout] warning: unused imports: `Arc`, `HashMap`, `Mutex`, and `fmt::Display` [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | collections::{BTreeSet, HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `VecDeque` [INFO] [stdout] --> src/marching_cubes.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `HashMap`, `Mutex`, and `fmt::Display` [INFO] [stdout] --> src/main.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | collections::{BTreeSet, HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `VecDeque` [INFO] [stdout] --> src/marching_cubes.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, VecDeque}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderEncoder` [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use wgpu::util::{DeviceExt, RenderEncoder}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/marching_cubes.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | for (id, tri) in f.1.iter_mut().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/marching_cubes.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let scale = size as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderEncoder` [INFO] [stdout] --> src/main.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use wgpu::util::{DeviceExt, RenderEncoder}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/marching_cubes.rs:242:14 [INFO] [stdout] | [INFO] [stdout] 242 | for (id, tri) in f.1.iter_mut().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/marching_cubes.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let scale = size as f32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_texture` [INFO] [stdout] --> src/main.rs:1822:13 [INFO] [stdout] | [INFO] [stdout] 1822 | let depth_texture = Texture::new_depth(&device, &surface_config); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_color` is never read [INFO] [stdout] --> src/main.rs:2177:13 [INFO] [stdout] | [INFO] [stdout] 2177 | first_color = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_depth` is never read [INFO] [stdout] --> src/main.rs:2178:13 [INFO] [stdout] | [INFO] [stdout] 2178 | first_depth = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_texture` [INFO] [stdout] --> src/main.rs:1822:13 [INFO] [stdout] | [INFO] [stdout] 1822 | let depth_texture = Texture::new_depth(&device, &surface_config); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct DrawIndirectArgs2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[repr(C)] [INFO] [stdout] 80 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 81 | | struct DrawIndirectArgs2 { [INFO] [stdout] 82 | | vertex_count: u32, [INFO] [stdout] ... | [INFO] [stdout] 85 | | first_instance: u32, [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | 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/main.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | / #[repr(C)] [INFO] [stdout] 356 | | #[derive(bytemuck::Pod, bytemuck::Zeroable, Copy, Clone)] [INFO] [stdout] 357 | | struct Vertex { [INFO] [stdout] 358 | | pos: [f32; 3], [INFO] [stdout] 359 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `register` is never used [INFO] [stdout] --> src/main.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 367 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 368 | fn register(v: &mut Vec<(&'static str, &'static str)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | / wgsl_uniform!(TriAllocUniform TRI_ALLOC_UNIFORM [INFO] [stdout] 381 | | // 3 bit (0..=4) [INFO] [stdout] 382 | | case_to_size: [u32; 256], [INFO] [stdout] 383 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRI_ALLOC_UNIFORM` is never used [INFO] [stdout] --> src/main.rs:380:31 [INFO] [stdout] | [INFO] [stdout] 380 | wgsl_uniform!(TriAllocUniform TRI_ALLOC_UNIFORM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `register` is never used [INFO] [stdout] --> src/main.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 367 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 368 | fn register(v: &mut Vec<(&'static str, &'static str)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | / wgsl_uniform!(TriWriteBackUniform TRI_WRITE_BACK_UNIFORM [INFO] [stdout] 392 | | /// triangle lives on 3 edges [INFO] [stdout] 393 | | /// each edge is on 2 corners [INFO] [stdout] 394 | | /// edge0 edge1, edge2 [INFO] [stdout] ... | [INFO] [stdout] 404 | | _unused2: u32, [INFO] [stdout] 405 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRI_WRITE_BACK_UNIFORM` is never used [INFO] [stdout] --> src/main.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | wgsl_uniform!(TriWriteBackUniform TRI_WRITE_BACK_UNIFORM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `register` is never used [INFO] [stdout] --> src/main.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 367 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 368 | fn register(v: &mut Vec<(&'static str, &'static str)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | / wgsl_uniform!(RenderCaseUniform RENDER_CASE_UNIFORM [INFO] [stdout] 427 | | /// XYZ XYZ XYZ XYZ XYZ XYZ = 18 bit [INFO] [stdout] 428 | | triangle_to_corners: [u32; 190], // 135 [INFO] [stdout] 429 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RENDER_CASE_UNIFORM` is never used [INFO] [stdout] --> src/main.rs:426:33 [INFO] [stdout] | [INFO] [stdout] 426 | wgsl_uniform!(RenderCaseUniform RENDER_CASE_UNIFORM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | struct ChunkUniform { [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/main.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / #[repr(C)] [INFO] [stdout] 549 | | struct ChunkUniform { [INFO] [stdout] 550 | | x: u32, [INFO] [stdout] 551 | | y: u32, [INFO] [stdout] 552 | | z: u32, [INFO] [stdout] 553 | | offset: u32, [INFO] [stdout] 554 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_WRITE` is never used [INFO] [stdout] --> src/main.rs:649:7 [INFO] [stdout] | [INFO] [stdout] 649 | const MAP_WRITE: wgpu::BufferUsages = wgpu::BufferUsages::MAP_WRITE; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX` is never used [INFO] [stdout] --> src/main.rs:652:7 [INFO] [stdout] | [INFO] [stdout] 652 | const INDEX: wgpu::BufferUsages = wgpu::BufferUsages::INDEX; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdf_data`, `staging_buffer`, and `inspect_buffer` are never read [INFO] [stdout] --> src/main.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 659 | struct TriGenState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 663 | sdf_data: MetaBuffer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 674 | staging_buffer: MetaBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 675 | render_case_uniform: MetaBuffer, [INFO] [stdout] 676 | inspect_buffer: MetaBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_above` is never read [INFO] [stdout] --> src/main.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 809 | struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 816 | debug_above: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/main.rs:998:5 [INFO] [stdout] | [INFO] [stdout] 997 | struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 998 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:1113:16 [INFO] [stdout] | [INFO] [stdout] 1113 | struct Query { [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/main.rs:1111:9 [INFO] [stdout] | [INFO] [stdout] 1111 | / #[repr(C)] [INFO] [stdout] 1112 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 1113 | | struct Query { [INFO] [stdout] 1114 | | start: u64, [INFO] [stdout] 1115 | | end: u64, [INFO] [stdout] 1116 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instance` is never read [INFO] [stdout] --> src/main.rs:1709:5 [INFO] [stdout] | [INFO] [stdout] 1706 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1709 | instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_deferred_bind_group_depth_layout` is never used [INFO] [stdout] --> src/main.rs:2312:4 [INFO] [stdout] | [INFO] [stdout] 2312 | fn create_deferred_bind_group_depth_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `corner_to_pos` is never read [INFO] [stdout] --> src/marching_cubes.rs:327:16 [INFO] [stdout] | [INFO] [stdout] 315 | pub(crate) struct CubeMarch { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 327 | pub(crate) corner_to_pos: [[i32; 3]; 8], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube_march_cpu` is never used [INFO] [stdout] --> src/marching_cubes.rs:334:15 [INFO] [stdout] | [INFO] [stdout] 334 | pub(crate) fn cube_march_cpu() -> Vec<[[f32; 3]; 3]> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:536:16 [INFO] [stdout] | [INFO] [stdout] 536 | fn binding(&self, binding: u32) -> wgpu::BindGroupEntry { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 536 | fn binding(&self, binding: u32) -> wgpu::BindGroupEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:1218:10 [INFO] [stdout] | [INFO] [stdout] 1218 | &'a mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 1221 | Option>, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 1222 | &wgpu::RenderPipeline, [INFO] [stdout] | --------------------- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1222 | &'a wgpu::RenderPipeline, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_color` is never read [INFO] [stdout] --> src/main.rs:2177:13 [INFO] [stdout] | [INFO] [stdout] 2177 | first_color = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_depth` is never read [INFO] [stdout] --> src/main.rs:2178:13 [INFO] [stdout] | [INFO] [stdout] 2178 | first_depth = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct DrawIndirectArgs2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / #[repr(C)] [INFO] [stdout] 80 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 81 | | struct DrawIndirectArgs2 { [INFO] [stdout] 82 | | vertex_count: u32, [INFO] [stdout] ... | [INFO] [stdout] 85 | | first_instance: u32, [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | 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/main.rs:355:1 [INFO] [stdout] | [INFO] [stdout] 355 | / #[repr(C)] [INFO] [stdout] 356 | | #[derive(bytemuck::Pod, bytemuck::Zeroable, Copy, Clone)] [INFO] [stdout] 357 | | struct Vertex { [INFO] [stdout] 358 | | pos: [f32; 3], [INFO] [stdout] 359 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `register` is never used [INFO] [stdout] --> src/main.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 367 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 368 | fn register(v: &mut Vec<(&'static str, &'static str)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | / wgsl_uniform!(TriAllocUniform TRI_ALLOC_UNIFORM [INFO] [stdout] 381 | | // 3 bit (0..=4) [INFO] [stdout] 382 | | case_to_size: [u32; 256], [INFO] [stdout] 383 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRI_ALLOC_UNIFORM` is never used [INFO] [stdout] --> src/main.rs:380:31 [INFO] [stdout] | [INFO] [stdout] 380 | wgsl_uniform!(TriAllocUniform TRI_ALLOC_UNIFORM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `register` is never used [INFO] [stdout] --> src/main.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 367 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 368 | fn register(v: &mut Vec<(&'static str, &'static str)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | / wgsl_uniform!(TriWriteBackUniform TRI_WRITE_BACK_UNIFORM [INFO] [stdout] 392 | | /// triangle lives on 3 edges [INFO] [stdout] 393 | | /// each edge is on 2 corners [INFO] [stdout] 394 | | /// edge0 edge1, edge2 [INFO] [stdout] ... | [INFO] [stdout] 404 | | _unused2: u32, [INFO] [stdout] 405 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRI_WRITE_BACK_UNIFORM` is never used [INFO] [stdout] --> src/main.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | wgsl_uniform!(TriWriteBackUniform TRI_WRITE_BACK_UNIFORM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `register` is never used [INFO] [stdout] --> src/main.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 367 | impl $name { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 368 | fn register(v: &mut Vec<(&'static str, &'static str)>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | / wgsl_uniform!(RenderCaseUniform RENDER_CASE_UNIFORM [INFO] [stdout] 427 | | /// XYZ XYZ XYZ XYZ XYZ XYZ = 18 bit [INFO] [stdout] 428 | | triangle_to_corners: [u32; 190], // 135 [INFO] [stdout] 429 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RENDER_CASE_UNIFORM` is never used [INFO] [stdout] --> src/main.rs:426:33 [INFO] [stdout] | [INFO] [stdout] 426 | wgsl_uniform!(RenderCaseUniform RENDER_CASE_UNIFORM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wgsl_uniform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | struct ChunkUniform { [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/main.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / #[repr(C)] [INFO] [stdout] 549 | | struct ChunkUniform { [INFO] [stdout] 550 | | x: u32, [INFO] [stdout] 551 | | y: u32, [INFO] [stdout] 552 | | z: u32, [INFO] [stdout] 553 | | offset: u32, [INFO] [stdout] 554 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAP_WRITE` is never used [INFO] [stdout] --> src/main.rs:649:7 [INFO] [stdout] | [INFO] [stdout] 649 | const MAP_WRITE: wgpu::BufferUsages = wgpu::BufferUsages::MAP_WRITE; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX` is never used [INFO] [stdout] --> src/main.rs:652:7 [INFO] [stdout] | [INFO] [stdout] 652 | const INDEX: wgpu::BufferUsages = wgpu::BufferUsages::INDEX; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdf_data`, `staging_buffer`, and `inspect_buffer` are never read [INFO] [stdout] --> src/main.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 659 | struct TriGenState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 663 | sdf_data: MetaBuffer, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 674 | staging_buffer: MetaBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 675 | render_case_uniform: MetaBuffer, [INFO] [stdout] 676 | inspect_buffer: MetaBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_above` is never read [INFO] [stdout] --> src/main.rs:816:5 [INFO] [stdout] | [INFO] [stdout] 809 | struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 816 | debug_above: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/main.rs:998:5 [INFO] [stdout] | [INFO] [stdout] 997 | struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 998 | texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:1113:16 [INFO] [stdout] | [INFO] [stdout] 1113 | struct Query { [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/main.rs:1111:9 [INFO] [stdout] | [INFO] [stdout] 1111 | / #[repr(C)] [INFO] [stdout] 1112 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 1113 | | struct Query { [INFO] [stdout] 1114 | | start: u64, [INFO] [stdout] 1115 | | end: u64, [INFO] [stdout] 1116 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `instance` is never read [INFO] [stdout] --> src/main.rs:1709:5 [INFO] [stdout] | [INFO] [stdout] 1706 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1709 | instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_deferred_bind_group_depth_layout` is never used [INFO] [stdout] --> src/main.rs:2312:4 [INFO] [stdout] | [INFO] [stdout] 2312 | fn create_deferred_bind_group_depth_layout(device: &wgpu::Device) -> wgpu::BindGroupLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `corner_to_pos` is never read [INFO] [stdout] --> src/marching_cubes.rs:327:16 [INFO] [stdout] | [INFO] [stdout] 315 | pub(crate) struct CubeMarch { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 327 | pub(crate) corner_to_pos: [[i32; 3]; 8], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube_march_cpu` is never used [INFO] [stdout] --> src/marching_cubes.rs:334:15 [INFO] [stdout] | [INFO] [stdout] 334 | pub(crate) fn cube_march_cpu() -> Vec<[[f32; 3]; 3]> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:536:16 [INFO] [stdout] | [INFO] [stdout] 536 | fn binding(&self, binding: u32) -> wgpu::BindGroupEntry { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 536 | fn binding(&self, binding: u32) -> wgpu::BindGroupEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:1218:10 [INFO] [stdout] | [INFO] [stdout] 1218 | &'a mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 1221 | Option>, [INFO] [stdout] | -- the lifetimes get resolved as `'a` [INFO] [stdout] 1222 | &wgpu::RenderPipeline, [INFO] [stdout] | --------------------- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1222 | &'a wgpu::RenderPipeline, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [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 2` [INFO] running `Command { std: "docker" "inspect" "a8b1837dbe0cc5559f75aada0c1ae07aed384869d7f6407453608849c6393303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b1837dbe0cc5559f75aada0c1ae07aed384869d7f6407453608849c6393303", kill_on_drop: false }` [INFO] [stdout] a8b1837dbe0cc5559f75aada0c1ae07aed384869d7f6407453608849c6393303