[INFO] cloning repository https://github.com/FallingSky65/learnwgpu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FallingSky65/learnwgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallingSky65%2Flearnwgpu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallingSky65%2Flearnwgpu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d2f18db89592c17066bb5a101d00d6752e07b5ae
[INFO] testing FallingSky65/learnwgpu against master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFallingSky65%2Flearnwgpu" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/FallingSky65/learnwgpu
[INFO] finished tweaking git repo https://github.com/FallingSky65/learnwgpu
[INFO] tweaked toml for git repo https://github.com/FallingSky65/learnwgpu written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/FallingSky65/learnwgpu on toolchain f9988fefd3add01f414f52b414308e7872622fee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/FallingSky65/learnwgpu 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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.56
[INFO] [stderr]   Downloaded toml_edit v0.23.9
[INFO] [stderr]   Downloaded tracing v0.1.43
[INFO] [stderr]   Downloaded reqwest v0.12.26
[INFO] [stderr]   Downloaded rustls-pki-types v1.13.1
[INFO] [stderr]   Downloaded env_filter v0.1.4
[INFO] [stderr]   Downloaded moxcms v0.7.10
[INFO] [stderr]   Downloaded fastnoise-lite v1.1.1
[INFO] [stderr]   Downloaded jiff-static v0.2.16
[INFO] [stderr]   Downloaded zune-jpeg v0.5.6
[INFO] [stderr]   Downloaded jiff v0.2.16
[INFO] [stderr]   Downloaded web-sys v0.3.83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7078affba9b5a95ba685b5cf1728e6b0e566f4db3522f138843288c6dfd3477f
[INFO] running `Command { std: "docker" "start" "-a" "7078affba9b5a95ba685b5cf1728e6b0e566f4db3522f138843288c6dfd3477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7078affba9b5a95ba685b5cf1728e6b0e566f4db3522f138843288c6dfd3477f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7078affba9b5a95ba685b5cf1728e6b0e566f4db3522f138843288c6dfd3477f", kill_on_drop: false }`
[INFO] [stdout] 7078affba9b5a95ba685b5cf1728e6b0e566f4db3522f138843288c6dfd3477f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 705cc4129ac9d09393d638932a81665b829563df8dc2cbad2c9b996d54b50702
[INFO] running `Command { std: "docker" "start" "-a" "705cc4129ac9d09393d638932a81665b829563df8dc2cbad2c9b996d54b50702", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling flate2 v1.1.5
[INFO] [stderr]    Compiling gpu-descriptor-types v0.2.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling gpu-descriptor v0.3.2
[INFO] [stderr]    Compiling zune-core v0.5.0
[INFO] [stderr]    Compiling png v0.18.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling ordered-float v5.1.0
[INFO] [stderr]    Compiling pxfm v0.1.27
[INFO] [stderr]    Compiling zune-jpeg v0.5.6
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling learnwgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling jiff v0.2.16
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling memmap2 v0.9.9
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling fastnoise-lite v1.1.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling pollster v0.4.0
[INFO] [stderr]    Compiling tobj v4.0.3
[INFO] [stderr]    Compiling toml_edit v0.23.9
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling moxcms v0.7.10
[INFO] [stderr]    Compiling polling v3.11.0
[INFO] [stderr]    Compiling gethostname v1.1.0
[INFO] [stderr]    Compiling x11rb v0.13.2
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerocopy-derive v0.8.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling gltf-derive v1.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling calloop v0.13.0
[INFO] [stderr]    Compiling wgpu-types v27.0.1
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling naga v27.0.3
[INFO] [stderr]    Compiling wayland-protocols v0.32.9
[INFO] [stderr]    Compiling calloop-wayland-source v0.3.0
[INFO] [stderr]    Compiling wayland-cursor v0.31.11
[INFO] [stderr]    Compiling gltf-json v1.4.1
[INFO] [stderr]    Compiling image v0.25.9
[INFO] [stderr]    Compiling gltf v1.4.1
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.3.9
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.3.9
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling sctk-adwaita v0.10.1
[INFO] [stderr]    Compiling wgpu-hal v27.0.4
[INFO] [stderr]    Compiling wgpu-core-deps-windows-linux-android v27.0.0
[INFO] [stderr]    Compiling wgpu-core v27.0.3
[INFO] [stderr]    Compiling wgpu v27.0.1
[INFO] [stdout] warning: unused import: `ops::DerefMut`
[INFO] [stdout]  --> src/minecraft.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::DerefMut,
[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: `gltf::Gltf`
[INFO] [stdout]  --> src/resources.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use gltf::Gltf;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load_from_memory_with_format`
[INFO] [stdout]  --> src/resources.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use image::{DynamicImage, RgbaImage, load_from_memory_with_format};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Glb` and `Gltf`
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use gltf::{Glb, Gltf};
[INFO] [stdout]   |            ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]   --> src/lib.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{cmp::min, fs, sync::Arc};
[INFO] [stdout]    |                     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `load_binary` and `load_string`
[INFO] [stdout]   --> src/lib.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     resources::{load_binary, load_string},
[INFO] [stdout]    |                 ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `tobj::load_obj_buf_async`: load_obj_buf_async is not fully async. Use futures/tokio feature flags instead
[INFO] [stdout]   --> src/resources.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let (models, obj_materials) = tobj::load_obj_buf_async(
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |         let mut world = minecraft::World::new(&device, &queue, &texture_bind_group_layout)
[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: unused variable: `yf`
[INFO] [stdout]    --> src/minecraft.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let yf = y as f32 / 2.0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_yf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c_y`
[INFO] [stdout]    --> src/minecraft.rs:454:13
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let c_y = (camera.position.y / CHUNK_H as f32).floor() as i32;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_c_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:208:45
[INFO] [stdout]     |
[INFO] [stdout] 208 |             gltf::image::Source::Uri { uri, mime_type } => {
[INFO] [stdout]     |                                             ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `view`
[INFO] [stdout]    --> src/resources.rs:234:41
[INFO] [stdout]     |
[INFO] [stdout] 234 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `view: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_INSTANCES_PER_ROW` is never used
[INFO] [stdout]   --> src/lib.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 | const NUM_INSTANCES_PER_ROW: u32 = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (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:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct State {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 124 |     instance: Instance,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 128 |     diffuse_texture: texture::Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `world` is never read
[INFO] [stdout]    --> src/minecraft.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct Chunk {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     world: Weak<World>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]   --> src/model.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 15 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_mesh` is never used
[INFO] [stdout]   --> src/model.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 28 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_string` is never used
[INFO] [stdout]   --> src/resources.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn load_string(file_name: &str) -> anyhow::Result<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_obj` is never used
[INFO] [stdout]   --> src/resources.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn load_obj(
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_glb` is never used
[INFO] [stdout]    --> src/resources.rs:186:14
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub async fn load_glb(
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "705cc4129ac9d09393d638932a81665b829563df8dc2cbad2c9b996d54b50702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "705cc4129ac9d09393d638932a81665b829563df8dc2cbad2c9b996d54b50702", kill_on_drop: false }`
[INFO] [stdout] 705cc4129ac9d09393d638932a81665b829563df8dc2cbad2c9b996d54b50702
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d5c2ace3d11c454a282d6ba3d5386a3898a9f474e35802eb27fe76be5446715
[INFO] running `Command { std: "docker" "start" "-a" "9d5c2ace3d11c454a282d6ba3d5386a3898a9f474e35802eb27fe76be5446715", kill_on_drop: false }`
[INFO] [stderr]    Compiling learnwgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ops::DerefMut`
[INFO] [stdout]  --> src/minecraft.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::DerefMut,
[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: `gltf::Gltf`
[INFO] [stdout]  --> src/resources.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use gltf::Gltf;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load_from_memory_with_format`
[INFO] [stdout]  --> src/resources.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use image::{DynamicImage, RgbaImage, load_from_memory_with_format};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Glb` and `Gltf`
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use gltf::{Glb, Gltf};
[INFO] [stdout]   |            ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]   --> src/lib.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{cmp::min, fs, sync::Arc};
[INFO] [stdout]    |                     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `load_binary` and `load_string`
[INFO] [stdout]   --> src/lib.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     resources::{load_binary, load_string},
[INFO] [stdout]    |                 ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ops::DerefMut`
[INFO] [stdout]  --> src/minecraft.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     ops::DerefMut,
[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: `gltf::Gltf`
[INFO] [stdout]  --> src/resources.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use gltf::Gltf;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load_from_memory_with_format`
[INFO] [stdout]  --> src/resources.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use image::{DynamicImage, RgbaImage, load_from_memory_with_format};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Glb` and `Gltf`
[INFO] [stdout]  --> src/lib.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use gltf::{Glb, Gltf};
[INFO] [stdout]   |            ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs`
[INFO] [stdout]   --> src/lib.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{cmp::min, fs, sync::Arc};
[INFO] [stdout]    |                     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `load_binary` and `load_string`
[INFO] [stdout]   --> src/lib.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     resources::{load_binary, load_string},
[INFO] [stdout]    |                 ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `tobj::load_obj_buf_async`: load_obj_buf_async is not fully async. Use futures/tokio feature flags instead
[INFO] [stdout]   --> src/resources.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let (models, obj_materials) = tobj::load_obj_buf_async(
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `tobj::load_obj_buf_async`: load_obj_buf_async is not fully async. Use futures/tokio feature flags instead
[INFO] [stdout]   --> src/resources.rs:80:41
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let (models, obj_materials) = tobj::load_obj_buf_async(
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |         let mut world = minecraft::World::new(&device, &queue, &texture_bind_group_layout)
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |         let mut world = minecraft::World::new(&device, &queue, &texture_bind_group_layout)
[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: unused variable: `yf`
[INFO] [stdout]    --> src/minecraft.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let yf = y as f32 / 2.0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_yf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `yf`
[INFO] [stdout]    --> src/minecraft.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let yf = y as f32 / 2.0;
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_yf`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c_y`
[INFO] [stdout]    --> src/minecraft.rs:454:13
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let c_y = (camera.position.y / CHUNK_H as f32).floor() as i32;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_c_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c_y`
[INFO] [stdout]    --> src/minecraft.rs:454:13
[INFO] [stdout]     |
[INFO] [stdout] 454 |         let c_y = (camera.position.y / CHUNK_H as f32).floor() as i32;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_c_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:208:45
[INFO] [stdout]     |
[INFO] [stdout] 208 |             gltf::image::Source::Uri { uri, mime_type } => {
[INFO] [stdout]     |                                             ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `view`
[INFO] [stdout]    --> src/resources.rs:234:41
[INFO] [stdout]     |
[INFO] [stdout] 234 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `view: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:208:45
[INFO] [stdout]     |
[INFO] [stdout] 208 |             gltf::image::Source::Uri { uri, mime_type } => {
[INFO] [stdout]     |                                             ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `view`
[INFO] [stdout]    --> src/resources.rs:234:41
[INFO] [stdout]     |
[INFO] [stdout] 234 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stdout]     |                                         ^^^^ help: try ignoring the field: `view: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_INSTANCES_PER_ROW` is never used
[INFO] [stdout]   --> src/lib.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 | const NUM_INSTANCES_PER_ROW: u32 = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (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:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct State {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 124 |     instance: Instance,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 128 |     diffuse_texture: texture::Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `world` is never read
[INFO] [stdout]    --> src/minecraft.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct Chunk {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     world: Weak<World>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]   --> src/model.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 15 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_mesh` is never used
[INFO] [stdout]   --> src/model.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 28 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_string` is never used
[INFO] [stdout]   --> src/resources.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn load_string(file_name: &str) -> anyhow::Result<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_obj` is never used
[INFO] [stdout]   --> src/resources.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn load_obj(
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUM_INSTANCES_PER_ROW` is never used
[INFO] [stdout]   --> src/lib.rs:84:7
[INFO] [stdout]    |
[INFO] [stdout] 84 | const NUM_INSTANCES_PER_ROW: u32 = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_glb` is never used
[INFO] [stdout]    --> src/resources.rs:186:14
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub async fn load_glb(
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stdout]   --> src/lib.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `instance`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stdout]    --> src/lib.rs:124:5
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub struct State {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 124 |     instance: Instance,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 128 |     diffuse_texture: texture::Texture,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `world` is never read
[INFO] [stdout]    --> src/minecraft.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct Chunk {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 132 |     world: Weak<World>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stdout]   --> src/model.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Material {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 10 |     pub diffuse_texture: texture::Texture,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 15 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `draw_mesh` is never used
[INFO] [stdout]   --> src/model.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 28 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_string` is never used
[INFO] [stdout]   --> src/resources.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn load_string(file_name: &str) -> anyhow::Result<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_obj` is never used
[INFO] [stdout]   --> src/resources.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn load_obj(
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_glb` is never used
[INFO] [stdout]    --> src/resources.rs:186:14
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub async fn load_glb(
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.78s
[INFO] running `Command { std: "docker" "inspect" "9d5c2ace3d11c454a282d6ba3d5386a3898a9f474e35802eb27fe76be5446715", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d5c2ace3d11c454a282d6ba3d5386a3898a9f474e35802eb27fe76be5446715", kill_on_drop: false }`
[INFO] [stdout] 9d5c2ace3d11c454a282d6ba3d5386a3898a9f474e35802eb27fe76be5446715
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0d437c24f1ff815caaf814f1f06563137eb1ed5a5a380d02600efa72dafddb46
[INFO] running `Command { std: "docker" "start" "-a" "0d437c24f1ff815caaf814f1f06563137eb1ed5a5a380d02600efa72dafddb46", kill_on_drop: false }`
[INFO] [stderr]    Compiling learnwgpu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `ops::DerefMut`
[INFO] [stderr]  --> src/minecraft.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     ops::DerefMut,
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `gltf::Gltf`
[INFO] [stderr]  --> src/resources.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use gltf::Gltf;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `load_from_memory_with_format`
[INFO] [stderr]  --> src/resources.rs:7:38
[INFO] [stderr]   |
[INFO] [stderr] 7 | use image::{DynamicImage, RgbaImage, load_from_memory_with_format};
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Glb` and `Gltf`
[INFO] [stderr]  --> src/lib.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | use gltf::{Glb, Gltf};
[INFO] [stderr]   |            ^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fs`
[INFO] [stderr]   --> src/lib.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::{cmp::min, fs, sync::Arc};
[INFO] [stderr]    |                     ^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `load_binary` and `load_string`
[INFO] [stderr]   --> src/lib.rs:28:17
[INFO] [stderr]    |
[INFO] [stderr] 28 |     resources::{load_binary, load_string},
[INFO] [stderr]    |                 ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `tobj::load_obj_buf_async`: load_obj_buf_async is not fully async. Use futures/tokio feature flags instead
[INFO] [stderr]   --> src/resources.rs:80:41
[INFO] [stderr]    |
[INFO] [stderr] 80 |     let (models, obj_materials) = tobj::load_obj_buf_async(
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/lib.rs:421:13
[INFO] [stderr]     |
[INFO] [stderr] 421 |         let mut world = minecraft::World::new(&device, &queue, &texture_bind_group_layout)
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `yf`
[INFO] [stderr]    --> src/minecraft.rs:104:13
[INFO] [stderr]     |
[INFO] [stderr] 104 |         let yf = y as f32 / 2.0;
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_yf`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c_y`
[INFO] [stderr]    --> src/minecraft.rs:454:13
[INFO] [stderr]     |
[INFO] [stderr] 454 |         let c_y = (camera.position.y / CHUNK_H as f32).floor() as i32;
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_c_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mime_type`
[INFO] [stderr]    --> src/resources.rs:208:45
[INFO] [stderr]     |
[INFO] [stderr] 208 |             gltf::image::Source::Uri { uri, mime_type } => {
[INFO] [stderr]     |                                             ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `view`
[INFO] [stderr]    --> src/resources.rs:234:41
[INFO] [stderr]     |
[INFO] [stderr] 234 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stderr]     |                                         ^^^^ help: try ignoring the field: `view: _`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `NUM_INSTANCES_PER_ROW` is never used
[INFO] [stderr]   --> src/lib.rs:84:7
[INFO] [stderr]    |
[INFO] [stderr] 84 | const NUM_INSTANCES_PER_ROW: u32 = 10;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `INSTANCE_DISPLACEMENT` is never used
[INFO] [stderr]   --> src/lib.rs:85:7
[INFO] [stderr]    |
[INFO] [stderr] 85 | const INSTANCE_DISPLACEMENT: cgmath::Vector3<f32> = cgmath::Vector3::new(
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `instance`, `diffuse_bind_group`, and `diffuse_texture` are never read
[INFO] [stderr]    --> src/lib.rs:124:5
[INFO] [stderr]     |
[INFO] [stderr] 112 | pub struct State {
[INFO] [stderr]     |            ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 124 |     instance: Instance,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 127 |     diffuse_bind_group: wgpu::BindGroup,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 128 |     diffuse_texture: texture::Texture,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `world` is never read
[INFO] [stderr]    --> src/minecraft.rs:132:5
[INFO] [stderr]     |
[INFO] [stderr] 126 | pub struct Chunk {
[INFO] [stderr]     |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 132 |     world: Weak<World>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `diffuse_texture` are never read
[INFO] [stderr]   --> src/model.rs:9:9
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct Material {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr]  9 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 10 |     pub diffuse_texture: texture::Texture,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/model.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Mesh {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 15 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `draw_mesh` is never used
[INFO] [stderr]   --> src/model.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub trait DrawModel<'a> {
[INFO] [stderr]    |           --------- method in this trait
[INFO] [stderr] 28 |     fn draw_mesh(
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_string` is never used
[INFO] [stderr]   --> src/resources.rs:27:14
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub async fn load_string(file_name: &str) -> anyhow::Result<String> {
[INFO] [stderr]    |              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_obj` is never used
[INFO] [stderr]   --> src/resources.rs:70:14
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub async fn load_obj(
[INFO] [stderr]    |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_glb` is never used
[INFO] [stderr]    --> src/resources.rs:186:14
[INFO] [stderr]     |
[INFO] [stderr] 186 | pub async fn load_glb(
[INFO] [stderr]     |              ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `learnwgpu` (lib test) generated 22 warnings (22 duplicates)
[INFO] [stderr] warning: `learnwgpu` (lib) generated 22 warnings (run `cargo fix --lib -p learnwgpu` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.91s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/learnwgpu-8ba0d66e7b768b2c)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learnwgpu-1b7f35007062b619)
[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 learnwgpu
[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" "0d437c24f1ff815caaf814f1f06563137eb1ed5a5a380d02600efa72dafddb46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d437c24f1ff815caaf814f1f06563137eb1ed5a5a380d02600efa72dafddb46", kill_on_drop: false }`
[INFO] [stdout] 0d437c24f1ff815caaf814f1f06563137eb1ed5a5a380d02600efa72dafddb46
