Skip to content

chore: SPM unit tests #2172

chore: SPM unit tests

chore: SPM unit tests #2172

Triggered via pull request April 19, 2024 21:40
Status Failure
Total duration 10m 10s
Billable time 18m
Artifacts

build_test_upload.yml

on: pull_request
Build and upload app to Appetize
0s
Build and upload app to Appetize
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 20 warnings
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_auto_payment_handling_and_no_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_auto_payment_handling_and_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_manual_payment_handling_and_no_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_manual_payment_handling_and_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Run unit tests (SPM)
Tests Failed: 4 failed, 0 skipped, 257 total (158.315 seconds)
Run unit tests (SPM)
Process completed with exit code 1.
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_auto_payment_handling_and_no_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_auto_payment_handling_and_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_manual_payment_handling_and_no_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L469
test_native_ui_manager_with_manual_payment_handling_and_surcharge, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "Successful HUC initialization".
Unit Tests
Process completed with exit code 1.
Run unit tests (SPM): Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L64
generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
Run unit tests (SPM): Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L13
cast from 'SealedBox<T>' to unrelated type 'Guarantee<T>.Box<T>' always fails
Run unit tests (SPM): Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L90
conditional cast from 'Guarantee<T>.Box<T>' to 'Guarantee<T>.Box<T>' always succeeds
Run unit tests (SPM): Sources/PrimerSDK/Classes/Data Models/ApplePay.swift#L12
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/Data Models/ClientSession.swift#L249
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/Error Handler/ErrorHandler.swift#L19
@discardableResult declared on a function returning Void is unnecessary
Run unit tests (SPM): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Run unit tests (SPM): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataTokenizationBuilder.swift#L60
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Run unit tests (SPM): Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L64
generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L404
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L5
public class 'Primer3DS.Primer3DS' shadows module 'Primer3DS', which may cause failures when importing 'Primer3DS' or its clients in some configurations; please rename either the class 'Primer3DS.Primer3DS' or the module 'Primer3DS', or see https://github.com/apple/swift/issues/56573 for workarounds
Unit Tests: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L5
public class 'Primer3DS.Primer3DS' shadows module 'Primer3DS', which may cause failures when importing 'Primer3DS' or its clients in some configurations; please rename either the class 'Primer3DS.Primer3DS' or the module 'Primer3DS', or see https://github.com/apple/swift/issues/56573 for workarounds
Unit Tests: Debug App/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/UIKitExtensions/IQUIScrollView+Additions.swift#L37
conformance of 'UIScrollView' to protocol 'IQKeyboardManagerCompatible' was already stated in the type's module 'UIKit'
Unit Tests: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L135
conditional cast from 'any Error' to 'NSError' always succeeds
Unit Tests: Debug App/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/UIKitExtensions/IQUIScrollView+Additions.swift#L37
conformance of 'UIScrollView' to protocol 'IQKeyboardManagerCompatible' was already stated in the type's module 'UIKit'
Unit Tests: Sources/PrimerSDK/Classes/Data Models/ApplePay.swift#L12
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L404
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Sources/PrimerSDK/Classes/Data Models/ClientSession.swift#L249
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Sources/PrimerSDK/Classes/Error Handler/ErrorHandler.swift#L19
@discardableResult declared on a function returning Void is unnecessary
Unit Tests: Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L64
generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6