[INFO] cloning repository https://github.com/Tsuchijo/learn-wgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tsuchijo/learn-wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTsuchijo%2Flearn-wgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTsuchijo%2Flearn-wgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a995b91b14053449cc514735798444aec14e1e4b [INFO] testing Tsuchijo/learn-wgpu against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTsuchijo%2Flearn-wgpu" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tsuchijo/learn-wgpu on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tsuchijo/learn-wgpu [INFO] finished tweaking git repo https://github.com/Tsuchijo/learn-wgpu [INFO] tweaked toml for git repo https://github.com/Tsuchijo/learn-wgpu written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tsuchijo/learn-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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fdeflate v0.3.2 [INFO] [stderr] Downloaded tiny-skia-path v0.11.3 [INFO] [stderr] Downloaded tiny-skia v0.11.3 [INFO] [stderr] Downloaded wgpu-hal v0.18.1 [INFO] [stderr] Downloaded winit v0.29.6 [INFO] [stderr] Downloaded naga v0.14.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac88f46bb9077de4a6035122b6c19d6d0c9b87831726842b98e04bcee46b2baf [INFO] running `Command { std: "docker" "start" "-a" "ac88f46bb9077de4a6035122b6c19d6d0c9b87831726842b98e04bcee46b2baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac88f46bb9077de4a6035122b6c19d6d0c9b87831726842b98e04bcee46b2baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac88f46bb9077de4a6035122b6c19d6d0c9b87831726842b98e04bcee46b2baf", kill_on_drop: false }` [INFO] [stdout] ac88f46bb9077de4a6035122b6c19d6d0c9b87831726842b98e04bcee46b2baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2c08d8a54ce61ba7118b8361d1f426adf3ad1b8d555a10f3c0e556ca50ee9f [INFO] running `Command { std: "docker" "start" "-a" "1d2c08d8a54ce61ba7118b8361d1f426adf3ad1b8d555a10f3c0e556ca50ee9f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling wayland-scanner v0.31.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling wayland-backend v0.3.2 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling wayland-client v0.31.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.3 [INFO] [stderr] Compiling naga v0.14.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling wayland-protocols v0.31.0 [INFO] [stderr] Compiling wayland-cursor v0.31.0 [INFO] [stderr] Compiling memmap2 v0.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling calloop v0.12.3 [INFO] [stderr] Compiling wgpu-types v0.18.0 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling glow v0.13.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling profiling v1.0.13 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling winit v0.29.6 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling tiny-skia v0.11.3 [INFO] [stderr] Compiling fdeflate v0.3.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.76 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling wgpu-hal v0.18.1 [INFO] [stderr] Compiling wgpu-core v0.18.1 [INFO] [stderr] Compiling wgpu v0.18.0 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling wgpu-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut camera_uniform = CameraUniform::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Camera` is more private than the item `WgpuState::camera` [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `WgpuState::camera` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Camera` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Camera { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | eye: cgmath::Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | target: cgmath::Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | up: cgmath::Vector3, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | aspect: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | fovy: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | znear: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | zfar: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/lib.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 49 | fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_view_proj` is never used [INFO] [stdout] --> src/lib.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl CameraUniform { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | window::{WindowBuilder, Window, self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s [INFO] running `Command { std: "docker" "inspect" "1d2c08d8a54ce61ba7118b8361d1f426adf3ad1b8d555a10f3c0e556ca50ee9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2c08d8a54ce61ba7118b8361d1f426adf3ad1b8d555a10f3c0e556ca50ee9f", kill_on_drop: false }` [INFO] [stdout] 1d2c08d8a54ce61ba7118b8361d1f426adf3ad1b8d555a10f3c0e556ca50ee9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 797fd389e55ccde00b5c0758a193ce1033fa9416b4eacc39d6e963a66ed909fa [INFO] running `Command { std: "docker" "start" "-a" "797fd389e55ccde00b5c0758a193ce1033fa9416b4eacc39d6e963a66ed909fa", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut camera_uniform = CameraUniform::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Camera` is more private than the item `WgpuState::camera` [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `WgpuState::camera` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Camera` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Camera { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | eye: cgmath::Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | target: cgmath::Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | up: cgmath::Vector3, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | aspect: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | fovy: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | znear: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | zfar: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/lib.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 49 | fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wgpu-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `update_view_proj` is never used [INFO] [stdout] --> src/lib.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl CameraUniform { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | window::{WindowBuilder, Window, self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut camera_uniform = CameraUniform::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Camera` is more private than the item `WgpuState::camera` [INFO] [stdout] --> src/lib.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub camera: Camera, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `WgpuState::camera` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Camera` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Camera { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | eye: cgmath::Point3, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | target: cgmath::Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | up: cgmath::Vector3, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | aspect: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | fovy: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | znear: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | zfar: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_view_projection_matrix` is never used [INFO] [stdout] --> src/lib.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 49 | fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_view_proj` is never used [INFO] [stdout] --> src/lib.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 67 | impl CameraUniform { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "797fd389e55ccde00b5c0758a193ce1033fa9416b4eacc39d6e963a66ed909fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797fd389e55ccde00b5c0758a193ce1033fa9416b4eacc39d6e963a66ed909fa", kill_on_drop: false }` [INFO] [stdout] 797fd389e55ccde00b5c0758a193ce1033fa9416b4eacc39d6e963a66ed909fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 76e308365537313a0cf4e5db9c8ad0bf9b769f8a3f55bc7d54eafb3a154f2394 [INFO] running `Command { std: "docker" "start" "-a" "76e308365537313a0cf4e5db9c8ad0bf9b769f8a3f55bc7d54eafb3a154f2394", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:298:13 [INFO] [stderr] | [INFO] [stderr] 298 | let mut camera_uniform = CameraUniform::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Camera` is more private than the item `WgpuState::camera` [INFO] [stderr] --> src/lib.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | pub camera: Camera, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ field `WgpuState::camera` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Camera` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | struct Camera { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | struct Camera { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 30 | eye: cgmath::Point3, [INFO] [stderr] | ^^^ [INFO] [stderr] 31 | target: cgmath::Point3, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 32 | up: cgmath::Vector3, [INFO] [stderr] | ^^ [INFO] [stderr] 33 | aspect: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 34 | fovy: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 35 | znear: f32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 36 | zfar: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `build_view_projection_matrix` is never used [INFO] [stderr] --> src/lib.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 48 | impl Camera { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 49 | fn build_view_projection_matrix(&self) -> cgmath::Matrix4 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update_view_proj` is never used [INFO] [stderr] --> src/lib.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 67 | impl CameraUniform { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 76 | fn update_view_proj(&mut self, camera: &Camera) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wgpu-tutorial` (lib) generated 5 warnings (run `cargo fix --lib -p wgpu-tutorial` to apply 1 suggestion) [INFO] [stderr] warning: `wgpu-tutorial` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:4:37 [INFO] [stderr] | [INFO] [stderr] 4 | window::{WindowBuilder, Window, self}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wgpu-tutorial` (bin "wgpu-tutorial" test) generated 1 warning (run `cargo fix --bin "wgpu-tutorial" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgpu_tutorial-dafa6dd71c5934ca) [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-266aae63d01457da) [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" "76e308365537313a0cf4e5db9c8ad0bf9b769f8a3f55bc7d54eafb3a154f2394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e308365537313a0cf4e5db9c8ad0bf9b769f8a3f55bc7d54eafb3a154f2394", kill_on_drop: false }` [INFO] [stdout] 76e308365537313a0cf4e5db9c8ad0bf9b769f8a3f55bc7d54eafb3a154f2394