[INFO] cloning repository https://github.com/ted-dokos/cube [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ted-dokos/cube" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-dokos%2Fcube", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-dokos%2Fcube'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c971b8a66208136db9c0a1d49a2bee40ae74b6e8 [INFO] checking ted-dokos/cube against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fted-dokos%2Fcube" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ted-dokos/cube [INFO] finished tweaking git repo https://github.com/ted-dokos/cube [INFO] tweaked toml for git repo https://github.com/ted-dokos/cube written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ted-dokos/cube on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ted-dokos/cube 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v4.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf92a708e8c05d6748667502b4504b2780c41d96c054b6cd0279741e7569d0d [INFO] running `Command { std: "docker" "start" "-a" "bdf92a708e8c05d6748667502b4504b2780c41d96c054b6cd0279741e7569d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf92a708e8c05d6748667502b4504b2780c41d96c054b6cd0279741e7569d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf92a708e8c05d6748667502b4504b2780c41d96c054b6cd0279741e7569d0d", kill_on_drop: false }` [INFO] [stdout] bdf92a708e8c05d6748667502b4504b2780c41d96c054b6cd0279741e7569d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e14a25399a98815b0d09231e16ba8e36bb45504dc8a5b095b0c5e7958facee [INFO] running `Command { std: "docker" "start" "-a" "98e14a25399a98815b0d09231e16ba8e36bb45504dc8a5b095b0c5e7958facee", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking wgpu-types v0.18.0 [INFO] [stderr] Checking renderdoc-sys v1.0.0 [INFO] [stderr] Checking profiling v1.0.13 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking glow v0.13.0 [INFO] [stderr] Checking windows-targets v0.52.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling cube v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking thread-priority v0.15.1 [INFO] [stderr] Checking tobj v4.0.1 [INFO] [stderr] Checking debug_print v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking naga v0.14.2 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking wgpu-hal v0.18.1 [INFO] [stderr] Checking wgpu-core v0.18.1 [INFO] [stderr] Checking wgpu v0.18.0 [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> src/camera.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub eye: Point3, // position of the camera [INFO] [stdout] 6 | pub velocity: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | 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:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #[repr(C)] [INFO] [stdout] 48 | | // This is so we can store this in a buffer [INFO] [stdout] 49 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 50 | | pub struct CameraUniform { [INFO] [stdout] ... | [INFO] [stdout] 55 | | pub view_proj: [[f32; 4]; 4], [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/game_state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ModelWithInstances { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 15 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelWithInstances` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gpu_state.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/gpu_state.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / #[repr(C)] [INFO] [stdout] 452 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 453 | | pub struct InstanceRaw { [INFO] [stdout] 454 | | pub pos: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 457 | | pub shader: u32, [INFO] [stdout] 458 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/light.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct LightUniform { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/light.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(bytemuck::Pod, bytemuck::Zeroable, Clone, Copy, Debug)] [INFO] [stdout] 3 | | pub(crate) struct LightUniform { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 8 | | pub(crate) _padding2: u32, [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read [INFO] [stdout] --> src/model.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `raw_vertices`, and `raw_indices` are never read [INFO] [stdout] --> src/model.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub raw_vertices: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | pub raw_indices: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ModelVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/model.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / #[repr(C)] [INFO] [stdout] 39 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 40 | | pub struct ModelVertex { [INFO] [stdout] 41 | | pub position: [f32; 3], [INFO] [stdout] 42 | | pub tex_coords: [f32; 2], [INFO] [stdout] 43 | | pub normal: [f32; 3], [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `angular_position`, `angular_velocity`, and `angular_accel` are never read [INFO] [stdout] --> src/physics.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Physics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub angular_position: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub angular_velocity: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub angular_accel: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Physics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vertices` is never read [INFO] [stdout] --> src/physics.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Collision { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | pub vertices: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collision` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rotor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Rotor { [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/rotor.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[repr(C)] [INFO] [stdout] 4 | | #[derive(Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 5 | | pub struct Rotor { [INFO] [stdout] 6 | | pub s: f32, [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub yz: f32, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/time.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TimeUniform { [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/time.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct TimeUniform { [INFO] [stdout] 4 | | time_secs: f32, [INFO] [stdout] 5 | | _padding: [f32; 3], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `velocity` is never read [INFO] [stdout] --> src/camera.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub eye: Point3, // position of the camera [INFO] [stdout] 6 | pub velocity: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | 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:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #[repr(C)] [INFO] [stdout] 48 | | // This is so we can store this in a buffer [INFO] [stdout] 49 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 50 | | pub struct CameraUniform { [INFO] [stdout] ... | [INFO] [stdout] 55 | | pub view_proj: [[f32; 4]; 4], [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/game_state.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ModelWithInstances { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 15 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelWithInstances` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/gpu_state.rs:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub struct InstanceRaw { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/gpu_state.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | / #[repr(C)] [INFO] [stdout] 452 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 453 | | pub struct InstanceRaw { [INFO] [stdout] 454 | | pub pos: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 457 | | pub shader: u32, [INFO] [stdout] 458 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/light.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct LightUniform { [INFO] [stdout] | ^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/light.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(bytemuck::Pod, bytemuck::Zeroable, Clone, Copy, Debug)] [INFO] [stdout] 3 | | pub(crate) struct LightUniform { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 8 | | pub(crate) _padding2: u32, [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `diffuse_texture` are never read [INFO] [stdout] --> src/model.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub diffuse_texture: texture::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `raw_vertices`, and `raw_indices` are never read [INFO] [stdout] --> src/model.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub raw_vertices: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | pub raw_indices: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/model.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ModelVertex { [INFO] [stdout] | ^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/model.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / #[repr(C)] [INFO] [stdout] 39 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 40 | | pub struct ModelVertex { [INFO] [stdout] 41 | | pub position: [f32; 3], [INFO] [stdout] 42 | | pub tex_coords: [f32; 2], [INFO] [stdout] 43 | | pub normal: [f32; 3], [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `angular_position`, `angular_velocity`, and `angular_accel` are never read [INFO] [stdout] --> src/physics.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Physics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub angular_position: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub angular_velocity: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub angular_accel: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Physics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vertices` is never read [INFO] [stdout] --> src/physics.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Collision { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 52 | pub vertices: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collision` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/rotor.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Rotor { [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/rotor.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[repr(C)] [INFO] [stdout] 4 | | #[derive(Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 5 | | pub struct Rotor { [INFO] [stdout] 6 | | pub s: f32, [INFO] [stdout] ... | [INFO] [stdout] 9 | | pub yz: f32, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture` is never read [INFO] [stdout] --> src/texture.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Texture { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/time.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TimeUniform { [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/time.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct TimeUniform { [INFO] [stdout] 4 | | time_secs: f32, [INFO] [stdout] 5 | | _padding: [f32; 3], [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.64s [INFO] running `Command { std: "docker" "inspect" "98e14a25399a98815b0d09231e16ba8e36bb45504dc8a5b095b0c5e7958facee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e14a25399a98815b0d09231e16ba8e36bb45504dc8a5b095b0c5e7958facee", kill_on_drop: false }` [INFO] [stdout] 98e14a25399a98815b0d09231e16ba8e36bb45504dc8a5b095b0c5e7958facee