The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CollectionConcurrencyKit, reference main (b4f23e), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 02:57:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "collectionconcurrencykit",
      "name": "CollectionConcurrencyKit",
      "url": "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CollectionConcurrencyKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/83] Fetching collectionconcurrencykit
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (0.71s)
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at main (b4f23e2)
warning: '.resolve-product-dependencies': dependency 'collectionconcurrencykit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JohnSundell/CollectionConcurrencyKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module CollectionConcurrencyKit
[4/4] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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)
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |         }
/Users/admin/builder/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 |         }
/Users/admin/builder/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! (1.85s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CollectionConcurrencyKit",
  "name" : "CollectionConcurrencyKit",
  "path" : "/Users/admin/builder/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"
}
Done.