[INFO] cloning repository https://github.com/theturboturnip/TestRustOpenXR [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theturboturnip/TestRustOpenXR" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheturboturnip%2FTestRustOpenXR", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheturboturnip%2FTestRustOpenXR'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5478f66765371006fa003f07b5bc630aa22ccbb5 [INFO] checking theturboturnip/TestRustOpenXR against master#da2544bfbe84df7b24d83c029c74299ebf6112c6 for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheturboturnip%2FTestRustOpenXR" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theturboturnip/TestRustOpenXR [INFO] finished tweaking git repo https://github.com/theturboturnip/TestRustOpenXR [INFO] tweaked toml for git repo https://github.com/theturboturnip/TestRustOpenXR written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theturboturnip/TestRustOpenXR on toolchain da2544bfbe84df7b24d83c029c74299ebf6112c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theturboturnip/TestRustOpenXR 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" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `main` [INFO] [stderr] * `bin` target `test-openxr-wgpu` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-vec v0.7.0 [INFO] [stderr] Downloaded bit-set v0.6.0 [INFO] [stderr] Downloaded wgpu-types v22.0.0 [INFO] [stderr] Downloaded log v0.4.18 [INFO] [stderr] Downloaded profiling v1.0.8 [INFO] [stderr] Downloaded libloading v0.8.0 [INFO] [stderr] Downloaded android_logger v0.11.3 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded com_macros v0.6.0 [INFO] [stderr] Downloaded glutin_wgl_sys v0.6.0 [INFO] [stderr] Downloaded gpu-descriptor v0.3.0 [INFO] [stderr] Downloaded toml_datetime v0.6.2 [INFO] [stderr] Downloaded bytemuck_derive v1.7.0 [INFO] [stderr] Downloaded hassle-rs v0.11.0 [INFO] [stderr] Downloaded d3d12 v22.0.0 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded gpu-allocator v0.26.0 [INFO] [stderr] Downloaded openxr v0.17.1 [INFO] [stderr] Downloaded toml_edit v0.19.10 [INFO] [stderr] Downloaded com v0.6.0 [INFO] [stderr] Downloaded winnow v0.4.6 [INFO] [stderr] Downloaded aho-corasick v1.0.1 [INFO] [stderr] Downloaded wgpu v22.0.0 [INFO] [stderr] Downloaded glow v0.13.1 [INFO] [stderr] Downloaded presser v0.3.1 [INFO] [stderr] Downloaded android-activity v0.4.1 [INFO] [stderr] Downloaded regex v1.8.3 [INFO] [stderr] Downloaded com_macros_support v0.6.0 [INFO] [stderr] Downloaded wgpu-core v22.0.0 [INFO] [stderr] Downloaded wgpu-hal v22.0.0 [INFO] [stderr] Downloaded rustix v0.37.19 [INFO] [stderr] Downloaded regex-syntax v0.7.2 [INFO] [stderr] Downloaded openxr-sys v0.9.3 [INFO] [stderr] Downloaded libc v0.2.144 [INFO] [stderr] Downloaded naga v22.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f2d2adf3b8833f0dbed06a043542ab9fb54434c2b41850007d60fac1afbf9aa [INFO] running `Command { std: "docker" "start" "-a" "2f2d2adf3b8833f0dbed06a043542ab9fb54434c2b41850007d60fac1afbf9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f2d2adf3b8833f0dbed06a043542ab9fb54434c2b41850007d60fac1afbf9aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f2d2adf3b8833f0dbed06a043542ab9fb54434c2b41850007d60fac1afbf9aa", kill_on_drop: false }` [INFO] [stdout] 2f2d2adf3b8833f0dbed06a043542ab9fb54434c2b41850007d60fac1afbf9aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30b616d3e81e92fbdb1357b72bfe71f58f91a6d8653b9aba3a6cc76a39a6adfb [INFO] running `Command { std: "docker" "start" "-a" "30b616d3e81e92fbdb1357b72bfe71f58f91a6d8653b9aba3a6cc76a39a6adfb", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/lib.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `main` [INFO] [stderr] * `bin` target `test-openxr-wgpu` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling naga v22.0.0 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bit-vec v0.7.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.6.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-hal v22.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling openxr-sys v0.9.3 [INFO] [stderr] Checking wgpu-types v22.0.0 [INFO] [stderr] Compiling wgpu-core v22.0.0 [INFO] [stderr] Checking profiling v1.0.8 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Compiling wgpu v22.0.0 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Compiling na-openxr-wgpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Checking regex v1.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking openxr v0.17.1 [INFO] [stdout] warning: field `nanos` is never read [INFO] [stdout] --> src/game.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Delta { nanos: i64, secs: f32 }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `real_time_nanos` is never used [INFO] [stdout] --> src/game.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl TimeTracker { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn real_time_nanos(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | struct Eyes { [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/game.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / #[repr(C)] [INFO] [stdout] 88 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 89 | | struct Eyes { [INFO] [stdout] 90 | | eye_screen_from_world: [Mat4; 2], [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct PerObject { [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/game.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / #[repr(C)] [INFO] [stdout] 100 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 101 | | struct PerObject { [INFO] [stdout] 102 | | world_from_model: Mat4, [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/controls.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Controls { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn apply(&self, xr_shell: &XrShell, output: &Self::OutputInfo) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grip` and `click` are never read [INFO] [stdout] --> src/controls.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PointAndClickHand { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 43 | pub grip: Pose, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub point: Pose, [INFO] [stdout] 45 | pub click: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `menu_button` is never read [INFO] [stdout] --> src/controls.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PointAndClickInput { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub menu_button: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleControllers` is never constructed [INFO] [stdout] --> src/controls.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 280 | struct SimpleControllers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OculusTouchControllers` is never constructed [INFO] [stdout] --> src/controls.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | struct OculusTouchControllers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Vec2(pub [f32; 2]); [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/math.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Two-component vector, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 32 | | #[repr(C)] [INFO] [stdout] 33 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 34 | | pub struct Vec2(pub [f32; 2]); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Vec3(pub [f32; 3]); [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/math.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / /// Three-component vector, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 65 | | #[repr(C)] [INFO] [stdout] 66 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 67 | | pub struct Vec3(pub [f32; 3]); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Quat([f32; 4]); [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/math.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /// Quaternion rotation, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 99 | | #[repr(C)] [INFO] [stdout] 100 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 101 | | pub struct Quat([f32; 4]); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Pose { [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/math.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / /// Non-scaled translation+rotation orientation, byte-compatible with bytemuck and openxr::Posef. [INFO] [stdout] 129 | | #[repr(C)] [INFO] [stdout] 130 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 131 | | pub struct Pose { [INFO] [stdout] 132 | | pub position: Vec3, [INFO] [stdout] 133 | | pub orientation: Quat, [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Mat4(pub [[f32; 4]; 4]); [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/math.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / /// Four-by-four column-major matrix, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 154 | | #[repr(C)] [INFO] [stdout] 155 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 156 | | pub struct Mat4(pub [[f32; 4]; 4]); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xr_entry`, `xr_system`, `wgpu_adapter`, and `xr_blend_modes` are never read [INFO] [stdout] --> src/shell.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct XrShell { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub xr_entry: xr::Entry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub xr_instance: xr::Instance, [INFO] [stdout] 49 | pub xr_system: xr::SystemId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub wgpu_adapter: wgpu::Adapter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub xr_blend_modes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nanos` is never read [INFO] [stdout] --> src/game.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Delta { nanos: i64, secs: f32 }, [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `real_time_nanos` is never used [INFO] [stdout] --> src/game.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl TimeTracker { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | fn real_time_nanos(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | struct Eyes { [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/game.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / #[repr(C)] [INFO] [stdout] 88 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 89 | | struct Eyes { [INFO] [stdout] 90 | | eye_screen_from_world: [Mat4; 2], [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | struct PerObject { [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/game.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | / #[repr(C)] [INFO] [stdout] 100 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 101 | | struct PerObject { [INFO] [stdout] 102 | | world_from_model: Mat4, [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply` is never used [INFO] [stdout] --> src/controls.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Controls { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn apply(&self, xr_shell: &XrShell, output: &Self::OutputInfo) -> Result<()>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grip` and `click` are never read [INFO] [stdout] --> src/controls.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct PointAndClickHand { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 43 | pub grip: Pose, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | pub point: Pose, [INFO] [stdout] 45 | pub click: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `menu_button` is never read [INFO] [stdout] --> src/controls.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct PointAndClickInput { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub menu_button: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleControllers` is never constructed [INFO] [stdout] --> src/controls.rs:280:8 [INFO] [stdout] | [INFO] [stdout] 280 | struct SimpleControllers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OculusTouchControllers` is never constructed [INFO] [stdout] --> src/controls.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | struct OculusTouchControllers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Vec2(pub [f32; 2]); [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/math.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Two-component vector, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 32 | | #[repr(C)] [INFO] [stdout] 33 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 34 | | pub struct Vec2(pub [f32; 2]); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Vec3(pub [f32; 3]); [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/math.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / /// Three-component vector, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 65 | | #[repr(C)] [INFO] [stdout] 66 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 67 | | pub struct Vec3(pub [f32; 3]); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Quat([f32; 4]); [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/math.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /// Quaternion rotation, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 99 | | #[repr(C)] [INFO] [stdout] 100 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 101 | | pub struct Quat([f32; 4]); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct Pose { [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/math.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / /// Non-scaled translation+rotation orientation, byte-compatible with bytemuck and openxr::Posef. [INFO] [stdout] 129 | | #[repr(C)] [INFO] [stdout] 130 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 131 | | pub struct Pose { [INFO] [stdout] 132 | | pub position: Vec3, [INFO] [stdout] 133 | | pub orientation: Quat, [INFO] [stdout] 134 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Mat4(pub [[f32; 4]; 4]); [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/math.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / /// Four-by-four column-major matrix, byte-compatible with bytemuck, cgmath, and openxr. [INFO] [stdout] 154 | | #[repr(C)] [INFO] [stdout] 155 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 156 | | pub struct Mat4(pub [[f32; 4]; 4]); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xr_entry`, `xr_system`, `wgpu_adapter`, and `xr_blend_modes` are never read [INFO] [stdout] --> src/shell.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct XrShell { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 47 | pub xr_entry: xr::Entry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub xr_instance: xr::Instance, [INFO] [stdout] 49 | pub xr_system: xr::SystemId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub wgpu_adapter: wgpu::Adapter, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub xr_blend_modes: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "30b616d3e81e92fbdb1357b72bfe71f58f91a6d8653b9aba3a6cc76a39a6adfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30b616d3e81e92fbdb1357b72bfe71f58f91a6d8653b9aba3a6cc76a39a6adfb", kill_on_drop: false }` [INFO] [stdout] 30b616d3e81e92fbdb1357b72bfe71f58f91a6d8653b9aba3a6cc76a39a6adfb