The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ErrorAssertions, reference main (466b92), with Swift 6.3 for Wasm on 11 Apr 2026 05:26:32 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SlaunchaMan/ErrorAssertions.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/SlaunchaMan/ErrorAssertions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 466b920 Merge pull request #16 from SlaunchaMan/dependabot/bundler/cocoapods-downloader-1.6.3
Cloned https://github.com/SlaunchaMan/ErrorAssertions.git
Revision (git rev-parse @):
466b9208031131bf283531e945c28dc79ed9e2dc
SUCCESS checkout https://github.com/SlaunchaMan/ErrorAssertions.git at main
========================================
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-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
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 PreconditionWrapper.swift
[7/9] Compiling ErrorAssertions FatalErrorWrapper.swift
[8/9] Emitting module ErrorAssertions
[9/9] Compiling ErrorAssertions AssertWrapper.swift
[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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/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 |     }
[15/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 |
[16/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 |
BUILD FAILURE 6.3 wasm