Build Information
Failed to build ErrorAssertions, reference 0.4.0 (fe2b59), with Swift 6.3 for Wasm on 11 Apr 2026 05:26:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/SlaunchaMan/ErrorAssertions.git
Reference: 0.4.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/SlaunchaMan/ErrorAssertions
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at fe2b592 Bump version in podspec.
Cloned https://github.com/SlaunchaMan/ErrorAssertions.git
Revision (git rev-parse @):
fe2b592844372f361f2a33bbbce6a48481b6c79e
SUCCESS checkout https://github.com/SlaunchaMan/ErrorAssertions.git at 0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SlaunchaMan/ErrorAssertions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling ErrorAssertions RestorationHandler.swift
[5/9] Compiling ErrorAssertions AnonymousError.swift
[6/9] Compiling ErrorAssertions FatalErrorWrapper.swift
[7/9] Compiling ErrorAssertions PreconditionWrapper.swift
[8/9] Compiling ErrorAssertions AssertWrapper.swift
[9/9] Emitting module ErrorAssertions
[11/16] Compiling ErrorAssertionExpectations ClosureThread.swift
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:10:37: error: cannot find type 'Thread' in scope
8 | import Foundation
9 |
10 | internal final class ClosureThread: Thread {
| `- error: cannot find type 'Thread' in scope
11 |
12 | private let closure: () -> Void
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:19:28: error: method does not override any method from its superclass
17 | }
18 |
19 | internal override func main() {
| `- error: method does not override any method from its superclass
20 | closure()
21 | }
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:16:9: error: 'super' cannot be used in class 'ClosureThread' because it has no superclass
14 | internal init(_ closure: @escaping () -> Void) {
15 | self.closure = closure
16 | super.init()
| `- error: 'super' cannot be used in class 'ClosureThread' because it has no superclass
17 | }
18 |
[12/16] Compiling ErrorAssertionExpectations Unreachable.swift
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/Unreachable.swift:12:25: error: value of type 'RunLoop' has no member 'run'
10 | internal func unreachable() -> Never {
11 | repeat {
12 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
13 | } while (true)
14 | }
[13/16] Compiling ErrorAssertionExpectations PreconditionExpectations.swift
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:40:32: error: value of type 'XCTestCase' has no member 'expectation'
38 | timeout: TimeInterval,
39 | handler: ((Error) -> Void)? = nil) {
40 | let expectation = self.expectation(
| `- error: value of type 'XCTestCase' has no member 'expectation'
41 | description: "Expecting a precondition failure to occur."
42 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:52:16: error: value of type 'ClosureThread' has no member 'start'
50 |
51 | let thread = ClosureThread(testcase)
52 | thread.start()
| `- error: value of type 'ClosureThread' has no member 'start'
53 | defer { thread.cancel() }
54 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:53:24: error: value of type 'ClosureThread' has no member 'cancel'
51 | let thread = ClosureThread(testcase)
52 | thread.start()
53 | defer { thread.cancel() }
| `- error: value of type 'ClosureThread' has no member 'cancel'
54 |
55 | wait(for: [expectation], timeout: timeout)
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:55:9: error: cannot find 'wait' in scope
53 | defer { thread.cancel() }
54 |
55 | wait(for: [expectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
56 | }
57 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:77:35: error: cannot find 'expectation' in scope
75 | testcase: @escaping () -> Void
76 | ) where T: Equatable {
77 | let equalityExpectation = expectation(
| `- error: cannot find 'expectation' in scope
78 | description: "The error was equal to the expected value"
79 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:87:9: error: cannot find 'wait' in scope
85 | }
86 |
87 | wait(for: [equalityExpectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
88 | }
89 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:152:32: error: value of type 'XCTestCase' has no member 'expectation'
150 | testcase: @escaping () -> Void
151 | ) {
152 | let expectation = self.expectation(
| `- error: value of type 'XCTestCase' has no member 'expectation'
153 | description: "Expecting no precondition failure to occur"
154 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/PreconditionExpectations.swift:174:9: error: cannot find 'wait' in scope
172 | defer { thread.cancel() }
173 |
174 | wait(for: [expectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
175 | }
176 |
[14/16] Compiling ErrorAssertionExpectations AssertExpectations.swift
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:40:32: error: value of type 'XCTestCase' has no member 'expectation'
38 | timeout: TimeInterval,
39 | handler: ((Error) -> Void)? = nil) {
40 | let expectation = self.expectation(
| `- error: value of type 'XCTestCase' has no member 'expectation'
41 | description: "Expecting an assertion failure to occur"
42 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:52:16: error: value of type 'ClosureThread' has no member 'start'
50 |
51 | let thread = ClosureThread(testcase)
52 | thread.start()
| `- error: value of type 'ClosureThread' has no member 'start'
53 | defer { thread.cancel() }
54 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:53:24: error: value of type 'ClosureThread' has no member 'cancel'
51 | let thread = ClosureThread(testcase)
52 | thread.start()
53 | defer { thread.cancel() }
| `- error: value of type 'ClosureThread' has no member 'cancel'
54 |
55 | wait(for: [expectation], timeout: timeout)
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:55:9: error: cannot find 'wait' in scope
53 | defer { thread.cancel() }
54 |
55 | wait(for: [expectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
56 | }
57 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:77:35: error: cannot find 'expectation' in scope
75 | testcase: @escaping () -> Void
76 | ) where T: Equatable {
77 | let equalityExpectation = expectation(
| `- error: cannot find 'expectation' in scope
78 | description: "The error was equal to the expected value"
79 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:87:9: error: cannot find 'wait' in scope
85 | }
86 |
87 | wait(for: [equalityExpectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
88 | }
89 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:152:32: error: value of type 'XCTestCase' has no member 'expectation'
150 | testcase: @escaping () -> Void
151 | ) {
152 | let expectation = self.expectation(
| `- error: value of type 'XCTestCase' has no member 'expectation'
153 | description: "Expecting no assertion failure to occur"
154 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/AssertExpectations.swift:174:9: error: cannot find 'wait' in scope
172 | defer { thread.cancel() }
173 |
174 | wait(for: [expectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
175 | }
176 |
[15/16] Compiling ErrorAssertionExpectations FatalErrorExpectations.swift
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:25:32: error: value of type 'XCTestCase' has no member 'expectation'
23 | timeout: TimeInterval,
24 | handler: ((Error) -> Void)? = nil) {
25 | let expectation = self.expectation(
| `- error: value of type 'XCTestCase' has no member 'expectation'
26 | description: "Expecting a fatal error to occur."
27 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:37:16: error: value of type 'ClosureThread' has no member 'start'
35 |
36 | let thread = ClosureThread(testcase)
37 | thread.start()
| `- error: value of type 'ClosureThread' has no member 'start'
38 |
39 | wait(for: [expectation], timeout: timeout)
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:39:9: error: cannot find 'wait' in scope
37 | thread.start()
38 |
39 | wait(for: [expectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
40 |
41 | thread.cancel()
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:41:16: error: value of type 'ClosureThread' has no member 'cancel'
39 | wait(for: [expectation], timeout: timeout)
40 |
41 | thread.cancel()
| `- error: value of type 'ClosureThread' has no member 'cancel'
42 | }
43 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:63:35: error: cannot find 'expectation' in scope
61 | testcase: @escaping () -> Void
62 | ) where T: Equatable {
63 | let equalityExpectation = expectation(
| `- error: cannot find 'expectation' in scope
64 | description: "The error was equal to the expected value"
65 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:73:9: error: cannot find 'wait' in scope
71 | }
72 |
73 | wait(for: [equalityExpectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
74 | }
75 |
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:139:32: error: value of type 'XCTestCase' has no member 'expectation'
137 | testcase: @escaping () -> Void
138 | ) {
139 | let expectation = self.expectation(
| `- error: value of type 'XCTestCase' has no member 'expectation'
140 | description: "Expecting no fatal error to occur"
141 | )
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/FatalErrorExpectations.swift:161:9: error: cannot find 'wait' in scope
159 | defer { thread.cancel() }
160 |
161 | wait(for: [expectation], timeout: timeout)
| `- error: cannot find 'wait' in scope
162 | }
163 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/16] Emitting module ErrorAssertionExpectations
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:10:37: error: cannot find type 'Thread' in scope
8 | import Foundation
9 |
10 | internal final class ClosureThread: Thread {
| `- error: cannot find type 'Thread' in scope
11 |
12 | private let closure: () -> Void
/host/spi-builder-workspace/Sources/ErrorAssertionExpectations/Utilities/ClosureThread.swift:19:28: error: method does not override any method from its superclass
17 | }
18 |
19 | internal override func main() {
| `- error: method does not override any method from its superclass
20 | closure()
21 | }
BUILD FAILURE 6.3 wasm