[INFO] cloning repository https://github.com/vesdev/phx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vesdev/phx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesdev%2Fphx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesdev%2Fphx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eebe7a1995249aa3d7c381b03deb4a562ddbdf04
[INFO] testing vesdev/phx against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvesdev%2Fphx" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vesdev/phx
[INFO] finished tweaking git repo https://github.com/vesdev/phx
[INFO] tweaked toml for git repo https://github.com/vesdev/phx written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vesdev/phx on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vesdev/phx already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e
[INFO] running `Command { std: "docker" "start" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling termcolor v1.3.0
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.16
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling hashbrown v0.14.1
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling ttf-parser v0.19.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling rustix v0.38.17
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling aho-corasick v1.1.1
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling wgpu-types v0.17.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.8
[INFO] [stderr]    Compiling profiling v1.0.11
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling renderdoc-sys v1.0.0
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling owned_ttf_parser v0.19.0
[INFO] [stderr]    Compiling regex-automata v0.3.9
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling ab_glyph v0.2.22
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling exr v1.71.0
[INFO] [stderr]    Compiling bytemuck_derive v1.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling regex v1.9.6
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling naga v0.13.0
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling wide v0.7.12
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling nalgebra-macros v0.2.1
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling nalgebra v0.32.3
[INFO] [stderr]    Compiling wgpu-hal v0.17.2
[INFO] [stderr]    Compiling wgpu-core v0.17.1
[INFO] [stderr]    Compiling wgpu v0.17.1
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling forsprite v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut camera = Camera::new(&device);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indices` is never read
[INFO] [stdout]  --> src/buffer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct IndexBuffer<const N: usize> {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 8 |     indices: [u16; N],
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/buffer.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct VertexColored {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/buffer.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/buffer.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct VertexTextured {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/buffer.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]   --> src/buffer.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct VertexBuffer<T: Vertex, const N: usize> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 90 |     vertices: [T; N],
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/camera.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  6 |     pos: nalgebra::Point3<f32>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  7 |     up: nalgebra::Vector3<f32>,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  8 |     rect: Rect,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  9 |     znear: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     zfar: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |     uniform: CameraUniform,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     buffer: wgpu::Buffer,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `build_view_ortho` and `translate` are never used
[INFO] [stdout]   --> src/camera.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Camera {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 19 |     fn build_view_ortho(&self) -> nalgebra::Matrix4<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn translate(&mut self, pos: nalgebra::Point3<f32>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used
[INFO] [stdout]    --> src/camera.rs:107:11
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub const OPENGL_TO_WGPU_MATRIX: nalgebra::Matrix4<f32> = nalgebra::Matrix4::new(
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/camera.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct CameraUniform {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/camera.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[repr(C)]
[INFO] [stdout]     | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Document` is never constructed
[INFO] [stdout]  --> src/document.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Document<'a> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/document.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Document<'_> {
[INFO] [stdout]   | ----------------- associated function in this implementation
[INFO] [stdout] 7 |     fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImageBuffer` is never constructed
[INFO] [stdout]   --> src/document.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ImageBuffer<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/document.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> ImageBuffer<'a> {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 25 |     pub fn new(texture_size: &'a wgpu::Extent3d) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Layer` is never constructed
[INFO] [stdout]   --> src/document.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Layer<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Triangle` is never constructed
[INFO] [stdout]   --> src/primitive.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Triangle<T: Vertex> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/primitive.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T: Vertex> Triangle<T> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(_device: &wgpu::Device, vertices: VertexBuffer<T, 3>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling forsprite v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut camera = Camera::new(&device);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indices` is never read
[INFO] [stdout]  --> src/buffer.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct IndexBuffer<const N: usize> {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 8 |     indices: [u16; N],
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/buffer.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct VertexColored {
[INFO] [stdout]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/buffer.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/buffer.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct VertexTextured {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]   --> src/buffer.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | #[repr(C)]
[INFO] [stdout]    | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertices` is never read
[INFO] [stdout]   --> src/buffer.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct VertexBuffer<T: Vertex, const N: usize> {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 90 |     vertices: [T; N],
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/camera.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct Camera {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout]  6 |     pos: nalgebra::Point3<f32>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  7 |     up: nalgebra::Vector3<f32>,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  8 |     rect: Rect,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]  9 |     znear: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     zfar: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |     uniform: CameraUniform,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     buffer: wgpu::Buffer,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `build_view_ortho` and `translate` are never used
[INFO] [stdout]   --> src/camera.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Camera {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 19 |     fn build_view_ortho(&self) -> nalgebra::Matrix4<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn translate(&mut self, pos: nalgebra::Point3<f32>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used
[INFO] [stdout]    --> src/camera.rs:107:11
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub const OPENGL_TO_WGPU_MATRIX: nalgebra::Matrix4<f32> = nalgebra::Matrix4::new(
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/camera.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct CameraUniform {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check` is never used
[INFO] [stdout]    --> src/camera.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | #[repr(C)]
[INFO] [stdout]     | ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Document` is never constructed
[INFO] [stdout]  --> src/document.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Document<'a> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/document.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Document<'_> {
[INFO] [stdout]   | ----------------- associated function in this implementation
[INFO] [stdout] 7 |     fn new(width: u32, height: u32) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ImageBuffer` is never constructed
[INFO] [stdout]   --> src/document.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ImageBuffer<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/document.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl<'a> ImageBuffer<'a> {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 25 |     pub fn new(texture_size: &'a wgpu::Extent3d) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Layer` is never constructed
[INFO] [stdout]   --> src/document.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Layer<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Triangle` is never constructed
[INFO] [stdout]   --> src/primitive.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Triangle<T: Vertex> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/primitive.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T: Vertex> Triangle<T> {
[INFO] [stdout]    | --------------------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new(_device: &wgpu::Device, vertices: VertexBuffer<T, 3>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.71s
[INFO] running `Command { std: "docker" "inspect" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:96:13
[INFO] [stderr]    |
[INFO] [stderr] 96 |         let mut camera = Camera::new(&device);
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `indices` is never read
[INFO] [stderr]  --> src/buffer.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct IndexBuffer<const N: usize> {
[INFO] [stderr]   |            ----------- field in this struct
[INFO] [stderr] 8 |     indices: [u16; N],
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/buffer.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub struct VertexColored {
[INFO] [stderr]    |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/buffer.rs:33:1
[INFO] [stderr]    |
[INFO] [stderr] 33 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/buffer.rs:63:12
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct VertexTextured {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^ field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]   --> src/buffer.rs:61:1
[INFO] [stderr]    |
[INFO] [stderr] 61 | #[repr(C)]
[INFO] [stderr]    | ^
[INFO] [stderr] 
[INFO] [stderr] warning: field `vertices` is never read
[INFO] [stderr]   --> src/buffer.rs:90:5
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub struct VertexBuffer<T: Vertex, const N: usize> {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 90 |     vertices: [T; N],
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/camera.rs:6:5
[INFO] [stderr]    |
[INFO] [stderr]  5 | pub struct Camera {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr]  6 |     pos: nalgebra::Point3<f32>,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]  7 |     up: nalgebra::Vector3<f32>,
[INFO] [stderr]    |     ^^
[INFO] [stderr]  8 |     rect: Rect,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr]  9 |     znear: f32,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 10 |     zfar: f32,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 11 |
[INFO] [stderr] 12 |     uniform: CameraUniform,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 13 |     buffer: wgpu::Buffer,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `build_view_ortho` and `translate` are never used
[INFO] [stderr]   --> src/camera.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl Camera {
[INFO] [stderr]    | ----------- methods in this implementation
[INFO] [stderr] 19 |     fn build_view_ortho(&self) -> nalgebra::Matrix4<f32> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     pub fn translate(&mut self, pos: nalgebra::Point3<f32>) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `OPENGL_TO_WGPU_MATRIX` is never used
[INFO] [stderr]    --> src/camera.rs:107:11
[INFO] [stderr]     |
[INFO] [stderr] 107 | pub const OPENGL_TO_WGPU_MATRIX: nalgebra::Matrix4<f32> = nalgebra::Matrix4::new(
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/camera.rs:116:12
[INFO] [stderr]     |
[INFO] [stderr] 116 | pub struct CameraUniform {
[INFO] [stderr]     |            ^^^^^^^^^^^^^ field in this struct
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: function `check` is never used
[INFO] [stderr]    --> src/camera.rs:114:1
[INFO] [stderr]     |
[INFO] [stderr] 114 | #[repr(C)]
[INFO] [stderr]     | ^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Document` is never constructed
[INFO] [stderr]  --> src/document.rs:1:12
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub struct Document<'a> {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]  --> src/document.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | impl Document<'_> {
[INFO] [stderr]   | ----------------- associated function in this implementation
[INFO] [stderr] 7 |     fn new(width: u32, height: u32) -> Self {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ImageBuffer` is never constructed
[INFO] [stderr]   --> src/document.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct ImageBuffer<'a> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/document.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl<'a> ImageBuffer<'a> {
[INFO] [stderr]    | ------------------------ associated function in this implementation
[INFO] [stderr] 25 |     pub fn new(texture_size: &'a wgpu::Extent3d) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Layer` is never constructed
[INFO] [stderr]   --> src/document.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct Layer<'a> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Triangle` is never constructed
[INFO] [stderr]   --> src/primitive.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct Triangle<T: Vertex> {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/primitive.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl<T: Vertex> Triangle<T> {
[INFO] [stderr]    | --------------------------- associated function in this implementation
[INFO] [stderr] 22 |     pub fn new(_device: &wgpu::Device, vertices: VertexBuffer<T, 3>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `forsprite` (bin "forsprite" test) generated 19 warnings (run `cargo fix --bin "forsprite" -p forsprite --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/forsprite-9ebf80810d6ddb42)
[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" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e", kill_on_drop: false }`
[INFO] [stdout] e55062008506310d0e910a0878c1e8c125f814c3832cca930a016af8da3d483e
