Build Information
Failed to build Braintree, reference main (fb0f00
), with Swift 5.9 for Linux on 4 Jun 2025 20:20:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.63.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 fb0f006 Test background task (#1580)
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
fb0f006059216a41c449c24782398f8ae96a605d
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-0":/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:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
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
[1397/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[63692/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
[20260517/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypal-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip (1.20s)
Downloaded https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip (4.11s)
Building for debugging...
[0/13] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/63] Emitting module BraintreeCore
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[15/69] Compiling BraintreeCore LinkType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[16/69] Compiling BraintreeCore RepeatingTimer.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[17/69] Compiling BraintreeCore BTClientToken.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[18/69] Compiling BraintreeCore BTClientTokenError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[19/69] Compiling BraintreeCore ClientAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[20/69] Compiling BraintreeCore TokenizationKey.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[21/69] Compiling BraintreeCore TokenizationKeyError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[22/69] Compiling BraintreeCore BTAppContextSwitcher.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[23/69] Compiling BraintreeCore BTBinData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[24/69] Compiling BraintreeCore BTCardNetwork.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[25/69] Compiling BraintreeCore BTClientMetadata.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[26/69] Compiling BraintreeCore BTClientMetadataIntegration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[27/69] Compiling BraintreeCore BTClientMetadataSource.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[28/69] Compiling BraintreeCore BTCoreConstants.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[29/69] Compiling BraintreeCore ConfigurationLoader.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[30/69] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[31/69] Compiling BraintreeCore Encodable+Dictionary.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[32/69] Compiling BraintreeCore UIApplication+URLOpener.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[33/69] Compiling BraintreeCore URL+IsPayPal.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[34/69] Compiling BraintreeCore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[35/69] Compiling BraintreeCore AnalyticsSendable.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[36/69] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[37/69] Compiling BraintreeCore BTAnalyticsService.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[38/69] Compiling BraintreeCore BTAnalyticsServiceError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[39/69] Compiling BraintreeCore BTCoreAnalytics.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[40/69] Compiling BraintreeCore BackgroundTaskManaging.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[41/69] Compiling BraintreeCore FPTIBatchData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[42/69] Compiling BraintreeCore BTAPIClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[43/69] Compiling BraintreeCore BTAPIClientError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[44/69] Compiling BraintreeCore BTAPIClientHTTPType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[45/69] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[46/69] Compiling BraintreeCore BTAPIRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[47/69] Compiling BraintreeCore BTAPITimingDelegate.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[48/69] Compiling BraintreeCore BTAppContextSwitchClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[49/69] Compiling BraintreeCore BTURLUtils.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[50/69] Compiling BraintreeCore BTWebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[51/69] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[52/69] Compiling BraintreeCore BTConfiguration+Core.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[53/69] Compiling BraintreeCore BTConfiguration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[54/69] Compiling BraintreeCore BTConfigurationRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[55/69] Compiling BraintreeCore ConfigurationCache.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[56/69] Compiling BraintreeCore BTJSON.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[57/69] Compiling BraintreeCore BTJSONError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[58/69] Compiling BraintreeCore BTLogLevel.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[59/69] Compiling BraintreeCore BTLogLevelDescription.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[60/69] Compiling BraintreeCore BTPaymentMethodNonce.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[61/69] Compiling BraintreeCore BTPaymentMethodNonceParser.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[62/69] Compiling BraintreeCore BTPostalAddress.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[63/69] Compiling BraintreeCore BTGraphQLErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[64/69] Compiling BraintreeCore BTGraphQLErrorTree.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[65/69] Compiling BraintreeCore BTGraphQLHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[66/69] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[67/69] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[68/69] Compiling BraintreeCore BTHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
[69/69] Compiling BraintreeCore BTHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux