Build Information
Failed to build Braintree, reference main (20ab65
), with Swift 5.10 for Linux on 9 Sep 2025 20:59:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.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 20ab65e Revert "Remove SPMTest app to avoid Carthage timeout"
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
20ab65ebc3bc1c9a22150229d05b891ae7328e8b
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.10
Building package at path: $PWD
https://github.com/braintree/braintree_ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
[1369/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[113930/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
Downloading binary artifact 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 (0.56s)
[25428983/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip (2.51s)
Building for debugging...
[0/27] Write sources
[0/27] Copying PrivacyInfo.xcprivacy
[0/27] Write sources
[0/27] Copying PrivacyInfo.xcprivacy
[0/27] Write sources
[26/27] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/77] Emitting module BraintreeCore
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[29/84] Compiling BraintreeCore LinkType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[30/84] Compiling BraintreeCore RepeatingTimer.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[31/84] Compiling BraintreeCore BTClientToken.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[32/84] Compiling BraintreeCore BTClientTokenError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[33/84] Compiling BraintreeCore ClientAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[34/84] Compiling BraintreeCore TokenizationKey.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[35/84] Compiling BraintreeCore TokenizationKeyError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[36/84] Compiling BraintreeCore BTURLUtils.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[37/84] Compiling BraintreeCore BTWebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[38/84] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[39/84] Compiling BraintreeCore BTConfiguration+Core.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[40/84] Compiling BraintreeCore BTConfiguration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[41/84] Compiling BraintreeCore BTConfigurationRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[42/84] Compiling BraintreeCore ConfigurationCache.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[43/84] Compiling BraintreeCore ConfigurationLoader.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[44/84] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[45/84] Compiling BraintreeCore Encodable+Dictionary.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[46/84] Compiling BraintreeCore UIApplication+ApplicationState.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[47/84] Compiling BraintreeCore UIApplication+URLOpener.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[48/84] Compiling BraintreeCore URL+IsPayPal.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[49/84] Compiling BraintreeCore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[50/84] Compiling BraintreeCore BTAppContextSwitcher.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[51/84] Compiling BraintreeCore BTBinData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[52/84] Compiling BraintreeCore BTCardNetwork.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[53/84] Compiling BraintreeCore BTClientMetadata.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[54/84] Compiling BraintreeCore BTClientMetadataIntegration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[55/84] Compiling BraintreeCore BTClientMetadataSource.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[56/84] Compiling BraintreeCore BTCoreConstants.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[57/84] Compiling BraintreeCore BTGraphQLErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[58/84] Compiling BraintreeCore BTGraphQLErrorTree.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[59/84] Compiling BraintreeCore BTGraphQLHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[60/84] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[61/84] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[62/84] Compiling BraintreeCore BTHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[63/84] Compiling BraintreeCore BTHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[64/84] Compiling BraintreeCore AnalyticsSendable.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[65/84] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[66/84] Compiling BraintreeCore BTAnalyticsService.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[67/84] Compiling BraintreeCore BTAnalyticsServiceError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[68/84] Compiling BraintreeCore BTCoreAnalytics.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[69/84] Compiling BraintreeCore BackgroundTaskManaging.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[70/84] Compiling BraintreeCore FPTIBatchData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[71/84] Compiling BraintreeCore BTJSON.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[72/84] Compiling BraintreeCore BTJSONError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[73/84] Compiling BraintreeCore BTLogLevel.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[74/84] Compiling BraintreeCore BTLogLevelDescription.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[75/84] Compiling BraintreeCore BTPaymentMethodNonce.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[76/84] Compiling BraintreeCore BTPaymentMethodNonceParser.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[77/84] Compiling BraintreeCore BTPostalAddress.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[78/84] Compiling BraintreeCore BTAPIClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[79/84] Compiling BraintreeCore BTAPIClientError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[80/84] Compiling BraintreeCore BTAPIClientHTTPType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[81/84] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[82/84] Compiling BraintreeCore BTAPIRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[83/84] Compiling BraintreeCore BTAPITimingDelegate.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[84/84] Compiling BraintreeCore BTAppContextSwitchClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 linux