Build Information
Failed to build xctest-extensions, reference main (3395f9), with Swift 6.2 for Wasm on 22 Apr 2026 02:22:24 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/xctest-extensions.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/orchetect/xctest-extensions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3395f97 SwiftFormat pass
Cloned https://github.com/orchetect/xctest-extensions.git
Revision (git rev-parse @):
3395f9724c58c604118dbda56a6faa3369953b73
SUCCESS checkout https://github.com/orchetect/xctest-extensions.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/orchetect/xctest-extensions.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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling XCTestExtensions SegmentedProgress.swift
[4/9] Compiling XCTestExtensions Wait Bool.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module XCTestExtensions
/host/spi-builder-workspace/Sources/XCTestExtensions/UI Testing/XCUIElement Extensions.swift:11:11: error: cannot find type 'XCUIElement' in scope
9 | import XCTest
10 |
11 | extension XCUIElement {
| `- error: cannot find type 'XCUIElement' in scope
12 | /// Wraps `XCUIElement`'s `waitForExistence(timeout:)` in a throwing method.
13 | /// Returns the element if it is found.
/host/spi-builder-workspace/Sources/XCTestExtensions/UI Testing/XCUIElement Extensions.swift:44:11: error: cannot find type 'XCUIElement' in scope
42 | // were introduced in Xcode 16.0
43 | #if compiler(>=6.0)
44 | extension XCUIElement {
| `- error: cannot find type 'XCUIElement' in scope
45 | /// Wraps `XCUIElement`'s `waitForNonExistence(timeout:)` in a throwing method.
46 | ///
[6/9] Compiling XCTestExtensions XCUIElement Extensions.swift
/host/spi-builder-workspace/Sources/XCTestExtensions/UI Testing/XCUIElement Extensions.swift:11:11: error: cannot find type 'XCUIElement' in scope
9 | import XCTest
10 |
11 | extension XCUIElement {
| `- error: cannot find type 'XCUIElement' in scope
12 | /// Wraps `XCUIElement`'s `waitForExistence(timeout:)` in a throwing method.
13 | /// Returns the element if it is found.
/host/spi-builder-workspace/Sources/XCTestExtensions/UI Testing/XCUIElement Extensions.swift:44:11: error: cannot find type 'XCUIElement' in scope
42 | // were introduced in Xcode 16.0
43 | #if compiler(>=6.0)
44 | extension XCUIElement {
| `- error: cannot find type 'XCUIElement' in scope
45 | /// Wraps `XCUIElement`'s `waitForNonExistence(timeout:)` in a throwing method.
46 | ///
/host/spi-builder-workspace/Sources/XCTestExtensions/UI Testing/XCUIElement Extensions.swift:82:30: error: cannot find type 'XCUIElement' in scope
80 | @preconcurrency
81 | public func wait<V: Equatable>(
82 | for keyPath: KeyPath<XCUIElement, V>,
| `- error: cannot find type 'XCUIElement' in scope
83 | toEqual expectedValue: V,
84 | throwingTimeout timeout: TimeInterval,
[7/9] Compiling XCTestExtensions Wait.swift
/host/spi-builder-workspace/Sources/XCTestExtensions/Wait/Wait.swift:16:32: error: cannot find 'XCTestExpectation' in scope
14 | @_disfavoredOverload
15 | public func wait(sec timeout: Double) {
16 | let delayExpectation = XCTestExpectation()
| `- error: cannot find 'XCTestExpectation' in scope
17 | delayExpectation.isInverted = true
18 | wait(for: [delayExpectation], timeout: timeout)
/host/spi-builder-workspace/Sources/XCTestExtensions/Wait/Wait.swift:18:19: error: cannot convert value of type '[Any]' to expected argument type 'Bool'
16 | let delayExpectation = XCTestExpectation()
17 | delayExpectation.isInverted = true
18 | wait(for: [delayExpectation], timeout: timeout)
| `- error: cannot convert value of type '[Any]' to expected argument type 'Bool'
19 | }
20 | }
[8/9] Compiling XCTestExtensions Utilities.swift
[9/9] Compiling XCTestExtensions Wait Equals.swift
BUILD FAILURE 6.2 wasm