Build Information
Failed to build Amplitude, reference v8.22.0 (4471ff
), 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-4606859-0":/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: v8.22.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-iOS
* tag v8.22.0 -> FETCH_HEAD
HEAD is now at 4471ff7 chore(release): 8.22.0 [skip ci]
Cloned https://github.com/amplitude/Amplitude-iOS.git
Revision (git rev-parse @):
4471ff73fffdff9a9b256422a0a0b9233582f33d
SUCCESS checkout https://github.com/amplitude/Amplitude-iOS.git at v8.22.0
========================================
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-4606859-0":/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.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.73s)
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.18s)
Building for debugging...
[0/28] Copying ComodoRsaDomainValidationCA.der
[0/28] Copying PrivacyInfo.xcprivacy
[0/28] Copying AmazonRootCA1.cer
[3/28] Write sources
[4/28] Write swift-version-24593BA9C3E375BF.txt
[6/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 {
[7/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 {
[8/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 {
BUILD FAILURE 6.2 wasm