[INFO] cloning repository https://github.com/nextdesusu/learn_rust-webgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nextdesusu/learn_rust-webgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnextdesusu%2Flearn_rust-webgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnextdesusu%2Flearn_rust-webgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd458fd566ac27dff870f796a8862bea7d72e2e4 [INFO] building nextdesusu/learn_rust-webgpu against master#f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 for pr-137044-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnextdesusu%2Flearn_rust-webgpu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nextdesusu/learn_rust-webgpu on toolchain f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nextdesusu/learn_rust-webgpu [INFO] finished tweaking git repo https://github.com/nextdesusu/learn_rust-webgpu [INFO] tweaked toml for git repo https://github.com/nextdesusu/learn_rust-webgpu written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nextdesusu/learn_rust-webgpu 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" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "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] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.42.2 [INFO] [stderr] Downloaded pkg-config v0.3.30 [INFO] [stderr] Downloaded once_cell v1.19.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.14 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded pin-utils v0.1.0 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded console_log v1.0.0 [INFO] [stderr] Downloaded hexf-parse v0.2.1 [INFO] [stderr] Downloaded foreign-types-shared v0.3.1 [INFO] [stderr] Downloaded core-foundation v0.9.4 [INFO] [stderr] Downloaded android_system_properties v0.1.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.42 [INFO] [stderr] Downloaded presser v0.3.1 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded backtrace v0.3.71 [INFO] [stderr] Downloaded glow v0.13.1 [INFO] [stderr] Downloaded ndk-sys v0.4.1+23.1.7779620 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.5 [INFO] [stderr] Downloaded regex-syntax v0.8.3 [INFO] [stderr] Downloaded web-sys v0.3.64 [INFO] [stderr] Downloaded wgpu-core v0.18.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.42.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded addr2line v0.21.0 [INFO] [stderr] Downloaded orbclient v0.3.47 [INFO] [stderr] Downloaded block v0.1.6 [INFO] [stderr] Downloaded khronos-egl v6.0.0 [INFO] [stderr] Downloaded hassle-rs v0.10.0 [INFO] [stderr] Downloaded core-graphics v0.22.3 [INFO] [stderr] Downloaded flume v0.11.0 [INFO] [stderr] Downloaded widestring v1.1.0 [INFO] [stderr] Downloaded ash v0.37.3+1.3.251 [INFO] [stderr] Downloaded spin v0.9.8 [INFO] [stderr] Downloaded naga v0.14.2 [INFO] [stderr] Downloaded glutin_wgl_sys v0.5.0 [INFO] [stderr] Downloaded regex-automata v0.4.6 [INFO] [stderr] Downloaded gpu-alloc v0.6.0 [INFO] [stderr] Downloaded libloading v0.7.4 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.7 [INFO] [stderr] Downloaded gimli v0.28.1 [INFO] [stderr] Downloaded jpeg-decoder v0.3.1 [INFO] [stderr] Downloaded foreign-types-macros v0.2.3 [INFO] [stderr] Downloaded dispatch v0.2.0 [INFO] [stderr] Downloaded instant v0.1.12 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded futures-sink v0.3.30 [INFO] [stderr] Downloaded nanorand v0.7.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded windows-sys v0.45.0 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded gpu-alloc-types v0.3.0 [INFO] [stderr] Downloaded gpu-descriptor v0.2.4 [INFO] [stderr] Downloaded com-rs v0.2.1 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded foreign-types-shared v0.1.1 [INFO] [stderr] Downloaded winapi v0.3.9 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.5 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.5 [INFO] [stderr] Downloaded rustix v0.38.32 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.42.2 [INFO] [stderr] Downloaded windows_i686_gnu v0.42.2 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.52.5 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.5 [INFO] [stderr] Downloaded wgpu-hal v0.18.1 [INFO] [stderr] Downloaded idna v0.5.0 [INFO] [stderr] Downloaded encoding_rs v0.8.34 [INFO] [stderr] Downloaded windows-core v0.51.1 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded nix v0.25.1 [INFO] [stderr] Downloaded linux-raw-sys v0.4.13 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.42.2 [INFO] [stderr] Downloaded gpu-allocator v0.23.0 [INFO] [stderr] Downloaded android-activity v0.4.3 [INFO] [stderr] Downloaded regex v1.10.4 [INFO] [stderr] Downloaded syn v1.0.109 [INFO] [stderr] Downloaded syn v2.0.58 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.42.2 [INFO] [stderr] Downloaded vcpkg v0.2.15 [INFO] [stderr] Downloaded libc v0.2.153 [INFO] [stderr] Downloaded gpu-descriptor-types v0.1.2 [INFO] [stderr] Downloaded jobserver v0.1.30 [INFO] [stderr] Downloaded wgpu-types v0.18.0 [INFO] [stderr] Downloaded wgpu v0.18.0 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded hyper v0.14.28 [INFO] [stderr] Downloaded objc2 v0.3.0-beta.3.patch-leaks.3 [INFO] [stderr] Downloaded ttf-parser v0.20.0 [INFO] [stderr] Downloaded tiny-skia v0.8.4 [INFO] [stderr] Downloaded futures-util v0.3.30 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded owned_ttf_parser v0.20.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded wayland-protocols v0.29.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.42.2 [INFO] [stderr] Downloaded d3d12 v0.7.0 [INFO] [stderr] Downloaded num_enum_derive v0.6.1 [INFO] [stderr] Downloaded core-foundation-sys v0.8.6 [INFO] [stderr] Downloaded codespan-reporting v0.11.1 [INFO] [stderr] Downloaded num-traits v0.2.18 [INFO] [stderr] Downloaded spirv v0.2.0+1.5.4 [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded parking_lot v0.12.1 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded memchr v2.7.2 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded png v0.17.13 [INFO] [stderr] Downloaded paste v1.0.14 [INFO] [stderr] Downloaded bit-set v0.5.3 [INFO] [stderr] Downloaded winapi-util v0.1.6 [INFO] [stderr] Downloaded termcolor v1.4.1 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded profiling v1.0.15 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded bitflags v2.5.0 [INFO] [stderr] Downloaded flate2 v1.0.28 [INFO] [stderr] Downloaded tiny-skia-path v0.8.4 [INFO] [stderr] Downloaded slotmap v1.0.7 [INFO] [stderr] Downloaded wayland-client v0.29.5 [INFO] [stderr] Downloaded bumpalo v3.16.0 [INFO] [stderr] Downloaded log v0.4.21 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded num_enum v0.6.1 [INFO] [stderr] Downloaded core-graphics-types v0.1.3 [INFO] [stderr] Downloaded foreign-types v0.5.0 [INFO] [stderr] Downloaded windows-sys v0.52.0 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded unicode-width v0.1.11 [INFO] [stderr] Downloaded windows-sys v0.48.0 [INFO] [stderr] Downloaded android-properties v0.2.2 [INFO] [stderr] Downloaded unicode-xid v0.2.4 [INFO] [stderr] Downloaded objc_exception v0.1.2 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded range-alloc v0.1.3 [INFO] [stderr] Downloaded renderdoc-sys v1.1.0 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded tracing v0.1.40 [INFO] [stderr] Downloaded security-framework v2.10.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.23 [INFO] [stderr] Downloaded url v2.5.0 [INFO] [stderr] Downloaded ndk v0.7.0 [INFO] [stderr] Downloaded objc-sys v0.2.0-beta.2 [INFO] [stderr] Downloaded redox_syscall v0.4.1 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded percent-encoding v2.3.1 [INFO] [stderr] Downloaded arrayvec v0.7.4 [INFO] [stderr] Downloaded crc32fast v1.4.0 [INFO] [stderr] Downloaded simd-adler32 v0.3.7 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded sctk-adwaita v0.5.4 [INFO] [stderr] Downloaded version_check v0.9.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded metal v0.27.0 [INFO] [stderr] Downloaded calloop v0.10.6 [INFO] [stderr] Downloaded memmap2 v0.5.10 [INFO] [stderr] Downloaded downcast-rs v1.2.1 [INFO] [stderr] Downloaded autocfg v1.2.0 [INFO] [stderr] Downloaded smallvec v1.13.2 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded wayland-commons v0.29.5 [INFO] [stderr] Downloaded wayland-scanner v0.29.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded unicode-ident v1.0.12 [INFO] [stderr] Downloaded malloc_buf v0.0.6 [INFO] [stderr] Downloaded cfg_aliases v0.1.1 [INFO] [stderr] Downloaded foreign-types v0.3.2 [INFO] [stderr] Downloaded ahash v0.8.11 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded indexmap v2.2.6 [INFO] [stderr] Downloaded anyhow v1.0.82 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded futures-channel v0.3.30 [INFO] [stderr] Downloaded tracing-core v0.1.32 [INFO] [stderr] Downloaded base64 v0.21.7 [INFO] [stderr] Downloaded ryu v1.0.17 [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded schannel v0.1.23 [INFO] [stderr] Downloaded tempfile v3.10.1 [INFO] [stderr] Downloaded unicode-bidi v0.3.15 [INFO] [stderr] Downloaded tinyvec v1.6.0 [INFO] [stderr] Downloaded bytes v1.6.0 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.11 [INFO] [stderr] Downloaded num_enum v0.5.11 [INFO] [stderr] Downloaded block-sys v0.1.0-beta.1 [INFO] [stderr] Downloaded block2 v0.2.0-alpha.6 [INFO] [stderr] Downloaded objc2-encode v2.0.0-pre.2 [INFO] [stderr] Downloaded libredox v0.0.2 [INFO] [stderr] Downloaded raw-window-handle v0.5.2 [INFO] [stderr] Downloaded redox_syscall v0.3.5 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Downloaded ab_glyph v0.2.25 [INFO] [stderr] Downloaded adler v1.0.2 [INFO] [stderr] Downloaded arrayref v0.3.7 [INFO] [stderr] Downloaded bytemuck_derive v1.6.0 [INFO] [stderr] Downloaded strict-num v0.1.1 [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded wayland-cursor v0.29.5 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded windows-targets v0.52.5 [INFO] [stderr] Downloaded dlib v0.5.2 [INFO] [stderr] Downloaded wayland-sys v0.29.5 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded js-sys v0.3.69 [INFO] [stderr] Downloaded quote v1.0.36 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.92 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.92 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.42.2 [INFO] [stderr] Downloaded winit v0.28.7 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded ipnet v2.9.0 [INFO] [stderr] Downloaded serde_urlencoded v0.7.1 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded tobj v3.2.5 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded httparse v1.8.0 [INFO] [stderr] Downloaded httpdate v1.0.3 [INFO] [stderr] Downloaded mime v0.3.17 [INFO] [stderr] Downloaded num_cpus v1.16.0 [INFO] [stderr] Downloaded slab v0.4.9 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded security-framework-sys v2.10.0 [INFO] [stderr] Downloaded fastrand v2.0.2 [INFO] [stderr] Downloaded tokio-native-tls v0.3.1 [INFO] [stderr] Downloaded form_urlencoded v1.2.1 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded itoa v1.0.11 [INFO] [stderr] Downloaded sync_wrapper v0.1.2 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded openssl-macros v0.1.1 [INFO] [stderr] Downloaded errno v0.3.8 [INFO] [stderr] Downloaded tinyvec_macros v0.1.1 [INFO] [stderr] Downloaded hermit-abi v0.3.9 [INFO] [stderr] Downloaded socket2 v0.5.6 [INFO] [stderr] Downloaded futures-core v0.3.30 [INFO] [stderr] Downloaded wasm-bindgen v0.2.92 [INFO] [stderr] Downloaded x11-dl v2.21.0 [INFO] [stderr] Downloaded jni-sys v0.3.0 [INFO] [stderr] Downloaded equivalent v1.0.1 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded humantime v2.1.0 [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded color_quant v1.1.0 [INFO] [stderr] Downloaded futures-task v0.3.30 [INFO] [stderr] Downloaded try-lock v0.2.5 [INFO] [stderr] Downloaded want v0.3.1 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded openssl-probe v0.1.5 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded signal-hook-registry v1.4.1 [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded toml_datetime v0.6.5 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded fdeflate v0.3.4 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded vec_map v0.8.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Downloaded image v0.24.9 [INFO] [stderr] Downloaded windows v0.51.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55e1d98d072858a6ecd3bbfa52d127cdab9d23cb5d5c63486f5cb4161d6afb5d [INFO] running `Command { std: "docker" "start" "-a" "55e1d98d072858a6ecd3bbfa52d127cdab9d23cb5d5c63486f5cb4161d6afb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55e1d98d072858a6ecd3bbfa52d127cdab9d23cb5d5c63486f5cb4161d6afb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e1d98d072858a6ecd3bbfa52d127cdab9d23cb5d5c63486f5cb4161d6afb5d", kill_on_drop: false }` [INFO] [stdout] 55e1d98d072858a6ecd3bbfa52d127cdab9d23cb5d5c63486f5cb4161d6afb5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9552b34419bee70a99a64ab305340992dba15e10e1c64485f938afa9dcfdfd1 [INFO] running `Command { std: "docker" "start" "-a" "d9552b34419bee70a99a64ab305340992dba15e10e1c64485f938afa9dcfdfd1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-types v0.18.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling learn-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tobj v3.2.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.14.2 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling wgpu-hal v0.18.1 [INFO] [stderr] Compiling wgpu-core v0.18.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling wgpu v0.18.0 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tutorial_pipeline/state.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | if (self.is_challenge_shader) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - if (self.is_challenge_shader) { [INFO] [stdout] 267 + if self.is_challenge_shader { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tutorial_buffers/state.rs:339:20 [INFO] [stdout] | [INFO] [stdout] 339 | if (self.in_challenge_mode) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 339 - if (self.in_challenge_mode) { [INFO] [stdout] 339 + if self.in_challenge_mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tutorial_buffers/state.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | if (self.in_challenge_mode) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 386 - if (self.in_challenge_mode) { [INFO] [stdout] 386 + if self.in_challenge_mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::*` [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{event::WindowEvent, event::*, window::Window}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_buffers_and_camera/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OPENGL_TO_WGPU_MATRIX` [INFO] [stdout] --> src/tutorial_instancing/state.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | camera::{Camera, OPENGL_TO_WGPU_MATRIX}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_instancing/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_depth_buffer/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude::*` [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_model_loading/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_model_loading/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude::*` [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/tutorial_surface/state.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/tutorial_surface/state.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/tutorial_surface/state.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | modifiers, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_surface/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_surface/state.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/tutorial_surface/state.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | // Creating some of the wgpu types requires async code [INFO] [stdout] 20 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 141 | [INFO] [stdout] 142 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_pipeline/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_pipeline/state.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/tutorial_pipeline/state.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | // Creating some of the wgpu types requires async code [INFO] [stdout] 24 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | [INFO] [stdout] 235 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_buffers/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_buffers/state.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 12 | fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHALLENGE_VERTICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const CHALLENGE_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHALLENGE_INDICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | const CHALLENGE_INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_buffers/state.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 147 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 148 | // Creating some of the wgpu types requires async code [INFO] [stdout] 149 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 351 | [INFO] [stdout] 352 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_textures/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_textures/state.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_textures/state.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_textures/state.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_textures/state.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_textures/state.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_textures/state.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 83 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 84 | // Creating some of the wgpu types requires async code [INFO] [stdout] 85 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 338 | [INFO] [stdout] 339 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_textures/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/tutorial_textures/texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/mod.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Challenge` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Challenge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_camera_uniform` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Challenge { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 42 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn update_camera_uniform(&mut self, camera_uniform: &mut CameraUniform, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 81 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 82 | // Creating some of the wgpu types requires async code [INFO] [stdout] 83 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/vertex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_instancing/mod.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_instancing/state.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_instancing/state.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_instancing/state.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_instancing/state.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 70 | // Creating some of the wgpu types requires async code [INFO] [stdout] 71 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_instancing/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/tutorial_instancing/texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_instancing/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_instancing/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_instancing/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_instancing/vertex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_instancing/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_instancing/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_instancing/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_instancing/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_instancing/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/tutorial_instancing/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_raw` and `challenge` are never used [INFO] [stdout] --> src/tutorial_instancing/instance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instance { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 9 | pub fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn challenge(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceRaw` is never constructed [INFO] [stdout] --> src/tutorial_instancing/instance.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstanceRaw` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_instancing/instance.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl InstanceRaw { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 69 | // Creating some of the wgpu types requires async code [INFO] [stdout] 70 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEPTH_FORMAT`, `create_depth_texture`, `create_challenge`, `from_bytes`, and `from_image` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/texture.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub const DEPTH_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Depth32Float; // 1. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn create_depth_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn create_challenge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/vertex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_raw` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instance { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 9 | pub fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceRaw` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstanceRaw` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl InstanceRaw { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 25 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepthPass` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DepthPass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEPTH_VERTICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const DEPTH_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEPTH_INDICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const DEPTH_INDICES: &[u16] = &[0, 1, 2, 0, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DepthPass { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 37 | pub fn new(device: &wgpu::Device, config: &wgpu::SurfaceConfiguration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn render(&self, view: &wgpu::TextureView, encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/tutorial_model_loading/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: associated function `create_challenge` is never used [INFO] [stdout] --> src/tutorial_model_loading/texture.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn create_challenge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_model_loading/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_model_loading/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Vertex` is never used [INFO] [stdout] --> src/tutorial_model_loading/vertex.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_model_loading/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_model_loading/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_raw` is never used [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instance { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 9 | pub fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceRaw` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstanceRaw` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl InstanceRaw { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 25 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read [INFO] [stdout] --> src/tutorial_model_loading/model.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 45 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/tutorial_model_loading/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: methods `draw_mesh` and `draw_model` are never used [INFO] [stdout] --> src/tutorial_model_loading/model.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 64 | fn draw_mesh( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn draw_model(&mut self, model: &'a Model, camera_bind_group: &'a wgpu::BindGroup); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Material` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/material.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/mesh.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.54s [INFO] running `Command { std: "docker" "inspect" "d9552b34419bee70a99a64ab305340992dba15e10e1c64485f938afa9dcfdfd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9552b34419bee70a99a64ab305340992dba15e10e1c64485f938afa9dcfdfd1", kill_on_drop: false }` [INFO] [stdout] d9552b34419bee70a99a64ab305340992dba15e10e1c64485f938afa9dcfdfd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f77247ac59b29ce927f4d2cd1c26a4b2d1d358c9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 802705f6d08b9e7d9ff67e7e6537c4f2df845334a9f3d48952d58d6e78ec7ff3 [INFO] running `Command { std: "docker" "start" "-a" "802705f6d08b9e7d9ff67e7e6537c4f2df845334a9f3d48952d58d6e78ec7ff3", kill_on_drop: false }` [INFO] [stderr] Compiling learn-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tutorial_pipeline/state.rs:267:16 [INFO] [stdout] | [INFO] [stdout] 267 | if (self.is_challenge_shader) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - if (self.is_challenge_shader) { [INFO] [stdout] 267 + if self.is_challenge_shader { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tutorial_buffers/state.rs:339:20 [INFO] [stdout] | [INFO] [stdout] 339 | if (self.in_challenge_mode) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 339 - if (self.in_challenge_mode) { [INFO] [stdout] 339 + if self.in_challenge_mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tutorial_buffers/state.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | if (self.in_challenge_mode) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 386 - if (self.in_challenge_mode) { [INFO] [stdout] 386 + if self.in_challenge_mode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::*` [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::{event::WindowEvent, event::*, window::Window}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_buffers_and_camera/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OPENGL_TO_WGPU_MATRIX` [INFO] [stdout] --> src/tutorial_instancing/state.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | camera::{Camera, OPENGL_TO_WGPU_MATRIX}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_instancing/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_depth_buffer/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude::*` [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_model_loading/state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::*` [INFO] [stdout] --> src/tutorial_model_loading/vertex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wgpu::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::prelude::*` [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `winit::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/tutorial_surface/state.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/tutorial_surface/state.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/tutorial_surface/state.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | modifiers, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_surface/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_surface/state.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/tutorial_surface/state.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | // Creating some of the wgpu types requires async code [INFO] [stdout] 20 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 141 | [INFO] [stdout] 142 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_pipeline/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_pipeline/state.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/tutorial_pipeline/state.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 23 | // Creating some of the wgpu types requires async code [INFO] [stdout] 24 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | [INFO] [stdout] 235 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_buffers/mod.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_buffers/state.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 12 | fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHALLENGE_VERTICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const CHALLENGE_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHALLENGE_INDICES` is never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | const CHALLENGE_INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_buffers/state.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `window`, `resize`, `input`, `update`, and `render` are never used [INFO] [stdout] --> src/tutorial_buffers/state.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 147 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 148 | // Creating some of the wgpu types requires async code [INFO] [stdout] 149 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 351 | [INFO] [stdout] 352 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_textures/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_textures/state.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_textures/state.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_textures/state.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_textures/state.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_textures/state.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_textures/state.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 83 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 84 | // Creating some of the wgpu types requires async code [INFO] [stdout] 85 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn update(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 338 | [INFO] [stdout] 339 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_textures/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/tutorial_textures/texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/mod.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Challenge` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Challenge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_camera_uniform` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Challenge { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 42 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn update_camera_uniform(&mut self, camera_uniform: &mut CameraUniform, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/state.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 81 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 82 | // Creating some of the wgpu types requires async code [INFO] [stdout] 83 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/vertex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_buffers_and_camera/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_instancing/mod.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_instancing/state.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_instancing/state.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_instancing/state.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_instancing/state.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 70 | // Creating some of the wgpu types requires async code [INFO] [stdout] 71 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_instancing/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/tutorial_instancing/texture.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 11 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_instancing/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_instancing/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_instancing/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_instancing/vertex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_instancing/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_instancing/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_instancing/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_instancing/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_instancing/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/tutorial_instancing/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_raw` and `challenge` are never used [INFO] [stdout] --> src/tutorial_instancing/instance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instance { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 9 | pub fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn challenge(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceRaw` is never constructed [INFO] [stdout] --> src/tutorial_instancing/instance.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstanceRaw` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_instancing/instance.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl InstanceRaw { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const INDICES: &[u16] = &[0, 1, 4, 1, 2, 4, 2, 3, 4]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tutorial_depth_buffer/state.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 69 | // Creating some of the wgpu types requires async code [INFO] [stdout] 70 | pub async fn new(window: Window) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn window(&self) -> &Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn size(&self) -> winit::dpi::PhysicalSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn input(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `DEPTH_FORMAT`, `create_depth_texture`, `create_challenge`, `from_bytes`, and `from_image` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/texture.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl Texture { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub const DEPTH_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat::Depth32Float; // 1. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn create_depth_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn create_challenge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vertex` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/vertex.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vertex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_raw` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instance { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 9 | pub fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceRaw` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstanceRaw` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/instance.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl InstanceRaw { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 25 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DepthPass` is never constructed [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DepthPass { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEPTH_VERTICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const DEPTH_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEPTH_INDICES` is never used [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const DEPTH_INDICES: &[u16] = &[0, 1, 2, 0, 2, 3]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `render` are never used [INFO] [stdout] --> src/tutorial_depth_buffer/depth_pass.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DepthPass { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 37 | pub fn new(device: &wgpu::Device, config: &wgpu::SurfaceConfiguration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn render(&self, view: &wgpu::TextureView, encoder: &mut wgpu::CommandEncoder) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/tutorial_model_loading/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: associated function `create_challenge` is never used [INFO] [stdout] --> src/tutorial_model_loading/texture.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn create_challenge( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/camera.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used [INFO] [stdout] --> src/tutorial_model_loading/camera.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const OPENGL_TO_WGPU_MATRIX: cgmath::Matrix4 = cgmath::Matrix4::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/tutorial_model_loading/camera.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 20 | pub fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Vertex` is never used [INFO] [stdout] --> src/tutorial_model_loading/vertex.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraUniform` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/camera_uniform.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CameraUniform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CameraUniform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_view_proj` are never used [INFO] [stdout] --> src/tutorial_model_loading/camera_uniform.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraUniform { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraController` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/camera_controller.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_events`, and `update_camera` are never used [INFO] [stdout] --> src/tutorial_model_loading/camera_controller.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CameraController { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn process_events(&mut self, event: &WindowEvent) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn update_camera(&self, camera: &mut Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_raw` is never used [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Instance { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 9 | pub fn to_raw(&self) -> InstanceRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstanceRaw` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstanceRaw` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/tutorial_model_loading/instance.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl InstanceRaw { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 25 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read [INFO] [stdout] --> src/tutorial_model_loading/model.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 45 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/tutorial_model_loading/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: methods `draw_mesh` and `draw_model` are never used [INFO] [stdout] --> src/tutorial_model_loading/model.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 64 | fn draw_mesh( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn draw_model(&mut self, model: &'a Model, camera_bind_group: &'a wgpu::BindGroup); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Material` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/material.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesh` is never constructed [INFO] [stdout] --> src/tutorial_model_loading/mesh.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Mesh { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "802705f6d08b9e7d9ff67e7e6537c4f2df845334a9f3d48952d58d6e78ec7ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802705f6d08b9e7d9ff67e7e6537c4f2df845334a9f3d48952d58d6e78ec7ff3", kill_on_drop: false }` [INFO] [stdout] 802705f6d08b9e7d9ff67e7e6537c4f2df845334a9f3d48952d58d6e78ec7ff3