Build Information
Successful build of CollectionConcurrencyKit, reference main (b4f23e
), with Swift 6.0 for Linux on 2 Nov 2024 02:49:23 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JohnSundell/CollectionConcurrencyKit.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/JohnSundell/CollectionConcurrencyKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b4f23e2 README: Update system requirements for concurrency back-compat
Cloned https://github.com/JohnSundell/CollectionConcurrencyKit.git
Revision (git rev-parse @):
b4f23e24b5a1bff301efc5e70871083ca029ff95
SUCCESS checkout https://github.com/JohnSundell/CollectionConcurrencyKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/JohnSundell/CollectionConcurrencyKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module CollectionConcurrencyKit
[4/4] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:124:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | /// - returns: The transformed values as an array. The order of
119 | /// the transformed values will match the original sequence.
120 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
121 | withPriority priority: TaskPriority? = nil,
122 | _ transform: @escaping (Element) async -> T
123 | ) async -> [T] {
124 | let tasks = map { element in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
125 | Task(priority: priority) {
126 | await transform(element)
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:125:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | /// - returns: The transformed values as an array. The order of
119 | /// the transformed values will match the original sequence.
120 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
121 | withPriority priority: TaskPriority? = nil,
122 | _ transform: @escaping (Element) async -> T
123 | ) async -> [T] {
124 | let tasks = map { element in
125 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | await transform(element)
127 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:125:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | /// - returns: The transformed values as an array. The order of
119 | /// the transformed values will match the original sequence.
120 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
121 | withPriority priority: TaskPriority? = nil,
122 | _ transform: @escaping (Element) async -> T
123 | ) async -> [T] {
124 | let tasks = map { element in
125 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
126 | await transform(element)
127 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:131:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | /// - returns: The transformed values as an array. The order of
119 | /// the transformed values will match the original sequence.
120 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
121 | withPriority priority: TaskPriority? = nil,
122 | _ transform: @escaping (Element) async -> T
:
129 |
130 | return await tasks.asyncMap { task in
131 | await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 | }
133 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:155:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
149 | /// the transformed values will match the original sequence.
150 | /// - throws: Rethrows any error thrown by the passed closure.
151 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
152 | withPriority priority: TaskPriority? = nil,
153 | _ transform: @escaping (Element) async throws -> T
154 | ) async throws -> [T] {
155 | let tasks = map { element in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | Task(priority: priority) {
157 | try await transform(element)
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:156:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
149 | /// the transformed values will match the original sequence.
150 | /// - throws: Rethrows any error thrown by the passed closure.
151 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
152 | withPriority priority: TaskPriority? = nil,
153 | _ transform: @escaping (Element) async throws -> T
154 | ) async throws -> [T] {
155 | let tasks = map { element in
156 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | try await transform(element)
158 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:156:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
149 | /// the transformed values will match the original sequence.
150 | /// - throws: Rethrows any error thrown by the passed closure.
151 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
152 | withPriority priority: TaskPriority? = nil,
153 | _ transform: @escaping (Element) async throws -> T
154 | ) async throws -> [T] {
155 | let tasks = map { element in
156 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | try await transform(element)
158 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:162:28: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
149 | /// the transformed values will match the original sequence.
150 | /// - throws: Rethrows any error thrown by the passed closure.
151 | func concurrentMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
152 | withPriority priority: TaskPriority? = nil,
153 | _ transform: @escaping (Element) async throws -> T
:
160 |
161 | return try await tasks.asyncMap { task in
162 | try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
163 | }
164 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:219:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
213 | /// the transformed values will match the original sequence,
214 | /// except for the values that were transformed into `nil`.
215 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
216 | withPriority priority: TaskPriority? = nil,
217 | _ transform: @escaping (Element) async -> T?
218 | ) async -> [T] {
219 | let tasks = map { element in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
220 | Task(priority: priority) {
221 | await transform(element)
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:220:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
213 | /// the transformed values will match the original sequence,
214 | /// except for the values that were transformed into `nil`.
215 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
216 | withPriority priority: TaskPriority? = nil,
217 | _ transform: @escaping (Element) async -> T?
218 | ) async -> [T] {
219 | let tasks = map { element in
220 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
221 | await transform(element)
222 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:220:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
213 | /// the transformed values will match the original sequence,
214 | /// except for the values that were transformed into `nil`.
215 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
216 | withPriority priority: TaskPriority? = nil,
217 | _ transform: @escaping (Element) async -> T?
218 | ) async -> [T] {
219 | let tasks = map { element in
220 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
221 | await transform(element)
222 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:226:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
213 | /// the transformed values will match the original sequence,
214 | /// except for the values that were transformed into `nil`.
215 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
216 | withPriority priority: TaskPriority? = nil,
217 | _ transform: @escaping (Element) async -> T?
:
224 |
225 | return await tasks.asyncCompactMap { task in
226 | await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
227 | }
228 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:252:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
246 | /// except for the values that were transformed into `nil`.
247 | /// - throws: Rethrows any error thrown by the passed closure.
248 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
249 | withPriority priority: TaskPriority? = nil,
250 | _ transform: @escaping (Element) async throws -> T?
251 | ) async throws -> [T] {
252 | let tasks = map { element in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
253 | Task(priority: priority) {
254 | try await transform(element)
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:253:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
246 | /// except for the values that were transformed into `nil`.
247 | /// - throws: Rethrows any error thrown by the passed closure.
248 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
249 | withPriority priority: TaskPriority? = nil,
250 | _ transform: @escaping (Element) async throws -> T?
251 | ) async throws -> [T] {
252 | let tasks = map { element in
253 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
254 | try await transform(element)
255 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:253:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
246 | /// except for the values that were transformed into `nil`.
247 | /// - throws: Rethrows any error thrown by the passed closure.
248 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
249 | withPriority priority: TaskPriority? = nil,
250 | _ transform: @escaping (Element) async throws -> T?
251 | ) async throws -> [T] {
252 | let tasks = map { element in
253 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
254 | try await transform(element)
255 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:259:28: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
246 | /// except for the values that were transformed into `nil`.
247 | /// - throws: Rethrows any error thrown by the passed closure.
248 | func concurrentCompactMap<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
249 | withPriority priority: TaskPriority? = nil,
250 | _ transform: @escaping (Element) async throws -> T?
:
257 |
258 | return try await tasks.asyncCompactMap { task in
259 | try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 | }
261 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:314:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | /// with the results of each closure call appearing in-order
309 | /// within the returned array.
310 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
311 | withPriority priority: TaskPriority? = nil,
312 | _ transform: @escaping (Element) async -> T
313 | ) async -> [T.Element] {
314 | let tasks = map { element in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
315 | Task(priority: priority) {
316 | await transform(element)
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:315:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | /// with the results of each closure call appearing in-order
309 | /// within the returned array.
310 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
311 | withPriority priority: TaskPriority? = nil,
312 | _ transform: @escaping (Element) async -> T
313 | ) async -> [T.Element] {
314 | let tasks = map { element in
315 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
316 | await transform(element)
317 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:315:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | /// with the results of each closure call appearing in-order
309 | /// within the returned array.
310 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
311 | withPriority priority: TaskPriority? = nil,
312 | _ transform: @escaping (Element) async -> T
313 | ) async -> [T.Element] {
314 | let tasks = map { element in
315 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
316 | await transform(element)
317 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:321:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
308 | /// with the results of each closure call appearing in-order
309 | /// within the returned array.
310 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
311 | withPriority priority: TaskPriority? = nil,
312 | _ transform: @escaping (Element) async -> T
:
319 |
320 | return await tasks.asyncFlatMap { task in
321 | await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 | }
323 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:348:25: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 | /// within the returned array.
343 | /// - throws: Rethrows any error thrown by the passed closure.
344 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
345 | withPriority priority: TaskPriority? = nil,
346 | _ transform: @escaping (Element) async throws -> T
347 | ) async throws -> [T.Element] {
348 | let tasks = map { element in
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
349 | Task(priority: priority) {
350 | try await transform(element)
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:349:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 | /// within the returned array.
343 | /// - throws: Rethrows any error thrown by the passed closure.
344 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
345 | withPriority priority: TaskPriority? = nil,
346 | _ transform: @escaping (Element) async throws -> T
347 | ) async throws -> [T.Element] {
348 | let tasks = map { element in
349 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
350 | try await transform(element)
351 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:349:13: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 | /// within the returned array.
343 | /// - throws: Rethrows any error thrown by the passed closure.
344 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
345 | withPriority priority: TaskPriority? = nil,
346 | _ transform: @escaping (Element) async throws -> T
347 | ) async throws -> [T.Element] {
348 | let tasks = map { element in
349 | Task(priority: priority) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
350 | try await transform(element)
351 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:355:28: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
342 | /// within the returned array.
343 | /// - throws: Rethrows any error thrown by the passed closure.
344 | func concurrentFlatMap<T: Sequence>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
345 | withPriority priority: TaskPriority? = nil,
346 | _ transform: @escaping (Element) async throws -> T
:
353 |
354 | return try await tasks.asyncFlatMap { task in
355 | try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
356 | }
357 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:43:51: 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
41 | await withTaskGroup(of: Void.self) { group in
42 | for element in self {
43 | group.addTask(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
44 | await operation(element)
| `- note: closure captures 'operation' which is accessible to code in the current task
45 | }
46 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:69:51: 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
67 | try await withThrowingTaskGroup(of: Void.self) { group in
68 | for element in self {
69 | group.addTask(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
70 | try await operation(element)
| `- note: closure captures 'operation' which is accessible to code in the current task
71 | }
72 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:125:38: 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
123 | ) async -> [T] {
124 | let tasks = map { element in
125 | 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
126 | await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
127 | }
128 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:156:38: 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
154 | ) async throws -> [T] {
155 | let tasks = map { element in
156 | 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
157 | try await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
158 | }
159 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:220:38: 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
218 | ) async -> [T] {
219 | let tasks = map { element in
220 | 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
221 | await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
222 | }
223 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:253:38: 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
251 | ) async throws -> [T] {
252 | let tasks = map { element in
253 | 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
254 | try await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
255 | }
256 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:315:38: 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
313 | ) async -> [T.Element] {
314 | let tasks = map { element in
315 | 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
316 | await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
317 | }
318 | }
/host/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:349:38: 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
347 | ) async throws -> [T.Element] {
348 | let tasks = map { element in
349 | 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
350 | try await transform(element)
| `- note: closure captures 'transform' which is accessible to code in the current task
351 | }
352 | }
Build complete! (6.89s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CollectionConcurrencyKit",
"name" : "CollectionConcurrencyKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CollectionConcurrencyKit",
"targets" : [
"CollectionConcurrencyKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CollectionConcurrencyKitTests",
"module_type" : "SwiftTarget",
"name" : "CollectionConcurrencyKitTests",
"path" : "Tests",
"sources" : [
"CompactMapTests.swift",
"FlatMapTests.swift",
"ForEachTests.swift",
"MapTests.swift",
"TestCase.swift",
"TimingTests.swift"
],
"target_dependencies" : [
"CollectionConcurrencyKit"
],
"type" : "test"
},
{
"c99name" : "CollectionConcurrencyKit",
"module_type" : "SwiftTarget",
"name" : "CollectionConcurrencyKit",
"path" : "Sources",
"product_memberships" : [
"CollectionConcurrencyKit"
],
"sources" : [
"CollectionConcurrencyKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.