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 Amplitude-Swift, reference main (414bff), with Swift 6.2 (beta) for Wasm on 13 Sep 2025 01:09:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/amplitude/Amplitude-Swift.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/amplitude/Amplitude-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 414bffe feat: make frustration interaction GA (#323)
Cloned https://github.com/amplitude/Amplitude-Swift.git
Revision (git rev-parse @):
414bffe4d857118eedb5f9c87aab97f14df836dc
SUCCESS checkout https://github.com/amplitude/Amplitude-Swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amplitude/Amplitude-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/amplitude/analytics-connector-ios.git
Fetching https://github.com/amplitude/AmplitudeCore-Swift.git
[1/610] Fetching amplitudecore-swift
[611/953] Fetching amplitudecore-swift, analytics-connector-ios
Fetched https://github.com/amplitude/analytics-connector-ios.git from cache (0.21s)
Fetched https://github.com/amplitude/AmplitudeCore-Swift.git from cache (0.21s)
Computing version for https://github.com/amplitude/analytics-connector-ios.git
Computed https://github.com/amplitude/analytics-connector-ios.git at 1.3.1 (0.53s)
Computing version for https://github.com/amplitude/AmplitudeCore-Swift.git
Computed https://github.com/amplitude/AmplitudeCore-Swift.git at 1.2.2 (0.35s)
Creating working copy for https://github.com/amplitude/analytics-connector-ios.git
Working copy of https://github.com/amplitude/analytics-connector-ios.git resolved at 1.3.1
Creating working copy for https://github.com/amplitude/AmplitudeCore-Swift.git
Working copy of https://github.com/amplitude/AmplitudeCore-Swift.git resolved at 1.2.2
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip
Downloading binary artifact https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
[1369/9887353] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip
[42396/17402660] Downloading https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip, https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
Downloaded https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip (0.99s)
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.2.2/AmplitudeCore.zip (1.28s)
Building for debugging...
[0/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module AnalyticsConnector
/host/spi-builder-workspace/.build/checkouts/analytics-connector-ios/Sources/AnalyticsConnector/AnalyticsConnector.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | @objc public class AnalyticsConnector : NSObject {
[6/8] Compiling AnalyticsConnector IdentityStore.swift
/host/spi-builder-workspace/.build/checkouts/analytics-connector-ios/Sources/AnalyticsConnector/AnalyticsConnector.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | @objc public class AnalyticsConnector : NSObject {
[7/8] Compiling AnalyticsConnector EventBridge.swift
/host/spi-builder-workspace/.build/checkouts/analytics-connector-ios/Sources/AnalyticsConnector/AnalyticsConnector.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | @objc public class AnalyticsConnector : NSObject {
[8/8] Compiling AnalyticsConnector AnalyticsConnector.swift
/host/spi-builder-workspace/.build/checkouts/analytics-connector-ios/Sources/AnalyticsConnector/AnalyticsConnector.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | @objc public class AnalyticsConnector : NSObject {
BUILD FAILURE 6.2 wasm