refactor(client): ♻️ Move decoder out of ClientCoreContext; fi… #4325
rust.yml
on: push
check-windows
6m 46s
check-linux
4m 38s
check-macos
1m 28s
build-android
3m 44s
tests
4m 13s
check-format
12s
check-msrv-windows
5m 13s
check-msrv-linux
4m 37s
Annotations
214 warnings
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
|
use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead:
alvr/dashboard/src/dashboard/components/settings_controls/up_down.rs#L22
warning: use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead
--> alvr/dashboard/src/dashboard/components/settings_controls/up_down.rs:22:14
|
22 | .add_visible_ui(index < count - 1, |ui| ui.small_button("⬇"))
| ^^^^^^^^^^^^^^
|
use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead:
alvr/dashboard/src/dashboard/components/settings_controls/up_down.rs#L18
warning: use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead
--> alvr/dashboard/src/dashboard/components/settings_controls/up_down.rs:18:14
|
18 | .add_visible_ui(index > 0, |ui| ui.small_button("⬆"))
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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
|
this expression creates a reference which is immediately dereferenced by the compiler:
alvr/client_openxr/src/interaction.rs#L437
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> alvr/client_openxr/src/interaction.rs:437:13
|
437 | &reference_space,
| ^^^^^^^^^^^^^^^^ help: change this to: `reference_space`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
alvr/client_openxr/src/interaction.rs#L423
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> alvr/client_openxr/src/interaction.rs:423:17
|
423 | .relate(&reference_space, crate::to_xr_time(target_timestamp))
| ^^^^^^^^^^^^^^^^ help: change this to: `reference_space`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
fields `aim_action` and `aim_space` are never read:
alvr/client_openxr/src/interaction.rs#L28
warning: fields `aim_action` and `aim_space` are never read
--> alvr/client_openxr/src/interaction.rs:28:9
|
24 | pub struct HandInteraction {
| --------------- fields in this struct
...
28 | pub aim_action: xr::Action<xr::Posef>,
| ^^^^^^^^^^
29 | pub aim_space: xr::Space,
| ^^^^^^^^^
|
field `system` is never read:
alvr/client_openxr/src/lib.rs#L90
warning: field `system` is never read
--> alvr/client_openxr/src/lib.rs:90:5
|
88 | pub struct XrContext {
| --------- field in this struct
89 | instance: xr::Instance,
90 | 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#L193
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:193:9
|
193 | let mut parsed_stream_config = None::<ParsedStreamConfig>;
| ----^^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
alvr/client_openxr/src/lib.rs#L192
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:192:9
|
192 | 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#L205
warning: unused variable: `xr_frame_stream`
--> alvr/client_openxr/src/lib.rs:205:51
|
205 | 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#L205
warning: unused variable: `xr_frame_waiter`
--> alvr/client_openxr/src/lib.rs:205:30
|
205 | 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#L205
warning: unused variable: `xr_session`
--> alvr/client_openxr/src/lib.rs:205:14
|
205 | 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#L193
warning: unused variable: `parsed_stream_config`
--> alvr/client_openxr/src/lib.rs:193:13
|
193 | 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#L192
warning: unused variable: `last_lobby_message`
--> alvr/client_openxr/src/lib.rs:192:13
|
192 | 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#L211
warning: unreachable definition
--> alvr/client_openxr/src/lib.rs:211:13
|
207 | .create_session(xr_system, &graphics::session_create_info(&graphics_context))
| ------------------------------------------------ any code following this expression is unreachable
...
211 | let xr_context = XrContext {
| ^^^^^^^^^^ unreachable definition
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr/client_openxr/src/lib.rs:207:45
|
207 | .create_session(xr_system, &graphics::session_create_info(&graphics_context))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
using `clone` on type `ViewParams` which implements the `Copy` trait:
alvr/client_mock/src/main.rs#L158
warning: using `clone` on type `ViewParams` which implements the `Copy` trait
--> alvr/client_mock/src/main.rs:158:31
|
158 | context.send_view_params([views_params.clone(), views_params]);
| ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `views_params`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
returning the result of a `let` binding from a block:
alvr/client_core/src/lib.rs#L375
warning: returning the result of a `let` binding from a block
--> alvr/client_core/src/lib.rs:375:9
|
364 | / let view_params = [
365 | | ViewParams {
366 | | pose: head_pose * view_params[0].pose,
367 | | fov: view_params[0].fov,
... |
372 | | },
373 | | ];
| |__________- unnecessary `let` binding
374 |
375 | view_params
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
364 ~
365 |
366 ~ [
367 + ViewParams {
368 + pose: head_pose * view_params[0].pose,
369 + fov: view_params[0].fov,
370 + },
371 + ViewParams {
372 + pose: head_pose * view_params[1].pose,
373 + fov: view_params[1].fov,
374 + },
375 + ]
|
|
very complex type used. Consider factoring parts into `type` definitions:
alvr/client_core/src/lib.rs#L323
warning: very complex type used. Consider factoring parts into `type` definitions
--> alvr/client_core/src/lib.rs:323:19
|
323 | callback: Box<dyn FnMut(Duration, &[u8]) -> bool + Send>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
alvr/client_core/src/connection.rs#L66
warning: very complex type used. Consider factoring parts into `type` definitions
--> alvr/client_core/src/connection.rs:66:27
|
66 | pub decoder_callback: Mutex<Option<Box<dyn FnMut(Duration, &[u8]) -> bool + Send>>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
alvr/client_core/src/c_api.rs#L646
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> alvr/client_core/src/c_api.rs:646:66
|
646 | context.report_compositor_start(Duration::from_nanos(target_timestamp_ns as u64));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_timestamp_ns`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
alvr/client_core/src/c_api.rs#L626
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> alvr/client_core/src/c_api.rs:626:59
|
626 | context.report_frame_decoded(Duration::from_nanos(target_timestamp_ns as u64));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_timestamp_ns`
|
= 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
|
variants `Float`, `Int32`, `Int64`, and `String` are never constructed:
alvr/client_core/src/c_api.rs#L831
warning: variants `Float`, `Int32`, `Int64`, and `String` are never constructed
--> alvr/client_core/src/c_api.rs:831:5
|
830 | pub enum AlvrMediacodecPropType {
| ---------------------- variants in this enum
831 | Float,
| ^^^^^
832 | Int32,
| ^^^^^
833 | Int64,
| ^^^^^
834 | String,
| ^^^^^^
|
field `codec` is never read:
alvr/client_core/src/c_api.rs#L71
warning: field `codec` is never read
--> alvr/client_core/src/c_api.rs:71:9
|
70 | DecoderConfig {
| ------------- field in this variant
71 | codec: AlvrCodec,
| ^^^^^
|
fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read:
alvr/client_core/src/c_api.rs#L64
warning: fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read
--> alvr/client_core/src/c_api.rs:64:9
|
63 | Haptics {
| ------- fields in this variant
64 | device_id: u64,
| ^^^^^^^^^
65 | duration_s: f32,
| ^^^^^^^^^^
66 | frequency: f32,
| ^^^^^^^^^
67 | amplitude: f32,
| ^^^^^^^^^
|
fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read:
alvr/client_core/src/c_api.rs#L57
warning: fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read
--> alvr/client_core/src/c_api.rs:57:9
|
56 | StreamingStarted {
| ---------------- fields in this variant
57 | view_width: u32,
| ^^^^^^^^^^
58 | view_height: u32,
| ^^^^^^^^^^^
59 | refresh_rate_hint: f32,
| ^^^^^^^^^^^^^^^^^
60 | enable_foveated_encoding: bool,
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt:
alvr/launcher/src/ui.rs#L136
warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt
--> alvr/launcher/src/ui.rs:136:39
|
136 | ... ComboBox::from_id_source("version")
| ^^^^^^^^^^^^^^
|
use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt:
alvr/launcher/src/ui.rs#L109
warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt
--> alvr/launcher/src/ui.rs:109:39
|
109 | ... ComboBox::from_id_source("channel")
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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/
|
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/
|
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/
|
this function has too many arguments (10/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L27913
warning: this function has too many arguments (10/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:27913:5
|
27913 | / pub fn new_bitfield_1(
27914 | | is_reference: u32,
27915 | | IrapPicFlag: u32,
27916 | | used_for_long_term_reference: u32,
... |
27923 | | reserved: u32,
27924 | | ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (13/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L27516
warning: this function has too many arguments (13/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:27516:5
|
27516 | / pub fn new_bitfield_1(
27517 | | first_slice_segment_in_pic_flag: u32,
27518 | | dependent_slice_segment_flag: u32,
27519 | | slice_sao_luma_flag: u32,
... |
27529 | | reserved: u32,
27530 | | ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (31/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L26925
warning: this function has too many arguments (31/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:26925:5
|
26925 | / pub fn new_bitfield_1(
26926 | | dependent_slice_segments_enabled_flag: u32,
26927 | | output_flag_present_flag: u32,
26928 | | sign_data_hiding_enabled_flag: u32,
... |
26956 | | pps_range_extension_flag: u32,
26957 | | ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (30/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L26077
warning: this function has too many arguments (30/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:26077:5
|
26077 | / pub fn new_bitfield_1(
26078 | | sps_temporal_id_nesting_flag: u32,
26079 | | separate_colour_plane_flag: u32,
26080 | | conformance_window_flag: u32,
... |
26107 | | intra_boundary_filtering_disabled_flag: u32,
26108 | | ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (18/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L25460
warning: this function has too many arguments (18/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:25460:5
|
25460 | / pub fn new_bitfield_1(
25461 | | aspect_ratio_info_present_flag: u32,
25462 | | overscan_info_present_flag: u32,
25463 | | overscan_appropriate_flag: u32,
... |
25478 | | restricted_ref_pic_lists_flag: u32,
25479 | | ) -> __BindgenBitfieldUnit<[u8; 3usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (8/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L23060
warning: this function has too many arguments (8/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:23060:5
|
23060 | / pub fn new_bitfield_1(
23061 | | transform_8x8_mode_flag: u32,
23062 | | redundant_pic_cnt_present_flag: u32,
23063 | | constrained_intra_pred_flag: u32,
... |
23068 | | pic_scaling_matrix_present_flag: u32,
23069 | | ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (16/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L22706
warning: this function has too many arguments (16/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:22706:5
|
22706 | / pub fn new_bitfield_1(
22707 | | constraint_set0_flag: u32,
22708 | | constraint_set1_flag: u32,
22709 | | constraint_set2_flag: u32,
... |
22722 | | vui_parameters_present_flag: u32,
22723 | | ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (12/7):
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L22304
warning: this function has too many arguments (12/7)
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:22304:5
|
22304 | / pub fn new_bitfield_1(
22305 | | aspect_ratio_info_present_flag: u32,
22306 | | overscan_info_present_flag: u32,
22307 | | overscan_appropriate_flag: u32,
... |
22316 | | vcl_hrd_parameters_present_flag: u32,
22317 | | ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L57148
warning: unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:57148:9
|
57148 | pub use self::VkLoaderFeastureFlagBits as VkLoaderFlagBits;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L42559
warning: unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:42559:9
|
42559 | pub use self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L41160
warning: unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:41160:9
|
41160 | pub use self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkTimeDomainKHR as VkTimeDomainEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L40954
warning: unused import: `self::VkTimeDomainKHR as VkTimeDomainEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:40954:9
|
40954 | pub use self::VkTimeDomainKHR as VkTimeDomainEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L40795
warning: unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:40795:9
|
40795 | pub use self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39786
warning: unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39786:9
|
39786 | pub use self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39765
warning: unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39765:9
|
39765 | pub use self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39740
warning: unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39740:9
|
39740 | pub use self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39723
warning: unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39723:9
|
39723 | pub use self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39693
warning: unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39693:9
|
39693 | pub use self::VkGeometryTypeKHR as VkGeometryTypeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39685
warning: unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39685:9
|
39685 | pub use self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L39344
warning: unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:39344:9
|
39344 | pub use self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L38322
warning: unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:38322:9
|
38322 | pub use self::VkSamplerReductionMode as VkSamplerReductionModeEXT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L33447
warning: unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:33447:9
|
33447 | pub use self::VkSubmitFlagBits as VkSubmitFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31959
warning: unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31959:9
|
31959 | pub use self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31958
warning: unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31958:9
|
31958 | pub use self::VkSemaphoreType as VkSemaphoreTypeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31953
warning: unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31953:9
|
31953 | pub use self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31951
warning: unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31951:9
|
31951 | pub use self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkDriverId as VkDriverIdKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31948
warning: unused import: `self::VkDriverId as VkDriverIdKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31948:9
|
31948 | pub use self::VkDriverId as VkDriverIdKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31236
warning: unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31236:9
|
31236 | pub use self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31235
warning: unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31235:9
|
31235 | pub use self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkChromaLocation as VkChromaLocationKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L31234
warning: unused import: `self::VkChromaLocation as VkChromaLocationKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:31234:9
|
31234 | pub use self::VkChromaLocation as VkChromaLocationKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L30852
warning: unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:30852:9
|
30852 | pub use self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L30851
warning: unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:30851:9
|
30851 | pub use self::VkPointClippingBehavior as VkPointClippingBehaviorKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L30377
warning: unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:30377:9
|
30377 | pub use self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L30359
warning: unused import: `self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:30359:9
|
30359 | pub use self::VkExternalFenceFeatureFlagBits as VkExternalFenceFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L30357
warning: unused import: `self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:30357:9
|
30357 | pub use self::VkExternalFenceHandleTypeFlagBits as VkExternalFenceHandleTypeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L30203
warning: unused import: `self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:30203:9
|
30203 | pub use self::VkDescriptorUpdateTemplateType as VkDescriptorUpdateTemplateTypeKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29960
warning: unused import: `self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29960:9
|
29960 | pub use self::VkSemaphoreImportFlagBits as VkSemaphoreImportFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29942
warning: unused import: `self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29942:9
|
29942 | pub use self::VkExternalSemaphoreFeatureFlagBits as VkExternalSemaphoreFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29940
warning: unused import: `self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29940:9
|
29940 | pub use self::VkExternalSemaphoreHandleTypeFlagBits as VkExternalSemaphoreHandleTypeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29796
warning: unused import: `self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29796:9
|
29796 | pub use self::VkExternalMemoryFeatureFlagBits as VkExternalMemoryFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29794
warning: unused import: `self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29794:9
|
29794 | pub use self::VkExternalMemoryHandleTypeFlagBits as VkExternalMemoryHandleTypeFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29709
warning: unused import: `self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29709:9
|
29709 | pub use self::VkMemoryAllocateFlagBits as VkMemoryAllocateFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29707
warning: unused import: `self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29707:9
|
29707 | pub use self::VkPeerMemoryFeatureFlagBits as VkPeerMemoryFeatureFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `self::VkRenderingFlagBits as VkRenderingFlagBitsKHR`:
/home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs#L29433
warning: unused import: `self::VkRenderingFlagBits as VkRenderingFlagBitsKHR`
--> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs:29433:9
|
29433 | pub use self::VkRenderingFlagBits as VkRenderingFlagBitsKHR;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
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
|
use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead:
alvr/dashboard/src/dashboard/components/settings_controls/up_down.rs#L22
warning: use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead
--> alvr/dashboard/src/dashboard/components/settings_controls/up_down.rs:22:14
|
22 | .add_visible_ui(index < count - 1, |ui| ui.small_button("⬇"))
| ^^^^^^^^^^^^^^
|
this expression creates a reference which is immediately dereferenced by the compiler:
alvr/client_openxr/src/interaction.rs#L437
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> alvr/client_openxr/src/interaction.rs:437:13
|
437 | &reference_space,
| ^^^^^^^^^^^^^^^^ help: change this to: `reference_space`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
alvr/client_openxr/src/interaction.rs#L423
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> alvr/client_openxr/src/interaction.rs:423:17
|
423 | .relate(&reference_space, crate::to_xr_time(target_timestamp))
| ^^^^^^^^^^^^^^^^ help: change this to: `reference_space`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
fields `aim_action` and `aim_space` are never read:
alvr/client_openxr/src/interaction.rs#L28
warning: fields `aim_action` and `aim_space` are never read
--> alvr/client_openxr/src/interaction.rs:28:9
|
24 | pub struct HandInteraction {
| --------------- fields in this struct
...
28 | pub aim_action: xr::Action<xr::Posef>,
| ^^^^^^^^^^
29 | pub aim_space: xr::Space,
| ^^^^^^^^^
|
field `system` is never read:
alvr/client_openxr/src/lib.rs#L90
warning: field `system` is never read
--> alvr/client_openxr/src/lib.rs:90:5
|
88 | pub struct XrContext {
| --------- field in this struct
89 | instance: xr::Instance,
90 | 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#L193
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:193:9
|
193 | let mut parsed_stream_config = None::<ParsedStreamConfig>;
| ----^^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
alvr/client_openxr/src/lib.rs#L192
warning: variable does not need to be mutable
--> alvr/client_openxr/src/lib.rs:192:9
|
192 | 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#L205
warning: unused variable: `xr_frame_stream`
--> alvr/client_openxr/src/lib.rs:205:51
|
205 | 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#L205
warning: unused variable: `xr_frame_waiter`
--> alvr/client_openxr/src/lib.rs:205:30
|
205 | 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#L205
warning: unused variable: `xr_session`
--> alvr/client_openxr/src/lib.rs:205:14
|
205 | 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#L193
warning: unused variable: `parsed_stream_config`
--> alvr/client_openxr/src/lib.rs:193:13
|
193 | 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#L192
warning: unused variable: `last_lobby_message`
--> alvr/client_openxr/src/lib.rs:192:13
|
192 | 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#L211
warning: unreachable definition
--> alvr/client_openxr/src/lib.rs:211:13
|
207 | .create_session(xr_system, &graphics::session_create_info(&graphics_context))
| ------------------------------------------------ any code following this expression is unreachable
...
211 | let xr_context = XrContext {
| ^^^^^^^^^^ unreachable definition
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr/client_openxr/src/lib.rs:207:45
|
207 | .create_session(xr_system, &graphics::session_create_info(&graphics_context))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
using `clone` on type `ViewParams` which implements the `Copy` trait:
alvr/client_mock/src/main.rs#L158
warning: using `clone` on type `ViewParams` which implements the `Copy` trait
--> alvr/client_mock/src/main.rs:158:31
|
158 | context.send_view_params([views_params.clone(), views_params]);
| ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `views_params`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` 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
|
returning the result of a `let` binding from a block:
alvr/client_core/src/lib.rs#L375
warning: returning the result of a `let` binding from a block
--> alvr/client_core/src/lib.rs:375:9
|
364 | / let view_params = [
365 | | ViewParams {
366 | | pose: head_pose * view_params[0].pose,
367 | | fov: view_params[0].fov,
... |
372 | | },
373 | | ];
| |__________- unnecessary `let` binding
374 |
375 | view_params
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
364 ~
365 |
366 ~ [
367 + ViewParams {
368 + pose: head_pose * view_params[0].pose,
369 + fov: view_params[0].fov,
370 + },
371 + ViewParams {
372 + pose: head_pose * view_params[1].pose,
373 + fov: view_params[1].fov,
374 + },
375 + ]
|
|
very complex type used. Consider factoring parts into `type` definitions:
alvr/client_core/src/lib.rs#L323
warning: very complex type used. Consider factoring parts into `type` definitions
--> alvr/client_core/src/lib.rs:323:19
|
323 | callback: Box<dyn FnMut(Duration, &[u8]) -> bool + Send>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
alvr/client_core/src/connection.rs#L66
warning: very complex type used. Consider factoring parts into `type` definitions
--> alvr/client_core/src/connection.rs:66:27
|
66 | pub decoder_callback: Mutex<Option<Box<dyn FnMut(Duration, &[u8]) -> bool + Send>>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
alvr/client_core/src/c_api.rs#L646
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> alvr/client_core/src/c_api.rs:646:66
|
646 | context.report_compositor_start(Duration::from_nanos(target_timestamp_ns as u64));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_timestamp_ns`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
alvr/client_core/src/c_api.rs#L626
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> alvr/client_core/src/c_api.rs:626:59
|
626 | context.report_frame_decoded(Duration::from_nanos(target_timestamp_ns as u64));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_timestamp_ns`
|
= 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
|
variants `Float`, `Int32`, `Int64`, and `String` are never constructed:
alvr/client_core/src/c_api.rs#L831
warning: variants `Float`, `Int32`, `Int64`, and `String` are never constructed
--> alvr/client_core/src/c_api.rs:831:5
|
830 | pub enum AlvrMediacodecPropType {
| ---------------------- variants in this enum
831 | Float,
| ^^^^^
832 | Int32,
| ^^^^^
833 | Int64,
| ^^^^^
834 | String,
| ^^^^^^
|
field `codec` is never read:
alvr/client_core/src/c_api.rs#L71
warning: field `codec` is never read
--> alvr/client_core/src/c_api.rs:71:9
|
70 | DecoderConfig {
| ------------- field in this variant
71 | codec: AlvrCodec,
| ^^^^^
|
fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read:
alvr/client_core/src/c_api.rs#L64
warning: fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read
--> alvr/client_core/src/c_api.rs:64:9
|
63 | Haptics {
| ------- fields in this variant
64 | device_id: u64,
| ^^^^^^^^^
65 | duration_s: f32,
| ^^^^^^^^^^
66 | frequency: f32,
| ^^^^^^^^^
67 | amplitude: f32,
| ^^^^^^^^^
|
fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read:
alvr/client_core/src/c_api.rs#L57
warning: fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read
--> alvr/client_core/src/c_api.rs:57:9
|
56 | StreamingStarted {
| ---------------- fields in this variant
57 | view_width: u32,
| ^^^^^^^^^^
58 | view_height: u32,
| ^^^^^^^^^^^
59 | refresh_rate_hint: f32,
| ^^^^^^^^^^^^^^^^^
60 | 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
|
use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt:
alvr/launcher/src/ui.rs#L136
warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt
--> alvr/launcher/src/ui.rs:136:39
|
136 | ... ComboBox::from_id_source("version")
| ^^^^^^^^^^^^^^
|
use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt:
alvr/launcher/src/ui.rs#L109
warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt
--> alvr/launcher/src/ui.rs:109:39
|
109 | ... ComboBox::from_id_source("channel")
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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/
|
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/
|
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
|
use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead:
alvr\dashboard\src\dashboard\components\settings_controls\up_down.rs#L22
warning: use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead
--> alvr\dashboard\src\dashboard\components\settings_controls\up_down.rs:22:14
|
22 | .add_visible_ui(index < count - 1, |ui| ui.small_button("⬇"))
| ^^^^^^^^^^^^^^
|
use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead:
alvr\dashboard\src\dashboard\components\settings_controls\up_down.rs#L18
warning: use of deprecated method `eframe::egui::Ui::add_visible_ui`: Use 'ui.scope_builder' instead
--> alvr\dashboard\src\dashboard\components\settings_controls\up_down.rs:18:14
|
18 | .add_visible_ui(index > 0, |ui| ui.small_button("⬆"))
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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
|
this expression creates a reference which is immediately dereferenced by the compiler:
alvr\client_openxr\src\interaction.rs#L437
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> alvr\client_openxr\src\interaction.rs:437:13
|
437 | &reference_space,
| ^^^^^^^^^^^^^^^^ help: change this to: `reference_space`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
alvr\client_openxr\src\interaction.rs#L423
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> alvr\client_openxr\src\interaction.rs:423:17
|
423 | .relate(&reference_space, crate::to_xr_time(target_timestamp))
| ^^^^^^^^^^^^^^^^ help: change this to: `reference_space`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
fields `aim_action` and `aim_space` are never read:
alvr\client_openxr\src\interaction.rs#L28
warning: fields `aim_action` and `aim_space` are never read
--> alvr\client_openxr\src\interaction.rs:28:9
|
24 | pub struct HandInteraction {
| --------------- fields in this struct
...
28 | pub aim_action: xr::Action<xr::Posef>,
| ^^^^^^^^^^
29 | pub aim_space: xr::Space,
| ^^^^^^^^^
|
field `system` is never read:
alvr\client_openxr\src\lib.rs#L90
warning: field `system` is never read
--> alvr\client_openxr\src\lib.rs:90:5
|
88 | pub struct XrContext {
| --------- field in this struct
89 | instance: xr::Instance,
90 | 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#L193
warning: variable does not need to be mutable
--> alvr\client_openxr\src\lib.rs:193:9
|
193 | let mut parsed_stream_config = None::<ParsedStreamConfig>;
| ----^^^^^^^^^^^^^^^^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
alvr\client_openxr\src\lib.rs#L192
warning: variable does not need to be mutable
--> alvr\client_openxr\src\lib.rs:192:9
|
192 | 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#L205
warning: unused variable: `xr_frame_stream`
--> alvr\client_openxr\src\lib.rs:205:51
|
205 | 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#L205
warning: unused variable: `xr_frame_waiter`
--> alvr\client_openxr\src\lib.rs:205:30
|
205 | 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#L205
warning: unused variable: `xr_session`
--> alvr\client_openxr\src\lib.rs:205:14
|
205 | 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#L193
warning: unused variable: `parsed_stream_config`
--> alvr\client_openxr\src\lib.rs:193:13
|
193 | 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#L192
warning: unused variable: `last_lobby_message`
--> alvr\client_openxr\src\lib.rs:192:13
|
192 | 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#L211
warning: unreachable definition
--> alvr\client_openxr\src\lib.rs:211:13
|
207 | .create_session(xr_system, &graphics::session_create_info(&graphics_context))
| ------------------------------------------------ any code following this expression is unreachable
...
211 | let xr_context = XrContext {
| ^^^^^^^^^^ unreachable definition
|
note: this expression has type `openxr::opengles::SessionCreateInfo`, which is uninhabited
--> alvr\client_openxr\src\lib.rs:207:45
|
207 | .create_session(xr_system, &graphics::session_create_info(&graphics_context))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(unreachable_code)]` on by default
|
using `clone` on type `ViewParams` which implements the `Copy` trait:
alvr\client_mock\src/main.rs#L158
warning: using `clone` on type `ViewParams` which implements the `Copy` trait
--> alvr\client_mock\src/main.rs:158:31
|
158 | context.send_view_params([views_params.clone(), views_params]);
| ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `views_params`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
returning the result of a `let` binding from a block:
alvr\client_core\src\lib.rs#L375
warning: returning the result of a `let` binding from a block
--> alvr\client_core\src\lib.rs:375:9
|
364 | / let view_params = [
365 | | ViewParams {
366 | | pose: head_pose * view_params[0].pose,
367 | | fov: view_params[0].fov,
... |
372 | | },
373 | | ];
| |__________- unnecessary `let` binding
374 |
375 | view_params
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
|
364 ~
365 |
366 ~ [
367 + ViewParams {
368 + pose: head_pose * view_params[0].pose,
369 + fov: view_params[0].fov,
370 + },
371 + ViewParams {
372 + pose: head_pose * view_params[1].pose,
373 + fov: view_params[1].fov,
374 + },
375 + ]
|
|
very complex type used. Consider factoring parts into `type` definitions:
alvr\client_core\src\lib.rs#L323
warning: very complex type used. Consider factoring parts into `type` definitions
--> alvr\client_core\src\lib.rs:323:19
|
323 | callback: Box<dyn FnMut(Duration, &[u8]) -> bool + Send>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
very complex type used. Consider factoring parts into `type` definitions:
alvr\client_core\src\connection.rs#L66
warning: very complex type used. Consider factoring parts into `type` definitions
--> alvr\client_core\src\connection.rs:66:27
|
66 | pub decoder_callback: Mutex<Option<Box<dyn FnMut(Duration, &[u8]) -> bool + Send>>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
casting to the same type is unnecessary (`u64` -> `u64`):
alvr\client_core\src\c_api.rs#L646
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> alvr\client_core\src\c_api.rs:646:66
|
646 | context.report_compositor_start(Duration::from_nanos(target_timestamp_ns as u64));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_timestamp_ns`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
casting to the same type is unnecessary (`u64` -> `u64`):
alvr\client_core\src\c_api.rs#L626
warning: casting to the same type is unnecessary (`u64` -> `u64`)
--> alvr\client_core\src\c_api.rs:626:59
|
626 | context.report_frame_decoded(Duration::from_nanos(target_timestamp_ns as u64));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `target_timestamp_ns`
|
= 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,
| ^^^^^^^^^^^^^
|
variants `Float`, `Int32`, `Int64`, and `String` are never constructed:
alvr\client_core\src\c_api.rs#L831
warning: variants `Float`, `Int32`, `Int64`, and `String` are never constructed
--> alvr\client_core\src\c_api.rs:831:5
|
830 | pub enum AlvrMediacodecPropType {
| ---------------------- variants in this enum
831 | Float,
| ^^^^^
832 | Int32,
| ^^^^^
833 | Int64,
| ^^^^^
834 | String,
| ^^^^^^
|
field `codec` is never read:
alvr\client_core\src\c_api.rs#L71
warning: field `codec` is never read
--> alvr\client_core\src\c_api.rs:71:9
|
70 | DecoderConfig {
| ------------- field in this variant
71 | codec: AlvrCodec,
| ^^^^^
|
fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read:
alvr\client_core\src\c_api.rs#L64
warning: fields `device_id`, `duration_s`, `frequency`, and `amplitude` are never read
--> alvr\client_core\src\c_api.rs:64:9
|
63 | Haptics {
| ------- fields in this variant
64 | device_id: u64,
| ^^^^^^^^^
65 | duration_s: f32,
| ^^^^^^^^^^
66 | frequency: f32,
| ^^^^^^^^^
67 | amplitude: f32,
| ^^^^^^^^^
|
fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read:
alvr\client_core\src\c_api.rs#L57
warning: fields `view_width`, `view_height`, `refresh_rate_hint`, and `enable_foveated_encoding` are never read
--> alvr\client_core\src\c_api.rs:57:9
|
56 | StreamingStarted {
| ---------------- fields in this variant
57 | view_width: u32,
| ^^^^^^^^^^
58 | view_height: u32,
| ^^^^^^^^^^^
59 | refresh_rate_hint: f32,
| ^^^^^^^^^^^^^^^^^
60 | 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
|
use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt:
alvr\launcher\src\ui.rs#L136
warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt
--> alvr\launcher\src\ui.rs:136:39
|
136 | ... ComboBox::from_id_source("version")
| ^^^^^^^^^^^^^^
|
use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt:
alvr\launcher\src\ui.rs#L109
warning: use of deprecated associated function `eframe::egui::ComboBox::from_id_source`: Renamed id_salt
--> alvr\launcher\src\ui.rs:109:39
|
109 | ... ComboBox::from_id_source("channel")
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` 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/
|