[INFO] fetching crate mugl 0.1.2... [INFO] checking mugl-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mugl 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate mugl 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate mugl 0.1.2 [INFO] tweaked toml for crates.io crate mugl 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mugl 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mugl 0.1.2 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3be44c5500432b0658d55b0b139431abce537f43e6d21cdb47362a1058785cba [INFO] running `Command { std: "docker" "start" "-a" "3be44c5500432b0658d55b0b139431abce537f43e6d21cdb47362a1058785cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3be44c5500432b0658d55b0b139431abce537f43e6d21cdb47362a1058785cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be44c5500432b0658d55b0b139431abce537f43e6d21cdb47362a1058785cba", kill_on_drop: false }` [INFO] [stdout] 3be44c5500432b0658d55b0b139431abce537f43e6d21cdb47362a1058785cba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4815e79985fe6966977d95948d31d4be20874c2257f8dfa7d11df3cc924d86c2 [INFO] running `Command { std: "docker" "start" "-a" "4815e79985fe6966977d95948d31d4be20874c2257f8dfa7d11df3cc924d86c2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking munum v0.1.1 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Checking mugl v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking image v0.24.1 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stdout] warning: unused import: `basic::*` [INFO] [stdout] --> examples/app/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instancing::*` [INFO] [stdout] --> examples/app/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use instancing::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stencil::*` [INFO] [stdout] --> examples/app/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use stencil::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entry::*` [INFO] [stdout] --> examples/common/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entry::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `basic::*` [INFO] [stdout] --> examples/app/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instancing::*` [INFO] [stdout] --> examples/app/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use instancing::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stencil::*` [INFO] [stdout] --> examples/app/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use stencil::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entry::*` [INFO] [stdout] --> examples/common/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entry::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicExample` is never constructed [INFO] [stdout] --> examples/app/basic.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BasicExample { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_2` is never used [INFO] [stdout] --> examples/app/instancing.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PI_2: f32 = std::f32::consts::PI * 2.0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> examples/app/instancing.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const N: usize = 10; // N * N triangles [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_COUNT` is never used [INFO] [stdout] --> examples/app/instancing.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INSTANCE_COUNT: u32 = (N * N) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> examples/app/instancing.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INDICES: &[u16] = &[0, 1, 2, 0]; // last index is a padding [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITIONS` is never used [INFO] [stdout] --> examples/app/instancing.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const POSITIONS: &[f32] = &[0.0, -0.05, -0.05, 0.0, 0.05, 0.05]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET_COLORS` is never used [INFO] [stdout] --> examples/app/instancing.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static mut OFFSET_COLORS: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ANGLES` is never used [INFO] [stdout] --> examples/app/instancing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | static mut ANGLES: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> examples/app/instancing.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstancingExample` is never constructed [INFO] [stdout] --> examples/app/instancing.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InstancingExample { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_offset_colors` is never used [INFO] [stdout] --> examples/app/instancing.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe fn generate_offset_colors() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> examples/app/stencil.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PI: f32 = std::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StencilExample` is never constructed [INFO] [stdout] --> examples/app/stencil.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct StencilExample { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> examples/app/stencil.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | struct RenderBundle { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 196 | pipeline: RenderPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 197 | stencil_ref: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 198 | vertex_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 199 | index_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 200 | data_bind_group: BindGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | data_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 202 | data: Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 203 | texture_bind_group: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `render` are never used [INFO] [stdout] --> examples/app/stencil.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 209 | impl RenderBundle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 210 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn update(&mut self, mvp: Mat4) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | fn render<'a>(&'a self, device: &Device, pass: &RenderPassEncoder<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `App` is never used [INFO] [stdout] --> examples/common/app.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> examples/common/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct ColorVertex { [INFO] [stdout] 4 | | position: [f32; 3], [INFO] [stdout] 5 | | color: [f32; 4], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UvVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> examples/common/model.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 10 | | pub struct UvVertex { [INFO] [stdout] 11 | | position: [f32; 3], [INFO] [stdout] 12 | | uv: [f32; 2], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIANGLE` is never used [INFO] [stdout] --> examples/common/model.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TRIANGLE: &[ColorVertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUBE_VERTICES` is never used [INFO] [stdout] --> examples/common/model.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const CUBE_VERTICES: &[UvVertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUBE_INDICES` is never used [INFO] [stdout] --> examples/common/model.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const CUBE_INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicExample` is never constructed [INFO] [stdout] --> examples/app/basic.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BasicExample { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_2` is never used [INFO] [stdout] --> examples/app/instancing.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PI_2: f32 = std::f32::consts::PI * 2.0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> examples/app/instancing.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const N: usize = 10; // N * N triangles [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_COUNT` is never used [INFO] [stdout] --> examples/app/instancing.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INSTANCE_COUNT: u32 = (N * N) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> examples/app/instancing.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INDICES: &[u16] = &[0, 1, 2, 0]; // last index is a padding [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITIONS` is never used [INFO] [stdout] --> examples/app/instancing.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const POSITIONS: &[f32] = &[0.0, -0.05, -0.05, 0.0, 0.05, 0.05]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET_COLORS` is never used [INFO] [stdout] --> examples/app/instancing.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static mut OFFSET_COLORS: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ANGLES` is never used [INFO] [stdout] --> examples/app/instancing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | static mut ANGLES: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> examples/app/instancing.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstancingExample` is never constructed [INFO] [stdout] --> examples/app/instancing.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InstancingExample { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_offset_colors` is never used [INFO] [stdout] --> examples/app/instancing.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe fn generate_offset_colors() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> examples/app/stencil.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PI: f32 = std::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StencilExample` is never constructed [INFO] [stdout] --> examples/app/stencil.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct StencilExample { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> examples/app/stencil.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | struct RenderBundle { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 196 | pipeline: RenderPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 197 | stencil_ref: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 198 | vertex_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 199 | index_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 200 | data_bind_group: BindGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | data_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 202 | data: Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 203 | texture_bind_group: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `render` are never used [INFO] [stdout] --> examples/app/stencil.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 209 | impl RenderBundle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 210 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn update(&mut self, mvp: Mat4) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | fn render<'a>(&'a self, device: &Device, pass: &RenderPassEncoder<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `App` is never used [INFO] [stdout] --> examples/common/app.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> examples/common/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct ColorVertex { [INFO] [stdout] 4 | | position: [f32; 3], [INFO] [stdout] 5 | | color: [f32; 4], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UvVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> examples/common/model.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 10 | | pub struct UvVertex { [INFO] [stdout] 11 | | position: [f32; 3], [INFO] [stdout] 12 | | uv: [f32; 2], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIANGLE` is never used [INFO] [stdout] --> examples/common/model.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TRIANGLE: &[ColorVertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUBE_VERTICES` is never used [INFO] [stdout] --> examples/common/model.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const CUBE_VERTICES: &[UvVertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUBE_INDICES` is never used [INFO] [stdout] --> examples/common/model.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const CUBE_INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `basic::*` [INFO] [stdout] --> examples/app/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use basic::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instancing::*` [INFO] [stdout] --> examples/app/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use instancing::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stencil::*` [INFO] [stdout] --> examples/app/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use stencil::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entry::*` [INFO] [stdout] --> examples/common/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use entry::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicExample` is never constructed [INFO] [stdout] --> examples/app/basic.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BasicExample { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI_2` is never used [INFO] [stdout] --> examples/app/instancing.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const PI_2: f32 = std::f32::consts::PI * 2.0; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> examples/app/instancing.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const N: usize = 10; // N * N triangles [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_COUNT` is never used [INFO] [stdout] --> examples/app/instancing.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const INSTANCE_COUNT: u32 = (N * N) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> examples/app/instancing.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const INDICES: &[u16] = &[0, 1, 2, 0]; // last index is a padding [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POSITIONS` is never used [INFO] [stdout] --> examples/app/instancing.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const POSITIONS: &[f32] = &[0.0, -0.05, -0.05, 0.0, 0.05, 0.05]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OFFSET_COLORS` is never used [INFO] [stdout] --> examples/app/instancing.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | static mut OFFSET_COLORS: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ANGLES` is never used [INFO] [stdout] --> examples/app/instancing.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | static mut ANGLES: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Data` is never constructed [INFO] [stdout] --> examples/app/instancing.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstancingExample` is never constructed [INFO] [stdout] --> examples/app/instancing.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct InstancingExample { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_offset_colors` is never used [INFO] [stdout] --> examples/app/instancing.rs:225:11 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe fn generate_offset_colors() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PI` is never used [INFO] [stdout] --> examples/app/stencil.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const PI: f32 = std::f32::consts::PI; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StencilExample` is never constructed [INFO] [stdout] --> examples/app/stencil.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct StencilExample { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> examples/app/stencil.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | struct RenderBundle { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 196 | pipeline: RenderPipeline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 197 | stencil_ref: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 198 | vertex_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 199 | index_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 200 | data_bind_group: BindGroup, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | data_buffer: Buffer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 202 | data: Data, [INFO] [stdout] | ^^^^ [INFO] [stdout] 203 | texture_bind_group: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `render` are never used [INFO] [stdout] --> examples/app/stencil.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 209 | impl RenderBundle { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 210 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 436 | fn update(&mut self, mvp: Mat4) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | fn render<'a>(&'a self, device: &Device, pass: &RenderPassEncoder<'a>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `App` is never used [INFO] [stdout] --> examples/common/app.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/model.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> examples/common/model.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct ColorVertex { [INFO] [stdout] 4 | | position: [f32; 3], [INFO] [stdout] 5 | | color: [f32; 4], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/common/model.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UvVertex { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> examples/common/model.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 10 | | pub struct UvVertex { [INFO] [stdout] 11 | | position: [f32; 3], [INFO] [stdout] 12 | | uv: [f32; 2], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIANGLE` is never used [INFO] [stdout] --> examples/common/model.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TRIANGLE: &[ColorVertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUBE_VERTICES` is never used [INFO] [stdout] --> examples/common/model.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const CUBE_VERTICES: &[UvVertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CUBE_INDICES` is never used [INFO] [stdout] --> examples/common/model.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const CUBE_INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.17s [INFO] running `Command { std: "docker" "inspect" "4815e79985fe6966977d95948d31d4be20874c2257f8dfa7d11df3cc924d86c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4815e79985fe6966977d95948d31d4be20874c2257f8dfa7d11df3cc924d86c2", kill_on_drop: false }` [INFO] [stdout] 4815e79985fe6966977d95948d31d4be20874c2257f8dfa7d11df3cc924d86c2