Build Information
Failed to build ConcurrencyPlus, reference main (daf69e
), with Swift 6.1 for Wasm on 28 May 2025 15:54:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/ChimeHQ/ConcurrencyPlus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at daf69ed Prepare for archiving
Cloned https://github.com/ChimeHQ/ConcurrencyPlus.git
Revision (git rev-parse @):
daf69ed837fa04d4ba666f5a99378cf1815f0dab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/ConcurrencyPlus.git at main
========================================
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" : [
"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" : [
"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-3":/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/10] Compiling ConcurrencyPlus TaskQueue.swift
[4/10] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[5/10] 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,
[6/10] 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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module ConcurrencyPlus
/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 | }
[8/10] Compiling ConcurrencyPlus SendableContainers.swift
[9/10] Compiling ConcurrencyPlus Task+Relay.swift
[10/10] Compiling ConcurrencyPlus MainActor+Unsafe.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:21:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | #else
17 | @_unavailableFromAsync
18 | static func runUnsafely<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | #if swift(>=5.9)
20 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
21 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | }
23 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:25:3: error: cannot find 'dispatchPrecondition' in scope
23 | #endif
24 |
25 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
26 | return try withoutActuallyEscaping(body) { fn in
27 | try unsafeBitCast(fn, to: (() throws -> T).self)()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:25:36: error: cannot infer contextual base in reference to member 'onQueue'
23 | #endif
24 |
25 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
26 | return try withoutActuallyEscaping(body) { fn in
27 | try unsafeBitCast(fn, to: (() throws -> T).self)()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:25:45: error: cannot infer contextual base in reference to member 'main'
23 | #endif
24 |
25 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
26 | return try withoutActuallyEscaping(body) { fn in
27 | try unsafeBitCast(fn, to: (() throws -> T).self)()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/9] Compiling ConcurrencyPlus MainActor+Unsafe.swift
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:25:3: error: cannot find 'dispatchPrecondition' in scope
23 | #endif
24 |
25 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot find 'dispatchPrecondition' in scope
26 | return try withoutActuallyEscaping(body) { fn in
27 | try unsafeBitCast(fn, to: (() throws -> T).self)()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:25:36: error: cannot infer contextual base in reference to member 'onQueue'
23 | #endif
24 |
25 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'onQueue'
26 | return try withoutActuallyEscaping(body) { fn in
27 | try unsafeBitCast(fn, to: (() throws -> T).self)()
/host/spi-builder-workspace/Sources/ConcurrencyPlus/MainActor+Unsafe.swift:25:45: error: cannot infer contextual base in reference to member 'main'
23 | #endif
24 |
25 | dispatchPrecondition(condition: .onQueue(.main))
| `- error: cannot infer contextual base in reference to member 'main'
26 | return try withoutActuallyEscaping(body) { fn in
27 | try unsafeBitCast(fn, to: (() throws -> T).self)()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Compiling ConcurrencyPlus Continuation+Resuming.swift
[4/9] Emitting module ConcurrencyPlus
/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 | }
[5/9] Compiling ConcurrencyPlus NSXPCConnection+Continuation.swift
[6/9] Compiling ConcurrencyPlus Task+Relay.swift
[7/9] Compiling ConcurrencyPlus TaskQueue.swift
[8/9] Compiling ConcurrencyPlus SendableContainers.swift
[9/9] 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,
BUILD FAILURE 6.1 wasm