[INFO] cloning repository https://github.com/travistrue2008/wgpu-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/travistrue2008/wgpu-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravistrue2008%2Fwgpu-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravistrue2008%2Fwgpu-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f63b41bca0df992c6e913870c403686343d34d9 [INFO] checking travistrue2008/wgpu-starter against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftravistrue2008%2Fwgpu-starter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/travistrue2008/wgpu-starter [INFO] finished tweaking git repo https://github.com/travistrue2008/wgpu-starter [INFO] tweaked toml for git repo https://github.com/travistrue2008/wgpu-starter written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/travistrue2008/wgpu-starter on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/travistrue2008/wgpu-starter 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c51bc11539e99e063e5dadc4dda4279e1383e9ca50ea1eebd48be28015039e3e [INFO] running `Command { std: "docker" "start" "-a" "c51bc11539e99e063e5dadc4dda4279e1383e9ca50ea1eebd48be28015039e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c51bc11539e99e063e5dadc4dda4279e1383e9ca50ea1eebd48be28015039e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c51bc11539e99e063e5dadc4dda4279e1383e9ca50ea1eebd48be28015039e3e", kill_on_drop: false }` [INFO] [stdout] c51bc11539e99e063e5dadc4dda4279e1383e9ca50ea1eebd48be28015039e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a857bf7dd0f29c7c532019094e6941977fab3335ba8e6d774b631afc6403ab1d [INFO] running `Command { std: "docker" "start" "-a" "a857bf7dd0f29c7c532019094e6941977fab3335ba8e6d774b631afc6403ab1d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libm v0.2.14 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling winit v0.30.10 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking jiff v0.2.13 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [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 arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rav1e v0.7.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking wgpu-types v25.0.0 [INFO] [stderr] Checking naga v25.0.1 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking rodio v0.20.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking ravif v0.11.12 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking wgpu-hal v25.0.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Checking wgpu-core v25.0.1 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking wgpu v25.0.0 [INFO] [stderr] Checking wgpu-starter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/graphics/camera.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | Device, [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: `self::mesh::*` [INFO] [stdout] --> src/graphics/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::mesh::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::texture::*` [INFO] [stdout] --> src/graphics/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::texture::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::vertex::*` [INFO] [stdout] --> src/graphics/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::vertex::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Device` [INFO] [stdout] --> src/graphics/camera.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | Device, [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: `self::mesh::*` [INFO] [stdout] --> src/graphics/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::mesh::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::texture::*` [INFO] [stdout] --> src/graphics/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use self::texture::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::vertex::*` [INFO] [stdout] --> src/graphics/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::vertex::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed_time` [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let elapsed_time = self.start_time.elapsed().as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed_time` [INFO] [stdout] --> src/main.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let elapsed_time = self.start_time.elapsed().as_secs_f32(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_time` is never read [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 60 | last_time: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Io(io::Error), [INFO] [stdout] 10 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Os(winit::error::OsError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Os(winit::error::OsError), [INFO] [stdout] 11 + Os(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | EventLoop(winit::error::EventLoopError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - EventLoop(winit::error::EventLoopError), [INFO] [stdout] 12 + EventLoop(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | CreateSurfaceError(wgpu::CreateSurfaceError), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - CreateSurfaceError(wgpu::CreateSurfaceError), [INFO] [stdout] 13 + CreateSurfaceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] 14 + RequestDeviceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | SurfaceError(wgpu::SurfaceError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - SurfaceError(wgpu::SurfaceError), [INFO] [stdout] 15 + SurfaceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATRIX_OPENGL_TO_WGPU` is never used [INFO] [stdout] --> src/graphics/camera.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const MATRIX_OPENGL_TO_WGPU: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proj_matrix`, `view_matrix`, and `bind_group` are never read [INFO] [stdout] --> src/graphics/camera.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | proj_matrix: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | view_matrix: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | bind_group: BindGroup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute`, `ortho`, `bind_group`, `proj_matrix`, `view_matrix`, and `clip_matrix` are never used [INFO] [stdout] --> src/graphics/camera.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 39 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn compute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn ortho(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn bind_group(&self) -> &BindGroup { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn proj_matrix(&self) -> &Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn view_matrix(&self) -> &Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn clip_matrix(&self) -> &Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/graphics/core.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> Core<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn config(&self) -> &SurfaceConfiguration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/graphics/mesh.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `render`, and `write_vertices` are never used [INFO] [stdout] --> src/graphics/mesh.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | pub fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn render<'a>(&'a self, render_pass: &mut RenderPass<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn write_vertices(&mut self, queue: &Queue, vertices: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/graphics/texture.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/texture.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | impl Texture { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 39 | pub fn new(core: &GraphicsCore, layout: &BindGroupLayout, width: u32, height: u32) -> Texture { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_image(core: &GraphicsCore, layout: &BindGroupLayout, image: &DynamicImage) -> Texture { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn create_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn write(&self, core: &GraphicsCore, buffer: &Vec, origin: Origin3d, width: u32, height: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn handle(&self) -> &wgpu::Texture { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn bind_group(&self) -> &BindGroup { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_camera_group_layout` is never used [INFO] [stdout] --> src/graphics/pipelines/debug.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn build_camera_group_layout(device: &Device) -> BindGroupLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_layout` is never used [INFO] [stdout] --> src/graphics/pipelines/debug.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn build_layout(device: &Device) -> PipelineLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/graphics/pipelines/debug.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn build(device: &Device, config: &SurfaceConfiguration) -> RenderPipeline { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics/core.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn surface(&self) -> &Surface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_time` is never read [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 60 | last_time: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Io(io::Error), [INFO] [stdout] 10 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Os(winit::error::OsError), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Os(winit::error::OsError), [INFO] [stdout] 11 + Os(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | EventLoop(winit::error::EventLoopError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - EventLoop(winit::error::EventLoopError), [INFO] [stdout] 12 + EventLoop(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | CreateSurfaceError(wgpu::CreateSurfaceError), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - CreateSurfaceError(wgpu::CreateSurfaceError), [INFO] [stdout] 13 + CreateSurfaceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] 14 + RequestDeviceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | SurfaceError(wgpu::SurfaceError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - SurfaceError(wgpu::SurfaceError), [INFO] [stdout] 15 + SurfaceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MATRIX_OPENGL_TO_WGPU` is never used [INFO] [stdout] --> src/graphics/camera.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const MATRIX_OPENGL_TO_WGPU: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proj_matrix`, `view_matrix`, and `bind_group` are never read [INFO] [stdout] --> src/graphics/camera.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 32 | proj_matrix: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | view_matrix: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | bind_group: BindGroup, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `compute`, `ortho`, `bind_group`, `proj_matrix`, `view_matrix`, and `clip_matrix` are never used [INFO] [stdout] --> src/graphics/camera.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 39 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn compute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn ortho(&mut self, width: f32, height: f32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn bind_group(&self) -> &BindGroup { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn proj_matrix(&self) -> &Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn view_matrix(&self) -> &Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn clip_matrix(&self) -> &Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/graphics/core.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> Core<'a> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn config(&self) -> &SurfaceConfiguration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/graphics/mesh.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make`, `render`, and `write_vertices` are never used [INFO] [stdout] --> src/graphics/mesh.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | impl Mesh { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 22 | pub fn make( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn render<'a>(&'a self, render_pass: &mut RenderPass<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn write_vertices(&mut self, queue: &Queue, vertices: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/graphics/texture.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/texture.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | impl Texture { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 39 | pub fn new(core: &GraphicsCore, layout: &BindGroupLayout, width: u32, height: u32) -> Texture { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn from_image(core: &GraphicsCore, layout: &BindGroupLayout, image: &DynamicImage) -> Texture { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn create_bind_group( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn write(&self, core: &GraphicsCore, buffer: &Vec, origin: Origin3d, width: u32, height: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn width(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn height(&self) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn handle(&self) -> &wgpu::Texture { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn bind_group(&self) -> &BindGroup { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_camera_group_layout` is never used [INFO] [stdout] --> src/graphics/pipelines/debug.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn build_camera_group_layout(device: &Device) -> BindGroupLayout { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_layout` is never used [INFO] [stdout] --> src/graphics/pipelines/debug.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn build_layout(device: &Device) -> PipelineLayout { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/graphics/pipelines/debug.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn build(device: &Device, config: &SurfaceConfiguration) -> RenderPipeline { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics/core.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn surface(&self) -> &Surface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.10s [INFO] running `Command { std: "docker" "inspect" "a857bf7dd0f29c7c532019094e6941977fab3335ba8e6d774b631afc6403ab1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a857bf7dd0f29c7c532019094e6941977fab3335ba8e6d774b631afc6403ab1d", kill_on_drop: false }` [INFO] [stdout] a857bf7dd0f29c7c532019094e6941977fab3335ba8e6d774b631afc6403ab1d