This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/JohnSundell/CollectionConcurrencyKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/4] Emitting module CollectionConcurrencyKit
[4/4] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:44:27: warning: capture of 'operation' with non-sendable type '(Self.Element) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |             for element in self {
 43 |                 group.addTask(priority: priority) {
 44 |                     await operation(element)
    |                           |- warning: capture of 'operation' with non-sendable type '(Self.Element) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 45 |                 }
 46 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:44:37: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 42 |             for element in self {
 43 |                 group.addTask(priority: priority) {
 44 |                     await operation(element)
    |                                     `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 45 |                 }
 46 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:70:31: warning: capture of 'operation' with non-sendable type '(Self.Element) async throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |             for element in self {
 69 |                 group.addTask(priority: priority) {
 70 |                     try await operation(element)
    |                               |- warning: capture of 'operation' with non-sendable type '(Self.Element) async throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:70:41: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 68 |             for element in self {
 69 |                 group.addTask(priority: priority) {
 70 |                     try await operation(element)
    |                                         `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 71 |                 }
 72 |             }
/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:126:23: warning: capture of 'transform' with non-sendable type '(Self.Element) async -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |         let tasks = map { element in
125 |             Task(priority: priority) {
126 |                 await transform(element)
    |                       |- warning: capture of 'transform' with non-sendable type '(Self.Element) async -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
127 |             }
128 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:126:33: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |         let tasks = map { element in
125 |             Task(priority: priority) {
126 |                 await transform(element)
    |                                 `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |             }
128 |         }
/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:157:27: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
155 |         let tasks = map { element in
156 |             Task(priority: priority) {
157 |                 try await transform(element)
    |                           |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
158 |             }
159 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:157:37: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
155 |         let tasks = map { element in
156 |             Task(priority: priority) {
157 |                 try await transform(element)
    |                                     `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
158 |             }
159 |         }
/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:221:23: warning: capture of 'transform' with non-sendable type '(Self.Element) async -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
219 |         let tasks = map { element in
220 |             Task(priority: priority) {
221 |                 await transform(element)
    |                       |- warning: capture of 'transform' with non-sendable type '(Self.Element) async -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
222 |             }
223 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:221:33: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
219 |         let tasks = map { element in
220 |             Task(priority: priority) {
221 |                 await transform(element)
    |                                 `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |             }
223 |         }
/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:254:27: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
252 |         let tasks = map { element in
253 |             Task(priority: priority) {
254 |                 try await transform(element)
    |                           |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
255 |             }
256 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:254:37: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
252 |         let tasks = map { element in
253 |             Task(priority: priority) {
254 |                 try await transform(element)
    |                                     `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
255 |             }
256 |         }
/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:316:23: warning: capture of 'transform' with non-sendable type '(Self.Element) async -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
314 |         let tasks = map { element in
315 |             Task(priority: priority) {
316 |                 await transform(element)
    |                       |- warning: capture of 'transform' with non-sendable type '(Self.Element) async -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
317 |             }
318 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:316:33: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
314 |         let tasks = map { element in
315 |             Task(priority: priority) {
316 |                 await transform(element)
    |                                 `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
317 |             }
318 |         }
/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:350:27: warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |         let tasks = map { element in
349 |             Task(priority: priority) {
350 |                 try await transform(element)
    |                           |- warning: capture of 'transform' with non-sendable type '(Self.Element) async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
351 |             }
352 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:350:37: warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 |         let tasks = map { element in
349 |             Task(priority: priority) {
350 |                 try await transform(element)
    |                                     `- warning: capture of 'element' with non-sendable type 'Self.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 |             }
352 |         }
Build complete! (3.14s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.