fix(launcher): 🐛 Restore Launcher #3691
rust.yml
on: pull_request
check-windows
6m 8s
check-linux
3m 16s
check-macos
1m 22s
build-android
1m 44s
tests
1m 10s
rustfmt
13s
Annotations
138 warnings
rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
inequality checks against true can be replaced by a negation:
alvr/client_openxr/src/stream.rs#L185
warning: inequality checks against true can be replaced by a negation
--> alvr/client_openxr/src/stream.rs:185:13
|
185 | config.encoder_config.enable_hdr != true,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!config.encoder_config.enable_hdr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: `#[warn(clippy::bool_comparison)]` on by default
|
variable does not need to be mutable:
alvr/client_openxr/src/lib.rs#L181
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:181:9
|
181 | let mut stream_config = None::<StreamConfig>;
| ----^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
alvr/client_openxr/src/lib.rs#L180
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:180:9
|
180 | let mut last_lobby_message = String::new();
| ----^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
value assigned to `last_lobby_message` is never read:
alvr/client_openxr/src/lib.rs#L325
warning: value assigned to `last_lobby_message` is never read
--> alvr/client_openxr/src/lib.rs:325:25
|
325 | last_lobby_message = message.clone();
| ^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
|
unused variable: `xr_frame_stream`:
alvr/client_openxr/src/lib.rs#L193
warning: unused variable: `xr_frame_stream`
--> alvr/client_openxr/src/lib.rs:193:51
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_frame_stream`
|
unused variable: `xr_frame_waiter`:
alvr/client_openxr/src/lib.rs#L193
warning: unused variable: `xr_frame_waiter`
--> alvr/client_openxr/src/lib.rs:193:30
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_frame_waiter`
|
unused variable: `xr_session`:
alvr/client_openxr/src/lib.rs#L193
warning: unused variable: `xr_session`
--> alvr/client_openxr/src/lib.rs:193:14
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_session`
|
unused variable: `stream_config`:
alvr/client_openxr/src/lib.rs#L181
warning: unused variable: `stream_config`
--> alvr/client_openxr/src/lib.rs:181:13
|
181 | let mut stream_config = None::<StreamConfig>;
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_config`
|
unused variable: `last_lobby_message`:
alvr/client_openxr/src/lib.rs#L180
warning: unused variable: `last_lobby_message`
--> alvr/client_openxr/src/lib.rs:180:13
|
180 | let mut last_lobby_message = String::new();
| ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lobby_message`
|
= note: `#[warn(unused_variables)]` on by default
|
unreachable definition:
alvr/client_openxr/src/lib.rs#L199
warning: unreachable definition
--> alvr/client_openxr/src/lib.rs:199:13
|
195 | .create_session(xr_system, &egl_context.session_create_info())
| --------------------------------- any code following this expression is unreachable
...
199 | let xr_context = XrContext {
| ^^^^^^^^^^ unreachable definition
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr/client_openxr/src/lib.rs:195:45
|
195 | .create_session(xr_system, &egl_context.session_create_info())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
function `build_windows_installer` is never used:
alvr/xtask/src/packaging.rs#L12
warning: function `build_windows_installer` is never used
--> alvr/xtask/src/packaging.rs:12:4
|
12 | fn build_windows_installer() {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
check-macos
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check-macos
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions/setup-java@v2, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-android
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions/setup-java@v2, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build-android
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L71964
warning: unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:71964:9
|
71964 | pub use self::VkLoaderFeastureFlagBits as VkLoaderFlagBits;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L64273
warning: unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:64273:9
|
64273 | pub use self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L59508
warning: unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:59508:9
|
59508 | pub use self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L56634
warning: unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:56634:9
|
56634 | pub use self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L55649
warning: unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:55649:9
|
55649 | pub use self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L53622
warning: unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:53622:9
|
53622 | pub use self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L53605
warning: unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:53605:9
|
53605 | pub use self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L53584
warning: unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:53584:9
|
53584 | pub use self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L53567
warning: unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:53567:9
|
53567 | pub use self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L53537
warning: unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:53537:9
|
53537 | pub use self::VkGeometryTypeKHR as VkGeometryTypeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L53529
warning: unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:53529:9
|
53529 | pub use self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L52892
warning: unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:52892:9
|
52892 | pub use self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L50733
warning: unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:50733:9
|
50733 | pub use self::VkSamplerReductionMode as VkSamplerReductionModeEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L44495
warning: unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:44495:9
|
44495 | pub use self::VkSubmitFlagBits as VkSubmitFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42667
warning: unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42667:9
|
42667 | pub use self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42666
warning: unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42666:9
|
42666 | pub use self::VkSemaphoreType as VkSemaphoreTypeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42661
warning: unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42661:9
|
42661 | pub use self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42659
warning: unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42659:9
|
42659 | pub use self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkDriverId as VkDriverIdKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42656
warning: unused import: `self::VkDriverId as VkDriverIdKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42656:9
|
42656 | pub use self::VkDriverId as VkDriverIdKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42212
warning: unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42212:9
|
42212 | pub use self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42211
warning: unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42211:9
|
42211 | pub use self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkChromaLocation as VkChromaLocationKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L42210
warning: unused import: `self::VkChromaLocation as VkChromaLocationKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:42210:9
|
42210 | pub use self::VkChromaLocation as VkChromaLocationKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L41553
warning: unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:41553:9
|
41553 | pub use self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L41552
warning: unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:41552:9
|
41552 | pub use self::VkPointClippingBehavior as VkPointClippingBehaviorKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L40581
warning: unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:40581:9
|
40581 | pub use self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L40563
warning: unused import: `self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:40563:9
|
40563 | pub use self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L40561
warning: unused import: `self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:40561:9
|
40561 | pub use self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L40369
warning: unused import: `self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:40369:9
|
40369 | pub use self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39889
warning: unused import: `self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39889:9
|
39889 | pub use self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39871
warning: unused import: `self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39871:9
|
39871 | pub use self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39869
warning: unused import: `self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39869:9
|
39869 | pub use self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39607
warning: unused import: `self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39607:9
|
39607 | pub use self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39605
warning: unused import: `self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39605:9
|
39605 | pub use self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39520
warning: unused import: `self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39520:9
|
39520 | pub use self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39518
warning: unused import: `self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39518:9
|
39518 | pub use self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkRenderingFlagBits as VkRenderingFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs#L39055
warning: unused import: `self::VkRenderingFlagBits as VkRenderingFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-a078ef7c8fea69ab/out/layer_bindings.rs:39055:9
|
39055 | pub use self::VkRenderingFlagBits as VkRenderingFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unneeded `return` statement:
alvr/dashboard/src/steamvr_launcher.rs#L233
warning: unneeded `return` statement
--> alvr/dashboard/src/steamvr_launcher.rs:233:17
|
233 | return Some(GpuType::Unknown);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
233 - return Some(GpuType::Unknown);
233 + Some(GpuType::Unknown)
|
|
unneeded `return` statement:
alvr/dashboard/src/steamvr_launcher.rs#L230
warning: unneeded `return` statement
--> alvr/dashboard/src/steamvr_launcher.rs:230:17
|
230 | return Some(GpuType::Llvmpipe);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
230 - return Some(GpuType::Llvmpipe);
230 + Some(GpuType::Llvmpipe)
|
|
unneeded `return` statement:
alvr/dashboard/src/steamvr_launcher.rs#L227
warning: unneeded `return` statement
--> alvr/dashboard/src/steamvr_launcher.rs:227:17
|
227 | return Some(GpuType::Intel);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
227 - return Some(GpuType::Intel);
227 + Some(GpuType::Intel)
|
|
unneeded `return` statement:
alvr/dashboard/src/steamvr_launcher.rs#L224
warning: unneeded `return` statement
--> alvr/dashboard/src/steamvr_launcher.rs:224:17
|
224 | return Some(GpuType::Amd);
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
224 - return Some(GpuType::Amd);
224 + Some(GpuType::Amd)
|
|
unneeded `return` statement:
alvr/dashboard/src/steamvr_launcher.rs#L221
warning: unneeded `return` statement
--> alvr/dashboard/src/steamvr_launcher.rs:221:17
|
221 | return Some(GpuType::Nvidia);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
221 - return Some(GpuType::Nvidia);
221 + Some(GpuType::Nvidia)
|
|
called `map(..).flatten()` on `Iterator`:
alvr/dashboard/src/steamvr_launcher.rs#L219
warning: called `map(..).flatten()` on `Iterator`
--> alvr/dashboard/src/steamvr_launcher.rs:219:10
|
219 | .map(|adapter| match adapter.get_info().vendor {
| __________^
220 | | 0x10de => {
221 | | return Some(GpuType::Nvidia);
222 | | }
... |
235 | | })
236 | | .flatten();
| |__________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten
= note: `#[warn(clippy::map_flatten)]` on by default
help: try replacing `map` with `filter_map` and remove the `.flatten()`
|
219 ~ .filter_map(|adapter| match adapter.get_info().vendor {
220 + 0x10de => {
221 + return Some(GpuType::Nvidia);
222 + }
223 + 0x1002 => {
224 + return Some(GpuType::Amd);
225 + }
226 + 0x8086 => {
227 + return Some(GpuType::Intel);
228 + }
229 + 0x10005 => {
230 + return Some(GpuType::Llvmpipe);
231 + }
232 + _ => {
233 + return Some(GpuType::Unknown);
234 + }
235 ~ });
|
|
redundant pattern matching, consider using `is_err()`:
alvr/dashboard/src/steamvr_launcher.rs#L158
warning: redundant pattern matching, consider using `is_err()`
--> alvr/dashboard/src/steamvr_launcher.rs:158:20
|
158 | if let Err(_) = vrcompositor_wrap_result {
| -------^^^^^^--------------------------- help: try: `if vrcompositor_wrap_result.is_err()`
|
= note: this will change drop order of the result, as well as all temporaries
= note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: `#[warn(clippy::redundant_pattern_matching)]` on by default
|
unnecessary use of `to_string`:
alvr/dashboard/src/dashboard/components/setup_wizard.rs#L179
warning: unnecessary use of `to_string`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:179:45
|
179 | ... &audio_script_path.to_string_lossy().to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `audio_script_path.to_string_lossy().as_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
|
unnecessary use of `to_string`:
alvr/dashboard/src/dashboard/components/setup_wizard.rs#L175
warning: unnecessary use of `to_string`
--> alvr/dashboard/src/dashboard/components/setup_wizard.rs:175:45
|
175 | ... &audio_script_path.to_string_lossy().to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `audio_script_path.to_string_lossy().as_ref()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
= note: `#[warn(clippy::unnecessary_to_owned)]` on by default
|
inequality checks against true can be replaced by a negation:
alvr/client_openxr/src/stream.rs#L185
warning: inequality checks against true can be replaced by a negation
--> alvr/client_openxr/src/stream.rs:185:13
|
185 | config.encoder_config.enable_hdr != true,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!config.encoder_config.enable_hdr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: `#[warn(clippy::bool_comparison)]` on by default
|
variable does not need to be mutable:
alvr/client_openxr/src/lib.rs#L181
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:181:9
|
181 | let mut stream_config = None::<StreamConfig>;
| ----^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
alvr/client_openxr/src/lib.rs#L180
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:180:9
|
180 | let mut last_lobby_message = String::new();
| ----^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
value assigned to `last_lobby_message` is never read:
alvr/client_openxr/src/lib.rs#L325
warning: value assigned to `last_lobby_message` is never read
--> alvr/client_openxr/src/lib.rs:325:25
|
325 | last_lobby_message = message.clone();
| ^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
|
unused variable: `xr_frame_stream`:
alvr/client_openxr/src/lib.rs#L193
warning: unused variable: `xr_frame_stream`
--> alvr/client_openxr/src/lib.rs:193:51
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_frame_stream`
|
unused variable: `xr_frame_waiter`:
alvr/client_openxr/src/lib.rs#L193
warning: unused variable: `xr_frame_waiter`
--> alvr/client_openxr/src/lib.rs:193:30
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_frame_waiter`
|
unused variable: `xr_session`:
alvr/client_openxr/src/lib.rs#L193
warning: unused variable: `xr_session`
--> alvr/client_openxr/src/lib.rs:193:14
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_session`
|
unused variable: `stream_config`:
alvr/client_openxr/src/lib.rs#L181
warning: unused variable: `stream_config`
--> alvr/client_openxr/src/lib.rs:181:13
|
181 | let mut stream_config = None::<StreamConfig>;
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_config`
|
unused variable: `last_lobby_message`:
alvr/client_openxr/src/lib.rs#L180
warning: unused variable: `last_lobby_message`
--> alvr/client_openxr/src/lib.rs:180:13
|
180 | let mut last_lobby_message = String::new();
| ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lobby_message`
|
= note: `#[warn(unused_variables)]` on by default
|
unreachable definition:
alvr/client_openxr/src/lib.rs#L199
warning: unreachable definition
--> alvr/client_openxr/src/lib.rs:199:13
|
195 | .create_session(xr_system, &egl_context.session_create_info())
| --------------------------------- any code following this expression is unreachable
...
199 | let xr_context = XrContext {
| ^^^^^^^^^^ unreachable definition
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr/client_openxr/src/lib.rs:195:45
|
195 | .create_session(xr_system, &egl_context.session_create_info())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
function `build_windows_installer` is never used:
alvr/xtask/src/packaging.rs#L12
warning: function `build_windows_installer` is never used
--> alvr/xtask/src/packaging.rs:12:4
|
12 | fn build_windows_installer() {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
check-linux
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check-linux
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check-linux
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-linux
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
inequality checks against true can be replaced by a negation:
alvr\client_openxr\src\stream.rs#L185
warning: inequality checks against true can be replaced by a negation
--> alvr\client_openxr\src\stream.rs:185:13
|
185 | config.encoder_config.enable_hdr != true,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!config.encoder_config.enable_hdr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: `#[warn(clippy::bool_comparison)]` on by default
|
variable does not need to be mutable:
alvr\client_openxr\src\lib.rs#L181
warning: variable does not need to be mutable
--> alvr\client_openxr\src\lib.rs:181:9
|
181 | let mut stream_config = None::<StreamConfig>;
| ----^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
alvr\client_openxr\src\lib.rs#L180
warning: variable does not need to be mutable
--> alvr\client_openxr\src\lib.rs:180:9
|
180 | let mut last_lobby_message = String::new();
| ----^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
value assigned to `last_lobby_message` is never read:
alvr\client_openxr\src\lib.rs#L325
warning: value assigned to `last_lobby_message` is never read
--> alvr\client_openxr\src\lib.rs:325:25
|
325 | last_lobby_message = message.clone();
| ^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
|
unused variable: `xr_frame_stream`:
alvr\client_openxr\src\lib.rs#L193
warning: unused variable: `xr_frame_stream`
--> alvr\client_openxr\src\lib.rs:193:51
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_frame_stream`
|
unused variable: `xr_frame_waiter`:
alvr\client_openxr\src\lib.rs#L193
warning: unused variable: `xr_frame_waiter`
--> alvr\client_openxr\src\lib.rs:193:30
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_frame_waiter`
|
unused variable: `xr_session`:
alvr\client_openxr\src\lib.rs#L193
warning: unused variable: `xr_session`
--> alvr\client_openxr\src\lib.rs:193:14
|
193 | let (xr_session, mut xr_frame_waiter, mut xr_frame_stream) = unsafe {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xr_session`
|
unused variable: `stream_config`:
alvr\client_openxr\src\lib.rs#L181
warning: unused variable: `stream_config`
--> alvr\client_openxr\src\lib.rs:181:13
|
181 | let mut stream_config = None::<StreamConfig>;
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_config`
|
unused variable: `last_lobby_message`:
alvr\client_openxr\src\lib.rs#L180
warning: unused variable: `last_lobby_message`
--> alvr\client_openxr\src\lib.rs:180:13
|
180 | let mut last_lobby_message = String::new();
| ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_lobby_message`
|
= note: `#[warn(unused_variables)]` on by default
|
unreachable definition:
alvr\client_openxr\src\lib.rs#L199
warning: unreachable definition
--> alvr\client_openxr\src\lib.rs:199:13
|
195 | .create_session(xr_system, &egl_context.session_create_info())
| --------------------------------- any code following this expression is unreachable
...
199 | let xr_context = XrContext {
| ^^^^^^^^^^ unreachable definition
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr\client_openxr\src\lib.rs:195:45
|
195 | .create_session(xr_system, &egl_context.session_create_info())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
function `build_windows_installer` is never used:
alvr\xtask\src\packaging.rs#L12
warning: function `build_windows_installer` is never used
--> alvr\xtask\src\packaging.rs:12:4
|
12 | fn build_windows_installer() {
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
check-windows
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, ErichDonGubler/clippy-check@fix-windows-lf-breaking-reports. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
check-windows
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, ErichDonGubler/clippy-check@fix-windows-lf-breaking-reports. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check-windows
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check-windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|