Skip to content

fix: Align accountNumberLast4Digits with Android #821

fix: Align accountNumberLast4Digits with Android

fix: Align accountNumberLast4Digits with Android #821

Triggered via pull request December 20, 2024 15:40
Status Failure
Total duration 14m 56s
Billable time 25m
Artifacts

build-test-upload.yml

on: pull_request
Unit Tests - SDK
2m 11s
Unit Tests - SDK
Unit Tests - Debug App
7m 20s
Unit Tests - Debug App
Matrix: Optional SDK Tests
Build app with SPM Integration
6m 56s
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

12 errors and 21 warnings
Unit Tests - SDK: Tests/Utilities/Mocks.swift#L55
incorrect argument label in call (have 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLastFourDigits:', expected 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLast4Digits:')
Unit Tests - SDK
error: /Users/runner/Library/Developer/Xcode/DerivedData/primer-sdk-ios-cbnulvnivdenntgrhppohpnlztiz/Build/Intermediates.noindex/PrimerSDK.build/Debug-iphonesimulator/Tests.build/Objects-normal/x86_64/Tests.swiftmodule: No such file or directory (in target 'Tests' from project 'PrimerSDK')
Unit Tests - SDK: Tests/Utilities/Mocks.swift#L55
incorrect argument label in call (have 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLastFourDigits:', expected 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLast4Digits:')
Unit Tests - SDK
Process completed with exit code 1.
Optional SDK Tests (3DS, Package.3DS.swift): Tests/Utilities/Mocks.swift#L55
incorrect argument label in call (have 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLastFourDigits:', expected 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLast4Digits:')
Optional SDK Tests (3DS, Package.3DS.swift): Tests/Utilities/Mocks.swift#L55
incorrect argument label in call (have 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLastFourDigits:', expected 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLast4Digits:')
Optional SDK Tests (3DS, Package.3DS.swift): Tests/Utilities/Mocks.swift#L55
incorrect argument label in call (have 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLastFourDigits:', expected 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLast4Digits:')
Optional SDK Tests (3DS, Package.3DS.swift): Tests/Utilities/Mocks.swift#L55
incorrect argument label in call (have 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLastFourDigits:', expected 'paypalBillingAgreementId:first6Digits:last4Digits:expirationMonth:expirationYear:cardholderName:network:isNetworkTokenized:klarnaCustomerToken:sessionData:externalPayerInfo:shippingAddress:binData:threeDSecureAuthentication:gocardlessMandateId:authorizationToken:mx:currencyCode:productId:paymentMethodConfigId:paymentMethodType:sessionInfo:bankName:accountNumberLast4Digits:')
Optional SDK Tests (3DS, Package.3DS.swift)
Process completed with exit code 1.
Optional SDK Tests (nol-pay, Package.NolPay.swift)
The job was canceled because "_3DS_Package_3DS_swift" failed.
Optional SDK Tests (nol-pay, Package.NolPay.swift)
The operation was canceled.
Optional SDK Tests (klarna, Package.Klarna.swift)
The job was canceled because "_3DS_Package_3DS_swift" failed.
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
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/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/Core/PrimerHeadlessUniversalCheckout/Managers/VaultManager.swift#L715
value 'resumeDecisionType' was defined but never used; consider replacing with boolean test
Unit Tests - SDK: Sources/PrimerSDK/Classes/Data Models/ClientSession.swift#L289
'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
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/ApplePayPresentationManager.swift#L102
'isCaptureBillingAddressEnabled' is deprecated: Use BillingOptions to configure required billing fields.
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
Optional SDK Tests (3DS, Package.3DS.swift): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataRedirectTokenizationBuilder.swift#L85
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Optional SDK Tests (3DS, Package.3DS.swift): Sources/PrimerSDK/Classes/PCI/Checkout Components/PrimerRawCardDataTokenizationBuilder.swift#L60
'primerRawDataManager(_:metadataDidChange:)' is deprecated: Use _:didReceiveCardMetadata:forState: instead
Optional SDK Tests (3DS, Package.3DS.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 (3DS, Package.3DS.swift): Sources/PrimerSDK/Classes/Core/Primer/PrimerDelegate.swift#L98
'primerHeadlessUniveraslCheckoutUIDidDismissPaymentMethod()' is deprecated: use `primerHeadlessUniversalCheckoutUIDidDismissPaymentMethod` instead
Optional SDK Tests (3DS, Package.3DS.swift): Sources/PrimerSDK/Classes/Core/PrimerHeadlessUniversalCheckout/Managers/VaultManager.swift#L715
value 'resumeDecisionType' was defined but never used; consider replacing with boolean test
Optional SDK Tests (3DS, Package.3DS.swift): Sources/PrimerSDK/Classes/Data Models/ClientSession.swift#L289
'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 (3DS, Package.3DS.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 (3DS, Package.3DS.swift): Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L13
cast from 'SealedBox<T>' to unrelated type 'Guarantee<T>.Box<T>' always fails
Unit Tests - Debug App
No files were found with the provided path: sonar-coverage-.xml. No artifacts will be uploaded.