Build Information
Failed to build ConcurrencyPlus, reference 0.4.2 (8dc564
), with Swift 6.1 for Wasm on 28 May 2025 15:54: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>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/ConcurrencyPlus.git
Reference: 0.4.2
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/ChimeHQ/ConcurrencyPlus
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at 8dc5649 fix indentation for github
Cloned https://github.com/ChimeHQ/ConcurrencyPlus.git
Revision (git rev-parse @):
8dc56499412a373d617d50d059116bccf44b9874
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ConcurrencyPlus.git at 0.4.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChimeHQ/ConcurrencyPlus.git
https://github.com/ChimeHQ/ConcurrencyPlus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "ConcurrencyPlus",
"name" : "ConcurrencyPlus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ConcurrencyPlus",
"targets" : [
"ConcurrencyPlus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConcurrencyPlusTests",
"module_type" : "SwiftTarget",
"name" : "ConcurrencyPlusTests",
"path" : "Tests/ConcurrencyPlusTests",
"sources" : [
"AsyncSubjectTests.swift",
"CancellingContinuationTests.swift",
"MainActorTests.swift",
"SendableContainerTests.swift",
"TaskQueueTests.swift",
"TaskTests.swift"
],
"target_dependencies" : [
"ConcurrencyPlus"
],
"type" : "test"
},
{
"c99name" : "ConcurrencyPlus",
"module_type" : "SwiftTarget",
"name" : "ConcurrencyPlus",
"path" : "Sources/ConcurrencyPlus",
"product_memberships" : [
"ConcurrencyPlus"
],
"sources" : [
"AsyncSubject.swift",
"AsyncThrowingSubject.swift",
"Continuation+Resuming.swift",
"MainActor+Unsafe.swift",
"NSXPCConnection+Continuation.swift",
"RelaxedDispatchQueue.swift",
"SendableContainers.swift",
"Task+Relay.swift",
"TaskQueue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling ConcurrencyPlus Task+Relay.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/Task+Relay.swift:10:41: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
8 | @discardableResult
9 | static func relayResult(priority: TaskPriority? = nil, to block: @escaping (Success?, Failure?) -> Void, operation: @escaping @Sendable () async throws -> Success) -> Self {
10 | return Task(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
11 | do {
12 | let value = try await operation()
13 |
14 | block(value, nil)
| `- note: closure captures 'block' which is accessible to code in the current task
15 |
16 | return value
/host/spi-builder-workspace/Sources/ConcurrencyPlus/Task+Relay.swift:31:41: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
29 | @discardableResult
30 | static func relayResult(priority: TaskPriority? = nil, to block: @escaping (Result<Success, Failure>) -> Void, operation: @escaping @Sendable () async throws -> Success) -> Self {
31 | return Task(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | do {
33 | let value = try await operation()
34 |
35 | block(.success(value))
| `- note: closure captures 'block' which is accessible to code in the current task
36 |
37 | return value
/host/spi-builder-workspace/Sources/ConcurrencyPlus/Task+Relay.swift:54:41: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | @discardableResult
53 | static func relayResult(priority: TaskPriority? = nil, to block: @escaping (Failure?) -> Void, operation: @escaping @Sendable () async throws -> Success) -> Self {
54 | return Task(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | try await operation()
57 |
58 | block(nil)
| `- note: closure captures 'block' which is accessible to code in the current task
59 | } catch {
60 | block(error)
[4/12] Compiling ConcurrencyPlus AsyncSubject.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:49:11: warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
47 | }
48 |
49 | extension AsyncSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
50 | }
51 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:54:11: warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
52 | }
53 |
54 | extension AsyncThrowingSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
55 | }
56 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:25:16: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
23 | /// Add values to the sequence
24 | public func send(_ element: Element) {
25 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | }
27 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:25:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
23 | /// Add results to the sequence
24 | public func send(_ result: Result<Element, Error>) {
25 | continuation.yield(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | }
27 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:30:16: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
28 | /// Add values to the sequence
29 | public func send(_ element: Element) {
30 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
31 | }
32 |
[5/12] Compiling ConcurrencyPlus AsyncThrowingSubject.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:49:11: warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
47 | }
48 |
49 | extension AsyncSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
50 | }
51 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:54:11: warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
52 | }
53 |
54 | extension AsyncThrowingSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
55 | }
56 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:25:16: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
23 | /// Add values to the sequence
24 | public func send(_ element: Element) {
25 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | }
27 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:25:16: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
23 | /// Add results to the sequence
24 | public func send(_ result: Result<Element, Error>) {
25 | continuation.yield(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | }
27 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:30:16: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
28 | /// Add values to the sequence
29 | public func send(_ element: Element) {
30 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
31 | }
32 |
[6/12] Compiling ConcurrencyPlus Continuation+Resuming.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/Continuation+Resuming.swift:17:13: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
15 | switch (value, error) {
16 | case (let value?, nil):
17 | resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
18 | case (_, let error?):
19 | resume(throwing: error)
[7/12] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[8/12] Compiling ConcurrencyPlus RelaxedDispatchQueue.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:5:28: error: cannot find type 'DispatchQueue' in scope
3 | /// A very thin wrapper around `DispatchQueue` with relaxed `Sendable` checks
4 | public struct RelaxedDispatchQueue {
5 | public let internalQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
6 |
7 | public init(label: String,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:8:10: error: cannot find type 'DispatchQoS' in scope
6 |
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
| `- error: cannot find type 'DispatchQoS' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:9:17: error: cannot find type 'DispatchQueue' in scope
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
| `- error: cannot find type 'DispatchQueue' in scope
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:10:27: error: cannot find type 'DispatchQueue' in scope
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
| `- error: cannot find type 'DispatchQueue' in scope
11 | target: DispatchQueue? = nil) {
12 | self.internalQueue = DispatchQueue(label: label,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:11:13: error: cannot find type 'DispatchQueue' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
12 | self.internalQueue = DispatchQueue(label: label,
13 | qos: qos,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:19:23: error: cannot find type 'DispatchQueue' in scope
17 | }
18 |
19 | public init(_ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
20 | self.internalQueue = queue
21 | }
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:12:24: error: cannot find 'DispatchQueue' in scope
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
12 | self.internalQueue = DispatchQueue(label: label,
| `- error: cannot find 'DispatchQueue' in scope
13 | qos: qos,
14 | attributes: attributes,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module ConcurrencyPlus
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:49:11: warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
47 | }
48 |
49 | extension AsyncSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
50 | }
51 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:54:11: warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
52 | }
53 |
54 | extension AsyncThrowingSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
55 | }
56 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:9:2: warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
7 | ///
8 | /// It will crash if run on any non-main thread.
9 | @MainActor(unsafe)
| `- warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:5:28: error: cannot find type 'DispatchQueue' in scope
3 | /// A very thin wrapper around `DispatchQueue` with relaxed `Sendable` checks
4 | public struct RelaxedDispatchQueue {
5 | public let internalQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
6 |
7 | public init(label: String,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:8:10: error: cannot find type 'DispatchQoS' in scope
6 |
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
| `- error: cannot find type 'DispatchQoS' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:9:17: error: cannot find type 'DispatchQueue' in scope
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
| `- error: cannot find type 'DispatchQueue' in scope
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:10:27: error: cannot find type 'DispatchQueue' in scope
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
| `- error: cannot find type 'DispatchQueue' in scope
11 | target: DispatchQueue? = nil) {
12 | self.internalQueue = DispatchQueue(label: label,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:11:13: error: cannot find type 'DispatchQueue' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
12 | self.internalQueue = DispatchQueue(label: label,
13 | qos: qos,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:19:23: error: cannot find type 'DispatchQueue' in scope
17 | }
18 |
19 | public init(_ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
20 | self.internalQueue = queue
21 | }
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:139:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
137 | /// Submit a throwing operation to the global queue.
138 | @discardableResult
139 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
140 | priority: TaskPriority? = nil,
141 | operation: @escaping @Sendable () async throws -> Success)
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:148:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
146 | /// Submit an operation to the global queue.
147 | @discardableResult
148 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
149 | priority: TaskPriority? = nil,
150 | operation: @escaping @Sendable () async -> Success)
[10/12] Compiling ConcurrencyPlus SendableContainers.swift
[11/12] Compiling ConcurrencyPlus MainActor+Unsafe.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:9:2: warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
7 | ///
8 | /// It will crash if run on any non-main thread.
9 | @MainActor(unsafe)
| `- warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:11:3: error: cannot find 'dispatchPrecondition' in scope
9 | @MainActor(unsafe)
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
12 |
13 | return try body()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:11:36: error: cannot infer contextual base in reference to member 'onQueue'
9 | @MainActor(unsafe)
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
12 |
13 | return try body()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:11:45: error: cannot infer contextual base in reference to member 'main'
9 | @MainActor(unsafe)
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
12 |
13 | return try body()
[12/12] Compiling ConcurrencyPlus TaskQueue.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:139:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
137 | /// Submit a throwing operation to the global queue.
138 | @discardableResult
139 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
140 | priority: TaskPriority? = nil,
141 | operation: @escaping @Sendable () async throws -> Success)
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:148:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
146 | /// Submit an operation to the global queue.
147 | @discardableResult
148 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
149 | priority: TaskPriority? = nil,
150 | operation: @escaping @Sendable () async -> Success)
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/10] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[3/11] Compiling ConcurrencyPlus MainActor+Unsafe.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:9:2: warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
7 | ///
8 | /// It will crash if run on any non-main thread.
9 | @MainActor(unsafe)
| `- warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:11:3: error: cannot find 'dispatchPrecondition' in scope
9 | @MainActor(unsafe)
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
12 |
13 | return try body()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:11:36: error: cannot infer contextual base in reference to member 'onQueue'
9 | @MainActor(unsafe)
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
12 |
13 | return try body()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:11:45: error: cannot infer contextual base in reference to member 'main'
9 | @MainActor(unsafe)
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
12 |
13 | return try body()
[4/11] Compiling ConcurrencyPlus SendableContainers.swift
[5/11] Compiling ConcurrencyPlus Task+Relay.swift
[6/11] Compiling ConcurrencyPlus RelaxedDispatchQueue.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:5:28: error: cannot find type 'DispatchQueue' in scope
3 | /// A very thin wrapper around `DispatchQueue` with relaxed `Sendable` checks
4 | public struct RelaxedDispatchQueue {
5 | public let internalQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
6 |
7 | public init(label: String,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:8:10: error: cannot find type 'DispatchQoS' in scope
6 |
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
| `- error: cannot find type 'DispatchQoS' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:9:17: error: cannot find type 'DispatchQueue' in scope
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
| `- error: cannot find type 'DispatchQueue' in scope
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:10:27: error: cannot find type 'DispatchQueue' in scope
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
| `- error: cannot find type 'DispatchQueue' in scope
11 | target: DispatchQueue? = nil) {
12 | self.internalQueue = DispatchQueue(label: label,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:11:13: error: cannot find type 'DispatchQueue' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
12 | self.internalQueue = DispatchQueue(label: label,
13 | qos: qos,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:19:23: error: cannot find type 'DispatchQueue' in scope
17 | }
18 |
19 | public init(_ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
20 | self.internalQueue = queue
21 | }
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:12:24: error: cannot find 'DispatchQueue' in scope
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
12 | self.internalQueue = DispatchQueue(label: label,
| `- error: cannot find 'DispatchQueue' in scope
13 | qos: qos,
14 | attributes: attributes,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Compiling ConcurrencyPlus Continuation+Resuming.swift
[8/11] Compiling ConcurrencyPlus AsyncSubject.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:49:11: warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
47 | }
48 |
49 | extension AsyncSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
50 | }
51 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:54:11: warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
52 | }
53 |
54 | extension AsyncThrowingSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
55 | }
56 |
[9/11] Compiling ConcurrencyPlus AsyncThrowingSubject.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:49:11: warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
47 | }
48 |
49 | extension AsyncSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
50 | }
51 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:54:11: warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
52 | }
53 |
54 | extension AsyncThrowingSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
55 | }
56 |
[10/11] Emitting module ConcurrencyPlus
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncSubject.swift:49:11: warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
47 | }
48 |
49 | extension AsyncSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
50 | }
51 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/AsyncThrowingSubject.swift:54:11: warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
52 | }
53 |
54 | extension AsyncThrowingSubject: Sendable where Element: Sendable {
| `- warning: 'AsyncThrowingSubject' is deprecated: Please see the project README for alternative libraries that provide this functionality
55 | }
56 |
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:9:2: warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
7 | ///
8 | /// It will crash if run on any non-main thread.
9 | @MainActor(unsafe)
| `- warning: '(unsafe)' global actors are deprecated; use '@preconcurrency' instead; this is an error in the Swift 6 language mode
10 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
11 | dispatchPrecondition(condition: .onQueue(.main))
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:5:28: error: cannot find type 'DispatchQueue' in scope
3 | /// A very thin wrapper around `DispatchQueue` with relaxed `Sendable` checks
4 | public struct RelaxedDispatchQueue {
5 | public let internalQueue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
6 |
7 | public init(label: String,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:8:10: error: cannot find type 'DispatchQoS' in scope
6 |
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
| `- error: cannot find type 'DispatchQoS' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:9:17: error: cannot find type 'DispatchQueue' in scope
7 | public init(label: String,
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
| `- error: cannot find type 'DispatchQueue' in scope
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:10:27: error: cannot find type 'DispatchQueue' in scope
8 | qos: DispatchQoS = .unspecified,
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
| `- error: cannot find type 'DispatchQueue' in scope
11 | target: DispatchQueue? = nil) {
12 | self.internalQueue = DispatchQueue(label: label,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:11:13: error: cannot find type 'DispatchQueue' in scope
9 | attributes: DispatchQueue.Attributes = [],
10 | autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit,
11 | target: DispatchQueue? = nil) {
| `- error: cannot find type 'DispatchQueue' in scope
12 | self.internalQueue = DispatchQueue(label: label,
13 | qos: qos,
/host/spi-builder-workspace/Sources/ConcurrencyPlus/RelaxedDispatchQueue.swift:19:23: error: cannot find type 'DispatchQueue' in scope
17 | }
18 |
19 | public init(_ queue: DispatchQueue) {
| `- error: cannot find type 'DispatchQueue' in scope
20 | self.internalQueue = queue
21 | }
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:139:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
137 | /// Submit a throwing operation to the global queue.
138 | @discardableResult
139 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
140 | priority: TaskPriority? = nil,
141 | operation: @escaping @Sendable () async throws -> Success)
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:148:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
146 | /// Submit an operation to the global queue.
147 | @discardableResult
148 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
149 | priority: TaskPriority? = nil,
150 | operation: @escaping @Sendable () async -> Success)
[11/11] Compiling ConcurrencyPlus TaskQueue.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:139:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
137 | /// Submit a throwing operation to the global queue.
138 | @discardableResult
139 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
140 | priority: TaskPriority? = nil,
141 | operation: @escaping @Sendable () async throws -> Success)
/host/spi-builder-workspace/Sources/ConcurrencyPlus/TaskQueue.swift:148:32: warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
146 | /// Submit an operation to the global queue.
147 | @discardableResult
148 | public static func ordered<Success>(
| `- warning: generic parameter 'Success' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
149 | priority: TaskPriority? = nil,
150 | operation: @escaping @Sendable () async -> Success)
BUILD FAILURE 6.1 wasm