Build Information
Successful build of CollectionConcurrencyKit, reference 0.2.0 (903a94
), with Swift 6.2 (beta) for Android on 22 Jun 2025 07:13:57 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/happn-app/CollectionConcurrencyKit.git
Reference: 0.2.0
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/happn-app/CollectionConcurrencyKit
* tag 0.2.0 -> FETCH_HEAD
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 0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/happn-app/CollectionConcurrencyKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/5] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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 | }
/host/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
/host/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
/host/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 | }
/host/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
/host/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
[4/5] Compiling CollectionConcurrencyKit DictionarySupport.swift
/host/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 | }
/host/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))
/host/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 | }
/host/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))
/host/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 | }
/host/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))
/host/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 | }
/host/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() {
[5/5] Emitting module CollectionConcurrencyKit
Build complete! (11.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CollectionConcurrencyKit",
"name" : "CollectionConcurrencyKit",
"path" : "/host/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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.