Build Information
Successful build of AsyncConcurrentQueue, reference 0.2.2 (40a47c), with Swift 6.1 for Wasm on 29 May 2025 06:33:50 UTC.
Swift 6 data race errors: 0
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 -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mredig/AsyncConcurrentQueue.git
Reference: 0.2.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/mredig/AsyncConcurrentQueue
* tag 0.2.2 -> FETCH_HEAD
HEAD is now at 40a47c6 (feat) ability to wait for queue to finish
Cloned https://github.com/mredig/AsyncConcurrentQueue.git
Revision (git rev-parse @):
40a47c6cafe21349a148eb6dd1c211f31bf6d321
SUCCESS checkout https://github.com/mredig/AsyncConcurrentQueue.git at 0.2.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mredig/AsyncConcurrentQueue.git
https://github.com/mredig/AsyncConcurrentQueue.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "AsyncConcurrentQueue",
"name" : "AsyncConcurrentQueue",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AsyncConcurrentQueue",
"targets" : [
"AsyncConcurrentQueue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncConcurrentQueueTests",
"module_type" : "SwiftTarget",
"name" : "AsyncConcurrentQueueTests",
"path" : "Tests/AsyncConcurrentQueueTests",
"sources" : [
"AsyncConcurrentQueueTests.swift",
"FutureTaskTests.swift"
],
"target_dependencies" : [
"AsyncConcurrentQueue"
],
"type" : "test"
},
{
"c99name" : "AsyncConcurrentQueue",
"module_type" : "SwiftTarget",
"name" : "AsyncConcurrentQueue",
"path" : "Sources/AsyncConcurrentQueue",
"product_memberships" : [
"AsyncConcurrentQueue"
],
"sources" : [
"AsyncConcurrentQueue.swift",
"FutureTask.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/5] Compiling AsyncConcurrentQueue FutureTask.swift
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/FutureTask.swift:54:48: 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 | let buffer: Task<Success, Error>
53 | if detached {
54 | buffer = Task.detached(priority: priority) { [self] in
| `- 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 | try await withCheckedThrowingContinuation {
56 | setContinuation($0)
57 | }
58 |
59 | return try await operation()
| `- note: closure captures 'operation' which is accessible to code in the current task
60 | }
61 | } else {
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/FutureTask.swift:62:39: 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
60 | }
61 | } else {
62 | buffer = 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
63 | try await withCheckedThrowingContinuation {
64 | setContinuation($0)
65 | }
66 |
67 | return try await operation()
| `- note: closure captures 'operation' which is accessible to code in the current task
68 | }
69 | }
[4/5] Compiling AsyncConcurrentQueue AsyncConcurrentQueue.swift
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/AsyncConcurrentQueue.swift:70:5: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
68 | label.map { print("delaying \($0)") }
69 | async let delay: Void = withCheckedContinuation { continuation in
70 | appendToContinuations(continuation, withPriority: priority)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
71 | }
72 | bumpQueue()
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/AsyncConcurrentQueue.swift:86:16: 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
84 | ) async -> Task<T, Error> {
85 | if canIncrementCurrentTasks(andDoIt: true) {
86 | return Task {
| `- 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
87 | defer { decrementCurrentTasks() }
| `- note: closure captures 'self' which is accessible to code in the current task
88 | let rVal = try await block()
89 | return rVal
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/AsyncConcurrentQueue.swift:93:25: 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
91 | } else {
92 | label.map { print("delaying \($0)") }
93 | let delayTask = Task {
| `- 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
94 | await withCheckedContinuation { continuation in
95 | appendToContinuations(continuation, withPriority: priority)
| `- note: closure captures 'self' which is accessible to code in the current task
96 | }
97 | }
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/AsyncConcurrentQueue.swift:98:25: 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
96 | }
97 | }
98 | let finalTask = Task {
| `- 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
99 | _ = await delayTask.result
100 | defer { decrementCurrentTasks() }
| `- note: closure captures 'self' which is accessible to code in the current task
101 | try Task.checkCancellation()
102 | let rVal = try await block()
/host/spi-builder-workspace/Sources/AsyncConcurrentQueue/AsyncConcurrentQueue.swift:165:4: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
163 | public func waitForAllTasks() async {
164 | async let waiting: Void = withCheckedContinuation { continuation in
165 | waitingOnQueueContinuations.append(continuation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
166 | }
167 |
[5/5] Emitting module AsyncConcurrentQueue
Build complete! (5.97s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncConcurrentQueue",
"name" : "AsyncConcurrentQueue",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "AsyncConcurrentQueue",
"targets" : [
"AsyncConcurrentQueue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncConcurrentQueueTests",
"module_type" : "SwiftTarget",
"name" : "AsyncConcurrentQueueTests",
"path" : "Tests/AsyncConcurrentQueueTests",
"sources" : [
"AsyncConcurrentQueueTests.swift",
"FutureTaskTests.swift"
],
"target_dependencies" : [
"AsyncConcurrentQueue"
],
"type" : "test"
},
{
"c99name" : "AsyncConcurrentQueue",
"module_type" : "SwiftTarget",
"name" : "AsyncConcurrentQueue",
"path" : "Sources/AsyncConcurrentQueue",
"product_memberships" : [
"AsyncConcurrentQueue"
],
"sources" : [
"AsyncConcurrentQueue.swift",
"FutureTask.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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
Done.