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 v1.14.0 (8555a5), with Swift 6.2 (beta) for Wasm on 23 Jul 2025 21:38:55 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-Swift.git
Reference: v1.14.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/amplitude/Amplitude-Swift
 * tag               v1.14.0    -> FETCH_HEAD
HEAD is now at 8555a54 chore(release): 1.14.0 [skip ci]
Cloned https://github.com/amplitude/Amplitude-Swift.git
Revision (git rev-parse @):
8555a54f7d174451642859f844ebef032c2a488b
SUCCESS checkout https://github.com/amplitude/Amplitude-Swift.git at v1.14.0
========================================
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" 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/AmplitudeCore-Swift.git
Fetching https://github.com/amplitude/analytics-connector-ios.git
[1/343] Fetching analytics-connector-ios
[344/832] Fetching analytics-connector-ios, amplitudecore-swift
Fetched https://github.com/amplitude/analytics-connector-ios.git from cache (0.20s)
Fetched https://github.com/amplitude/AmplitudeCore-Swift.git from cache (0.20s)
Computing version for https://github.com/amplitude/AmplitudeCore-Swift.git
warning: 'amplitudecore-swift': /Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 7 |     platforms: [
 8 |         .macOS(.v10_13),
 9 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |         .tvOS(.v11),
11 |         .watchOS(.v4),
/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |         .macOS(.v10_13),
 9 |         .iOS(.v11),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .watchOS(.v4),
12 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/amplitude/AmplitudeCore-Swift.git at 1.1.0 (0.54s)
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.31s)
Creating working copy for https://github.com/amplitude/AmplitudeCore-Swift.git
Working copy of https://github.com/amplitude/AmplitudeCore-Swift.git resolved at 1.1.0
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
warning: 'amplitudecore-swift': /host/spi-builder-workspace/.build/checkouts/AmplitudeCore-Swift/Package@swift-5.9.swift:9:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 7 |     platforms: [
 8 |         .macOS(.v10_13),
 9 |         .iOS(.v11),
   |               `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |         .tvOS(.v11),
11 |         .watchOS(.v4),
/host/spi-builder-workspace/.build/checkouts/AmplitudeCore-Swift/Package@swift-5.9.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
 8 |         .macOS(.v10_13),
 9 |         .iOS(.v11),
10 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 |         .watchOS(.v4),
12 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Downloading binary artifact https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.1.0/AmplitudeCore.zip
Downloading binary artifact https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
[1369/7515307] Downloading https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip
[17781/9480100] Downloading https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip, https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.1.0/AmplitudeCore.zip
Downloaded https://github.com/amplitude/AmplitudeCore-Swift/releases/download/v1.1.0/AmplitudeCore.zip (0.62s)
Downloaded https://github.com/amplitude/analytics-connector-ios/releases/download/v1.3.1/AnalyticsConnector.xcframework.zip (0.92s)
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[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 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 {
[7/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 {
[8/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 {
BUILD FAILURE 6.2 wasm