Skip to content

fix: avoid invoking onCompletion handler twice for non-service errors #230

fix: avoid invoking onCompletion handler twice for non-service errors

fix: avoid invoking onCompletion handler twice for non-service errors #230

Triggered via pull request October 3, 2025 23:03
Status Success
Total duration 9m 49s
Artifacts

liveness_unit_tests.yml

on: pull_request
Liveness iOS Unit Tests
9m 44s
Liveness iOS Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel.swift#L37
main actor-isolated property 'sessionConfiguration' cannot be used to satisfy nonisolated requirement from protocol 'FaceDetectionSessionConfigurationWrapper'; this is an error in the Swift 6 language mode
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift#L17
call to main actor-isolated instance method 'sendFinalVideoEvent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift#L11
main actor-isolated instance method 'process(initalSegment:currentSeparableSegment:)' cannot be used to satisfy nonisolated requirement from protocol 'VideoSegmentProcessor'; this is an error in the Swift 6 language mode
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+FaceDetectionResultHandler.swift#L15
main actor-isolated instance method 'process(newResult:)' cannot be used to satisfy nonisolated requirement from protocol 'FaceDetectionResultHandler'; this is an error in the Swift 6 language mode
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel.swift#L37
main actor-isolated property 'sessionConfiguration' cannot be used to satisfy nonisolated requirement from protocol 'FaceDetectionSessionConfigurationWrapper'; this is an error in the Swift 6 language mode
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+VideoSegmentProcessor.swift#L11
main actor-isolated instance method 'process(initalSegment:currentSeparableSegment:)' cannot be used to satisfy nonisolated requirement from protocol 'VideoSegmentProcessor'; this is an error in the Swift 6 language mode
Liveness iOS Unit Tests: Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionViewModel+FaceDetectionResultHandler.swift#L15
main actor-isolated instance method 'process(newResult:)' cannot be used to satisfy nonisolated requirement from protocol 'FaceDetectionResultHandler'; this is an error in the Swift 6 language mode