[INFO] fetching crate mugl 0.1.2... [INFO] testing mugl-0.1.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate mugl 0.1.2 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mugl 0.1.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded munum v0.1.1 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 613dff7f49db82f61afc9396e31fc6215cc3eefa0fb89085148506b21ef921ed [INFO] running `Command { std: "docker" "start" "-a" "613dff7f49db82f61afc9396e31fc6215cc3eefa0fb89085148506b21ef921ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "613dff7f49db82f61afc9396e31fc6215cc3eefa0fb89085148506b21ef921ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "613dff7f49db82f61afc9396e31fc6215cc3eefa0fb89085148506b21ef921ed", kill_on_drop: false }` [INFO] [stdout] 613dff7f49db82f61afc9396e31fc6215cc3eefa0fb89085148506b21ef921ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2a3cfe5230de7fdaabf501aa6ee31dd60fd4b0eaa242ee29d0a58f0cdaa0973d [INFO] running `Command { std: "docker" "start" "-a" "2a3cfe5230de7fdaabf501aa6ee31dd60fd4b0eaa242ee29d0a58f0cdaa0973d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling mugl v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.51s [INFO] running `Command { std: "docker" "inspect" "2a3cfe5230de7fdaabf501aa6ee31dd60fd4b0eaa242ee29d0a58f0cdaa0973d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3cfe5230de7fdaabf501aa6ee31dd60fd4b0eaa242ee29d0a58f0cdaa0973d", kill_on_drop: false }` [INFO] [stdout] 2a3cfe5230de7fdaabf501aa6ee31dd60fd4b0eaa242ee29d0a58f0cdaa0973d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4f8b48fff8d8df94c4400aaf0457aaa3e3ec7c9a9aafe639af8464108cfa3a7a [INFO] running `Command { std: "docker" "start" "-a" "4f8b48fff8d8df94c4400aaf0457aaa3e3ec7c9a9aafe639af8464108cfa3a7a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling munum v0.1.1 [INFO] [stderr] Compiling pollster v0.2.5 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling mugl v0.1.2 (/opt/rustwide/workdir) [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: 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: `BasicExample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Data` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: `BasicExample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Data` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: `BasicExample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Data` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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 `test` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "4f8b48fff8d8df94c4400aaf0457aaa3e3ec7c9a9aafe639af8464108cfa3a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8b48fff8d8df94c4400aaf0457aaa3e3ec7c9a9aafe639af8464108cfa3a7a", kill_on_drop: false }` [INFO] [stdout] 4f8b48fff8d8df94c4400aaf0457aaa3e3ec7c9a9aafe639af8464108cfa3a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7e33865f419dff271d888af068d5d292cc4e0943f46a9aaca1fcd43dcb9ce65f [INFO] running `Command { std: "docker" "start" "-a" "7e33865f419dff271d888af068d5d292cc4e0943f46a9aaca1fcd43dcb9ce65f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `basic::*` [INFO] [stderr] --> examples/app/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use basic::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `instancing::*` [INFO] [stderr] --> examples/app/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use instancing::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `stencil::*` [INFO] [stderr] --> examples/app/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use stencil::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `entry::*` [INFO] [stderr] --> examples/common/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use entry::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BasicExample` is never constructed [INFO] [stderr] --> examples/app/basic.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct BasicExample { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BasicExample` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `PI_2` is never used [INFO] [stderr] --> examples/app/instancing.rs:6:7 [INFO] [stderr] | [INFO] [stderr] 6 | const PI_2: f32 = std::f32::consts::PI * 2.0; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `N` is never used [INFO] [stderr] --> examples/app/instancing.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const N: usize = 10; // N * N triangles [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: constant `INSTANCE_COUNT` is never used [INFO] [stderr] --> examples/app/instancing.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const INSTANCE_COUNT: u32 = (N * N) as u32; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `INDICES` is never used [INFO] [stderr] --> examples/app/instancing.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const INDICES: &[u16] = &[0, 1, 2, 0]; // last index is a padding [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `POSITIONS` is never used [INFO] [stderr] --> examples/app/instancing.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const POSITIONS: &[f32] = &[0.0, -0.05, -0.05, 0.0, 0.05, 0.05]; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `OFFSET_COLORS` is never used [INFO] [stderr] --> examples/app/instancing.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | static mut OFFSET_COLORS: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `ANGLES` is never used [INFO] [stderr] --> examples/app/instancing.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | static mut ANGLES: &mut [f32] = &mut [0.; N * N * 5]; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Data` is never constructed [INFO] [stderr] --> examples/app/instancing.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct Data { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Data` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `InstancingExample` is never constructed [INFO] [stderr] --> examples/app/instancing.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct InstancingExample { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generate_offset_colors` is never used [INFO] [stderr] --> examples/app/instancing.rs:225:11 [INFO] [stderr] | [INFO] [stderr] 225 | unsafe fn generate_offset_colors() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PI` is never used [INFO] [stderr] --> examples/app/stencil.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const PI: f32 = std::f32::consts::PI; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StencilExample` is never constructed [INFO] [stderr] --> examples/app/stencil.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct StencilExample { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> examples/app/stencil.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 195 | struct RenderBundle { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 196 | pipeline: RenderPipeline, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 197 | stencil_ref: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 198 | vertex_buffer: Buffer, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 199 | index_buffer: Buffer, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 200 | data_bind_group: BindGroup, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 201 | data_buffer: Buffer, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 202 | data: Data, [INFO] [stderr] | ^^^^ [INFO] [stderr] 203 | texture_bind_group: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `update`, and `render` are never used [INFO] [stderr] --> examples/app/stencil.rs:210:8 [INFO] [stderr] | [INFO] [stderr] 209 | impl RenderBundle { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 210 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 436 | fn update(&mut self, mvp: Mat4) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 440 | fn render<'a>(&'a self, device: &Device, pass: &RenderPassEncoder<'a>) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `App` is never used [INFO] [stderr] --> examples/common/app.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub trait App { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/common/model.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct ColorVertex { [INFO] [stderr] | ^^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> examples/common/model.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #[repr(C)] [INFO] [stderr] 2 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stderr] 3 | | pub struct ColorVertex { [INFO] [stderr] 4 | | position: [f32; 3], [INFO] [stderr] 5 | | color: [f32; 4], [INFO] [stderr] 6 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/common/model.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct UvVertex { [INFO] [stderr] | ^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> examples/common/model.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / #[repr(C)] [INFO] [stderr] 9 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stderr] 10 | | pub struct UvVertex { [INFO] [stderr] 11 | | position: [f32; 3], [INFO] [stderr] 12 | | uv: [f32; 2], [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: constant `TRIANGLE` is never used [INFO] [stderr] --> examples/common/model.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const TRIANGLE: &[ColorVertex] = &[ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CUBE_VERTICES` is never used [INFO] [stderr] --> examples/common/model.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const CUBE_VERTICES: &[UvVertex] = &[ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CUBE_INDICES` is never used [INFO] [stderr] --> examples/common/model.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub const CUBE_INDICES: &[u16] = &[ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mugl` (example "basic") generated 27 warnings (run `cargo fix --example "basic"` to apply 4 suggestions) [INFO] [stderr] warning: `mugl` (example "instancing") generated 27 warnings (27 duplicates) [INFO] [stderr] warning: `mugl` (example "stencil") generated 27 warnings (27 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mugl-cb529995d3021aa5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e33865f419dff271d888af068d5d292cc4e0943f46a9aaca1fcd43dcb9ce65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e33865f419dff271d888af068d5d292cc4e0943f46a9aaca1fcd43dcb9ce65f", kill_on_drop: false }` [INFO] [stdout] 7e33865f419dff271d888af068d5d292cc4e0943f46a9aaca1fcd43dcb9ce65f