The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Braintree, reference 6.38.0 (1a5aac), with Swift 6.2 (beta) for Wasm on 9 Sep 2025 20:59:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: 6.38.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               6.38.0     -> FETCH_HEAD
HEAD is now at 1a5aacd Bump version to 6.38.0
Cloned https://github.com/braintree/braintree_ios.git
Revision (git rev-parse @):
1a5aacd4c04c618f69fde5ce04ebf705e65435a9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/braintree/braintree_ios.git at 6.38.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/braintree/braintree_ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
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-messages-ios/releases/download/1.0.0/PayPalMessages.xcframework.zip
[1397/28309503] Downloading https://github.com/paypal/paypalcheckout-ios/releases/download/1.3.0/PayPalCheckout.xcframework.zip
[9796/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 (0.59s)
[11962606/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 (3.01s)
Building for debugging...
[0/27] Write sources
[0/27] Copying PrivacyInfo.xcprivacy
[0/27] Write sources
[15/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/77] Emitting module BraintreeCore
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[29/84] Compiling BraintreeCore ConfigurationLoader.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[30/84] Compiling BraintreeCore Date+MillisecondTimestamp.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[31/84] Compiling BraintreeCore Encodable+Dictionary.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[32/84] Compiling BraintreeCore UIApplication+ApplicationState.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[33/84] Compiling BraintreeCore UIApplication+URLOpener.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[34/84] Compiling BraintreeCore URL+IsPayPal.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[35/84] Compiling BraintreeCore resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[36/84] Compiling BraintreeCore BTAPIClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[37/84] Compiling BraintreeCore BTAPIClientError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[38/84] Compiling BraintreeCore BTAPIClientHTTPType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[39/84] Compiling BraintreeCore BTAPIPinnedCertificates.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[40/84] Compiling BraintreeCore BTAPIRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[41/84] Compiling BraintreeCore BTAPITimingDelegate.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[42/84] Compiling BraintreeCore BTAppContextSwitchClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[43/84] Compiling BraintreeCore LinkType.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[44/84] Compiling BraintreeCore RepeatingTimer.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[45/84] Compiling BraintreeCore BTClientToken.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[46/84] Compiling BraintreeCore BTClientTokenError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[47/84] Compiling BraintreeCore ClientAuthorization.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[48/84] Compiling BraintreeCore TokenizationKey.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[49/84] Compiling BraintreeCore TokenizationKeyError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[50/84] Compiling BraintreeCore AnalyticsSendable.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[51/84] Compiling BraintreeCore BTAnalyticsEventsStorage.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[52/84] Compiling BraintreeCore BTAnalyticsService.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[53/84] Compiling BraintreeCore BTAnalyticsServiceError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[54/84] Compiling BraintreeCore BTCoreAnalytics.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[55/84] Compiling BraintreeCore BackgroundTaskManaging.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[56/84] Compiling BraintreeCore FPTIBatchData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[57/84] Compiling BraintreeCore BTAppContextSwitcher.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[58/84] Compiling BraintreeCore BTBinData.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[59/84] Compiling BraintreeCore BTCardNetwork.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[60/84] Compiling BraintreeCore BTClientMetadata.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[61/84] Compiling BraintreeCore BTClientMetadataIntegration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[62/84] Compiling BraintreeCore BTClientMetadataSource.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[63/84] Compiling BraintreeCore BTCoreConstants.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[64/84] Compiling BraintreeCore BTJSON.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[65/84] Compiling BraintreeCore BTJSONError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[66/84] Compiling BraintreeCore BTLogLevel.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[67/84] Compiling BraintreeCore BTLogLevelDescription.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[68/84] Compiling BraintreeCore BTPaymentMethodNonce.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[69/84] Compiling BraintreeCore BTPaymentMethodNonceParser.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[70/84] Compiling BraintreeCore BTPostalAddress.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[71/84] Compiling BraintreeCore BTGraphQLErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[72/84] Compiling BraintreeCore BTGraphQLErrorTree.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[73/84] Compiling BraintreeCore BTGraphQLHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[74/84] Compiling BraintreeCore BTGraphQLMultiErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[75/84] Compiling BraintreeCore BTGraphQLSingleErrorNode.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[76/84] Compiling BraintreeCore BTHTTP.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[77/84] Compiling BraintreeCore BTHTTPError.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[78/84] Compiling BraintreeCore BTURLUtils.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[79/84] Compiling BraintreeCore BTWebAuthenticationSession.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[80/84] Compiling BraintreeCore BTWebAuthenticationSessionClient.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[81/84] Compiling BraintreeCore BTConfiguration+Core.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[82/84] Compiling BraintreeCore BTConfiguration.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[83/84] Compiling BraintreeCore BTConfigurationRequest.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
[84/84] Compiling BraintreeCore ConfigurationCache.swift
/host/spi-builder-workspace/Sources/BraintreeCore/Analytics/BTAnalyticsEventsStorage.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | /// Used to store and access our dictionary of events in a thread-safe manner
BUILD FAILURE 6.2 wasm