Skip to content

fix(server): 🐛 Fix IDR resend logic (#2403) #4345

fix(server): 🐛 Fix IDR resend logic (#2403)

fix(server): 🐛 Fix IDR resend logic (#2403) #4345

GitHub Actions / clippy succeeded Oct 5, 2024 in 1s

clippy

74 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 74
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 27924 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (10/7)

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

Check warning on line 27530 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (13/7)

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

Check warning on line 26957 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (31/7)

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

Check warning on line 26108 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (30/7)

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

Check warning on line 25479 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (18/7)

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

Check warning on line 23069 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

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

Check warning on line 22723 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (16/7)

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

Check warning on line 22317 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (12/7)

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

Check warning on line 57148 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkLoaderFeastureFlagBits as VkLoaderFlagBits`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 42559 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 41160 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 40954 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkTimeDomainKHR as VkTimeDomainEXT`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 40795 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39786 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39765 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39740 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39723 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39693 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkGeometryTypeKHR as VkGeometryTypeNV`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39685 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 39344 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 38322 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkSamplerReductionMode as VkSamplerReductionModeEXT`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 33447 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkSubmitFlagBits as VkSubmitFlagBitsKHR`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 31959 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 31958 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkSemaphoreType as VkSemaphoreTypeKHR`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 31953 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-32e0cc6b40aa54e5/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR`

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;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^