The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAnalyticsKit, reference v1.0.0 (d03f68), with Swift 6.3 for Wasm on 22 Apr 2026 11:33:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Reference: v1.0.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/SwiftyLab/SwiftAnalyticsKit
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at d03f688 chore(CHANGELOG): update for v1.0.0 [skip ci]
Cloned https://github.com/SwiftyLab/SwiftAnalyticsKit.git
Revision (git rev-parse @):
d03f688f1338fb9e5acfd0945051caaec022f3d8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/SwiftAnalyticsKit.git at v1.0.0
========================================
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-3":/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/2277] Fetching swift-docc-plugin
[229/16033] Fetching swift-docc-plugin, swift-format
Fetched https://github.com/apple/swift-docc-plugin from cache (1.66s)
Fetched https://github.com/apple/swift-format from cache (1.67s)
Computing version for https://github.com/apple/swift-format
Computed https://github.com/apple/swift-format at 0.50700.1 (2.65s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-syntax
[1/17447] Fetching swift-argument-parser
[350/24643] Fetching swift-argument-parser, swift-tools-support-core
[11908/99671] Fetching swift-argument-parser, swift-tools-support-core, swift-syntax
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.09s)
[23450/92475] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.45s)
[24760/75028] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (10.07s)
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 (11.52s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.15s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.1 (3.12s)
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.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.01s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3674] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.09s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.03s)
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-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/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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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-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
[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 AnalyticsEvent.swift
[9/25] Compiling Analytics AnyAnalyticsEvent.swift
[10/25] Compiling Analytics AnalyticsMetadata.swift
[11/25] Compiling Analytics AnalyticsGroup.swift
[12/25] Compiling Analytics RawAnalyticsEvent.swift
[13/25] Compiling Analytics Initializable.swift
[14/25] Compiling Analytics AnalyticsConfiguration.swift
[15/25] Compiling Analytics MultiplexAnalyticsHandler.swift
[16/25] Compiling Analytics MultiplexAnyAnalyticsHandler.swift
[17/25] Compiling Analytics AnalyticsHandler.swift
[18/25] Compiling Analytics AnyAnalyticsEventHandler.swift
[19/25] Compiling Analytics AnyMetadata.swift
[20/25] Compiling Analytics EmptyMetadata.swift
[21/25] Compiling Analytics GlobalAnalyticsMetadata.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] 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 |     }
[28/32] Compiling AnalyticsMock StandardDictionaryEncoder.swift
[29/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
[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 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 |     }
[32/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
BUILD FAILURE 6.3 wasm