[INFO] cloning repository https://github.com/DustinsCode/learning-wgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DustinsCode/learning-wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDustinsCode%2Flearning-wgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDustinsCode%2Flearning-wgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30683a75376ca8a5e8462666ed7d0df37b51daf5 [INFO] testing DustinsCode/learning-wgpu against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDustinsCode%2Flearning-wgpu" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DustinsCode/learning-wgpu on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DustinsCode/learning-wgpu [INFO] finished tweaking git repo https://github.com/DustinsCode/learning-wgpu [INFO] tweaked toml for git repo https://github.com/DustinsCode/learning-wgpu written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DustinsCode/learning-wgpu 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56aa1c5b6091639441295efce60a018f857ee2721f064d47473abbf133a703ee [INFO] running `Command { std: "docker" "start" "-a" "56aa1c5b6091639441295efce60a018f857ee2721f064d47473abbf133a703ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56aa1c5b6091639441295efce60a018f857ee2721f064d47473abbf133a703ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56aa1c5b6091639441295efce60a018f857ee2721f064d47473abbf133a703ee", kill_on_drop: false }` [INFO] [stdout] 56aa1c5b6091639441295efce60a018f857ee2721f064d47473abbf133a703ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c680f982ae94393fa9a8a3ae26c584940267138acb2374ffec8edca0b74986f [INFO] running `Command { std: "docker" "start" "-a" "9c680f982ae94393fa9a8a3ae26c584940267138acb2374ffec8edca0b74986f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling wgpu-hal v0.19.0 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.19.0 [INFO] [stderr] Compiling wgpu-core v0.19.0 [INFO] [stderr] Compiling wayland-scanner v0.31.0 [INFO] [stderr] Compiling profiling v1.0.13 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling memmap2 v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex-automata v0.4.4 [INFO] [stderr] Compiling wgpu v0.19.0 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling wgpu-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling tobj v4.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling wayland-client v0.31.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.3 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling naga v0.19.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tiny-skia v0.11.3 [INFO] [stderr] Compiling env_logger v0.11.0 [INFO] [stderr] Compiling polling v3.3.2 [INFO] [stderr] Compiling wayland-protocols v0.31.0 [INFO] [stderr] Compiling wayland-cursor v0.31.0 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stdout] warning: unused imports: `Key` and `NamedKey` [INFO] [stdout] --> src/camera.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::keyboard::{Key, KeyCode, NamedKey, PhysicalKey}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape_toggle` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let shape_toggle = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape_toggle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawModel` [INFO] [stdout] --> src/lib.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::{DrawModel, Model, Vertex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `diffuse_texture` is never read [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | diffuse_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used [INFO] [stdout] --> src/lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | const INSTANCE_DISPLACEMENT: cgmath::Vector3 = cgmath::Vector3::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `materials` is never read [INFO] [stdout] --> src/model.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 46 | pub meshes: Vec, [INFO] [stdout] 47 | pub materials: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `diffuse_texture`, and `bind_group` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub bind_group: wgpu::BindGroup [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `material` are never read [INFO] [stdout] --> src/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub material: usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_mesh` is never used [INFO] [stdout] --> src/model.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 65 | fn draw_mesh(&mut self, mesh: &'a Mesh); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "9c680f982ae94393fa9a8a3ae26c584940267138acb2374ffec8edca0b74986f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c680f982ae94393fa9a8a3ae26c584940267138acb2374ffec8edca0b74986f", kill_on_drop: false }` [INFO] [stdout] 9c680f982ae94393fa9a8a3ae26c584940267138acb2374ffec8edca0b74986f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08e6a18fad0bbd6977b0adc8d1f67c9452dce9d0c88481e3e15c33db75b6d378 [INFO] running `Command { std: "docker" "start" "-a" "08e6a18fad0bbd6977b0adc8d1f67c9452dce9d0c88481e3e15c33db75b6d378", kill_on_drop: false }` [INFO] [stderr] Compiling wgpu-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Key` and `NamedKey` [INFO] [stdout] --> src/camera.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::keyboard::{Key, KeyCode, NamedKey, PhysicalKey}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `NamedKey` [INFO] [stdout] --> src/camera.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use winit::keyboard::{Key, KeyCode, NamedKey, PhysicalKey}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/instance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape_toggle` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let shape_toggle = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape_toggle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape_toggle` [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let shape_toggle = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape_toggle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawModel` [INFO] [stdout] --> src/lib.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::{DrawModel, Model, Vertex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DrawModel` [INFO] [stdout] --> src/lib.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::{DrawModel, Model, Vertex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImageView` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image::GenericImageView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `diffuse_texture` is never read [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | diffuse_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used [INFO] [stdout] --> src/lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | const INSTANCE_DISPLACEMENT: cgmath::Vector3 = cgmath::Vector3::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `materials` is never read [INFO] [stdout] --> src/model.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 46 | pub meshes: Vec, [INFO] [stdout] 47 | pub materials: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `diffuse_texture`, and `bind_group` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub bind_group: wgpu::BindGroup [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `material` are never read [INFO] [stdout] --> src/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub material: usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_mesh` is never used [INFO] [stdout] --> src/model.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 65 | fn draw_mesh(&mut self, mesh: &'a Mesh); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `diffuse_texture` is never read [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | diffuse_texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTANCE_DISPLACEMENT` is never used [INFO] [stdout] --> src/lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | const INSTANCE_DISPLACEMENT: cgmath::Vector3 = cgmath::Vector3::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `materials` is never read [INFO] [stdout] --> src/model.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 46 | pub meshes: Vec, [INFO] [stdout] 47 | pub materials: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `diffuse_texture`, and `bind_group` are never read [INFO] [stdout] --> src/model.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 51 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub bind_group: wgpu::BindGroup [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `material` are never read [INFO] [stdout] --> src/model.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub material: usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_mesh` is never used [INFO] [stdout] --> src/model.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 65 | fn draw_mesh(&mut self, mesh: &'a Mesh); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.77s [INFO] running `Command { std: "docker" "inspect" "08e6a18fad0bbd6977b0adc8d1f67c9452dce9d0c88481e3e15c33db75b6d378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e6a18fad0bbd6977b0adc8d1f67c9452dce9d0c88481e3e15c33db75b6d378", kill_on_drop: false }` [INFO] [stdout] 08e6a18fad0bbd6977b0adc8d1f67c9452dce9d0c88481e3e15c33db75b6d378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f973667adf8914721f54274fc7408ac683f0e549ac4d4aacf63e119b9df1c8cf [INFO] running `Command { std: "docker" "start" "-a" "f973667adf8914721f54274fc7408ac683f0e549ac4d4aacf63e119b9df1c8cf", kill_on_drop: false }` [INFO] [stderr] Compiling wgpu-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Key` and `NamedKey` [INFO] [stderr] --> src/camera.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use winit::keyboard::{Key, KeyCode, NamedKey, PhysicalKey}; [INFO] [stderr] | ^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/instance.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/model.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shape_toggle` [INFO] [stderr] --> src/lib.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | let shape_toggle = true; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape_toggle` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DrawModel` [INFO] [stderr] --> src/lib.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | use crate::model::{DrawModel, Model, Vertex}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::GenericImageView` [INFO] [stderr] --> src/lib.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use image::GenericImageView; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `diffuse_texture` is never read [INFO] [stderr] --> src/lib.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 29 | struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 44 | diffuse_texture: Texture, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `INSTANCE_DISPLACEMENT` is never used [INFO] [stderr] --> src/lib.rs:56:15 [INFO] [stderr] | [INFO] [stderr] 56 | const INSTANCE_DISPLACEMENT: cgmath::Vector3 = cgmath::Vector3::new( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `texture` is never read [INFO] [stderr] --> src/texture.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Texture { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 6 | pub texture: wgpu::Texture, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `materials` is never read [INFO] [stderr] --> src/model.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct Model { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 46 | pub meshes: Vec, [INFO] [stderr] 47 | pub materials: Vec [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `diffuse_texture`, and `bind_group` are never read [INFO] [stderr] --> src/model.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 50 | pub struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 51 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 52 | pub diffuse_texture: texture::Texture, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | pub bind_group: wgpu::BindGroup [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `material` are never read [INFO] [stderr] --> src/model.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Mesh { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 57 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub material: usize [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `draw_mesh` is never used [INFO] [stderr] --> src/model.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 64 | pub trait DrawModel<'a> { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 65 | fn draw_mesh(&mut self, mesh: &'a Mesh); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wgpu-tutorial` (lib test) generated 13 warnings (10 duplicates) (run `cargo fix --lib -p wgpu-tutorial --tests` to apply 3 suggestions) [INFO] [stderr] warning: `wgpu-tutorial` (lib) generated 13 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.85s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgpu_tutorial-c6a44b27f55c62c7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wgpu_tutorial-fdc669d68d0bf1f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wgpu_tutorial [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f973667adf8914721f54274fc7408ac683f0e549ac4d4aacf63e119b9df1c8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f973667adf8914721f54274fc7408ac683f0e549ac4d4aacf63e119b9df1c8cf", kill_on_drop: false }` [INFO] [stdout] f973667adf8914721f54274fc7408ac683f0e549ac4d4aacf63e119b9df1c8cf