Skip to content

refactor(client_openxr): ♻️ Do not recreate OpenXR session #4488

refactor(client_openxr): ♻️ Do not recreate OpenXR session

refactor(client_openxr): ♻️ Do not recreate OpenXR session #4488

GitHub Actions / clippy succeeded Nov 23, 2024 in 1s

clippy

68 warnings

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 36318 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:36318:9
      |
36318 | pub use self::VkLoaderFeastureFlagBits as VkLoaderFlagBits;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 32593 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`

warning: unused import: `self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:32593:9
      |
32593 | pub use self::VkPrivateDataSlotCreateFlagBits as VkPrivateDataSlotCreateFlagBitsEXT;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 30396 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:30396:9
      |
30396 | pub use self::VkToolPurposeFlagBits as VkToolPurposeFlagBitsEXT;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 28983 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:28983:9
      |
28983 | pub use self::VkPipelineCreationFeedbackFlagBits as VkPipelineCreationFeedbackFlagBitsEXT;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 28509 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:28509:9
      |
28509 | pub use self::VkQueueGlobalPriorityKHR as VkQueueGlobalPriorityEXT;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27500 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27500:9
      |
27500 | pub use self::VkBuildAccelerationStructureFlagBitsKHR as VkBuildAccelerationStructureFlagBitsNV;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27483 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27483:9
      |
27483 | pub use self::VkGeometryInstanceFlagBitsKHR as VkGeometryInstanceFlagBitsNV;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27462 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27462:9
      |
27462 | pub use self::VkGeometryFlagBitsKHR as VkGeometryFlagBitsNV;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27445 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27445:9
      |
27445 | pub use self::VkCopyAccelerationStructureModeKHR as VkCopyAccelerationStructureModeNV;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27415 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27415:9
      |
27415 | pub use self::VkGeometryTypeKHR as VkGeometryTypeNV;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27407 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27407:9
      |
27407 | pub use self::VkRayTracingShaderGroupTypeKHR as VkRayTracingShaderGroupTypeNV;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 27066 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:27066:9
      |
27066 | pub use self::VkDescriptorBindingFlagBits as VkDescriptorBindingFlagBitsEXT;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 26044 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:26044:9
      |
26044 | pub use self::VkSamplerReductionMode as VkSamplerReductionModeEXT;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 22789 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:22789:9
      |
22789 | pub use self::VkSubmitFlagBits as VkSubmitFlagBitsKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21922 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:21922:9
      |
21922 | pub use self::VkSemaphoreWaitFlagBits as VkSemaphoreWaitFlagBitsKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21921 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:21921:9
      |
21921 | pub use self::VkSemaphoreType as VkSemaphoreTypeKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21916 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/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-d744ae80ee4566da/out/layer_bindings.rs:21916:9
      |
21916 | pub use self::VkResolveModeFlagBits as VkResolveModeFlagBitsKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21914 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`

warning: unused import: `self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21914:9
      |
21914 | pub use self::VkShaderFloatControlsIndependence as VkShaderFloatControlsIndependenceKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21911 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkDriverId as VkDriverIdKHR`

warning: unused import: `self::VkDriverId as VkDriverIdKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21911:9
      |
21911 | pub use self::VkDriverId as VkDriverIdKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21630 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`

warning: unused import: `self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21630:9
      |
21630 | pub use self::VkSamplerYcbcrRange as VkSamplerYcbcrRangeKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21629 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`

warning: unused import: `self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21629:9
      |
21629 | pub use self::VkSamplerYcbcrModelConversion as VkSamplerYcbcrModelConversionKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21628 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkChromaLocation as VkChromaLocationKHR`

warning: unused import: `self::VkChromaLocation as VkChromaLocationKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21628:9
      |
21628 | pub use self::VkChromaLocation as VkChromaLocationKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21246 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`

warning: unused import: `self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21246:9
      |
21246 | pub use self::VkTessellationDomainOrigin as VkTessellationDomainOriginKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21245 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`

warning: unused import: `self::VkPointClippingBehavior as VkPointClippingBehaviorKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:21245:9
      |
21245 | pub use self::VkPointClippingBehavior as VkPointClippingBehaviorKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 20771 in /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`

warning: unused import: `self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR`
     --> /home/runner/work/ALVR/ALVR/target/debug/build/alvr_vulkan_layer-d744ae80ee4566da/out/layer_bindings.rs:20771:9
      |
20771 | pub use self::VkFenceImportFlagBits as VkFenceImportFlagBitsKHR;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^