[INFO] cloning repository https://github.com/Lord-Hellgrim/learn_wgpu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lord-Hellgrim/learn_wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLord-Hellgrim%2Flearn_wgpu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLord-Hellgrim%2Flearn_wgpu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 303d457e0215af19b6a4ae596a3b46909f77303f
[INFO] testing Lord-Hellgrim/learn_wgpu against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLord-Hellgrim%2Flearn_wgpu" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Lord-Hellgrim/learn_wgpu
[INFO] finished tweaking git repo https://github.com/Lord-Hellgrim/learn_wgpu
[INFO] tweaked toml for git repo https://github.com/Lord-Hellgrim/learn_wgpu written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lord-Hellgrim/learn_wgpu on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Lord-Hellgrim/learn_wgpu 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 092ad8a6602164733740d4ea425d05905c2f3f3691b92cf3e07121fc24d4faed
[INFO] running `Command { std: "docker" "start" "-a" "092ad8a6602164733740d4ea425d05905c2f3f3691b92cf3e07121fc24d4faed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "092ad8a6602164733740d4ea425d05905c2f3f3691b92cf3e07121fc24d4faed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "092ad8a6602164733740d4ea425d05905c2f3f3691b92cf3e07121fc24d4faed", kill_on_drop: false }`
[INFO] [stdout] 092ad8a6602164733740d4ea425d05905c2f3f3691b92cf3e07121fc24d4faed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3747086fb13c5d02d5dc37615e0c041af227c229ab246adbe4dae730b2dd6e8a
[INFO] running `Command { std: "docker" "start" "-a" "3747086fb13c5d02d5dc37615e0c041af227c229ab246adbe4dae730b2dd6e8a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling ahash v0.8.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.91
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling bumpalo v3.14.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling wasm-bindgen v0.2.91
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling png v0.17.11
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling wgpu-types v0.18.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling glow v0.13.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling profiling v1.0.14
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling learn_wgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.91
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling is-terminal v0.4.12
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling tobj v3.2.5
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling bytemuck_derive v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.91
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bytemuck v1.14.3
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling naga v0.14.2
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.91
[INFO] [stderr]    Compiling js-sys v0.3.68
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling web-sys v0.3.64
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling wgpu-hal v0.18.1
[INFO] [stderr]    Compiling reqwest v0.11.24
[INFO] [stderr]    Compiling wgpu-core v0.18.1
[INFO] [stderr]    Compiling wgpu v0.18.0
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stdout] warning: unused import: `LightUniform`
[INFO] [stdout]  --> src/model.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{texture, LightUniform};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shader`
[INFO] [stdout]    --> src/lib.rs:582:13
[INFO] [stdout]     |
[INFO] [stdout] 582 |         let shader = device.create_shader_module(wgpu::include_wgsl!("shader.wgsl"));
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stdout]   --> src/lib.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(NUM_INSTANCES_PER_ROW as f32 * 0.5, 0.0, NUM_INSTANCES_PER_...
[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/lib.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct LibVertex {
[INFO] [stdout]    |        ^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / #[repr(C)]
[INFO] [stdout] 43 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 44 | | struct LibVertex {
[INFO] [stdout] 45 | |     position: [f32; 3],
[INFO] [stdout] 46 | |     tex_coords: [f32; 2],
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `desc` is never used
[INFO] [stdout]   --> src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl LibVertex {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 50 |     fn desc() -> wgpu::VertexBufferLayout<'static> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct CameraUniform {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout]  94 | / #[repr(C)]
[INFO] [stdout]  95 | | // This is so we can store this in a buffer
[INFO] [stdout]  96 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]  97 | | struct CameraUniform {
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |     view_proj: [[f32; 4]; 4],
[INFO] [stdout] 102 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/lib.rs:226:8
[INFO] [stdout]     |
[INFO] [stdout] 226 | struct InstanceRaw {
[INFO] [stdout]     |        ^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:223:1
[INFO] [stdout]     |
[INFO] [stdout] 223 | / #[repr(C)]
[INFO] [stdout] 224 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 225 | | #[allow(dead_code)]
[INFO] [stdout] 226 | | struct InstanceRaw {
[INFO] [stdout] 227 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 228 | |     normal: [[f32; 3]; 3],
[INFO] [stdout] 229 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/lib.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | struct LightUniform {
[INFO] [stdout]     |        ^^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | / #[repr(C)]
[INFO] [stdout] 286 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 287 | | struct LightUniform {
[INFO] [stdout] 288 | |     position: [f32; 3],
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |     _padding2: u32,
[INFO] [stdout] 294 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertex_buffer`, `index_buffer`, `num_indices`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:307:5
[INFO] [stdout]     |
[INFO] [stdout] 296 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 307 |     vertex_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 308 |     index_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 309 |     num_indices: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 310 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 311 |     diffuse_texture: texture::Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 5 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stdout]   --> src/model.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 10 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn draw_model(&mut self, 
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_light_mesh` is never used
[INFO] [stdout]   --> src/model.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub trait DrawLight<'a> {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 94 |     fn draw_light_mesh(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]    --> src/model.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct Material {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 174 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 175 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/model.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 180 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/model.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub struct ModelVertex {
[INFO] [stdout]     |            ^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/model.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | / #[repr(C)]
[INFO] [stdout] 194 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 195 | | pub struct ModelVertex {
[INFO] [stdout] 196 | |     pub position: [f32; 3],
[INFO] [stdout] 197 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 198 | |     pub normal: [f32; 3],
[INFO] [stdout] 199 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s
[INFO] running `Command { std: "docker" "inspect" "3747086fb13c5d02d5dc37615e0c041af227c229ab246adbe4dae730b2dd6e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3747086fb13c5d02d5dc37615e0c041af227c229ab246adbe4dae730b2dd6e8a", kill_on_drop: false }`
[INFO] [stdout] 3747086fb13c5d02d5dc37615e0c041af227c229ab246adbe4dae730b2dd6e8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c0d0ea6bad9354730a495a46f6dc116feb15ef34342c568f0d400e7a01d0462
[INFO] running `Command { std: "docker" "start" "-a" "4c0d0ea6bad9354730a495a46f6dc116feb15ef34342c568f0d400e7a01d0462", kill_on_drop: false }`
[INFO] [stderr]    Compiling learn_wgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LightUniform`
[INFO] [stdout]  --> src/model.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{texture, LightUniform};
[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: `LightUniform`
[INFO] [stdout]  --> src/model.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{texture, LightUniform};
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shader`
[INFO] [stdout]    --> src/lib.rs:582:13
[INFO] [stdout]     |
[INFO] [stdout] 582 |         let shader = device.create_shader_module(wgpu::include_wgsl!("shader.wgsl"));
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stdout]   --> src/lib.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(NUM_INSTANCES_PER_ROW as f32 * 0.5, 0.0, NUM_INSTANCES_PER_...
[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/lib.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct LibVertex {
[INFO] [stdout]    |        ^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / #[repr(C)]
[INFO] [stdout] 43 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 44 | | struct LibVertex {
[INFO] [stdout] 45 | |     position: [f32; 3],
[INFO] [stdout] 46 | |     tex_coords: [f32; 2],
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `desc` is never used
[INFO] [stdout]   --> src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl LibVertex {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 50 |     fn desc() -> wgpu::VertexBufferLayout<'static> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct CameraUniform {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout]  94 | / #[repr(C)]
[INFO] [stdout]  95 | | // This is so we can store this in a buffer
[INFO] [stdout]  96 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]  97 | | struct CameraUniform {
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |     view_proj: [[f32; 4]; 4],
[INFO] [stdout] 102 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/lib.rs:226:8
[INFO] [stdout]     |
[INFO] [stdout] 226 | struct InstanceRaw {
[INFO] [stdout]     |        ^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:223:1
[INFO] [stdout]     |
[INFO] [stdout] 223 | / #[repr(C)]
[INFO] [stdout] 224 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 225 | | #[allow(dead_code)]
[INFO] [stdout] 226 | | struct InstanceRaw {
[INFO] [stdout] 227 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 228 | |     normal: [[f32; 3]; 3],
[INFO] [stdout] 229 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/lib.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | struct LightUniform {
[INFO] [stdout]     |        ^^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | / #[repr(C)]
[INFO] [stdout] 286 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 287 | | struct LightUniform {
[INFO] [stdout] 288 | |     position: [f32; 3],
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |     _padding2: u32,
[INFO] [stdout] 294 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertex_buffer`, `index_buffer`, `num_indices`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:307:5
[INFO] [stdout]     |
[INFO] [stdout] 296 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 307 |     vertex_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 308 |     index_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 309 |     num_indices: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 310 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 311 |     diffuse_texture: texture::Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 5 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stdout]   --> src/model.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 10 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn draw_model(&mut self, 
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_light_mesh` is never used
[INFO] [stdout]   --> src/model.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub trait DrawLight<'a> {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 94 |     fn draw_light_mesh(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]    --> src/model.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct Material {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 174 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 175 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/model.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 180 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/model.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub struct ModelVertex {
[INFO] [stdout]     |            ^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/model.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | / #[repr(C)]
[INFO] [stdout] 194 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 195 | | pub struct ModelVertex {
[INFO] [stdout] 196 | |     pub position: [f32; 3],
[INFO] [stdout] 197 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 198 | |     pub normal: [f32; 3],
[INFO] [stdout] 199 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shader`
[INFO] [stdout]    --> src/lib.rs:582:13
[INFO] [stdout]     |
[INFO] [stdout] 582 |         let shader = device.create_shader_module(wgpu::include_wgsl!("shader.wgsl"));
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stdout]   --> src/lib.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(NUM_INSTANCES_PER_ROW as f32 * 0.5, 0.0, NUM_INSTANCES_PER_...
[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/lib.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | struct LibVertex {
[INFO] [stdout]    |        ^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/lib.rs:42:1
[INFO] [stdout]    |
[INFO] [stdout] 42 | / #[repr(C)]
[INFO] [stdout] 43 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 44 | | struct LibVertex {
[INFO] [stdout] 45 | |     position: [f32; 3],
[INFO] [stdout] 46 | |     tex_coords: [f32; 2],
[INFO] [stdout] 47 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `desc` is never used
[INFO] [stdout]   --> src/lib.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl LibVertex {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 50 |     fn desc() -> wgpu::VertexBufferLayout<'static> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:97:8
[INFO] [stdout]    |
[INFO] [stdout] 97 | struct CameraUniform {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:94:1
[INFO] [stdout]     |
[INFO] [stdout]  94 | / #[repr(C)]
[INFO] [stdout]  95 | | // This is so we can store this in a buffer
[INFO] [stdout]  96 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout]  97 | | struct CameraUniform {
[INFO] [stdout] ...   |
[INFO] [stdout] 101 | |     view_proj: [[f32; 4]; 4],
[INFO] [stdout] 102 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/lib.rs:226:8
[INFO] [stdout]     |
[INFO] [stdout] 226 | struct InstanceRaw {
[INFO] [stdout]     |        ^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:223:1
[INFO] [stdout]     |
[INFO] [stdout] 223 | / #[repr(C)]
[INFO] [stdout] 224 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 225 | | #[allow(dead_code)]
[INFO] [stdout] 226 | | struct InstanceRaw {
[INFO] [stdout] 227 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 228 | |     normal: [[f32; 3]; 3],
[INFO] [stdout] 229 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/lib.rs:287:8
[INFO] [stdout]     |
[INFO] [stdout] 287 | struct LightUniform {
[INFO] [stdout]     |        ^^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/lib.rs:285:1
[INFO] [stdout]     |
[INFO] [stdout] 285 | / #[repr(C)]
[INFO] [stdout] 286 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 287 | | struct LightUniform {
[INFO] [stdout] 288 | |     position: [f32; 3],
[INFO] [stdout] ...   |
[INFO] [stdout] 293 | |     _padding2: u32,
[INFO] [stdout] 294 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vertex_buffer`, `index_buffer`, `num_indices`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:307:5
[INFO] [stdout]     |
[INFO] [stdout] 296 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 307 |     vertex_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 308 |     index_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 309 |     num_indices: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 310 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 311 |     diffuse_texture: texture::Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 5 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stdout]   --> src/model.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 10 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn draw_model(&mut self, 
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_light_mesh` is never used
[INFO] [stdout]   --> src/model.rs:94:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub trait DrawLight<'a> {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 94 |     fn draw_light_mesh(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]    --> src/model.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub struct Material {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 174 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 175 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/model.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 180 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/model.rs:195:12
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub struct ModelVertex {
[INFO] [stdout]     |            ^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/model.rs:193:1
[INFO] [stdout]     |
[INFO] [stdout] 193 | / #[repr(C)]
[INFO] [stdout] 194 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 195 | | pub struct ModelVertex {
[INFO] [stdout] 196 | |     pub position: [f32; 3],
[INFO] [stdout] 197 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 198 | |     pub normal: [f32; 3],
[INFO] [stdout] 199 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.82s
[INFO] running `Command { std: "docker" "inspect" "4c0d0ea6bad9354730a495a46f6dc116feb15ef34342c568f0d400e7a01d0462", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c0d0ea6bad9354730a495a46f6dc116feb15ef34342c568f0d400e7a01d0462", kill_on_drop: false }`
[INFO] [stdout] 4c0d0ea6bad9354730a495a46f6dc116feb15ef34342c568f0d400e7a01d0462
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2d7626455744b06cbdd671bcbbcc78484e3471e6120fd7aee915feec489b995c
[INFO] running `Command { std: "docker" "start" "-a" "2d7626455744b06cbdd671bcbbcc78484e3471e6120fd7aee915feec489b995c", kill_on_drop: false }`
[INFO] [stderr]    Compiling learn_wgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `LightUniform`
[INFO] [stderr]  --> src/model.rs:3:22
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{texture, LightUniform};
[INFO] [stderr]   |                      ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `shader`
[INFO] [stderr]    --> src/lib.rs:582:13
[INFO] [stderr]     |
[INFO] [stderr] 582 |         let shader = device.create_shader_module(wgpu::include_wgsl!("shader.wgsl"));
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shader`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stderr]   --> src/lib.rs:18:7
[INFO] [stderr]    |
[INFO] [stderr] 18 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(NUM_INSTANCES_PER_ROW as f32 * 0.5, 0.0, NUM_INSTANCES_PER_...
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/lib.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | struct LibVertex {
[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]   --> src/lib.rs:42:1
[INFO] [stderr]    |
[INFO] [stderr] 42 | / #[repr(C)]
[INFO] [stderr] 43 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stderr] 44 | | struct LibVertex {
[INFO] [stderr] 45 | |     position: [f32; 3],
[INFO] [stderr] 46 | |     tex_coords: [f32; 2],
[INFO] [stderr] 47 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `desc` is never used
[INFO] [stderr]   --> src/lib.rs:50:8
[INFO] [stderr]    |
[INFO] [stderr] 49 | impl LibVertex {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 50 |     fn desc() -> wgpu::VertexBufferLayout<'static> {
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/lib.rs:97:8
[INFO] [stderr]    |
[INFO] [stderr] 97 | struct CameraUniform {
[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]    --> src/lib.rs:94:1
[INFO] [stderr]     |
[INFO] [stderr]  94 | / #[repr(C)]
[INFO] [stderr]  95 | | // This is so we can store this in a buffer
[INFO] [stderr]  96 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stderr]  97 | | struct CameraUniform {
[INFO] [stderr] ...   |
[INFO] [stderr] 101 | |     view_proj: [[f32; 4]; 4],
[INFO] [stderr] 102 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/lib.rs:226:8
[INFO] [stderr]     |
[INFO] [stderr] 226 | struct InstanceRaw {
[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]    --> src/lib.rs:223:1
[INFO] [stderr]     |
[INFO] [stderr] 223 | / #[repr(C)]
[INFO] [stderr] 224 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stderr] 225 | | #[allow(dead_code)]
[INFO] [stderr] 226 | | struct InstanceRaw {
[INFO] [stderr] 227 | |     model: [[f32; 4]; 4],
[INFO] [stderr] 228 | |     normal: [[f32; 3]; 3],
[INFO] [stderr] 229 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/lib.rs:287:8
[INFO] [stderr]     |
[INFO] [stderr] 287 | struct LightUniform {
[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]    --> src/lib.rs:285:1
[INFO] [stderr]     |
[INFO] [stderr] 285 | / #[repr(C)]
[INFO] [stderr] 286 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stderr] 287 | | struct LightUniform {
[INFO] [stderr] 288 | |     position: [f32; 3],
[INFO] [stderr] ...   |
[INFO] [stderr] 293 | |     _padding2: u32,
[INFO] [stderr] 294 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `vertex_buffer`, `index_buffer`, `num_indices`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stderr]    --> src/lib.rs:307:5
[INFO] [stderr]     |
[INFO] [stderr] 296 | struct State {
[INFO] [stderr]     |        ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 307 |     vertex_buffer: wgpu::Buffer,
[INFO] [stderr]     |     ^^^^^^^^^^^^^
[INFO] [stderr] 308 |     index_buffer: wgpu::Buffer,
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr] 309 |     num_indices: u32,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 310 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 311 |     diffuse_texture: texture::Texture,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `texture` is never read
[INFO] [stderr]  --> src/texture.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Texture {
[INFO] [stderr]   |            ------- field in this struct
[INFO] [stderr] 5 |     pub texture: wgpu::Texture,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stderr]   --> src/model.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub trait DrawModel<'a> {
[INFO] [stderr]    |           --------- methods in this trait
[INFO] [stderr] 10 |     fn draw_mesh(
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     fn draw_model(&mut self, 
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `draw_light_mesh` is never used
[INFO] [stderr]   --> src/model.rs:94:8
[INFO] [stderr]    |
[INFO] [stderr] 93 | pub trait DrawLight<'a> {
[INFO] [stderr]    |           --------- method in this trait
[INFO] [stderr] 94 |     fn draw_light_mesh(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stderr]    --> src/model.rs:174:9
[INFO] [stderr]     |
[INFO] [stderr] 173 | pub struct Material {
[INFO] [stderr]     |            -------- fields in this struct
[INFO] [stderr] 174 |     pub name: String,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr] 175 |     pub diffuse_texture: texture::Texture,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]    --> src/model.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 179 | pub struct Mesh {
[INFO] [stderr]     |            ---- field in this struct
[INFO] [stderr] 180 |     pub name: String,
[INFO] [stderr]     |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/model.rs:195:12
[INFO] [stderr]     |
[INFO] [stderr] 195 | pub struct ModelVertex {
[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]    --> src/model.rs:193:1
[INFO] [stderr]     |
[INFO] [stderr] 193 | / #[repr(C)]
[INFO] [stderr] 194 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stderr] 195 | | pub struct ModelVertex {
[INFO] [stderr] 196 | |     pub position: [f32; 3],
[INFO] [stderr] 197 | |     pub tex_coords: [f32; 2],
[INFO] [stderr] 198 | |     pub normal: [f32; 3],
[INFO] [stderr] 199 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: `learn_wgpu` (lib) generated 20 warnings (20 duplicates)
[INFO] [stderr] warning: `learn_wgpu` (lib test) generated 20 warnings (run `cargo fix --lib -p learn_wgpu --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.89s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/learn_wgpu-6d95141d836dd585)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_wgpu-d01a3f6f174be356)
[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] [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] [stderr]    Doc-tests learn_wgpu
[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" "2d7626455744b06cbdd671bcbbcc78484e3471e6120fd7aee915feec489b995c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d7626455744b06cbdd671bcbbcc78484e3471e6120fd7aee915feec489b995c", kill_on_drop: false }`
[INFO] [stdout] 2d7626455744b06cbdd671bcbbcc78484e3471e6120fd7aee915feec489b995c
