Build Information
Failed to build Braintree, reference main (f5a4c8
), with Swift 5.9 for Linux on 29 Apr 2025 21:36:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/braintree_ios.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/braintree/braintree_ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f5a4c81 Revert "Remove SPMTest app to avoid Carthage timeout"
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
f5a4c8155425f8626075539b5d759e143ff3b43f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/braintree/braintree_ios.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/braintree/braintree_ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Downloading binary artifact https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[919/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[28325136/30033445] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip, https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip
Downloaded https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip (1.49s)
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip (4.05s)
Building for debugging...
[0/13] Copying PrivacyInfo.xcprivacy
[14/62] Compiling BraintreeCore BTAPIClientError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[15/62] Compiling BraintreeCore BTAPIClientHTTPType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[16/62] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[17/62] Compiling BraintreeCore BTAPIRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[18/62] Compiling BraintreeCore BTAPITimingDelegate.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[19/62] Compiling BraintreeCore BTAppContextSwitchClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[20/62] Compiling BraintreeCore BTAppContextSwitcher.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[21/62] Compiling BraintreeCore BTJSONError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[22/62] Compiling BraintreeCore BTLogLevel.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[23/62] Compiling BraintreeCore BTLogLevelDescription.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[24/62] Compiling BraintreeCore BTPaymentMethodNonce.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[25/62] Compiling BraintreeCore BTPaymentMethodNonceParser.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[26/62] Compiling BraintreeCore BTPostalAddress.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[27/62] Compiling BraintreeCore BTURLUtils.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[28/68] Compiling BraintreeCore BTWebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[29/68] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[30/68] Compiling BraintreeCore BTConfiguration+Core.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[31/68] Compiling BraintreeCore BTConfiguration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[32/68] Compiling BraintreeCore BTConfigurationRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[33/68] Compiling BraintreeCore ConfigurationCache.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[34/68] Compiling BraintreeCore RepeatingTimer.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[35/68] Compiling BraintreeCore BTClientToken.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[36/68] Compiling BraintreeCore BTClientTokenError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[37/68] Compiling BraintreeCore ClientAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[38/68] Compiling BraintreeCore TokenizationKey.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[39/68] Compiling BraintreeCore TokenizationKeyError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[40/68] Compiling BraintreeCore BTAPIClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/68] Emitting module BraintreeCore
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[42/68] Compiling BraintreeCore AnalyticsSendable.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[43/68] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[44/68] Compiling BraintreeCore BTAnalyticsService.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[45/68] Compiling BraintreeCore BTAnalyticsServiceError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[46/68] Compiling BraintreeCore BTCoreAnalytics.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[47/68] Compiling BraintreeCore FPTIBatchData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[48/68] Compiling BraintreeCore LinkType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[49/68] Compiling BraintreeCore BTGraphQLErrorTree.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[50/68] Compiling BraintreeCore BTGraphQLHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[51/68] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[52/68] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[53/68] Compiling BraintreeCore BTHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[54/68] Compiling BraintreeCore BTHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[55/68] Compiling BraintreeCore BTJSON.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[56/68] Compiling BraintreeCore BTBinData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[57/68] Compiling BraintreeCore BTCardNetwork.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[58/68] Compiling BraintreeCore BTClientMetadata.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[59/68] Compiling BraintreeCore BTClientMetadataIntegration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[60/68] Compiling BraintreeCore BTClientMetadataSource.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[61/68] Compiling BraintreeCore BTCoreConstants.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[62/68] Compiling BraintreeCore BTGraphQLErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[63/68] Compiling BraintreeCore ConfigurationLoader.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[64/68] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[65/68] Compiling BraintreeCore Encodable+Dictionary.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[66/68] Compiling BraintreeCore UIApplication+URLOpener.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[67/68] Compiling BraintreeCore URL+IsPayPal.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[68/68] Compiling BraintreeCore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/FPTIBatchData.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux