Build Information
Failed to build ErrorAssertions, reference main (466b92), with Swift 6.1 for Wasm on 27 May 2025 14:48:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/SlaunchaMan/ErrorAssertions.git
https://github.com/SlaunchaMan/ErrorAssertions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ErrorAssertions",
"name" : "ErrorAssertions",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ErrorAssertions",
"targets" : [
"ErrorAssertions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ErrorAssertionExpectations",
"targets" : [
"ErrorAssertionExpectations"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "ErrorAssertionsTests",
"module_type" : "SwiftTarget",
"name" : "ErrorAssertionsTests",
"path" : "Tests/ErrorAssertionsTests",
"sources" : [
"AssertTests.swift",
"FatalErrorTests.swift",
"PreconditionTests.swift",
"TestError.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ErrorAssertions",
"ErrorAssertionExpectations"
],
"type" : "test"
},
{
"c99name" : "ErrorAssertions",
"module_type" : "SwiftTarget",
"name" : "ErrorAssertions",
"path" : "Sources/ErrorAssertions",
"product_memberships" : [
"ErrorAssertions",
"ErrorAssertionExpectations"
],
"sources" : [
"AssertWrapper.swift",
"FatalErrorWrapper.swift",
"PreconditionWrapper.swift",
"Utilities/AnonymousError.swift",
"Utilities/RestorationHandler.swift"
],
"type" : "library"
},
{
"c99name" : "ErrorAssertionExpectations",
"module_type" : "SwiftTarget",
"name" : "ErrorAssertionExpectations",
"path" : "Sources/ErrorAssertionExpectations",
"product_memberships" : [
"ErrorAssertionExpectations"
],
"sources" : [
"AssertExpectations.swift",
"FatalErrorExpectations.swift",
"PreconditionExpectations.swift",
"Utilities/ClosureThread.swift",
"Utilities/Unreachable.swift"
],
"target_dependencies" : [
"ErrorAssertions"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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 PreconditionWrapper.swift
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:98:25: warning: static property '_preconditionClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | (Error, StaticString, UInt) -> Never
97 |
98 | internal static var _preconditionClosure: PreconditionClosure?
| |- warning: static property '_preconditionClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_preconditionClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_preconditionClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | @usableFromInline
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:105:25: warning: static property '_preconditionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | internal static var _preconditionFailureClosure: PreconditionFailureClosure?
| |- warning: static property '_preconditionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_preconditionFailureClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_preconditionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | @usableFromInline
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:112:24: warning: static property 'defaultPreconditionClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 |
112 | private static let defaultPreconditionClosure = {
| |- warning: static property 'defaultPreconditionClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPreconditionClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | (condition: Bool, error: Error, file: StaticString, line: UInt) in
114 | Swift.precondition(condition,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:120:24: warning: static property 'defaultPreconditionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | private static let defaultPreconditionFailureClosure = {
| |- warning: static property 'defaultPreconditionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPreconditionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | (error: Error, file: StaticString, line: UInt) in
122 | Swift.preconditionFailure(error.localizedDescription,
[6/9] Compiling ErrorAssertions FatalErrorWrapper.swift
/host/spi-builder-workspace/Sources/ErrorAssertions/FatalErrorWrapper.swift:47:25: warning: static property '_fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public typealias FatalErrorClosure = (Error, StaticString, UInt) -> Never
46 |
47 | internal static var _fatalErrorClosure: FatalErrorClosure?
| |- warning: static property '_fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_fatalErrorClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @usableFromInline internal static var fatalErrorClosure: FatalErrorClosure {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/FatalErrorWrapper.swift:53:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let defaultFatalErrorClosure = {
| |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | (error: Error, file: StaticString, line: UInt) -> Never in
55 | Swift.fatalError(error.localizedDescription,
[7/9] Emitting module ErrorAssertions
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:96:25: warning: static property '_assertClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
94 | (Error, StaticString, UInt) -> ()
95 |
96 | internal static var _assertClosure: AssertClosure?
| |- warning: static property '_assertClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_assertClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_assertClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | @usableFromInline internal static var assertClosure: AssertClosure {
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:102:25: warning: static property '_assertionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | internal static var _assertionFailureClosure: AssertionFailureClosure?
| |- warning: static property '_assertionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_assertionFailureClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_assertionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | @usableFromInline
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:109:24: warning: static property 'defaultAssertClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
107 | }
108 |
109 | private static let defaultAssertClosure = {
| |- warning: static property 'defaultAssertClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultAssertClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | (condition: Bool, error: Error, file: StaticString, line: UInt) in
111 | Swift.assert(condition,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:117:24: warning: static property 'defaultAssertionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private static let defaultAssertionFailureClosure = {
| |- warning: static property 'defaultAssertionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultAssertionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | (error: Error, file: StaticString, line: UInt) in
119 | Swift.assertionFailure(error.localizedDescription,
/host/spi-builder-workspace/Sources/ErrorAssertions/FatalErrorWrapper.swift:47:25: warning: static property '_fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public typealias FatalErrorClosure = (Error, StaticString, UInt) -> Never
46 |
47 | internal static var _fatalErrorClosure: FatalErrorClosure?
| |- warning: static property '_fatalErrorClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_fatalErrorClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_fatalErrorClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @usableFromInline internal static var fatalErrorClosure: FatalErrorClosure {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/FatalErrorWrapper.swift:53:24: warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let defaultFatalErrorClosure = {
| |- warning: static property 'defaultFatalErrorClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultFatalErrorClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | (error: Error, file: StaticString, line: UInt) -> Never in
55 | Swift.fatalError(error.localizedDescription,
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:98:25: warning: static property '_preconditionClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | (Error, StaticString, UInt) -> Never
97 |
98 | internal static var _preconditionClosure: PreconditionClosure?
| |- warning: static property '_preconditionClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_preconditionClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_preconditionClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | @usableFromInline
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:105:25: warning: static property '_preconditionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | internal static var _preconditionFailureClosure: PreconditionFailureClosure?
| |- warning: static property '_preconditionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_preconditionFailureClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_preconditionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | @usableFromInline
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:112:24: warning: static property 'defaultPreconditionClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
110 | }
111 |
112 | private static let defaultPreconditionClosure = {
| |- warning: static property 'defaultPreconditionClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPreconditionClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | (condition: Bool, error: Error, file: StaticString, line: UInt) in
114 | Swift.precondition(condition,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/PreconditionWrapper.swift:120:24: warning: static property 'defaultPreconditionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | private static let defaultPreconditionFailureClosure = {
| |- warning: static property 'defaultPreconditionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultPreconditionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | (error: Error, file: StaticString, line: UInt) in
122 | Swift.preconditionFailure(error.localizedDescription,
[8/9] Compiling ErrorAssertions AssertWrapper.swift
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:96:25: warning: static property '_assertClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
94 | (Error, StaticString, UInt) -> ()
95 |
96 | internal static var _assertClosure: AssertClosure?
| |- warning: static property '_assertClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_assertClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_assertClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | @usableFromInline internal static var assertClosure: AssertClosure {
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:102:25: warning: static property '_assertionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | internal static var _assertionFailureClosure: AssertionFailureClosure?
| |- warning: static property '_assertionFailureClosure' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_assertionFailureClosure' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_assertionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | @usableFromInline
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:109:24: warning: static property 'defaultAssertClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
107 | }
108 |
109 | private static let defaultAssertClosure = {
| |- warning: static property 'defaultAssertClosure' is not concurrency-safe because non-'Sendable' type '(Bool, any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultAssertClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | (condition: Bool, error: Error, file: StaticString, line: UInt) in
111 | Swift.assert(condition,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ErrorAssertions/AssertWrapper.swift:117:24: warning: static property 'defaultAssertionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
115 | }
116 |
117 | private static let defaultAssertionFailureClosure = {
| |- warning: static property 'defaultAssertionFailureClosure' is not concurrency-safe because non-'Sendable' type '(any Error, StaticString, UInt) -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultAssertionFailureClosure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | (error: Error, file: StaticString, line: UInt) in
119 | Swift.assertionFailure(error.localizedDescription,
[9/9] Compiling ErrorAssertions AnonymousError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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 | }
[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 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 |
[14/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 |
[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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling ErrorAssertions AnonymousError.swift
[3/7] Compiling ErrorAssertions RestorationHandler.swift
[4/7] Emitting module ErrorAssertions
[5/7] Compiling ErrorAssertions AssertWrapper.swift
[6/7] Compiling ErrorAssertions FatalErrorWrapper.swift
[7/7] Compiling ErrorAssertions PreconditionWrapper.swift
[9/14] 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 | }
[10/14] 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 |
[11/14] 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 |
[12/14] 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)
[13/14] 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 | }
[14/14] 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 |
BUILD FAILURE 6.1 wasm