The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Braintree, reference 7.13.0 (020dfb), with Swift 6.1 for Wasm on 29 Sep 2026 06:34:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/braintree/braintree_ios.git
Reference: 7.13.0
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
 * tag               7.13.0     -> FETCH_HEAD
HEAD is now at 020dfb7 Bump version to 7.13.0
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
020dfb7a7803ec3ce8b2df2a0f71e386a4bf84e3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/braintree/braintree_ios.git at 7.13.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/braintree/braintree_ios.git
https://github.com/braintree/braintree_ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/paypal/paypal-risk-ios.git
[1/67] Fetching paypal-risk-ios
Fetched https://github.com/paypal/paypal-risk-ios.git from cache (0.40s)
Computing version for https://github.com/paypal/paypal-risk-ios.git
Computed https://github.com/paypal/paypal-risk-ios.git at 5.6.0 (0.65s)
Creating working copy for https://github.com/paypal/paypal-risk-ios.git
Working copy of https://github.com/paypal/paypal-risk-ios.git resolved at 5.6.0
Downloading binary artifact https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip
Downloading binary artifact https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip
[793/477939] Downloading https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip
[33248/2199853] Downloading https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip, https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip
[418523/30509356] Downloading https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip, https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip, https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypal-risk-ios/releases/download/5.6.0/PPRiskMagnes.xcframework.zip (0.31s)
[2185198/30031417] Downloading https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip, https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
Downloaded https://github.com/paypal/paypal-messages-ios/releases/download/2.0.0/PayPalMessages.xcframework.zip (0.40s)
[4223964/28309503] Downloading 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 (1.70s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/BraintreeUIComponents/Resources/Assets.xcassets
Building for debugging...
[0/27] Write sources
[8/27] Copying PrivacyInfo.xcprivacy
[12/27] Write sources
[23/27] Copying PrivacyInfo.xcprivacy
[26/27] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/81] Emitting module BraintreeCore
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[29/88] Compiling BraintreeCore ConfigurationLoader.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[30/88] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[31/88] Compiling BraintreeCore UIApplication+ApplicationState.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[32/88] Compiling BraintreeCore UIApplication+BackgroundTaskManaging.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[33/88] Compiling BraintreeCore UIApplication+URLOpener.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[34/88] Compiling BraintreeCore URL+IsPayPal.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[35/88] Compiling BraintreeCore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[36/88] Compiling BraintreeCore AnalyticsSendable.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[37/88] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[38/88] Compiling BraintreeCore BTAnalyticsService.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[39/88] Compiling BraintreeCore BTAnalyticsServiceError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[40/88] Compiling BraintreeCore BTCoreAnalytics.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[41/88] Compiling BraintreeCore FPTIBatchData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[42/88] Compiling BraintreeCore LinkType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[43/88] Compiling BraintreeCore RepeatingTimer.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[44/88] Compiling BraintreeCore BTGraphQLHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[45/88] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[46/88] Compiling BraintreeCore BTGraphQLRequestResult.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[47/88] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[48/88] Compiling BraintreeCore BTHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[49/88] Compiling BraintreeCore BTHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[50/88] Compiling BraintreeCore BTHTTPMethod.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[51/88] Compiling BraintreeCore BTURLUtils.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[52/88] Compiling BraintreeCore BTWebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[53/88] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[54/88] Compiling BraintreeCore BTConfiguration+Core.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[55/88] Compiling BraintreeCore BTConfiguration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[56/88] Compiling BraintreeCore BTConfigurationRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[57/88] Compiling BraintreeCore ConfigurationCache.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[58/88] Compiling BraintreeCore BTClientMetadata.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[59/88] Compiling BraintreeCore BTClientMetadataIntegration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[60/88] Compiling BraintreeCore BTClientMetadataSource.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[61/88] Compiling BraintreeCore BTCoreConstants.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[62/88] Compiling BraintreeCore BTGraphQLEncodableBody.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[63/88] Compiling BraintreeCore BTGraphQLErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[64/88] Compiling BraintreeCore BTGraphQLErrorTree.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[65/88] Compiling BraintreeCore BTGraphQLHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[66/88] Compiling BraintreeCore BTClientToken.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[67/88] Compiling BraintreeCore BTClientTokenError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[68/88] Compiling BraintreeCore ClientAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[69/88] Compiling BraintreeCore InvalidAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[70/88] Compiling BraintreeCore TokenizationKey.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[71/88] Compiling BraintreeCore TokenizationKeyError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[72/88] Compiling BraintreeCore BTAPIClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[73/88] Compiling BraintreeCore BTAPIClientError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[74/88] Compiling BraintreeCore BTAPIClientHTTPType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[75/88] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[76/88] Compiling BraintreeCore BTAPIRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[77/88] Compiling BraintreeCore BTAPITimingDelegate.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[78/88] Compiling BraintreeCore BTAppContextSwitchClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[79/88] Compiling BraintreeCore BTAppContextSwitcher.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[80/88] Compiling BraintreeCore BTBinData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[81/88] Compiling BraintreeCore BTCardNetwork.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[82/88] Compiling BraintreeCore BTJSON.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[83/88] Compiling BraintreeCore BTJSONError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[84/88] Compiling BraintreeCore BTLogLevel.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[85/88] Compiling BraintreeCore BTLogLevelDescription.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[86/88] Compiling BraintreeCore BTPaymentMethodNonce.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[87/88] Compiling BraintreeCore BTPostalAddress.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[88/88] Compiling BraintreeCore BTSessionIDManager.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/BraintreeUIComponents/Resources/Assets.xcassets
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/55] Compiling BraintreeCore BTClientMetadata.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[3/55] Compiling BraintreeCore BTClientMetadataIntegration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[4/55] Compiling BraintreeCore BTClientMetadataSource.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[5/55] Compiling BraintreeCore BTCoreConstants.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[6/55] Compiling BraintreeCore BTGraphQLEncodableBody.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[7/55] Compiling BraintreeCore BTGraphQLErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[8/55] Compiling BraintreeCore BTGraphQLErrorTree.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[9/55] Compiling BraintreeCore BTGraphQLHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[10/62] Compiling BraintreeCore AnalyticsSendable.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[11/62] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[12/62] Compiling BraintreeCore BTAnalyticsService.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[13/62] Compiling BraintreeCore BTAnalyticsServiceError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[14/62] Compiling BraintreeCore BTCoreAnalytics.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[15/62] Compiling BraintreeCore FPTIBatchData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[16/62] Compiling BraintreeCore LinkType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[17/62] Compiling BraintreeCore RepeatingTimer.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[18/62] Compiling BraintreeCore BTClientToken.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[19/62] Compiling BraintreeCore BTClientTokenError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[20/62] Compiling BraintreeCore ClientAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[21/62] Compiling BraintreeCore InvalidAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[22/62] Compiling BraintreeCore TokenizationKey.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[23/62] Compiling BraintreeCore TokenizationKeyError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[24/62] Compiling BraintreeCore BTAPIClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[25/62] Compiling BraintreeCore BTAPIClientError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[26/62] Compiling BraintreeCore BTURLUtils.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[27/62] Compiling BraintreeCore BTWebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[28/62] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[29/62] Compiling BraintreeCore BTConfiguration+Core.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[30/62] Compiling BraintreeCore BTConfiguration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[31/62] Compiling BraintreeCore BTConfigurationRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[32/62] Compiling BraintreeCore ConfigurationCache.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[33/62] Compiling BraintreeCore BTGraphQLHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[34/62] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[35/62] Compiling BraintreeCore BTGraphQLRequestResult.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[36/62] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[37/62] Compiling BraintreeCore BTHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[38/62] Compiling BraintreeCore BTHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[39/62] Compiling BraintreeCore BTHTTPMethod.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[40/62] Compiling BraintreeCore ConfigurationLoader.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[41/62] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[42/62] Compiling BraintreeCore UIApplication+ApplicationState.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[43/62] Compiling BraintreeCore UIApplication+BackgroundTaskManaging.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[44/62] Compiling BraintreeCore UIApplication+URLOpener.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[45/62] Compiling BraintreeCore URL+IsPayPal.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[46/62] Compiling BraintreeCore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/62] Emitting module BraintreeCore
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[48/62] Compiling BraintreeCore BTJSON.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[49/62] Compiling BraintreeCore BTJSONError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[50/62] Compiling BraintreeCore BTLogLevel.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[51/62] Compiling BraintreeCore BTLogLevelDescription.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[52/62] Compiling BraintreeCore BTPaymentMethodNonce.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[53/62] Compiling BraintreeCore BTPostalAddress.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[54/62] Compiling BraintreeCore BTSessionIDManager.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[55/62] Compiling BraintreeCore BTAPIClientHTTPType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[56/62] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[57/62] Compiling BraintreeCore BTAPIRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[58/62] Compiling BraintreeCore BTAPITimingDelegate.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[59/62] Compiling BraintreeCore BTAppContextSwitchClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[60/62] Compiling BraintreeCore BTAppContextSwitcher.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[61/62] Compiling BraintreeCore BTBinData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
[62/62] Compiling BraintreeCore BTCardNetwork.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsService.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 |
  3 | final class BTAnalyticsService: AnalyticsSendable {
BUILD FAILURE 6.1 wasm