Build Information
Successful build of CollectionConcurrencyKit, reference main (903a94
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 07:09:21 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/happn-app/CollectionConcurrencyKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/happn-app/CollectionConcurrencyKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 903a94a Add support for dictionary values maps
Cloned https://github.com/happn-app/CollectionConcurrencyKit.git
Revision (git rev-parse @):
903a94af1104ccf907982dd35f980b60d95025a3
SUCCESS checkout https://github.com/happn-app/CollectionConcurrencyKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/happn-app/CollectionConcurrencyKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/5] Compiling CollectionConcurrencyKit DictionarySupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:25:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 | for (key, element) in self {
24 | group.addTask(priority: priority) {
25 | return await (key, transform(element))
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:23:9: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 | func concurrentMapValues<T>(withPriority priority: TaskPriority? = nil, _ transform: @escaping (Value) async -> T) async -> [Key: T] {
22 | return await withTaskGroup(of: (key: Key, value: T).self) { group in
23 | for (key, element) in self {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | group.addTask(priority: priority) {
25 | return await (key, transform(element))
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:42:17: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | for (key, element) in self {
41 | group.addTask(priority: priority) {
42 | return try await (key, transform(element))
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:40:9: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | func concurrentMapValues<T>(withPriority priority: TaskPriority? = nil, _ transform: @escaping (Value) async throws -> T) async throws -> [Key: T] {
39 | return try await withThrowingTaskGroup(of: (key: Key, value: T).self) { group in
40 | for (key, element) in self {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | group.addTask(priority: priority) {
42 | return try await (key, transform(element))
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:76:13: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | for (key, element) in self {
75 | group.addTask(priority: priority) {
76 | return await (key, transform(element))
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:74:9: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | func concurrentCompactMap<T>(withPriority priority: TaskPriority? = nil, _ transform: @escaping (Value) async -> T?) async -> [Key: T] {
73 | return await withTaskGroup(of: (key: Key, value: T?).self) { group in
74 | for (key, element) in self {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 | group.addTask(priority: priority) {
76 | return await (key, transform(element))
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:95:29: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | for (idx, element) in enumerated() {
94 | group.addTask(priority: priority) {
95 | return try await (idx, transform(element))
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 | }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/DictionarySupport.swift:91:77: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | }
90 |
91 | func concurrentCompactMap<T>(withPriority priority: TaskPriority? = nil, _ transform: @escaping (Element) async throws -> T?) async throws -> [T] {
| `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | return try await withThrowingTaskGroup(of: (offset: Int, value: T?).self) { group in
93 | for (idx, element) in enumerated() {
[4/5] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:39:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | func concurrentForEach(
38 | withPriority priority: TaskPriority? = nil,
39 | _ operation: @escaping (Element) async -> Void
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | ) async {
41 | await withTaskGroup(of: Void.self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:65:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
63 | func concurrentForEach(
64 | withPriority priority: TaskPriority? = nil,
65 | _ operation: @escaping (Element) async throws -> Void
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | ) async throws {
67 | try await withThrowingTaskGroup(of: Void.self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:122:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 | func concurrentMap<T>(
121 | withPriority priority: TaskPriority? = nil,
122 | _ transform: @escaping (Element) async -> T
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 | ) async -> [T] {
124 | return await withTaskGroup(of: (offset: Int, value: T).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:157:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
155 | func concurrentMap<T>(
156 | withPriority priority: TaskPriority? = nil,
157 | _ transform: @escaping (Element) async throws -> T
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
158 | ) async throws -> [T] {
159 | return try await withThrowingTaskGroup(of: (offset: Int, value: T).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:225:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
223 | func concurrentCompactMap<T>(
224 | withPriority priority: TaskPriority? = nil,
225 | _ transform: @escaping (Element) async -> T?
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 | ) async -> [T] {
227 | return await withTaskGroup(of: (offset: Int, value: T?).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:264:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
262 | func concurrentCompactMap<T>(
263 | withPriority priority: TaskPriority? = nil,
264 | _ transform: @escaping (Element) async throws -> T?
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
265 | ) async throws -> [T] {
266 | return try await withThrowingTaskGroup(of: (offset: Int, value: T?).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:337:28: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
335 | for (idx, element) in enumerated() {
336 | group.addTask(priority: priority) {
337 | return await (idx, transform(element))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
338 | }
339 | }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:332:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
330 | func concurrentFlatMap<T: Sequence>(
331 | withPriority priority: TaskPriority? = nil,
332 | _ transform: @escaping (Element) async -> T
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
333 | ) async -> [T.Element] {
334 | return await withTaskGroup(of: (offset: Int, value: T).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:332:11: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
330 | func concurrentFlatMap<T: Sequence>(
331 | withPriority priority: TaskPriority? = nil,
332 | _ transform: @escaping (Element) async -> T
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
333 | ) async -> [T.Element] {
334 | return await withTaskGroup(of: (offset: Int, value: T).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:375:32: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
373 | for (idx, element) in enumerated() {
374 | group.addTask(priority: priority) {
375 | return try await (idx, transform(element))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
376 | }
377 | }
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:370:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
368 | func concurrentFlatMap<T: Sequence>(
369 | withPriority priority: TaskPriority? = nil,
370 | _ transform: @escaping (Element) async throws -> T
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
371 | ) async throws -> [T.Element] {
372 | return try await withThrowingTaskGroup(of: (offset: Int, value: T).self) { group in
/Users/admin/builder/spi-builder-workspace/Sources/CollectionConcurrencyKit.swift:370:11: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
368 | func concurrentFlatMap<T: Sequence>(
369 | withPriority priority: TaskPriority? = nil,
370 | _ transform: @escaping (Element) async throws -> T
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
371 | ) async throws -> [T.Element] {
372 | return try await withThrowingTaskGroup(of: (offset: Int, value: T).self) { group in
[5/5] Emitting module CollectionConcurrencyKit
Build complete! (3.17s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CollectionConcurrencyKit",
"name" : "CollectionConcurrencyKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.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",
"DictionarySupport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.