Skip to content

refactor(streamer): ♻️ Clarify distinction between bitrate and throughput #4308

refactor(streamer): ♻️ Clarify distinction between bitrate and throughput

refactor(streamer): ♻️ Clarify distinction between bitrate and throughput #4308

Triggered via pull request September 25, 2024 15:46
Status Failure
Total duration 9m 38s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 169 warnings
check-format
Process completed with exit code 101.
check-format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@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-format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-format
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-format
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-format
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-format
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/
function `notice` is never used: alvr/dashboard/src/dashboard/components/settings_controls/notice.rs#L8
warning: function `notice` is never used --> alvr/dashboard/src/dashboard/components/settings_controls/notice.rs:8:8 | 8 | pub fn notice(ui: &mut Ui, text: &str) { | ^^^^^^ | = note: `#[warn(dead_code)]` on by default
casting to the same type is unnecessary (`f32` -> `f32`): alvr/server_core/src/bitrate.rs#L133
warning: casting to the same type is unnecessary (`f32` -> `f32`) --> alvr/server_core/src/bitrate.rs:133:25 | 133 | self.packet_bytes_average.get_average() as f32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.packet_bytes_average.get_average()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
fields `aim_action` and `aim_space` are never read: alvr/client_openxr/src/interaction.rs#L26
warning: fields `aim_action` and `aim_space` are never read --> alvr/client_openxr/src/interaction.rs:26:9 | 22 | pub struct HandInteraction { | --------------- fields in this struct ... 26 | pub aim_action: xr::Action<xr::Posef>, | ^^^^^^^^^^ 27 | pub aim_space: xr::Space, | ^^^^^^^^^
field `system` is never read: alvr/client_openxr/src/lib.rs#L98
warning: field `system` is never read --> alvr/client_openxr/src/lib.rs:98:5 | 96 | pub struct XrContext { | --------- field in this struct 97 | instance: xr::Instance, 98 | system: xr::SystemId, | ^^^^^^ | = note: `XrContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
variable does not need to be mutable: alvr/client_openxr/src/lib.rs#L201
warning: variable does not need to be mutable --> alvr/client_openxr/src/lib.rs:201:9 | 201 | let mut parsed_stream_config = None::<ParsedStreamConfig>; | ----^^^^^^^^^^^^^^^^^^^^ | | | help: remove this `mut`
variable does not need to be mutable: alvr/client_openxr/src/lib.rs#L200
warning: variable does not need to be mutable --> alvr/client_openxr/src/lib.rs:200:9 | 200 | let mut last_lobby_message = String::new(); | ----^^^^^^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
unused variable: `xr_frame_stream`: alvr/client_openxr/src/lib.rs#L213
warning: unused variable: `xr_frame_stream` --> alvr/client_openxr/src/lib.rs:213:51 | 213 | 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#L213
warning: unused variable: `xr_frame_waiter` --> alvr/client_openxr/src/lib.rs:213:30 | 213 | 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#L213
warning: unused variable: `xr_session` --> alvr/client_openxr/src/lib.rs:213:14 | 213 | 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: `parsed_stream_config`: alvr/client_openxr/src/lib.rs#L201
warning: unused variable: `parsed_stream_config` --> alvr/client_openxr/src/lib.rs:201:13 | 201 | let mut parsed_stream_config = None::<ParsedStreamConfig>; | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_stream_config`
unused variable: `last_lobby_message`: alvr/client_openxr/src/lib.rs#L200
warning: unused variable: `last_lobby_message` --> alvr/client_openxr/src/lib.rs:200:13 | 200 | 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#L219
warning: unreachable definition --> alvr/client_openxr/src/lib.rs:219:13 | 215 | .create_session(xr_system, &graphics::session_create_info(&graphics_context)) | ------------------------------------------------ any code following this expression is unreachable ... 219 | let xr_context = XrContext { | ^^^^^^^^^^ unreachable definition | note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited --> alvr/client_openxr/src/lib.rs:215:45 | 215 | .create_session(xr_system, &graphics::session_create_info(&graphics_context)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(unreachable_code)]` on by default
field `codec` is never read: alvr/client_core/src/c_api.rs#L73
warning: field `codec` is never read --> alvr/client_core/src/c_api.rs:73:9 | 72 | DecoderConfig { | ------------- field in this variant 73 | codec: AlvrCodec, | ^^^^^
fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read: alvr/client_core/src/c_api.rs#L66
warning: fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read --> alvr/client_core/src/c_api.rs:66:9 | 65 | Haptics { | ------- fields in this variant 66 | device_id: u64, | ^^^^^^^^^ 67 | duration_s: f32, | ^^^^^^^^^^ 68 | frequency: f32, | ^^^^^^^^^ 69 | amplitude: f32, | ^^^^^^^^^
fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read: alvr/client_core/src/c_api.rs#L59
warning: fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read --> alvr/client_core/src/c_api.rs:59:9 | 58 | StreamingStarted { | ---------------- fields in this variant 59 | view_width: u32, | ^^^^^^^^^^ 60 | view_height: u32, | ^^^^^^^^^^^ 61 | refresh_rate_hint: f32, | ^^^^^^^^^^^^^^^^^ 62 | enable_foveated_encoding: bool, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
function `build_windows_installer` is never used: alvr/xtask/src/packaging.rs#L13
warning: function `build_windows_installer` is never used --> alvr/xtask/src/packaging.rs:13:4 | 13 | fn build_windows_installer() { | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L36318
warning: unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:36318:9 | 36318 | pub use self::VkLoaderFeastureFlagBits as VkLoaderFlagBits; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L32593
warning: unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:32593:9 | 32593 | pub use self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L30396
warning: unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:30396:9 | 30396 | pub use self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L28983
warning: unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:28983:9 | 28983 | pub use self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L28509
warning: unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:28509:9 | 28509 | pub use self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27500
warning: unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27500:9 | 27500 | pub use self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27483
warning: unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27483:9 | 27483 | pub use self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27462
warning: unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27462:9 | 27462 | pub use self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27445
warning: unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27445:9 | 27445 | pub use self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27415
warning: unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27415:9 | 27415 | pub use self::VkGeometryTypeKHR as VkGeometryTypeNV; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27407
warning: unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27407:9 | 27407 | pub use self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L27066
warning: unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:27066:9 | 27066 | pub use self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L26044
warning: unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:26044:9 | 26044 | pub use self::VkSamplerReductionMode as VkSamplerReductionModeEXT; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L22789
warning: unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:22789:9 | 22789 | pub use self::VkSubmitFlagBits as VkSubmitFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21922
warning: unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21922:9 | 21922 | pub use self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21916
warning: unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21916:9 | 21916 | pub use self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21914
warning: unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21914:9 | 21914 | pub use self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkDriverId as VkDriverIdKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21911
warning: unused import: `self::VkDriverId as VkDriverIdKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21911:9 | 21911 | pub use self::VkDriverId as VkDriverIdKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21630
warning: unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21630:9 | 21630 | pub use self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21629
warning: unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21629:9 | 21629 | pub use self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkChromaLocation as VkChromaLocationKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21628
warning: unused import: `self::VkChromaLocation as VkChromaLocationKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21628:9 | 21628 | pub use self::VkChromaLocation as VkChromaLocationKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21246
warning: unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21246:9 | 21246 | pub use self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L21245
warning: unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:21245:9 | 21245 | pub use self::VkPointClippingBehavior as VkPointClippingBehaviorKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20771
warning: unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20771:9 | 20771 | pub use self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20753
warning: unused import: `self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20753:9 | 20753 | pub use self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20751
warning: unused import: `self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20751:9 | 20751 | pub use self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20597
warning: unused import: `self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20597:9 | 20597 | pub use self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20354
warning: unused import: `self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20354:9 | 20354 | pub use self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20336
warning: unused import: `self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20336:9 | 20336 | pub use self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20334
warning: unused import: `self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20334:9 | 20334 | pub use self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20190
warning: unused import: `self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20190:9 | 20190 | pub use self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20188
warning: unused import: `self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20188:9 | 20188 | pub use self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20103
warning: unused import: `self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20103:9 | 20103 | pub use self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L20101
warning: unused import: `self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:20101:9 | 20101 | pub use self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `self::VkRenderingFlagBits as VkRenderingFlagBitsKHR`: /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs#L19827
warning: unused import: `self::VkRenderingFlagBits as VkRenderingFlagBitsKHR` --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-e6592de092327963/out/layer_bindings.rs:19827:9 | 19827 | pub use self::VkRenderingFlagBits as VkRenderingFlagBitsKHR; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
fields `aim_action` and `aim_space` are never read: alvr/client_openxr/src/interaction.rs#L26
warning: fields `aim_action` and `aim_space` are never read --> alvr/client_openxr/src/interaction.rs:26:9 | 22 | pub struct HandInteraction { | --------------- fields in this struct ... 26 | pub aim_action: xr::Action<xr::Posef>, | ^^^^^^^^^^ 27 | pub aim_space: xr::Space, | ^^^^^^^^^
field `system` is never read: alvr/client_openxr/src/lib.rs#L98
warning: field `system` is never read --> alvr/client_openxr/src/lib.rs:98:5 | 96 | pub struct XrContext { | --------- field in this struct 97 | instance: xr::Instance, 98 | system: xr::SystemId, | ^^^^^^ | = note: `XrContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
variable does not need to be mutable: alvr/client_openxr/src/lib.rs#L201
warning: variable does not need to be mutable --> alvr/client_openxr/src/lib.rs:201:9 | 201 | let mut parsed_stream_config = None::<ParsedStreamConfig>; | ----^^^^^^^^^^^^^^^^^^^^ | | | help: remove this `mut`
variable does not need to be mutable: alvr/client_openxr/src/lib.rs#L200
warning: variable does not need to be mutable --> alvr/client_openxr/src/lib.rs:200:9 | 200 | let mut last_lobby_message = String::new(); | ----^^^^^^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
unused variable: `xr_frame_stream`: alvr/client_openxr/src/lib.rs#L213
warning: unused variable: `xr_frame_stream` --> alvr/client_openxr/src/lib.rs:213:51 | 213 | 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#L213
warning: unused variable: `xr_frame_waiter` --> alvr/client_openxr/src/lib.rs:213:30 | 213 | 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#L213
warning: unused variable: `xr_session` --> alvr/client_openxr/src/lib.rs:213:14 | 213 | 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: `parsed_stream_config`: alvr/client_openxr/src/lib.rs#L201
warning: unused variable: `parsed_stream_config` --> alvr/client_openxr/src/lib.rs:201:13 | 201 | let mut parsed_stream_config = None::<ParsedStreamConfig>; | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_stream_config`
unused variable: `last_lobby_message`: alvr/client_openxr/src/lib.rs#L200
warning: unused variable: `last_lobby_message` --> alvr/client_openxr/src/lib.rs:200:13 | 200 | 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#L219
warning: unreachable definition --> alvr/client_openxr/src/lib.rs:219:13 | 215 | .create_session(xr_system, &graphics::session_create_info(&graphics_context)) | ------------------------------------------------ any code following this expression is unreachable ... 219 | let xr_context = XrContext { | ^^^^^^^^^^ unreachable definition | note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited --> alvr/client_openxr/src/lib.rs:215:45 | 215 | .create_session(xr_system, &graphics::session_create_info(&graphics_context)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(unreachable_code)]` on by default
casting to the same type is unnecessary (`f32` -> `f32`): alvr/server_core/src/bitrate.rs#L133
warning: casting to the same type is unnecessary (`f32` -> `f32`) --> alvr/server_core/src/bitrate.rs:133:25 | 133 | self.packet_bytes_average.get_average() as f32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.packet_bytes_average.get_average()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
unused import: `alvr_audio::AudioDevice`: alvr/server_core/src/connection.rs#L12
warning: unused import: `alvr_audio::AudioDevice` --> alvr/server_core/src/connection.rs:12:5 | 12 | use alvr_audio::AudioDevice; | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
fields `codec`, `force_software_decoder`, `max_buffering_frames`, `buffering_history_weight`, `options`, and `config_buffer` are never read: alvr/client_core/src/decoder.rs#L7
warning: fields `codec`, `force_software_decoder`, `max_buffering_frames`, `buffering_history_weight`, `options`, and `config_buffer` are never read --> alvr/client_core/src/decoder.rs:7:9 | 6 | pub struct DecoderConfig { | ------------- fields in this struct 7 | pub codec: CodecType, | ^^^^^ 8 | pub force_software_decoder: bool, | ^^^^^^^^^^^^^^^^^^^^^^ 9 | pub max_buffering_frames: f32, | ^^^^^^^^^^^^^^^^^^^^ 10 | pub buffering_history_weight: f32, | ^^^^^^^^^^^^^^^^^^^^^^^^ 11 | pub options: Vec<(String, MediacodecDataType)>, | ^^^^^^^ 12 | pub config_buffer: Vec<u8>, | ^^^^^^^^^^^^^ | = note: `DecoderConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
field `codec` is never read: alvr/client_core/src/c_api.rs#L73
warning: field `codec` is never read --> alvr/client_core/src/c_api.rs:73:9 | 72 | DecoderConfig { | ------------- field in this variant 73 | codec: AlvrCodec, | ^^^^^
fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read: alvr/client_core/src/c_api.rs#L66
warning: fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read --> alvr/client_core/src/c_api.rs:66:9 | 65 | Haptics { | ------- fields in this variant 66 | device_id: u64, | ^^^^^^^^^ 67 | duration_s: f32, | ^^^^^^^^^^ 68 | frequency: f32, | ^^^^^^^^^ 69 | amplitude: f32, | ^^^^^^^^^
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 following actions use a deprecated Node.js version and will be forced to run on node20: 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/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read: alvr/client_core/src/c_api.rs#L59
warning: fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read --> alvr/client_core/src/c_api.rs:59:9 | 58 | StreamingStarted { | ---------------- fields in this variant 59 | view_width: u32, | ^^^^^^^^^^ 60 | view_height: u32, | ^^^^^^^^^^^ 61 | refresh_rate_hint: f32, | ^^^^^^^^^^^^^^^^^ 62 | enable_foveated_encoding: bool, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
this returns a `Result<_, ()>`: alvr/audio/src/linux.rs#L220
warning: this returns a `Result<_, ()>` --> alvr/audio/src/linux.rs:220:1 | 220 | / pub fn record_audio_blocking_pipewire( 221 | | is_running: Arc<dyn Fn() -> bool + Send + Sync>, 222 | | sender: StreamSender<()>, 223 | | channels_count: u16, 224 | | sample_rate: u32, 225 | | ) -> Result<(), ()> { | |___________________^ | = help: use a custom `Error` type instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err = note: `#[warn(clippy::result_unit_err)]` on by default
function `build_windows_installer` is never used: alvr/xtask/src/packaging.rs#L13
warning: function `build_windows_installer` is never used --> alvr/xtask/src/packaging.rs:13:4 | 13 | fn build_windows_installer() { | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
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 following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
check-msrv-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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-msrv-linux
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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/
function `notice` is never used: alvr\dashboard\src\dashboard\components\settings_controls\notice.rs#L8
warning: function `notice` is never used --> alvr\dashboard\src\dashboard\components\settings_controls\notice.rs:8:8 | 8 | pub fn notice(ui: &mut Ui, text: &str) { | ^^^^^^ | = note: `#[warn(dead_code)]` on by default
fields `aim_action` and `aim_space` are never read: alvr\client_openxr\src\interaction.rs#L26
warning: fields `aim_action` and `aim_space` are never read --> alvr\client_openxr\src\interaction.rs:26:9 | 22 | pub struct HandInteraction { | --------------- fields in this struct ... 26 | pub aim_action: xr::Action<xr::Posef>, | ^^^^^^^^^^ 27 | pub aim_space: xr::Space, | ^^^^^^^^^
field `system` is never read: alvr\client_openxr\src\lib.rs#L98
warning: field `system` is never read --> alvr\client_openxr\src\lib.rs:98:5 | 96 | pub struct XrContext { | --------- field in this struct 97 | instance: xr::Instance, 98 | system: xr::SystemId, | ^^^^^^ | = note: `XrContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
variable does not need to be mutable: alvr\client_openxr\src\lib.rs#L201
warning: variable does not need to be mutable --> alvr\client_openxr\src\lib.rs:201:9 | 201 | let mut parsed_stream_config = None::<ParsedStreamConfig>; | ----^^^^^^^^^^^^^^^^^^^^ | | | help: remove this `mut`
variable does not need to be mutable: alvr\client_openxr\src\lib.rs#L200
warning: variable does not need to be mutable --> alvr\client_openxr\src\lib.rs:200:9 | 200 | let mut last_lobby_message = String::new(); | ----^^^^^^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
unused variable: `xr_frame_stream`: alvr\client_openxr\src\lib.rs#L213
warning: unused variable: `xr_frame_stream` --> alvr\client_openxr\src\lib.rs:213:51 | 213 | 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#L213
warning: unused variable: `xr_frame_waiter` --> alvr\client_openxr\src\lib.rs:213:30 | 213 | 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#L213
warning: unused variable: `xr_session` --> alvr\client_openxr\src\lib.rs:213:14 | 213 | 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: `parsed_stream_config`: alvr\client_openxr\src\lib.rs#L201
warning: unused variable: `parsed_stream_config` --> alvr\client_openxr\src\lib.rs:201:13 | 201 | let mut parsed_stream_config = None::<ParsedStreamConfig>; | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_stream_config`
unused variable: `last_lobby_message`: alvr\client_openxr\src\lib.rs#L200
warning: unused variable: `last_lobby_message` --> alvr\client_openxr\src\lib.rs:200:13 | 200 | 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#L219
warning: unreachable definition --> alvr\client_openxr\src\lib.rs:219:13 | 215 | .create_session(xr_system, &graphics::session_create_info(&graphics_context)) | ------------------------------------------------ any code following this expression is unreachable ... 219 | let xr_context = XrContext { | ^^^^^^^^^^ unreachable definition | note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited --> alvr\client_openxr\src\lib.rs:215:45 | 215 | .create_session(xr_system, &graphics::session_create_info(&graphics_context)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(unreachable_code)]` on by default
casting to the same type is unnecessary (`f32` -> `f32`): alvr\server_core\src\bitrate.rs#L133
warning: casting to the same type is unnecessary (`f32` -> `f32`) --> alvr\server_core\src\bitrate.rs:133:25 | 133 | self.packet_bytes_average.get_average() as f32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.packet_bytes_average.get_average()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `#[warn(clippy::unnecessary_cast)]` on by default
fields `adapter` and `dummy_surface` are never read: alvr\client_core\src\graphics\mod.rs#L167
warning: fields `adapter` and `dummy_surface` are never read --> alvr\client_core\src\graphics\mod.rs:167:5 | 165 | pub struct GraphicsContext { | --------------- fields in this struct 166 | _instance: Instance, 167 | adapter: Adapter, | ^^^^^^^ ... 174 | dummy_surface: egl::Surface, | ^^^^^^^^^^^^^
fields `codec`, `force_software_decoder`, `max_buffering_frames`, `buffering_history_weight`, `options`, and `config_buffer` are never read: alvr\client_core\src\decoder.rs#L7
warning: fields `codec`, `force_software_decoder`, `max_buffering_frames`, `buffering_history_weight`, `options`, and `config_buffer` are never read --> alvr\client_core\src\decoder.rs:7:9 | 6 | pub struct DecoderConfig { | ------------- fields in this struct 7 | pub codec: CodecType, | ^^^^^ 8 | pub force_software_decoder: bool, | ^^^^^^^^^^^^^^^^^^^^^^ 9 | pub max_buffering_frames: f32, | ^^^^^^^^^^^^^^^^^^^^ 10 | pub buffering_history_weight: f32, | ^^^^^^^^^^^^^^^^^^^^^^^^ 11 | pub options: Vec<(String, MediacodecDataType)>, | ^^^^^^^ 12 | pub config_buffer: Vec<u8>, | ^^^^^^^^^^^^^ | = note: `DecoderConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
field `codec` is never read: alvr\client_core\src\c_api.rs#L73
warning: field `codec` is never read --> alvr\client_core\src\c_api.rs:73:9 | 72 | DecoderConfig { | ------------- field in this variant 73 | codec: AlvrCodec, | ^^^^^
fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read: alvr\client_core\src\c_api.rs#L66
warning: fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read --> alvr\client_core\src\c_api.rs:66:9 | 65 | Haptics { | ------- fields in this variant 66 | device_id: u64, | ^^^^^^^^^ 67 | duration_s: f32, | ^^^^^^^^^^ 68 | frequency: f32, | ^^^^^^^^^ 69 | amplitude: f32, | ^^^^^^^^^
fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read: alvr\client_core\src\c_api.rs#L59
warning: fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read --> alvr\client_core\src\c_api.rs:59:9 | 58 | StreamingStarted { | ---------------- fields in this variant 59 | view_width: u32, | ^^^^^^^^^^ 60 | view_height: u32, | ^^^^^^^^^^^ 61 | refresh_rate_hint: f32, | ^^^^^^^^^^^^^^^^^ 62 | enable_foveated_encoding: bool, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
unused imports: `InstanceDescriptor` and `InstanceFlags`: alvr\client_core\src\graphics\mod.rs#L15
warning: unused imports: `InstanceDescriptor` and `InstanceFlags` --> alvr\client_core\src\graphics\mod.rs:15:42 | 15 | Adapter, Device, Extent3d, Instance, InstanceDescriptor, InstanceFlags, Queue, Texture, | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
unused import: `mem`: alvr\client_core\src\graphics\mod.rs#L12
warning: unused import: `mem` --> alvr\client_core\src\graphics\mod.rs:12:24 | 12 | use std::{ffi::c_void, mem, num::NonZeroU32, ptr}; | ^^^ | = note: `#[warn(unused_imports)]` on by default
function `build_windows_installer` is never used: alvr\xtask\src\packaging.rs#L13
warning: function `build_windows_installer` is never used --> alvr\xtask\src\packaging.rs:13:4 | 13 | fn build_windows_installer() { | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
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 following actions use a deprecated Node.js version and will be forced to run on node20: 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/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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/
check-msrv-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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-msrv-windows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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-msrv-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/