[INFO] cloning repository https://github.com/omerkucuker/wgpu-capsule
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omerkucuker/wgpu-capsule" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerkucuker%2Fwgpu-capsule", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerkucuker%2Fwgpu-capsule'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa53f73db26a5721d2311ce0ee80e273debb2b8b
[INFO] checking omerkucuker/wgpu-capsule against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerkucuker%2Fwgpu-capsule" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/omerkucuker/wgpu-capsule
[INFO] finished tweaking git repo https://github.com/omerkucuker/wgpu-capsule
[INFO] tweaked toml for git repo https://github.com/omerkucuker/wgpu-capsule written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/omerkucuker/wgpu-capsule on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/omerkucuker/wgpu-capsule 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" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651
[INFO] running `Command { std: "docker" "start" "cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.103
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking libloading v0.7.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling pkg-config v0.3.20
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling syn v1.0.77
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking instant v0.1.11
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling nom v7.0.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling anyhow v1.0.44
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking fixedbitset v0.4.0
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking minimal-lexical v0.1.3
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]     Checking bit-set v0.5.2
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking gpu-descriptor v0.2.1
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking gpu-alloc v0.5.2
[INFO] [stderr]    Compiling wgpu-core v0.10.4
[INFO] [stderr]     Checking petgraph v0.6.0
[INFO] [stderr]    Compiling ahash v0.7.4
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]     Checking ash v0.33.3+1.2.191
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking wgpu-types v0.10.0
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking glow v0.11.0
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]     Checking renderdoc-sys v0.7.1
[INFO] [stderr]     Checking inplace_it v0.3.3
[INFO] [stderr]     Checking arrayvec v0.7.1
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking profiling v1.0.3
[INFO] [stderr]     Checking copyless v0.1.5
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling winit v0.25.0
[INFO] [stderr]     Checking mio-misc v1.2.1
[INFO] [stderr]     Checking gif v0.11.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]    Compiling task2-wgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tobj v3.2.0
[INFO] [stderr]     Checking pollster v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.29
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking thiserror v1.0.29
[INFO] [stderr]     Checking naga v0.6.3
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]     Checking wgpu-hal v0.10.7
[INFO] [stderr]     Checking wgpu v0.10.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/model.rs:247:21
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 let mut v = &mut vertices[i];
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CameraUniform {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/main.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / #[repr(C)]
[INFO] [stdout] 22 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 23 | | struct CameraUniform {
[INFO] [stdout] 24 | |     view_position: [f32; 4],
[INFO] [stdout] 25 | |     view_proj: [[f32; 4]; 4],
[INFO] [stdout] 26 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | 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/main.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / #[repr(C)]
[INFO] [stdout] 60 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 61 | | #[allow(dead_code)]
[INFO] [stdout] 62 | | struct InstanceRaw {
[INFO] [stdout] 63 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 64 | |     normal: [[f32; 3]; 3],
[INFO] [stdout] 65 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/main.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | 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/main.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | / #[repr(C)]
[INFO] [stdout] 122 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 123 | | struct LightUniform {
[INFO] [stdout] 124 | |     position: [f32; 3],
[INFO] [stdout] ...   |
[INFO] [stdout] 127 | |     color: [f32; 3],
[INFO] [stdout] 128 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/model.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / #[repr(C)]
[INFO] [stdout] 15 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 16 | | pub struct ModelVertex {
[INFO] [stdout] 17 | |     position: [f32; 3],
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |     bitangent: [f32; 3],
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `diffuse_texture`, and `normal_texture` are never read
[INFO] [stdout]   --> src/model.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 63 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 64 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     pub normal_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/model.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 110 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh`, `draw_model`, and `draw_model_instanced_with_material` are never used
[INFO] [stdout]    --> src/model.rs:281:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub trait DrawModel<'a> {
[INFO] [stdout]     |           --------- methods in this trait
[INFO] [stdout] 281 |     fn draw_mesh(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     fn draw_model(
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn draw_model_instanced_with_material(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_light_mesh` is never used
[INFO] [stdout]    --> src/model.rs:387:8
[INFO] [stdout]     |
[INFO] [stdout] 386 | pub trait DrawLight<'a> {
[INFO] [stdout]     |           --------- method in this trait
[INFO] [stdout] 387 |     fn draw_light_mesh(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 6 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |                       position: [
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 168 | |                         m.mesh.positions[i * 3],
[INFO] [stdout] 169 | |                         m.mesh.positions[i * 3 + 1],
[INFO] [stdout] 170 | |                         m.mesh.positions[i * 3 + 2],
[INFO] [stdout] 171 | |                     ]
[INFO] [stdout] 172 | |                     .into(),
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 2]`
[INFO] [stdout]    --> src/model.rs:173:33
[INFO] [stdout]     |
[INFO] [stdout] 173 |                     tex_coords: [m.mesh.texcoords[i * 2], m.mesh.texcoords[i * 2 + 1]].into(),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 2] as Into<[f32; 2]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:174:29
[INFO] [stdout]     |
[INFO] [stdout] 174 |                       normal: [
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 175 | |                         m.mesh.normals[i * 3],
[INFO] [stdout] 176 | |                         m.mesh.normals[i * 3 + 1],
[INFO] [stdout] 177 | |                         m.mesh.normals[i * 3 + 2],
[INFO] [stdout] 178 | |                     ]
[INFO] [stdout] 179 | |                     .into(),
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:181:30
[INFO] [stdout]     |
[INFO] [stdout] 181 |                     tangent: [0.0; 3].into(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:182:32
[INFO] [stdout]     |
[INFO] [stdout] 182 |                     bitangent: [0.0; 3].into(),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `task2-wgpu` (bin "task2-wgpu") due to 5 previous errors; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/model.rs:247:21
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 let mut v = &mut vertices[i];
[INFO] [stdout]     |                     ----^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct CameraUniform {
[INFO] [stdout]    |        ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/main.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / #[repr(C)]
[INFO] [stdout] 22 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 23 | | struct CameraUniform {
[INFO] [stdout] 24 | |     view_position: [f32; 4],
[INFO] [stdout] 25 | |     view_proj: [[f32; 4]; 4],
[INFO] [stdout] 26 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/main.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | 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/main.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | / #[repr(C)]
[INFO] [stdout] 60 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 61 | | #[allow(dead_code)]
[INFO] [stdout] 62 | | struct InstanceRaw {
[INFO] [stdout] 63 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 64 | |     normal: [[f32; 3]; 3],
[INFO] [stdout] 65 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/main.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | 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/main.rs:121:1
[INFO] [stdout]     |
[INFO] [stdout] 121 | / #[repr(C)]
[INFO] [stdout] 122 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 123 | | struct LightUniform {
[INFO] [stdout] 124 | |     position: [f32; 3],
[INFO] [stdout] ...   |
[INFO] [stdout] 127 | |     color: [f32; 3],
[INFO] [stdout] 128 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/model.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / #[repr(C)]
[INFO] [stdout] 15 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 16 | | pub struct ModelVertex {
[INFO] [stdout] 17 | |     position: [f32; 3],
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | |     bitangent: [f32; 3],
[INFO] [stdout] 22 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `diffuse_texture`, and `normal_texture` are never read
[INFO] [stdout]   --> src/model.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 63 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 64 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 65 |     pub normal_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/model.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 110 |     pub name: String,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh`, `draw_model`, and `draw_model_instanced_with_material` are never used
[INFO] [stdout]    --> src/model.rs:281:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub trait DrawModel<'a> {
[INFO] [stdout]     |           --------- methods in this trait
[INFO] [stdout] 281 |     fn draw_mesh(
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 297 |     fn draw_model(
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn draw_model_instanced_with_material(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_light_mesh` is never used
[INFO] [stdout]    --> src/model.rs:387:8
[INFO] [stdout]     |
[INFO] [stdout] 386 | pub trait DrawLight<'a> {
[INFO] [stdout]     |           --------- method in this trait
[INFO] [stdout] 387 |     fn draw_light_mesh(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 6 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:167:31
[INFO] [stdout]     |
[INFO] [stdout] 167 |                       position: [
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 168 | |                         m.mesh.positions[i * 3],
[INFO] [stdout] 169 | |                         m.mesh.positions[i * 3 + 1],
[INFO] [stdout] 170 | |                         m.mesh.positions[i * 3 + 2],
[INFO] [stdout] 171 | |                     ]
[INFO] [stdout] 172 | |                     .into(),
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 2]`
[INFO] [stdout]    --> src/model.rs:173:33
[INFO] [stdout]     |
[INFO] [stdout] 173 |                     tex_coords: [m.mesh.texcoords[i * 2], m.mesh.texcoords[i * 2 + 1]].into(),
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 2] as Into<[f32; 2]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:174:29
[INFO] [stdout]     |
[INFO] [stdout] 174 |                       normal: [
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 175 | |                         m.mesh.normals[i * 3],
[INFO] [stdout] 176 | |                         m.mesh.normals[i * 3 + 1],
[INFO] [stdout] 177 | |                         m.mesh.normals[i * 3 + 2],
[INFO] [stdout] 178 | |                     ]
[INFO] [stdout] 179 | |                     .into(),
[INFO] [stdout]     | |___________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:181:30
[INFO] [stdout]     |
[INFO] [stdout] 181 |                     tangent: [0.0; 3].into(),
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `[f32; 3]`
[INFO] [stdout]    --> src/model.rs:182:32
[INFO] [stdout]     |
[INFO] [stdout] 182 |                     bitangent: [0.0; 3].into(),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: you can instead use the fully-qualified path `<[f32; 3] as Into<[f32; 3]>::into(val) to avoid triggering this lint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `task2-wgpu` (bin "task2-wgpu" test) due to 5 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651", kill_on_drop: false }`
[INFO] [stdout] cbb5671bab7fb036ca3920ddb6da35847547bd0fba348250b4e6d3ff68e40651
