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, reference main (5154b7), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 05:17:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amplitude/Amplitude-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/amplitude/Amplitude-iOS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5154b75 fix: correct documentation for sessions default value (#512)
Cloned https://github.com/amplitude/Amplitude-iOS.git
Revision (git rev-parse @):
5154b757d91b683d018ba2a12e6fbcb8a53a1bb9
SUCCESS checkout https://github.com/amplitude/Amplitude-iOS.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amplitude/Amplitude-iOS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
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
[1/343] Fetching analytics-connector-ios
Fetched https://github.com/amplitude/analytics-connector-ios.git from cache (0.36s)
Computing version for https://github.com/amplitude/analytics-connector-ios.git
Computed https://github.com/amplitude/analytics-connector-ios.git at 1.3.1 (1.01s)
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
Downloading binary artifact https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
[1397/7515307] Downloading 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 (1.36s)
Building for debugging...
[0/28] Write sources
[0/28] Copying PrivacyInfo.xcprivacy
[0/28] Copying ComodoRsaDomainValidationCA.der
[0/28] Copying AmazonRootCA1.cer
[4/28] Write swift-version-24593BA9C3E375BF.txt
[6/32] 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 {
[7/32] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/32] 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 {
[9/32] 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