Skip to content

fix: Range or index out of bounds crash #734

fix: Range or index out of bounds crash

fix: Range or index out of bounds crash #734

Triggered via pull request November 12, 2024 10:17
Status Failure
Total duration 8m 31s
Billable time 26m
Artifacts 2

build-test-upload.yml

on: pull_request
Unit Tests - SDK
4m 12s
Unit Tests - SDK
Unit Tests - Debug App
5m 48s
Unit Tests - Debug App
Matrix: Optional SDK Tests
Build app with SPM Integration
0s
Build app with SPM Integration
Run Critical Path UI Tests
0s
Run Critical Path UI Tests
Build and upload app to Appetize
0s
Build and upload app to Appetize
SonarCloud
0s
SonarCloud
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 30 warnings
Optional SDK Tests (nol-pay, Package.NolPay.swift)
Process completed with exit code 1.
Optional SDK Tests (stripe, Package.Stripe.swift)
The job was canceled because "nol-pay_Package_NolPay_sw" failed.
Unit Tests - Debug App
Process completed with exit code 1.
Unit Tests - SDK
Process completed with exit code 1.
Optional SDK Tests (nol-pay, Package.NolPay.swift): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Optional SDK Tests (nol-pay, Package.NolPay.swift): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataTokenizationBuilder.swift#L60
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Optional SDK Tests (nol-pay, Package.NolPay.swift): 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
Optional SDK Tests (nol-pay, Package.NolPay.swift): Sources/PrimerSDK/Classes/Data Models/PrimerSettings.swift#L161
'merchantName' is deprecated: Use Client Session API to provide merchant name value: https://primer.io/docs/payment-methods/apple-pay/direct-integration#prepare-the-client-session
Optional SDK Tests (nol-pay, Package.NolPay.swift): Sources/PrimerSDK/Classes/Data Models/PrimerSettings.swift#L175
'merchantName' is deprecated: Use Client Session API to provide merchant name value: https://primer.io/docs/payment-methods/apple-pay/direct-integration#prepare-the-client-session
Optional SDK Tests (nol-pay, Package.NolPay.swift): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Optional SDK Tests (nol-pay, Package.NolPay.swift): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataTokenizationBuilder.swift#L60
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Optional SDK Tests (nol-pay, Package.NolPay.swift): 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
Unit Tests - Debug App: 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: 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: 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: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L135
conditional cast from 'any Error' to 'NSError' always succeeds
Unit Tests - Debug App: 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: Sources/PrimerSDK/Classes/Error Handler/ErrorHandler.swift#L19
@discardableResult declared on a function returning Void is unnecessary
Unit Tests - Debug App: 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
Unit Tests - Debug App: Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Unit Tests - Debug App: Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataTokenizationBuilder.swift#L60
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Unit Tests - Debug App: Sources/PrimerSDK/Classes/Core/PrimerHeadlessUniversalCheckout/Managers/VaultManager.swift#L720
value 'resumeDecisionType' was defined but never used; consider replacing with boolean test
Unit Tests - SDK: Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Unit Tests - SDK: Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataTokenizationBuilder.swift#L60
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Unit Tests - SDK: Sources/PrimerSDK/Classes/User Interface/Components/PrimerNibView.swift#L36
coercion of implicitly unwrappable value of type 'UIView?' to 'Any' does not unwrap optional
Unit Tests - SDK: Sources/PrimerSDK/Classes/User Interface/Components/PrimerNibView.swift#L40
coercion of implicitly unwrappable value of type 'UIView?' to 'Any' does not unwrap optional
Unit Tests - SDK: 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
Unit Tests - SDK: Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L13
cast from 'SealedBox<T>' to unrelated type 'Guarantee<T>.Box<T>' always fails
Unit Tests - SDK: Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L90
conditional cast from 'Guarantee<T>.Box<T>' to 'Guarantee<T>.Box<T>' always succeeds
Unit Tests - SDK: Sources/PrimerSDK/Classes/Error Handler/ErrorHandler.swift#L19
@discardableResult declared on a function returning Void is unnecessary
Unit Tests - SDK: Sources/PrimerSDK/Classes/Error Handler/ErrorHandler.swift#L19
@discardableResult declared on a function returning Void is unnecessary
Unit Tests - SDK: Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead

Artifacts

Produced during runtime
Name Size
coverage-file-3DS
59.6 KB
coverage-file-klarna
67.5 KB