[INFO] cloning repository https://github.com/JinlongCui7c/wgpu-model-render
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JinlongCui7c/wgpu-model-render" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJinlongCui7c%2Fwgpu-model-render", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJinlongCui7c%2Fwgpu-model-render'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96fa780da1ee56fedfa23259df47db4708499bbb
[INFO] testing JinlongCui7c/wgpu-model-render against 1.97.0-beta.6+cargoflags=--release for beta-1.98-release-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJinlongCui7c%2Fwgpu-model-render" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JinlongCui7c/wgpu-model-render
[INFO] finished tweaking git repo https://github.com/JinlongCui7c/wgpu-model-render
[INFO] tweaked toml for git repo https://github.com/JinlongCui7c/wgpu-model-render written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JinlongCui7c/wgpu-model-render on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JinlongCui7c/wgpu-model-render 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 90 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.21.7
[INFO] [stderr]       Adding bitflags v2.13.1
[INFO] [stderr]       Adding bytes v1.12.1
[INFO] [stderr]       Adding console_error_panic_hook v0.1.7
[INFO] [stderr]       Adding console_log v0.2.2 (available: v1.1.0)
[INFO] [stderr]       Adding encoding_rs v0.8.35
[INFO] [stderr]       Adding equivalent v1.0.2
[INFO] [stderr]       Adding errno v0.3.14
[INFO] [stderr]       Adding fastrand v2.5.0
[INFO] [stderr]       Adding form_urlencoded v1.1.0 (available: v1.2.2)
[INFO] [stderr]       Adding futures-channel v0.3.33
[INFO] [stderr]       Adding futures-core v0.3.33
[INFO] [stderr]       Adding futures-sink v0.3.33
[INFO] [stderr]       Adding futures-task v0.3.33
[INFO] [stderr]       Adding futures-util v0.3.33
[INFO] [stderr]       Adding h2 v0.3.27
[INFO] [stderr]       Adding hashbrown v0.17.1
[INFO] [stderr]       Adding http v0.2.12
[INFO] [stderr]       Adding http-body v0.4.6
[INFO] [stderr]       Adding httparse v1.10.1
[INFO] [stderr]       Adding httpdate v1.0.3
[INFO] [stderr]       Adding hyper v0.14.32
[INFO] [stderr]       Adding hyper-tls v0.5.0
[INFO] [stderr]       Adding idna v0.3.0
[INFO] [stderr]       Adding indexmap v2.14.0
[INFO] [stderr]       Adding ipnet v2.12.1
[INFO] [stderr]     Updating libc v0.2.134 -> v0.2.189
[INFO] [stderr]       Adding linux-raw-sys v0.4.15
[INFO] [stderr]       Adding mime v0.3.17
[INFO] [stderr]       Adding mio v1.2.2
[INFO] [stderr]       Adding native-tls v0.2.14 (available: v0.2.18)
[INFO] [stderr]       Adding openssl v0.10.81
[INFO] [stderr]       Adding openssl-macros v0.1.1
[INFO] [stderr]       Adding openssl-probe v0.1.6
[INFO] [stderr]       Adding openssl-sys v0.9.117
[INFO] [stderr]       Adding pin-project-lite v0.2.17
[INFO] [stderr]     Updating proc-macro2 v1.0.46 -> v1.0.107
[INFO] [stderr]     Updating quote v1.0.21 -> v1.0.47
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.4)
[INFO] [stderr]       Adding rustix v0.38.44
[INFO] [stderr]       Adding rustls-pemfile v1.0.4
[INFO] [stderr]       Adding schannel v0.1.29
[INFO] [stderr]       Adding security-framework v2.10.0 (available: v2.11.1)
[INFO] [stderr]       Adding security-framework-sys v2.11.0 (available: v2.17.0)
[INFO] [stderr]       Adding serde_urlencoded v0.7.1
[INFO] [stderr]       Adding slab v0.4.12
[INFO] [stderr]       Adding socket2 v0.5.10
[INFO] [stderr]       Adding socket2 v0.6.5
[INFO] [stderr]       Adding syn v2.0.119
[INFO] [stderr]       Adding sync_wrapper v0.1.2
[INFO] [stderr]       Adding system-configuration v0.5.1
[INFO] [stderr]       Adding system-configuration-sys v0.5.0
[INFO] [stderr]       Adding tempfile v3.10.1 (available: v3.27.0)
[INFO] [stderr]       Adding tinyvec v1.12.0
[INFO] [stderr]       Adding tinyvec_macros v0.1.1
[INFO] [stderr]       Adding tokio v1.53.1
[INFO] [stderr]       Adding tokio-native-tls v0.3.1
[INFO] [stderr]       Adding tokio-util v0.7.19
[INFO] [stderr]       Adding tower-service v0.3.3
[INFO] [stderr]       Adding tracing v0.1.44
[INFO] [stderr]       Adding tracing-core v0.1.36
[INFO] [stderr]       Adding try-lock v0.2.5
[INFO] [stderr]       Adding unicode-bidi v0.3.18
[INFO] [stderr]       Adding unicode-normalization v0.1.25
[INFO] [stderr]       Adding url v2.3.1 (available: v2.5.8)
[INFO] [stderr]       Adding vcpkg v0.2.15
[INFO] [stderr]       Adding want v0.3.1
[INFO] [stderr]       Adding windows-link v0.2.1
[INFO] [stderr]       Adding windows-sys v0.48.0
[INFO] [stderr]       Adding windows-sys v0.52.0
[INFO] [stderr]       Adding windows-sys v0.59.0
[INFO] [stderr]       Adding windows-sys v0.61.2
[INFO] [stderr]       Adding windows-targets v0.48.5
[INFO] [stderr]       Adding windows-targets v0.52.6
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5
[INFO] [stderr]       Adding windows_aarch64_msvc v0.52.6
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5
[INFO] [stderr]       Adding windows_i686_gnu v0.52.6
[INFO] [stderr]       Adding windows_i686_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5
[INFO] [stderr]       Adding windows_i686_msvc v0.52.6
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnu v0.52.6
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5
[INFO] [stderr]       Adding windows_x86_64_msvc v0.52.6
[INFO] [stderr]       Adding winreg v0.50.0
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pkg-config v0.3.25
[INFO] [stderr]   Downloaded itoa v1.0.4
[INFO] [stderr]   Downloaded http-body v0.4.6
[INFO] [stderr]   Downloaded memoffset v0.6.5
[INFO] [stderr]   Downloaded wayland-cursor v0.29.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.37
[INFO] [stderr]   Downloaded arrayref v0.3.6
[INFO] [stderr]   Downloaded system-configuration v0.5.1
[INFO] [stderr]   Downloaded sync_wrapper v0.1.2
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.83
[INFO] [stderr]   Downloaded bytemuck_derive v1.2.1
[INFO] [stderr]   Downloaded num_enum_derive v0.5.7
[INFO] [stderr]   Downloaded wio v0.2.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.83
[INFO] [stderr]   Downloaded wayland-sys v0.29.5
[INFO] [stderr]   Downloaded darling_macro v0.13.4
[INFO] [stderr]   Downloaded copyless v0.1.5
[INFO] [stderr]   Downloaded system-configuration-sys v0.5.0
[INFO] [stderr]   Downloaded http v0.2.12
[INFO] [stderr]   Downloaded foreign-types-shared v0.3.1
[INFO] [stderr]   Downloaded proc-macro-crate v1.2.1
[INFO] [stderr]   Downloaded range-alloc v0.1.2
[INFO] [stderr]   Downloaded inplace_it v0.3.5
[INFO] [stderr]   Downloaded openssl-probe v0.1.6
[INFO] [stderr]   Downloaded socket2 v0.5.10
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.33
[INFO] [stderr]   Downloaded raw-window-handle v0.5.0
[INFO] [stderr]   Downloaded ndk-macro v0.3.0
[INFO] [stderr]   Downloaded foreign-types v0.5.0
[INFO] [stderr]   Downloaded foreign-types-macros v0.2.2
[INFO] [stderr]   Downloaded num_enum v0.5.7
[INFO] [stderr]   Downloaded form_urlencoded v1.1.0
[INFO] [stderr]   Downloaded pollster v0.2.5
[INFO] [stderr]   Downloaded adler32 v1.2.0
[INFO] [stderr]   Downloaded approx v0.4.0
[INFO] [stderr]   Downloaded servo-fontconfig v0.5.1
[INFO] [stderr]   Downloaded ndk-glue v0.7.0
[INFO] [stderr]   Downloaded memmap2 v0.5.7
[INFO] [stderr]   Downloaded sctk-adwaita v0.4.2
[INFO] [stderr]   Downloaded raw-window-handle v0.4.3
[INFO] [stderr]   Downloaded winreg v0.50.0
[INFO] [stderr]   Downloaded security-framework-sys v2.11.0
[INFO] [stderr]   Downloaded gltf-derive v1.0.0
[INFO] [stderr]   Downloaded wayland-commons v0.29.5
[INFO] [stderr]   Downloaded dwrote v0.11.0
[INFO] [stderr]   Downloaded cty v0.2.2
[INFO] [stderr]   Downloaded darling v0.13.4
[INFO] [stderr]   Downloaded getrandom v0.2.7
[INFO] [stderr]   Downloaded d3d12 v0.5.0
[INFO] [stderr]   Downloaded ndk-glue v0.1.0
[INFO] [stderr]   Downloaded num_enum v0.4.3
[INFO] [stderr]   Downloaded thiserror v1.0.37
[INFO] [stderr]   Downloaded hyper-tls v0.5.0
[INFO] [stderr]   Downloaded num_enum_derive v0.4.3
[INFO] [stderr]   Downloaded android_log-sys v0.1.2
[INFO] [stderr]   Downloaded libloading v0.7.3
[INFO] [stderr]   Downloaded crossfont v0.5.0
[INFO] [stderr]   Downloaded core-text v19.2.0
[INFO] [stderr]   Downloaded tobj v3.2.3
[INFO] [stderr]   Downloaded native-tls v0.2.14
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.83
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.83
[INFO] [stderr]   Downloaded cmake v0.1.48
[INFO] [stderr]   Downloaded glob v0.3.0
[INFO] [stderr]   Downloaded wgpu-types v0.13.2
[INFO] [stderr]   Downloaded once_cell v1.15.0
[INFO] [stderr]   Downloaded ryu v1.0.11
[INFO] [stderr]   Downloaded gltf-json v1.0.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.4
[INFO] [stderr]   Downloaded bytemuck v1.12.1
[INFO] [stderr]   Downloaded tempfile v3.10.1
[INFO] [stderr]   Downloaded fs_extra v1.2.0
[INFO] [stderr]   Downloaded ndk v0.1.0
[INFO] [stderr]   Downloaded num-iter v0.1.43
[INFO] [stderr]   Downloaded toml v0.5.9
[INFO] [stderr]   Downloaded darling_core v0.13.4
[INFO] [stderr]   Downloaded calloop v0.10.1
[INFO] [stderr]   Downloaded tiny-skia-path v0.7.0
[INFO] [stderr]   Downloaded miniz_oxide v0.5.4
[INFO] [stderr]   Downloaded indexmap v1.9.1
[INFO] [stderr]   Downloaded env_logger v0.9.1
[INFO] [stderr]   Downloaded console_log v0.2.2
[INFO] [stderr]   Downloaded x11-dl v2.20.0
[INFO] [stderr]   Downloaded bumpalo v3.11.0
[INFO] [stderr]   Downloaded js-sys v0.3.60
[INFO] [stderr]   Downloaded flate2 v1.0.24
[INFO] [stderr]   Downloaded serde_derive v1.0.145
[INFO] [stderr]   Downloaded serde v1.0.145
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.4
[INFO] [stderr]   Downloaded miniz_oxide v0.3.7
[INFO] [stderr]   Downloaded num-rational v0.3.2
[INFO] [stderr]   Downloaded wayland-client v0.29.5
[INFO] [stderr]   Downloaded mio v0.8.4
[INFO] [stderr]   Downloaded url v2.3.1
[INFO] [stderr]   Downloaded security-framework v2.10.0
[INFO] [stderr]   Downloaded base64 v0.12.3
[INFO] [stderr]   Downloaded cgmath v0.18.0
[INFO] [stderr]   Downloaded anyhow v1.0.65
[INFO] [stderr]   Downloaded png v0.17.6
[INFO] [stderr]   Downloaded freetype-rs v0.26.0
[INFO] [stderr]   Downloaded gltf v1.0.0
[INFO] [stderr]   Downloaded png v0.16.8
[INFO] [stderr]   Downloaded deflate v0.8.6
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.83
[INFO] [stderr]   Downloaded nom v7.1.1
[INFO] [stderr]   Downloaded safe_arch v0.5.2
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.16.0
[INFO] [stderr]   Downloaded wgpu v0.13.1
[INFO] [stderr]   Downloaded serde_json v1.0.85
[INFO] [stderr]   Downloaded aho-corasick v0.7.19
[INFO] [stderr]   Downloaded glow v0.11.2
[INFO] [stderr]   Downloaded reqwest v0.11.27
[INFO] [stderr]   Downloaded h2 v0.3.27
[INFO] [stderr]   Downloaded wayland-protocols v0.29.5
[INFO] [stderr]   Downloaded tiny-skia v0.7.0
[INFO] [stderr]   Downloaded wgpu-core v0.13.2
[INFO] [stderr]   Downloaded wgpu-hal v0.13.2
[INFO] [stderr]   Downloaded syn v1.0.101
[INFO] [stderr]   Downloaded idna v0.3.0
[INFO] [stderr]   Downloaded nix v0.24.2
[INFO] [stderr]   Downloaded ndk-sys v0.4.0
[INFO] [stderr]   Downloaded hyper v0.14.32
[INFO] [stderr]   Downloaded ndk-sys v0.1.0
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.22
[INFO] [stderr]   Downloaded winit v0.27.3
[INFO] [stderr]   Downloaded image v0.23.14
[INFO] [stderr]   Downloaded ash v0.37.0+1.3.209
[INFO] [stderr]   Downloaded regex v1.6.0
[INFO] [stderr]   Downloaded rustix v0.38.44
[INFO] [stderr]   Downloaded image v0.24.4
[INFO] [stderr]   Downloaded naga v0.9.0
[INFO] [stderr]   Downloaded regex-syntax v0.6.27
[INFO] [stderr]   Downloaded expat-sys v2.1.6
[INFO] [stderr]   Downloaded web-sys v0.3.60
[INFO] [stderr]   Downloaded jpeg-decoder v0.2.6
[INFO] [stderr]   Downloaded profiling v1.0.6
[INFO] [stderr]   Downloaded servo-fontconfig-sys v5.1.0
[INFO] [stderr]   Downloaded freetype-sys v0.13.1
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.15
[INFO] [stderr]   Downloaded windows-sys v0.59.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec
[INFO] running `Command { std: "docker" "start" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", 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" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling syn v1.0.101
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling miniz_oxide v0.5.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling serde v1.0.145
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling ash v0.37.0+1.3.209
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling crossfont v0.5.0
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.1
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling flate2 v1.0.24
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling gpu-alloc-types v0.2.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling serde_derive v1.0.145
[INFO] [stderr]    Compiling png v0.17.6
[INFO] [stderr]    Compiling foreign-types-shared v0.3.1
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling gpu-alloc v0.5.3
[INFO] [stderr]    Compiling wgpu-core v0.13.2
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling x11-dl v2.20.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling wgpu-types v0.13.2
[INFO] [stderr]    Compiling glow v0.11.2
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling renderdoc-sys v0.7.1
[INFO] [stderr]    Compiling inplace_it v0.3.5
[INFO] [stderr]    Compiling profiling v1.0.6
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling nix v0.24.2
[INFO] [stderr]    Compiling memmap2 v0.5.7
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling freetype-rs v0.26.0
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling fs_extra v1.2.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling gpu-descriptor v0.2.3
[INFO] [stderr]    Compiling wgpu-hello-world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling raw-window-handle v0.5.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling jpeg-decoder v0.2.6
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling tobj v3.2.3
[INFO] [stderr]    Compiling pollster v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling bytemuck_derive v1.2.1
[INFO] [stderr]    Compiling foreign-types-macros v0.2.2
[INFO] [stderr]    Compiling gltf-derive v1.0.0
[INFO] [stderr]    Compiling foreign-types v0.5.0
[INFO] [stderr]    Compiling env_logger v0.9.1
[INFO] [stderr]    Compiling bytemuck v1.12.1
[INFO] [stderr]    Compiling safe_arch v0.5.2
[INFO] [stderr]    Compiling naga v0.9.0
[INFO] [stderr]    Compiling calloop v0.10.1
[INFO] [stderr]    Compiling tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling tiny-skia v0.7.0
[INFO] [stderr]    Compiling image v0.24.4
[INFO] [stderr]    Compiling gltf-json v1.0.0
[INFO] [stderr]    Compiling wgpu-hal v0.13.2
[INFO] [stderr]    Compiling gltf v1.0.0
[INFO] [stderr]    Compiling wgpu v0.13.1
[INFO] [stderr]    Compiling sctk-adwaita v0.4.2
[INFO] [stderr]    Compiling winit v0.27.3
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/lib.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{iter, time::Instant};
[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::util::DeviceExt`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wgpu::util::DeviceExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     event_loop::{ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/camera.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::{prelude::*, Point3};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `texture`
[INFO] [stdout]  --> src/context.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{texture, window::Window};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::Model`
[INFO] [stdout]  --> src/pass/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{model::Model, node::Node};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/pass/phong.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, iter, mem};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InnerSpace`, `Rotation3`, and `Zero`
[INFO] [stdout]  --> src/pass/phong.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cgmath::{InnerSpace, Rotation3, Zero};
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DrawLight`, `Model`, and `context::create_render_pipeline`
[INFO] [stdout]   --> src/pass/phong.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |     context::create_render_pipeline,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     instance::{Instance, InstanceRaw},
[INFO] [stdout] 10 |     model::{self, DrawLight, DrawModel, Model, Vertex},
[INFO] [stdout]    |                   ^^^^^^^^^             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pass/phong.rs:526:16
[INFO] [stdout]     |
[INFO] [stdout] 526 |             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stdout]     |                ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 526 -             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stdout] 526 +             if self.uniform_pool.buffers.len() < nodes.len()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material`, `Vertex`, and `texture::Texture`
[INFO] [stdout]  --> src/primitives/mod.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     model::{self, Material, ModelVertex},
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 3 |     resources::load_texture,
[INFO] [stdout] 4 |     texture::Texture,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     Vertex,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/primitives/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventLoopWindowTarget`
[INFO] [stdout]  --> src/window.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |     event_loop::{ControlFlow, EventLoop, EventLoopWindowTarget},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CameraUniform`, `context::create_render_pipeline`, and `sphere::generate_sphere`
[INFO] [stdout]   --> src/lib.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |     camera::{Camera, CameraController, CameraUniform},
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout] 32 |     context::create_render_pipeline,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     primitives::{sphere::generate_sphere, PrimitiveMesh},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InstanceRaw`
[INFO] [stdout]   --> src/lib.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |     instance::{Instance, InstanceRaw},
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DrawLight` and `DrawModel`
[INFO] [stdout]   --> src/lib.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | use model::{DrawLight, DrawModel, Vertex};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/camera.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         device_id: &DeviceId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `forward_mag`
[INFO] [stdout]    --> src/camera.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let forward_mag = forward.magnitude();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forward_mag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]    --> src/model.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         material: &'b Material,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `queue`
[INFO] [stdout]   --> src/pass/phong.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         queue: &wgpu::Queue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_format`
[INFO] [stdout]    --> src/pass/phong.rs:355:13
[INFO] [stdout]     |
[INFO] [stdout] 355 |         let color_format = texture::Texture::DEPTH_FORMAT;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/resources.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     other => {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_color_texture`
[INFO] [stdout]    --> src/resources.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let base_color_texture = &pbr.base_color_texture();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_color_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:180:47
[INFO] [stdout]     |
[INFO] [stdout] 180 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stdout]     |                                               ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:195:45
[INFO] [stdout]     |
[INFO] [stdout] 195 |             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: `sampler`
[INFO] [stdout]   --> src/texture.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sampler`
[INFO] [stdout]    --> src/texture.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plane_primitive`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let plane_primitive = PrimitiveMesh::new(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_primitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/lib.rs:347:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |             Err(err) => println!("Error in rendering"),
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/lib.rs:376:21
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 Err(err) => println!("Error in rendering"),
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MyUniforms {
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `clear_color` is never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct State {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     clear_color: wgpu::Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/camera.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct CameraUniform {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/camera.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_render_pipeline` is never used
[INFO] [stdout]   --> src/context.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn create_render_pipeline(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/instance.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | 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:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[repr(C)]
[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]   | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Material {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 45 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 51 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AnimationClip {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 64 |     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:76:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 76 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn draw_model(&mut self, model: &'a Model, local_bind_group: &'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawLight` is never used
[INFO] [stdout]    --> src/model.rs:142:11
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub trait DrawLight<'a> {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `parent` is never read
[INFO] [stdout]  --> src/node.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 6 |     // ID of parent Node
[INFO] [stdout] 7 |     pub parent: u32,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Globals {
[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/pass/phong.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Locals {
[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/pass/phong.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub 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/pass/phong.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct MyUniforms {
[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/pass/phong.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lights` and `ambient` are never read
[INFO] [stdout]   --> src/pass/phong.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct PhongConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 57 |     pub max_lights: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub ambient: [u32; 4],
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `global_bind_group_layout` is never read
[INFO] [stdout]   --> src/pass/phong.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct PhongPass {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 63 |     // Uniforms
[INFO] [stdout] 64 |     pub global_bind_group_layout: BindGroupLayout,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `model` is never read
[INFO] [stdout]   --> src/primitives/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PrimitiveMesh {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 13 |     pub model: model::Model,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube_vertices` is never used
[INFO] [stdout]  --> src/primitives/cube.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn cube_vertices(scale: f32) -> Vec<ModelVertex> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube_indices` is never used
[INFO] [stdout]    --> src/primitives/cube.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn cube_indices() -> Vec<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_sphere` is never used
[INFO] [stdout]  --> src/primitives/sphere.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn generate_sphere(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 7 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/lib.rs:330:13
[INFO] [stdout]     |
[INFO] [stdout] 330 | /             &self
[INFO] [stdout] 331 | |                 .pass
[INFO] [stdout] 332 | |                 .uniform_pool
[INFO] [stdout] 333 | |                 .update_uniform(node_index, node.locals, &self.ctx.queue);
[INFO] [stdout]     | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let _ = &self
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3m 35s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling wgpu-hello-world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/lib.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{iter, time::Instant};
[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::util::DeviceExt`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wgpu::util::DeviceExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     event_loop::{ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/camera.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::{prelude::*, Point3};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `texture`
[INFO] [stdout]  --> src/context.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{texture, window::Window};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::Model`
[INFO] [stdout]  --> src/pass/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{model::Model, node::Node};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/pass/phong.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, iter, mem};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InnerSpace`, `Rotation3`, and `Zero`
[INFO] [stdout]  --> src/pass/phong.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cgmath::{InnerSpace, Rotation3, Zero};
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DrawLight`, `Model`, and `context::create_render_pipeline`
[INFO] [stdout]   --> src/pass/phong.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |     context::create_render_pipeline,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     instance::{Instance, InstanceRaw},
[INFO] [stdout] 10 |     model::{self, DrawLight, DrawModel, Model, Vertex},
[INFO] [stdout]    |                   ^^^^^^^^^             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pass/phong.rs:526:16
[INFO] [stdout]     |
[INFO] [stdout] 526 |             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stdout]     |                ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 526 -             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stdout] 526 +             if self.uniform_pool.buffers.len() < nodes.len()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material`, `Vertex`, and `texture::Texture`
[INFO] [stdout]  --> src/primitives/mod.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     model::{self, Material, ModelVertex},
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 3 |     resources::load_texture,
[INFO] [stdout] 4 |     texture::Texture,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     Vertex,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/primitives/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventLoopWindowTarget`
[INFO] [stdout]  --> src/window.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |     event_loop::{ControlFlow, EventLoop, EventLoopWindowTarget},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CameraUniform`, `context::create_render_pipeline`, and `sphere::generate_sphere`
[INFO] [stdout]   --> src/lib.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |     camera::{Camera, CameraController, CameraUniform},
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout] 32 |     context::create_render_pipeline,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     primitives::{sphere::generate_sphere, PrimitiveMesh},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InstanceRaw`
[INFO] [stdout]   --> src/lib.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |     instance::{Instance, InstanceRaw},
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DrawLight` and `DrawModel`
[INFO] [stdout]   --> src/lib.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | use model::{DrawLight, DrawModel, Vertex};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/lib.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{iter, time::Instant};
[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::util::DeviceExt`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wgpu::util::DeviceExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow` and `EventLoop`
[INFO] [stdout]   --> src/lib.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     event_loop::{ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/camera.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::{prelude::*, Point3};
[INFO] [stdout]   |                          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `texture`
[INFO] [stdout]  --> src/context.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{texture, window::Window};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::Model`
[INFO] [stdout]  --> src/pass/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{model::Model, node::Node};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter`
[INFO] [stdout]  --> src/pass/phong.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, iter, mem};
[INFO] [stdout]   |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InnerSpace`, `Rotation3`, and `Zero`
[INFO] [stdout]  --> src/pass/phong.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use cgmath::{InnerSpace, Rotation3, Zero};
[INFO] [stdout]   |              ^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DrawLight`, `Model`, and `context::create_render_pipeline`
[INFO] [stdout]   --> src/pass/phong.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  8 |     context::create_render_pipeline,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     instance::{Instance, InstanceRaw},
[INFO] [stdout] 10 |     model::{self, DrawLight, DrawModel, Model, Vertex},
[INFO] [stdout]    |                   ^^^^^^^^^             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pass/phong.rs:526:16
[INFO] [stdout]     |
[INFO] [stdout] 526 |             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stdout]     |                ^                                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 526 -             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stdout] 526 +             if self.uniform_pool.buffers.len() < nodes.len()  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material`, `Vertex`, and `texture::Texture`
[INFO] [stdout]  --> src/primitives/mod.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     model::{self, Material, ModelVertex},
[INFO] [stdout]   |                   ^^^^^^^^
[INFO] [stdout] 3 |     resources::load_texture,
[INFO] [stdout] 4 |     texture::Texture,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     Vertex,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/primitives/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventLoopWindowTarget`
[INFO] [stdout]  --> src/window.rs:4:42
[INFO] [stdout]   |
[INFO] [stdout] 4 |     event_loop::{ControlFlow, EventLoop, EventLoopWindowTarget},
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CameraUniform`, `context::create_render_pipeline`, and `sphere::generate_sphere`
[INFO] [stdout]   --> src/lib.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |     camera::{Camera, CameraController, CameraUniform},
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout] 32 |     context::create_render_pipeline,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     primitives::{sphere::generate_sphere, PrimitiveMesh},
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `InstanceRaw`
[INFO] [stdout]   --> src/lib.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |     instance::{Instance, InstanceRaw},
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DrawLight` and `DrawModel`
[INFO] [stdout]   --> src/lib.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 | use model::{DrawLight, DrawModel, Vertex};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/camera.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         device_id: &DeviceId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `forward_mag`
[INFO] [stdout]    --> src/camera.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let forward_mag = forward.magnitude();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forward_mag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]    --> src/model.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         material: &'b Material,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `queue`
[INFO] [stdout]   --> src/pass/phong.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         queue: &wgpu::Queue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_format`
[INFO] [stdout]    --> src/pass/phong.rs:355:13
[INFO] [stdout]     |
[INFO] [stdout] 355 |         let color_format = texture::Texture::DEPTH_FORMAT;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/resources.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     other => {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_color_texture`
[INFO] [stdout]    --> src/resources.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let base_color_texture = &pbr.base_color_texture();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_color_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:180:47
[INFO] [stdout]     |
[INFO] [stdout] 180 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stdout]     |                                               ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:195:45
[INFO] [stdout]     |
[INFO] [stdout] 195 |             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: `device_id`
[INFO] [stdout]    --> src/camera.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         device_id: &DeviceId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sampler`
[INFO] [stdout]   --> src/texture.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sampler`
[INFO] [stdout]    --> src/texture.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `forward_mag`
[INFO] [stdout]    --> src/camera.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let forward_mag = forward.magnitude();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forward_mag`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plane_primitive`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let plane_primitive = PrimitiveMesh::new(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_primitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/lib.rs:347:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |             Err(err) => println!("Error in rendering"),
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/lib.rs:376:21
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 Err(err) => println!("Error in rendering"),
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]    --> src/model.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         material: &'b Material,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MyUniforms {
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `clear_color` is never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct State {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     clear_color: wgpu::Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/camera.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct CameraUniform {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/camera.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_render_pipeline` is never used
[INFO] [stdout]   --> src/context.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn create_render_pipeline(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/instance.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | 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:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[repr(C)]
[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]   | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Material {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 45 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 51 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AnimationClip {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 64 |     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:76:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 76 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn draw_model(&mut self, model: &'a Model, local_bind_group: &'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawLight` is never used
[INFO] [stdout]    --> src/model.rs:142:11
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub trait DrawLight<'a> {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `parent` is never read
[INFO] [stdout]  --> src/node.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 6 |     // ID of parent Node
[INFO] [stdout] 7 |     pub parent: u32,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Globals {
[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/pass/phong.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Locals {
[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/pass/phong.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub 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/pass/phong.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct MyUniforms {
[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/pass/phong.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lights` and `ambient` are never read
[INFO] [stdout]   --> src/pass/phong.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct PhongConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 57 |     pub max_lights: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub ambient: [u32; 4],
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `global_bind_group_layout` is never read
[INFO] [stdout]   --> src/pass/phong.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct PhongPass {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 63 |     // Uniforms
[INFO] [stdout] 64 |     pub global_bind_group_layout: BindGroupLayout,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `model` is never read
[INFO] [stdout]   --> src/primitives/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PrimitiveMesh {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 13 |     pub model: model::Model,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube_vertices` is never used
[INFO] [stdout]  --> src/primitives/cube.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn cube_vertices(scale: f32) -> Vec<ModelVertex> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube_indices` is never used
[INFO] [stdout]    --> src/primitives/cube.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn cube_indices() -> Vec<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_sphere` is never used
[INFO] [stdout]  --> src/primitives/sphere.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn generate_sphere(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 7 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/lib.rs:330:13
[INFO] [stdout]     |
[INFO] [stdout] 330 | /             &self
[INFO] [stdout] 331 | |                 .pass
[INFO] [stdout] 332 | |                 .uniform_pool
[INFO] [stdout] 333 | |                 .update_uniform(node_index, node.locals, &self.ctx.queue);
[INFO] [stdout]     | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let _ = &self
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `queue`
[INFO] [stdout]   --> src/pass/phong.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         queue: &wgpu::Queue,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color_format`
[INFO] [stdout]    --> src/pass/phong.rs:355:13
[INFO] [stdout]     |
[INFO] [stdout] 355 |         let color_format = texture::Texture::DEPTH_FORMAT;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_format`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/resources.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                     other => {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base_color_texture`
[INFO] [stdout]    --> src/resources.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let base_color_texture = &pbr.base_color_texture();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_color_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:180:47
[INFO] [stdout]     |
[INFO] [stdout] 180 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stdout]     |                                               ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mime_type`
[INFO] [stdout]    --> src/resources.rs:195:45
[INFO] [stdout]     |
[INFO] [stdout] 195 |             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: `sampler`
[INFO] [stdout]   --> src/texture.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sampler`
[INFO] [stdout]    --> src/texture.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plane_primitive`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let plane_primitive = PrimitiveMesh::new(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_primitive`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/lib.rs:347:17
[INFO] [stdout]     |
[INFO] [stdout] 347 |             Err(err) => println!("Error in rendering"),
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/lib.rs:376:21
[INFO] [stdout]     |
[INFO] [stdout] 376 |                 Err(err) => println!("Error in rendering"),
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/lib.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct MyUniforms {
[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:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `clear_color` is never read
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct State {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     clear_color: wgpu::Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/camera.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct CameraUniform {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/camera.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_render_pipeline` is never used
[INFO] [stdout]   --> src/context.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn create_render_pipeline(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/instance.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | 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:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[repr(C)]
[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]   | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct Material {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 45 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Mesh {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 51 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/model.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct AnimationClip {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 64 |     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:76:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub trait DrawModel<'a> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 76 |     fn draw_mesh(
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 |     fn draw_model(&mut self, model: &'a Model, local_bind_group: &'a wgpu::BindGroup);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `DrawLight` is never used
[INFO] [stdout]    --> src/model.rs:142:11
[INFO] [stdout]     |
[INFO] [stdout] 142 | pub trait DrawLight<'a> {
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `parent` is never read
[INFO] [stdout]  --> src/node.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Node {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 6 |     // ID of parent Node
[INFO] [stdout] 7 |     pub parent: u32,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Globals {
[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/pass/phong.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Locals {
[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/pass/phong.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub 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/pass/phong.rs:39:1
[INFO] [stdout]    |
[INFO] [stdout] 39 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pass/phong.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct MyUniforms {
[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/pass/phong.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_lights` and `ambient` are never read
[INFO] [stdout]   --> src/pass/phong.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct PhongConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 57 |     pub max_lights: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 58 |     pub ambient: [u32; 4],
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `global_bind_group_layout` is never read
[INFO] [stdout]   --> src/pass/phong.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct PhongPass {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 63 |     // Uniforms
[INFO] [stdout] 64 |     pub global_bind_group_layout: BindGroupLayout,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `model` is never read
[INFO] [stdout]   --> src/primitives/mod.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PrimitiveMesh {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 13 |     pub model: model::Model,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube_vertices` is never used
[INFO] [stdout]  --> src/primitives/cube.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn cube_vertices(scale: f32) -> Vec<ModelVertex> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cube_indices` is never used
[INFO] [stdout]    --> src/primitives/cube.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub fn cube_indices() -> Vec<u32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_sphere` is never used
[INFO] [stdout]  --> src/primitives/sphere.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn generate_sphere(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `texture` is never read
[INFO] [stdout]  --> src/texture.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Texture {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 7 |     pub texture: wgpu::Texture,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/lib.rs:330:13
[INFO] [stdout]     |
[INFO] [stdout] 330 | /             &self
[INFO] [stdout] 331 | |                 .pass
[INFO] [stdout] 332 | |                 .uniform_pool
[INFO] [stdout] 333 | |                 .update_uniform(node_index, node.locals, &self.ctx.queue);
[INFO] [stdout]     | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let _ = &self
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 12.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling wgpu-hello-world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `iter`
[INFO] [stderr]  --> src/lib.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{iter, time::Instant};
[INFO] [stderr]   |           ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `wgpu::util::DeviceExt`
[INFO] [stderr]  --> src/lib.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use wgpu::util::DeviceExt;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ControlFlow` and `EventLoop`
[INFO] [stderr]   --> src/lib.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 |     event_loop::{ControlFlow, EventLoop},
[INFO] [stderr]    |                  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Point3`
[INFO] [stderr]  --> src/camera.rs:1:26
[INFO] [stderr]   |
[INFO] [stderr] 1 | use cgmath::{prelude::*, Point3};
[INFO] [stderr]   |                          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `texture`
[INFO] [stderr]  --> src/context.rs:1:13
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{texture, window::Window};
[INFO] [stderr]   |             ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `model::Model`
[INFO] [stderr]  --> src/pass/mod.rs:3:13
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{model::Model, node::Node};
[INFO] [stderr]   |             ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `iter`
[INFO] [stderr]  --> src/pass/phong.rs:1:33
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{collections::HashMap, iter, mem};
[INFO] [stderr]   |                                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `InnerSpace`, `Rotation3`, and `Zero`
[INFO] [stderr]  --> src/pass/phong.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use cgmath::{InnerSpace, Rotation3, Zero};
[INFO] [stderr]   |              ^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DrawLight`, `Model`, and `context::create_render_pipeline`
[INFO] [stderr]   --> src/pass/phong.rs:8:5
[INFO] [stderr]    |
[INFO] [stderr]  8 |     context::create_render_pipeline,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  9 |     instance::{Instance, InstanceRaw},
[INFO] [stderr] 10 |     model::{self, DrawLight, DrawModel, Model, Vertex},
[INFO] [stderr]    |                   ^^^^^^^^^             ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/pass/phong.rs:526:16
[INFO] [stderr]     |
[INFO] [stderr] 526 |             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stderr]     |                ^                                             ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 526 -             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stderr] 526 +             if self.uniform_pool.buffers.len() < nodes.len()  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Material`, `Vertex`, and `texture::Texture`
[INFO] [stderr]  --> src/primitives/mod.rs:2:19
[INFO] [stderr]   |
[INFO] [stderr] 2 |     model::{self, Material, ModelVertex},
[INFO] [stderr]   |                   ^^^^^^^^
[INFO] [stderr] 3 |     resources::load_texture,
[INFO] [stderr] 4 |     texture::Texture,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 5 |     Vertex,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Range`
[INFO] [stderr]  --> src/primitives/mod.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::ops::Range;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `EventLoopWindowTarget`
[INFO] [stderr]  --> src/window.rs:4:42
[INFO] [stderr]   |
[INFO] [stderr] 4 |     event_loop::{ControlFlow, EventLoop, EventLoopWindowTarget},
[INFO] [stderr]   |                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CameraUniform`, `context::create_render_pipeline`, and `sphere::generate_sphere`
[INFO] [stderr]   --> src/lib.rs:31:40
[INFO] [stderr]    |
[INFO] [stderr] 31 |     camera::{Camera, CameraController, CameraUniform},
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^
[INFO] [stderr] 32 |     context::create_render_pipeline,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 35 |     primitives::{sphere::generate_sphere, PrimitiveMesh},
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `InstanceRaw`
[INFO] [stderr]   --> src/lib.rs:39:26
[INFO] [stderr]    |
[INFO] [stderr] 39 |     instance::{Instance, InstanceRaw},
[INFO] [stderr]    |                          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DrawLight` and `DrawModel`
[INFO] [stderr]   --> src/lib.rs:42:13
[INFO] [stderr]    |
[INFO] [stderr] 42 | use model::{DrawLight, DrawModel, Vertex};
[INFO] [stderr]    |             ^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `device_id`
[INFO] [stderr]    --> src/camera.rs:159:9
[INFO] [stderr]     |
[INFO] [stderr] 159 |         device_id: &DeviceId,
[INFO] [stderr]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `forward_mag`
[INFO] [stderr]    --> src/camera.rs:192:13
[INFO] [stderr]     |
[INFO] [stderr] 192 |         let forward_mag = forward.magnitude();
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_forward_mag`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material`
[INFO] [stderr]    --> src/model.rs:115:9
[INFO] [stderr]     |
[INFO] [stderr] 115 |         material: &'b Material,
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `queue`
[INFO] [stderr]   --> src/pass/phong.rs:91:9
[INFO] [stderr]    |
[INFO] [stderr] 91 |         queue: &wgpu::Queue,
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color_format`
[INFO] [stderr]    --> src/pass/phong.rs:355:13
[INFO] [stderr]     |
[INFO] [stderr] 355 |         let color_format = texture::Texture::DEPTH_FORMAT;
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_format`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `other`
[INFO] [stderr]    --> src/resources.rs:136:21
[INFO] [stderr]     |
[INFO] [stderr] 136 |                     other => {
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `base_color_texture`
[INFO] [stderr]    --> src/resources.rs:161:13
[INFO] [stderr]     |
[INFO] [stderr] 161 |         let base_color_texture = &pbr.base_color_texture();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_color_texture`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mime_type`
[INFO] [stderr]    --> src/resources.rs:180:47
[INFO] [stderr]     |
[INFO] [stderr] 180 |             gltf::image::Source::View { view, mime_type } => {
[INFO] [stderr]     |                                               ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mime_type`
[INFO] [stderr]    --> src/resources.rs:195:45
[INFO] [stderr]     |
[INFO] [stderr] 195 |             gltf::image::Source::Uri { uri, mime_type } => {
[INFO] [stderr]     |                                             ^^^^^^^^^ help: try ignoring the field: `mime_type: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sampler`
[INFO] [stderr]   --> src/texture.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sampler`
[INFO] [stderr]    --> src/texture.rs:105:13
[INFO] [stderr]     |
[INFO] [stderr] 105 |         let sampler = device.create_sampler(&wgpu::SamplerDescriptor {
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `plane_primitive`
[INFO] [stderr]    --> src/lib.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 115 |         let plane_primitive = PrimitiveMesh::new(
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_primitive`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]    --> src/lib.rs:347:17
[INFO] [stderr]     |
[INFO] [stderr] 347 |             Err(err) => println!("Error in rendering"),
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]    --> src/lib.rs:376:21
[INFO] [stderr]     |
[INFO] [stderr] 376 |                 Err(err) => println!("Error in rendering"),
[INFO] [stderr]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/lib.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | struct MyUniforms {
[INFO] [stderr]    |        ^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/lib.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `clear_color` is never read
[INFO] [stderr]   --> src/lib.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 45 | struct State {
[INFO] [stderr]    |        ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 51 |     clear_color: wgpu::Color,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/camera.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub struct CameraUniform {
[INFO] [stderr]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/camera.rs:23:1
[INFO] [stderr]    |
[INFO] [stderr] 23 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_render_pipeline` is never used
[INFO] [stderr]   --> src/context.rs:69:8
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub fn create_render_pipeline(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/instance.rs:21:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct InstanceRaw {
[INFO] [stderr]    |            ^^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/instance.rs:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/model.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct ModelVertex {
[INFO] [stderr]    |            ^^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]  --> src/model.rs:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[repr(C)]
[INFO] [stderr]   | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/model.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub struct Material {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 45 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/model.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct Mesh {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 51 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]   --> src/model.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct AnimationClip {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] 64 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `draw_mesh` and `draw_model` are never used
[INFO] [stderr]   --> src/model.rs:76:8
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub trait DrawModel<'a> {
[INFO] [stderr]    |           --------- methods in this trait
[INFO] [stderr] 76 |     fn draw_mesh(
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 90 |     fn draw_model(&mut self, model: &'a Model, local_bind_group: &'a wgpu::BindGroup);
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `DrawLight` is never used
[INFO] [stderr]    --> src/model.rs:142:11
[INFO] [stderr]     |
[INFO] [stderr] 142 | pub trait DrawLight<'a> {
[INFO] [stderr]     |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `parent` is never read
[INFO] [stderr]  --> src/node.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Node {
[INFO] [stderr]   |            ---- field in this struct
[INFO] [stderr] 6 |     // ID of parent Node
[INFO] [stderr] 7 |     pub parent: u32,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/pass/phong.rs:21:8
[INFO] [stderr]    |
[INFO] [stderr] 21 | struct Globals {
[INFO] [stderr]    |        ^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/pass/phong.rs:19:1
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/pass/phong.rs:31:12
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub struct Locals {
[INFO] [stderr]    |            ^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/pass/phong.rs:29:1
[INFO] [stderr]    |
[INFO] [stderr] 29 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/pass/phong.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct LightUniform {
[INFO] [stderr]    |            ^^^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/pass/phong.rs:39:1
[INFO] [stderr]    |
[INFO] [stderr] 39 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/pass/phong.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 52 | struct MyUniforms {
[INFO] [stderr]    |        ^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/pass/phong.rs:51:1
[INFO] [stderr]    |
[INFO] [stderr] 51 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `max_lights` and `ambient` are never read
[INFO] [stderr]   --> src/pass/phong.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct PhongConfig {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 57 |     pub max_lights: usize,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 58 |     pub ambient: [u32; 4],
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `global_bind_group_layout` is never read
[INFO] [stderr]   --> src/pass/phong.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct PhongPass {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 63 |     // Uniforms
[INFO] [stderr] 64 |     pub global_bind_group_layout: BindGroupLayout,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `model` is never read
[INFO] [stderr]   --> src/primitives/mod.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct PrimitiveMesh {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] 13 |     pub model: model::Model,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cube_vertices` is never used
[INFO] [stderr]  --> src/primitives/cube.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn cube_vertices(scale: f32) -> Vec<ModelVertex> {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cube_indices` is never used
[INFO] [stderr]    --> src/primitives/cube.rs:135:8
[INFO] [stderr]     |
[INFO] [stderr] 135 | pub fn cube_indices() -> Vec<u32> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_sphere` is never used
[INFO] [stderr]  --> src/primitives/sphere.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn generate_sphere(
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `texture` is never read
[INFO] [stderr]  --> src/texture.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Texture {
[INFO] [stderr]   |            ------- field in this struct
[INFO] [stderr] 7 |     pub texture: wgpu::Texture,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> src/lib.rs:330:13
[INFO] [stderr]     |
[INFO] [stderr] 330 | /             &self
[INFO] [stderr] 331 | |                 .pass
[INFO] [stderr] 332 | |                 .uniform_pool
[INFO] [stderr] 333 | |                 .update_uniform(node_index, node.locals, &self.ctx.queue);
[INFO] [stderr]     | |_________________________________________________________________________^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let _ = &self
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `wgpu-hello-world` (lib) generated 62 warnings (46 duplicates) (run `cargo fix --lib -p wgpu-hello-world` to apply 16 suggestions)
[INFO] [stderr] warning: `wgpu-hello-world` (lib test) generated 62 warnings (16 duplicates) (run `cargo fix --lib -p wgpu-hello-world --tests` to apply 14 suggestions)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 11.34s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/wgpu_hello_world-51bb191e6a8f2979)
[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]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/wgpu_hello_world-89325ebcbca70cf8)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests wgpu_hello_world
[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] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/pass/phong.rs:526:16
[INFO] [stderr]     |
[INFO] [stderr] 526 |             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stderr]     |                ^                                             ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 526 -             if (self.uniform_pool.buffers.len() < nodes.len()) {
[INFO] [stderr] 526 +             if self.uniform_pool.buffers.len() < nodes.len()  {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[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" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec", kill_on_drop: false }`
[INFO] [stdout] ca93d968336f96a70befe320d366b7f2f2c9b47678f29559ae58b73323758bec
