Build Information
Failed to build SwiftAnalyticsKit, reference main (89425b), with Swift 6.3 for Wasm on 13 Apr 2026 11:36:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/SwiftAnalyticsKit.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/SwiftyLab/SwiftAnalyticsKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89425b8 chore(SwiftPackageIndex): remove string interpolation from dependency URL
Cloned https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Revision (git rev-parse @):
89425b8053662dec097db7a3dfe10d689436bc7c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/SwiftAnalyticsKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-format
[1/2271] Fetching swift-docc-plugin
[229/15991] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-docc-plugin from cache (0.53s)
[13309/13720] Fetching swift-format
Fetched https://github.com/apple/swift-format from cache (0.94s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (1.48s)
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/17523] Fetching swift-argument-parser
[702/24710] Fetching swift-argument-parser, swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.63s)
[1/74967] Fetching swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.28s)
Fetched https://github.com/apple/swift-syntax from cache (7.34s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.7 (8.32s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (3.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.1.4 (0.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.87s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.70s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.82s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.45s)
Creating working copy for https://github.com/apple/swift-format
Working copy of https://github.com/apple/swift-format resolved at 0.50700.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.2.7
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 0.50700.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.1.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin GenerateManualPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/23] Emitting module Analytics
[8/25] Compiling Analytics AnyMetadata.swift
[9/25] Compiling Analytics EmptyMetadata.swift
[10/25] Compiling Analytics GlobalAnalyticsMetadata.swift
[11/25] Compiling Analytics Initializable.swift
[12/25] Compiling Analytics AnalyticsConfiguration.swift
[13/25] Compiling Analytics MultiplexAnalyticsHandler.swift
[14/25] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[15/25] Compiling Analytics AnalyticsEvent.swift
[16/25] Compiling Analytics AnyAnalyticsEvent.swift
[17/25] Compiling Analytics AnalyticsMetadata.swift
[18/25] Compiling Analytics AnalyticsHandler.swift
[19/25] Compiling Analytics AnyAnalyticsEventHandler.swift
[20/25] Compiling Analytics AnalyticsGroup.swift
[21/25] Compiling Analytics RawAnalyticsEvent.swift
[22/25] Compiling Analytics SomeAnalyticsEvent.swift
[23/25] Compiling Analytics AnalyticsEncoder.swift
[24/25] Compiling Analytics AnyAnalyticsHandler.swift
[25/25] Compiling Analytics AnyHashableAnalyticsHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/32] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[28/32] Emitting module AnalyticsMock
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
36 | /// The `XCTestExpectation` value
37 | /// wrapped by this instance.
38 | private let base: XCTestExpectation
| `- error: cannot find type 'XCTestExpectation' in scope
39 |
40 | /// The number of times ``fulfill()`` must be called
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 | /// - Important: Do not invoke `fulfill()` method
110 | /// directly on the expectation provided.
111 | public init(from base: XCTestExpectation) {
| `- error: cannot find type 'XCTestExpectation' in scope
112 | self.base = base
113 | }
[29/32] Compiling AnalyticsMock AnalyticsExpectation.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
36 | /// The `XCTestExpectation` value
37 | /// wrapped by this instance.
38 | private let base: XCTestExpectation
| `- error: cannot find type 'XCTestExpectation' in scope
39 |
40 | /// The number of times ``fulfill()`` must be called
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 | /// - Important: Do not invoke `fulfill()` method
110 | /// directly on the expectation provided.
111 | public init(from base: XCTestExpectation) {
| `- error: cannot find type 'XCTestExpectation' in scope
112 | self.base = base
113 | }
[30/32] Compiling AnalyticsMock AnalyticsExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:111:28: error: cannot find type 'XCTestExpectation' in scope
109 | /// - Important: Do not invoke `fulfill()` method
110 | /// directly on the expectation provided.
111 | public init(from base: XCTestExpectation) {
| `- error: cannot find type 'XCTestExpectation' in scope
112 | self.base = base
113 | }
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectationHandler.swift:171:24: error: value of type 'XCTestCase' has no member 'expectation'
169 | ) -> AnalyticsExpectation where Handler.EventName == Event.Name {
170 | let expectation = AnalyticsExpectation(
171 | from: self.expectation(description: "\(event)")
| `- error: value of type 'XCTestCase' has no member 'expectation'
172 | )
173 | expectation.assertForOverFulfill = false
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectationHandler.swift:216:24: error: value of type 'XCTestCase' has no member 'expectation'
214 | ) -> AnalyticsExpectation where Handler.EventName == EventName {
215 | let expectation = AnalyticsExpectation(
216 | from: self.expectation(description: "\(event)")
| `- error: value of type 'XCTestCase' has no member 'expectation'
217 | )
218 | expectation.assertForOverFulfill = false
[31/32] Compiling AnalyticsMock AnalyticsSingleExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
36 | /// The `XCTestExpectation` value
37 | /// wrapped by this instance.
38 | private let base: XCTestExpectation
| `- error: cannot find type 'XCTestExpectation' in scope
39 |
40 | /// The number of times ``fulfill()`` must be called
[32/32] Compiling AnalyticsMock AnalyticsOrderedExpectationHandler.swift
/host/spi-builder-workspace/Sources/AnalyticsMock/AnalyticsExpectation.swift:38:23: error: cannot find type 'XCTestExpectation' in scope
36 | /// The `XCTestExpectation` value
37 | /// wrapped by this instance.
38 | private let base: XCTestExpectation
| `- error: cannot find type 'XCTestExpectation' in scope
39 |
40 | /// The number of times ``fulfill()`` must be called
BUILD FAILURE 6.3 wasm