[INFO] cloning repository https://github.com/it-is-zane/zgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/it-is-zane/zgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fit-is-zane%2Fzgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fit-is-zane%2Fzgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 829cedd3ed1089f051fc3df41ff1ce3a49fb9c13 [INFO] checking it-is-zane/zgpu against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fit-is-zane%2Fzgpu" "/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/it-is-zane/zgpu [INFO] finished tweaking git repo https://github.com/it-is-zane/zgpu [INFO] tweaked toml for git repo https://github.com/it-is-zane/zgpu written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/it-is-zane/zgpu on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/it-is-zane/zgpu 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85726df7a335dc01ad3f8c48d786bfad84e5dd0e87fb55cf3a1e8c189fd58c90 [INFO] running `Command { std: "docker" "start" "-a" "85726df7a335dc01ad3f8c48d786bfad84e5dd0e87fb55cf3a1e8c189fd58c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85726df7a335dc01ad3f8c48d786bfad84e5dd0e87fb55cf3a1e8c189fd58c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85726df7a335dc01ad3f8c48d786bfad84e5dd0e87fb55cf3a1e8c189fd58c90", kill_on_drop: false }` [INFO] [stdout] 85726df7a335dc01ad3f8c48d786bfad84e5dd0e87fb55cf3a1e8c189fd58c90 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d409fc0671218e7b0c9e027a1e2e2f8b82d43fcb0be22614706fc4a6636a3de7 [INFO] running `Command { std: "docker" "start" "-a" "d409fc0671218e7b0c9e027a1e2e2f8b82d43fcb0be22614706fc4a6636a3de7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Checking allocator-api2 v0.2.20 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking typeface v0.4.3 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling wgpu-hal v24.0.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking truetype v0.47.8 [INFO] [stderr] Checking postscript v0.18.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling wgpu-core v24.0.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking opentype v0.38.1 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling imgui-sys v0.12.0 [INFO] [stderr] Checking brotli-decompressor v4.0.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking avif-serialize v0.8.3 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking chlorine v1.0.13 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking glm v0.2.3 [INFO] [stderr] Checking webtype v0.17.0 [INFO] [stderr] Checking font v0.40.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking imgui v0.12.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [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 xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.5 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.7 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.5 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.5 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking zgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `quaternion::Quat` [INFO] [stdout] --> src/math/mod.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | use quaternion::Quat; [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: `quaternion::Quat` [INFO] [stdout] --> src/math/mod.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | use quaternion::Quat; [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 variable: `window_bundle` [INFO] [stdout] --> src/app.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | window_bundle: &mut WindowBundle, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_bundle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpu` [INFO] [stdout] --> src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | gpu: &mut Gpu, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | event_loop: &winit::event_loop::ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/app.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | event: winit::event::WindowEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_bundle` [INFO] [stdout] --> src/app.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | window_bundle: &mut WindowBundle, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_bundle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gpu` [INFO] [stdout] --> src/app.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | gpu: &mut Gpu, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/app.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | event_loop: &winit::event_loop::ActiveEventLoop, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/app.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | event: winit::event::WindowEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math/mod.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | let mut j = points.len() - 1; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn insync(mut future: impl std::future::Future) -> T { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut line = Line::new("'Zane Gant'"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreateWindow` is never constructed [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 2 | DeleteWindow(winit::window::WindowId), [INFO] [stdout] 3 | CreateWindow(Box EventHandlerPtr>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Zero` is never used [INFO] [stdout] --> src/math/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Zero { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identity` is never used [INFO] [stdout] --> src/math/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Identity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sqrt` is never used [INFO] [stdout] --> src/math/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Sqrt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Atan2` is never used [INFO] [stdout] --> src/math/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Atan2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scratch` is never used [INFO] [stdout] --> src/math/mod.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn scratch() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cross` is never used [INFO] [stdout] --> src/math/mod.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 301 | impl + Add + Sub + Copy> Vec3 { [INFO] [stdout] | --------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 302 | #[inline(always)] [INFO] [stdout] 303 | pub fn cross(self, rhs: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/math/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 97 | impl + Zero> $name { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 98 | #[inline(always)] [INFO] [stdout] 99 | pub fn sum(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dot` is never used [INFO] [stdout] --> src/math/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 104 | impl + Add + Zero> $name { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 105 | #[inline(always)] [INFO] [stdout] 106 | pub fn dot(self, other: Self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/math/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 111 | impl + Zero + Mul + Sqrt + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------ method in this implementation [INFO] [stdout] 112 | #[inline(always)] [INFO] [stdout] 113 | pub fn len(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `proj` is never used [INFO] [stdout] --> src/math/mod.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 118 | impl + Div + Zero + Mul + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 119 | #[inline(always)] [INFO] [stdout] 120 | pub fn proj(self, to: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalized` is never used [INFO] [stdout] --> src/math/mod.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl + Div + Mul + Zero + Sqrt + Eq + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] 127 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit_length` is never used [INFO] [stdout] --> src/math/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 139 | impl + Div + Mul + Zero + Sqrt + PartialOrd + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 140 | #[inline(always)] [INFO] [stdout] 141 | pub fn limit_length(self, limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3` is never constructed [INFO] [stdout] --> src/math/mod.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/mod.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 88 | impl $name { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 89 | #[inline(always)] [INFO] [stdout] 90 | pub const fn new($($fields: T,)+) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/math/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 97 | impl + Zero> $name { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 98 | #[inline(always)] [INFO] [stdout] 99 | pub fn sum(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dot` is never used [INFO] [stdout] --> src/math/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 104 | impl + Add + Zero> $name { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 105 | #[inline(always)] [INFO] [stdout] 106 | pub fn dot(self, other: Self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/math/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 111 | impl + Zero + Mul + Sqrt + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------ method in this implementation [INFO] [stdout] 112 | #[inline(always)] [INFO] [stdout] 113 | pub fn len(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `proj` is never used [INFO] [stdout] --> src/math/mod.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 118 | impl + Div + Zero + Mul + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 119 | #[inline(always)] [INFO] [stdout] 120 | pub fn proj(self, to: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalized` is never used [INFO] [stdout] --> src/math/mod.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl + Div + Mul + Zero + Sqrt + Eq + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] 127 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit_length` is never used [INFO] [stdout] --> src/math/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 139 | impl + Div + Mul + Zero + Sqrt + PartialOrd + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 140 | #[inline(always)] [INFO] [stdout] 141 | pub fn limit_length(self, limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4` is never constructed [INFO] [stdout] --> src/math/mod.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/mod.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 88 | impl $name { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 89 | #[inline(always)] [INFO] [stdout] 90 | pub const fn new($($fields: T,)+) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/math/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 97 | impl + Zero> $name { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 98 | #[inline(always)] [INFO] [stdout] 99 | pub fn sum(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dot` is never used [INFO] [stdout] --> src/math/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 104 | impl + Add + Zero> $name { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 105 | #[inline(always)] [INFO] [stdout] 106 | pub fn dot(self, other: Self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/math/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 111 | impl + Zero + Mul + Sqrt + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------ method in this implementation [INFO] [stdout] 112 | #[inline(always)] [INFO] [stdout] 113 | pub fn len(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `proj` is never used [INFO] [stdout] --> src/math/mod.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 118 | impl + Div + Zero + Mul + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 119 | #[inline(always)] [INFO] [stdout] 120 | pub fn proj(self, to: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalized` is never used [INFO] [stdout] --> src/math/mod.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl + Div + Mul + Zero + Sqrt + Eq + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] 127 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit_length` is never used [INFO] [stdout] --> src/math/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 139 | impl + Div + Mul + Zero + Sqrt + PartialOrd + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 140 | #[inline(always)] [INFO] [stdout] 141 | pub fn limit_length(self, limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math/mod.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | let mut j = points.len() - 1; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mat2` is never constructed [INFO] [stdout] --> src/math/mod.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | create_matrix!(Mat2, Vec2, x y); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mat3` is never constructed [INFO] [stdout] --> src/math/mod.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | create_matrix!(Mat3, Vec3, x y z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mat4` is never constructed [INFO] [stdout] --> src/math/mod.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | create_matrix!(Mat4, Vec4, x y z w); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quat` is never constructed [INFO] [stdout] --> src/math/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct Quat(Vec3, T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_axis_angle` is never used [INFO] [stdout] --> src/math/mod.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 382 | / impl< [INFO] [stdout] 383 | | T: Add [INFO] [stdout] 384 | | + Mul [INFO] [stdout] 385 | | + Div [INFO] [stdout] ... | [INFO] [stdout] 391 | | + Copy, [INFO] [stdout] 392 | | > Quat [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 395 | fn to_axis_angle(self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rect` and `polygon` are never used [INFO] [stdout] --> src/math/mod.rs:418:16 [INFO] [stdout] | [INFO] [stdout] 417 | impl Vec2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 418 | pub fn rect(self, pos: Vec2, scale: Vec2) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn polygon(self, points: Vec) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_layout`, `add_depth_stencil`, `add_multisample`, `add_multiview`, and `add_cache` are never used [INFO] [stdout] --> src/render_pipeline.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, D, V> Builder<'a, D, V> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn add_layout(self, layout: &'a wgpu::PipelineLayout) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_depth_stencil(self, depth_stencil: wgpu::DepthStencilState) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn add_multisample(self, multisample: wgpu::MultisampleState) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn add_multiview(self, multiview: std::num::NonZero) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn add_cache(self, cache: &'a wgpu::PipelineCache) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/renderer_backend/bind_group.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Builder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `set_layout`, `add_material`, `add_buffer`, and `build` are never used [INFO] [stdout] --> src/renderer_backend/bind_group.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(device: &'a wgpu::Device) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_layout(&mut self, layout: &'a wgpu::BindGroupLayout) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_material(&mut self, view: &'a wgpu::TextureView, sampler: &'a wgpu::Sampler) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_buffer(&mut self, buffer: &'a wgpu::Buffer, offset: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build(&mut self, label: &str) -> wgpu::BindGroup { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/renderer_backend/bind_group_layout.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Builder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `add_material`, `add_ubo`, and `build` are never used [INFO] [stdout] --> src/renderer_backend/bind_group_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(device: &'a wgpu::Device) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_material(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn add_ubo(&mut self, visibility: wgpu::ShaderStages) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn build(&mut self, label: &str) -> wgpu::BindGroupLayout { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Material` is never constructed [INFO] [stdout] --> src/renderer_backend/material.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer_backend/material.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_layout` is never used [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub fn get_layout() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_triangle` is never used [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn make_triangle(device: &wgpu::Device) -> wgpu::Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_quad` is never used [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn make_quad(device: &wgpu::Device) -> Mesh { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/renderer_backend/pipeline.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Builder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/renderer_backend/pipeline.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(device: &'a wgpu::Device) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn add_vertex_buffer_layout(&mut self, layout: wgpu::VertexBufferLayout<'static>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn add_bind_group_layout(&mut self, layout: &'a wgpu::BindGroupLayout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_shader_module( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn set_pixel_format(&mut self, pixel_fomat: wgpu::TextureFormat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn build_pipeline(&mut self, label: &str) -> wgpu::RenderPipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UBO` is never constructed [INFO] [stdout] --> src/renderer_backend/ubo.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UBO { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `upload` are never used [INFO] [stdout] --> src/renderer_backend/ubo.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UBO { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(device: &wgpu::Device, object_count: usize, layout: wgpu::BindGroupLayout) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn upload(&mut self, i: u64, matrix: &T, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/text.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn push(&mut self, text: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsBytes` is never used [INFO] [stdout] --> src/util.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait AsBytes<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_u8_slice` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn as_u8_slice(p: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GpuError` is never used [INFO] [stdout] --> src/util.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum GpuError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gpu` is never used [INFO] [stdout] --> src/util.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_gpu() -> Result<(wgpu::Instance, wgpu::Device, wgpu::Queue), GpuError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn insync(mut future: impl std::future::Future) -> T { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut line = Line::new("'Zane Gant'"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CreateWindow` is never constructed [INFO] [stdout] --> src/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 2 | DeleteWindow(winit::window::WindowId), [INFO] [stdout] 3 | CreateWindow(Box EventHandlerPtr>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Zero` is never used [INFO] [stdout] --> src/math/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Zero { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identity` is never used [INFO] [stdout] --> src/math/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Identity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Sqrt` is never used [INFO] [stdout] --> src/math/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Sqrt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Atan2` is never used [INFO] [stdout] --> src/math/mod.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Atan2 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scratch` is never used [INFO] [stdout] --> src/math/mod.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn scratch() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cross` is never used [INFO] [stdout] --> src/math/mod.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 301 | impl + Add + Sub + Copy> Vec3 { [INFO] [stdout] | --------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 302 | #[inline(always)] [INFO] [stdout] 303 | pub fn cross(self, rhs: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/math/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 97 | impl + Zero> $name { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 98 | #[inline(always)] [INFO] [stdout] 99 | pub fn sum(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dot` is never used [INFO] [stdout] --> src/math/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 104 | impl + Add + Zero> $name { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 105 | #[inline(always)] [INFO] [stdout] 106 | pub fn dot(self, other: Self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/math/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 111 | impl + Zero + Mul + Sqrt + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------ method in this implementation [INFO] [stdout] 112 | #[inline(always)] [INFO] [stdout] 113 | pub fn len(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `proj` is never used [INFO] [stdout] --> src/math/mod.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 118 | impl + Div + Zero + Mul + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 119 | #[inline(always)] [INFO] [stdout] 120 | pub fn proj(self, to: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalized` is never used [INFO] [stdout] --> src/math/mod.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl + Div + Mul + Zero + Sqrt + Eq + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] 127 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit_length` is never used [INFO] [stdout] --> src/math/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 139 | impl + Div + Mul + Zero + Sqrt + PartialOrd + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 140 | #[inline(always)] [INFO] [stdout] 141 | pub fn limit_length(self, limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | create_vec!(Vec2, x y); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3` is never constructed [INFO] [stdout] --> src/math/mod.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/mod.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 88 | impl $name { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 89 | #[inline(always)] [INFO] [stdout] 90 | pub const fn new($($fields: T,)+) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/math/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 97 | impl + Zero> $name { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 98 | #[inline(always)] [INFO] [stdout] 99 | pub fn sum(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dot` is never used [INFO] [stdout] --> src/math/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 104 | impl + Add + Zero> $name { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 105 | #[inline(always)] [INFO] [stdout] 106 | pub fn dot(self, other: Self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/math/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 111 | impl + Zero + Mul + Sqrt + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------ method in this implementation [INFO] [stdout] 112 | #[inline(always)] [INFO] [stdout] 113 | pub fn len(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `proj` is never used [INFO] [stdout] --> src/math/mod.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 118 | impl + Div + Zero + Mul + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 119 | #[inline(always)] [INFO] [stdout] 120 | pub fn proj(self, to: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalized` is never used [INFO] [stdout] --> src/math/mod.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl + Div + Mul + Zero + Sqrt + Eq + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] 127 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit_length` is never used [INFO] [stdout] --> src/math/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 139 | impl + Div + Mul + Zero + Sqrt + PartialOrd + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 140 | #[inline(always)] [INFO] [stdout] 141 | pub fn limit_length(self, limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | create_vec!(Vec3, x y z); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4` is never constructed [INFO] [stdout] --> src/math/mod.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/mod.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 88 | impl $name { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 89 | #[inline(always)] [INFO] [stdout] 90 | pub const fn new($($fields: T,)+) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sum` is never used [INFO] [stdout] --> src/math/mod.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 97 | impl + Zero> $name { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 98 | #[inline(always)] [INFO] [stdout] 99 | pub fn sum(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dot` is never used [INFO] [stdout] --> src/math/mod.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 104 | impl + Add + Zero> $name { [INFO] [stdout] | ---------------------------------------------------------- method in this implementation [INFO] [stdout] 105 | #[inline(always)] [INFO] [stdout] 106 | pub fn dot(self, other: Self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/math/mod.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 111 | impl + Zero + Mul + Sqrt + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------ method in this implementation [INFO] [stdout] 112 | #[inline(always)] [INFO] [stdout] 113 | pub fn len(self) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `proj` is never used [INFO] [stdout] --> src/math/mod.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 118 | impl + Div + Zero + Mul + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 119 | #[inline(always)] [INFO] [stdout] 120 | pub fn proj(self, to: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `normalized` is never used [INFO] [stdout] --> src/math/mod.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 125 | impl + Div + Mul + Zero + Sqrt + Eq + Copy> $name { [INFO] [stdout] | ----------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 126 | #[inline(always)] [INFO] [stdout] 127 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `limit_length` is never used [INFO] [stdout] --> src/math/mod.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 139 | impl + Div + Mul + Zero + Sqrt + PartialOrd + Copy> $name { [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] 140 | #[inline(always)] [INFO] [stdout] 141 | pub fn limit_length(self, limit: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | create_vec!(Vec4, x y z w); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mat2` is never constructed [INFO] [stdout] --> src/math/mod.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | create_matrix!(Mat2, Vec2, x y); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mat3` is never constructed [INFO] [stdout] --> src/math/mod.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | create_matrix!(Mat3, Vec3, x y z); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mat4` is never constructed [INFO] [stdout] --> src/math/mod.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | create_matrix!(Mat4, Vec4, x y z w); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_matrix` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quat` is never constructed [INFO] [stdout] --> src/math/mod.rs:380:16 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct Quat(Vec3, T); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_axis_angle` is never used [INFO] [stdout] --> src/math/mod.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 382 | / impl< [INFO] [stdout] 383 | | T: Add [INFO] [stdout] 384 | | + Mul [INFO] [stdout] 385 | | + Div [INFO] [stdout] ... | [INFO] [stdout] 391 | | + Copy, [INFO] [stdout] 392 | | > Quat [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 395 | fn to_axis_angle(self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rect` and `polygon` are never used [INFO] [stdout] --> src/math/mod.rs:418:16 [INFO] [stdout] | [INFO] [stdout] 417 | impl Vec2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 418 | pub fn rect(self, pos: Vec2, scale: Vec2) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn polygon(self, points: Vec) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_layout`, `add_depth_stencil`, `add_multisample`, `add_multiview`, and `add_cache` are never used [INFO] [stdout] --> src/render_pipeline.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, D, V> Builder<'a, D, V> { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn add_layout(self, layout: &'a wgpu::PipelineLayout) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn add_depth_stencil(self, depth_stencil: wgpu::DepthStencilState) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn add_multisample(self, multisample: wgpu::MultisampleState) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn add_multiview(self, multiview: std::num::NonZero) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn add_cache(self, cache: &'a wgpu::PipelineCache) -> Builder<'a, D, V> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/renderer_backend/bind_group.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Builder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `set_layout`, `add_material`, `add_buffer`, and `build` are never used [INFO] [stdout] --> src/renderer_backend/bind_group.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(device: &'a wgpu::Device) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_layout(&mut self, layout: &'a wgpu::BindGroupLayout) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_material(&mut self, view: &'a wgpu::TextureView, sampler: &'a wgpu::Sampler) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_buffer(&mut self, buffer: &'a wgpu::Buffer, offset: u64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build(&mut self, label: &str) -> wgpu::BindGroup { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/renderer_backend/bind_group_layout.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Builder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reset`, `add_material`, `add_ubo`, and `build` are never used [INFO] [stdout] --> src/renderer_backend/bind_group_layout.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(device: &'a wgpu::Device) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_material(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn add_ubo(&mut self, visibility: wgpu::ShaderStages) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn build(&mut self, label: &str) -> wgpu::BindGroupLayout { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Material` is never constructed [INFO] [stdout] --> src/renderer_backend/material.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/renderer_backend/material.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Material { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_layout` is never used [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub fn get_layout() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_triangle` is never used [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn make_triangle(device: &wgpu::Device) -> wgpu::Buffer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_quad` is never used [INFO] [stdout] --> src/renderer_backend/mesh_builder.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn make_quad(device: &wgpu::Device) -> Mesh { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/renderer_backend/pipeline.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Builder<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/renderer_backend/pipeline.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Builder<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(device: &'a wgpu::Device) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn add_vertex_buffer_layout(&mut self, layout: wgpu::VertexBufferLayout<'static>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn add_bind_group_layout(&mut self, layout: &'a wgpu::BindGroupLayout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn set_shader_module( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn set_pixel_format(&mut self, pixel_fomat: wgpu::TextureFormat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn build_pipeline(&mut self, label: &str) -> wgpu::RenderPipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UBO` is never constructed [INFO] [stdout] --> src/renderer_backend/ubo.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UBO { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `upload` are never used [INFO] [stdout] --> src/renderer_backend/ubo.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UBO { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(device: &wgpu::Device, object_count: usize, layout: wgpu::BindGroupLayout) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn upload(&mut self, i: u64, matrix: &T, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/text.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Line { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn push(&mut self, text: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsBytes` is never used [INFO] [stdout] --> src/util.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait AsBytes<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `as_u8_slice` is never used [INFO] [stdout] --> src/util.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn as_u8_slice(p: &T) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GpuError` is never used [INFO] [stdout] --> src/util.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum GpuError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gpu` is never used [INFO] [stdout] --> src/util.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_gpu() -> Result<(wgpu::Instance, wgpu::Device, wgpu::Queue), GpuError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.42s [INFO] running `Command { std: "docker" "inspect" "d409fc0671218e7b0c9e027a1e2e2f8b82d43fcb0be22614706fc4a6636a3de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d409fc0671218e7b0c9e027a1e2e2f8b82d43fcb0be22614706fc4a6636a3de7", kill_on_drop: false }` [INFO] [stdout] d409fc0671218e7b0c9e027a1e2e2f8b82d43fcb0be22614706fc4a6636a3de7