[INFO] cloning repository https://github.com/wealrain/wgpu-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wealrain/wgpu-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwealrain%2Fwgpu-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwealrain%2Fwgpu-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 22eb3aa5231cf1d937326930c521515d916f74e6
[INFO] checking wealrain/wgpu-test against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwealrain%2Fwgpu-test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/wealrain/wgpu-test
[INFO] finished tweaking git repo https://github.com/wealrain/wgpu-test
[INFO] tweaked toml for git repo https://github.com/wealrain/wgpu-test written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wealrain/wgpu-test on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wealrain/wgpu-test 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d
[INFO] running `Command { std: "docker" "start" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d", 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" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d", 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" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking libloading v0.8.3
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling cc v1.0.97
[INFO] [stderr]    Compiling thiserror v1.0.60
[INFO] [stderr]    Compiling wayland-sys v0.31.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]    Compiling anyhow v1.0.83
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]    Compiling wgpu-hal v0.20.0
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking raw-window-handle v0.6.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]     Checking xcursor v0.3.5
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking xkeysym v0.2.0
[INFO] [stderr]     Checking cursor-icon v1.1.0
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking wgpu-types v0.20.0
[INFO] [stderr]    Compiling quick-xml v0.31.0
[INFO] [stderr]    Compiling wgpu-core v0.20.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking glow v0.13.1
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling syn v2.0.61
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking profiling v1.0.15
[INFO] [stderr]     Checking anstyle-parse v0.2.4
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking memmap2 v0.9.4
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]    Compiling wayland-backend v0.3.3
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]    Compiling wgpu v0.20.0
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking parking_lot v0.12.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling document-features v0.2.8
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.0
[INFO] [stderr]     Checking anstyle-query v1.0.3
[INFO] [stderr]     Checking anstyle v1.0.7
[INFO] [stderr]     Checking colorchoice v1.0.1
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]    Compiling wayland-scanner v0.31.1
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling wgpu-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking anstream v0.6.14
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking gpu-descriptor v0.3.0
[INFO] [stderr]     Checking smol_str v0.2.1
[INFO] [stderr]     Checking tobj v3.2.5
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking owned_ttf_parser v0.20.0
[INFO] [stderr]     Checking ab_glyph v0.2.25
[INFO] [stderr]    Compiling thiserror-impl v1.0.60
[INFO] [stderr]    Compiling bytemuck_derive v1.5.0
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr]     Checking naga v0.20.0
[INFO] [stderr]     Checking polling v3.7.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking calloop v0.12.4
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking env_filter v0.1.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking env_logger v0.11.3
[INFO] [stderr]     Checking wayland-client v0.31.2
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking wayland-protocols v0.31.2
[INFO] [stderr]     Checking calloop-wayland-source v0.2.0
[INFO] [stderr]     Checking wayland-cursor v0.31.1
[INFO] [stderr]     Checking wayland-protocols-wlr v0.2.0
[INFO] [stderr]     Checking wayland-protocols-plasma v0.2.0
[INFO] [stderr]     Checking sctk-adwaita v0.8.1
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stdout] warning: unused import: `ElementState`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     event::{ElementState, Event, KeyEvent, StartCause, WindowEvent}, 
[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: `wgpu::naga::back::msl::sampler`
[INFO] [stdout]  --> src/texture.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wgpu::naga::back::msl::sampler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Key` and `NamedKey`
[INFO] [stdout]  --> src/camera.rs:1:70
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winit::{event::{ElementState, KeyEvent, WindowEvent}, keyboard::{Key, KeyCode, NamedKey, PhysicalKey}};
[INFO] [stdout]   |                                                                      ^^^           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ElementState`
[INFO] [stdout]  --> src/lib.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     event::{ElementState, Event, KeyEvent, StartCause, WindowEvent}, 
[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: `wgpu::naga::back::msl::sampler`
[INFO] [stdout]  --> src/texture.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wgpu::naga::back::msl::sampler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Key` and `NamedKey`
[INFO] [stdout]  --> src/camera.rs:1:70
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winit::{event::{ElementState, KeyEvent, WindowEvent}, keyboard::{Key, KeyCode, NamedKey, PhysicalKey}};
[INFO] [stdout]   |                                                                      ^^^           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::GenericImageView`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::GenericImageView;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | 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/lib.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | / #[repr(C)]
[INFO] [stdout] 75 | | #[derive(Debug,Clone, Copy,bytemuck::Pod,bytemuck::Zeroable)]
[INFO] [stdout] 76 | | // 视图投影矩阵
[INFO] [stdout] 77 | | struct CameraUniform {
[INFO] [stdout] 78 | |     view_proj: [[f32;4];4]
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clear_color`, `index_buffer`, `num_indices`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  93 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  99 |     clear_color: wgpu::Color,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     index_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 104 |     num_indices: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 105 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 106 |     diffuse_texture: Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stdout]    --> src/lib.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 | const INSTANCE_DISPLACEMENT: glam::Vec3 = glam::Vec3::new(NUM_INSTANCES_PER_ROW as f32 * 0.5,0.0,NUM_INSTANCES_PER_ROW as f32 * 0.5);
[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] warning: field `0` is never read
[INFO] [stdout]   --> src/instance.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub 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/instance.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / #[repr(C)]
[INFO] [stdout] 15 | | #[derive(Debug,Clone,Copy,bytemuck::Pod,bytemuck::Zeroable)]
[INFO] [stdout] 16 | | // 四元数的矩阵形式
[INFO] [stdout] 17 | | pub struct InstanceRaw{
[INFO] [stdout] 18 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/model.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | / #[repr(C)]
[INFO] [stdout] 10 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 11 | | pub struct ModelVertex{
[INFO] [stdout] 12 | |     pub position: [f32; 3],
[INFO] [stdout] 13 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 14 | |     pub normal: [f32; 3],
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]   --> src/model.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 54 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 55 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 61 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stdout]   --> src/model.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 69 |     fn draw_mesh(&mut self,mesh:&'a Mesh,materal:&'a Material,camera_bind_group:&'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 70 |     fn draw_mesh_instanced(&mut self,mesh:&'a Mesh,instances: Range<u32>,materal:&'a Material,camera_bind_group:&'a wgpu::BindGroup);
[INFO] [stdout] 71 |     fn draw_model(&mut self, model: &'a Model, camera_bind_group: &'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::GenericImageView`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image::GenericImageView;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | 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/lib.rs:74:1
[INFO] [stdout]    |
[INFO] [stdout] 74 | / #[repr(C)]
[INFO] [stdout] 75 | | #[derive(Debug,Clone, Copy,bytemuck::Pod,bytemuck::Zeroable)]
[INFO] [stdout] 76 | | // 视图投影矩阵
[INFO] [stdout] 77 | | struct CameraUniform {
[INFO] [stdout] 78 | |     view_proj: [[f32;4];4]
[INFO] [stdout] 79 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `clear_color`, `index_buffer`, `num_indices`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  93 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  99 |     clear_color: wgpu::Color,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     index_buffer: wgpu::Buffer,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 104 |     num_indices: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 105 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 106 |     diffuse_texture: Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stdout]    --> src/lib.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 119 | const INSTANCE_DISPLACEMENT: glam::Vec3 = glam::Vec3::new(NUM_INSTANCES_PER_ROW as f32 * 0.5,0.0,NUM_INSTANCES_PER_ROW as f32 * 0.5);
[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] warning: field `0` is never read
[INFO] [stdout]   --> src/instance.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub 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/instance.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / #[repr(C)]
[INFO] [stdout] 15 | | #[derive(Debug,Clone,Copy,bytemuck::Pod,bytemuck::Zeroable)]
[INFO] [stdout] 16 | | // 四元数的矩阵形式
[INFO] [stdout] 17 | | pub struct InstanceRaw{
[INFO] [stdout] 18 | |     model: [[f32; 4]; 4],
[INFO] [stdout] 19 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/model.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | 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:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | / #[repr(C)]
[INFO] [stdout] 10 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)]
[INFO] [stdout] 11 | | pub struct ModelVertex{
[INFO] [stdout] 12 | |     pub position: [f32; 3],
[INFO] [stdout] 13 | |     pub tex_coords: [f32; 2],
[INFO] [stdout] 14 | |     pub normal: [f32; 3],
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]   --> src/model.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 54 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 55 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 61 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stdout]   --> src/model.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 69 |     fn draw_mesh(&mut self,mesh:&'a Mesh,materal:&'a Material,camera_bind_group:&'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 70 |     fn draw_mesh_instanced(&mut self,mesh:&'a Mesh,instances: Range<u32>,materal:&'a Material,camera_bind_group:&'a wgpu::BindGroup);
[INFO] [stdout] 71 |     fn draw_model(&mut self, model: &'a Model, camera_bind_group: &'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.64s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d", kill_on_drop: false }`
[INFO] [stdout] 9065d8ae27a756bffa6942b8b68efd1c93e17a6b34f5520f7b9d9d18390c082d
