Build Information
Successful build of async-collections, reference main (726af9
), with Swift 6.2 (beta) for Android on 22 Jun 2025 09:35:31 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/adam-fowler/async-collections.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/adam-fowler/async-collections
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 726af96 Add CompactMap functions (#3)
Cloned https://github.com/adam-fowler/async-collections.git
Revision (git rev-parse @):
726af96095a19df6b8053ddbaed0a727aa70ccb2
SUCCESS checkout https://github.com/adam-fowler/async-collections.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/adam-fowler/async-collections.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
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1798/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.99s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/12] Write sources
[10/12] Compiling _AtomicsShims.c
[11/12] Write swift-version-8C5A4AE7A8CE2BA.txt
[13/44] Emitting module Atomics
[14/46] Compiling Atomics AtomicMemoryOrderings.swift
[15/46] Compiling Atomics DoubleWord.swift
[16/46] Compiling Atomics AtomicStorage.swift
[17/46] Compiling Atomics AtomicValue.swift
[18/46] Compiling Atomics ManagedAtomic.swift
[19/46] Compiling Atomics ManagedAtomicLazyReference.swift
[20/46] Compiling Atomics OptionalRawRepresentable.swift
[21/46] Compiling Atomics RawRepresentable.swift
[22/46] Compiling Atomics AtomicBool.swift
[23/46] Compiling Atomics AtomicInteger.swift
[24/46] Compiling Atomics AtomicOptionalWrappable.swift
[25/46] Compiling Atomics AtomicReference.swift
[26/46] Compiling Atomics UnsafeAtomic.swift
[27/46] Compiling Atomics UnsafeAtomicLazyReference.swift
[28/46] Compiling Atomics IntegerOperations.swift
[29/46] Compiling Atomics Unmanaged extensions.swift
[38/47] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[41/47] Emitting module InternalCollectionsUtilities
[44/47] Compiling Atomics IntegerConformances.swift
[45/47] Compiling Atomics PointerConformances.swift
[46/47] Compiling Atomics Primitives.native.swift
[48/48] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/97] Compiling HeapModule Heap+Invariants.swift
[51/323] Compiling HeapModule Heap+Descriptions.swift
[52/323] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[53/323] Compiling HashTreeCollections _HashNode+Storage.swift
[54/325] Compiling HeapModule _HeapNode.swift
[55/325] Compiling HeapModule Heap.swift
[56/325] Compiling HashTreeCollections _AncestorHashSlots.swift
[57/325] Compiling HashTreeCollections _Bitmap.swift
[58/325] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[59/325] Compiling HeapModule Heap+UnsafeHandle.swift
[60/325] Emitting module HeapModule
[61/326] Compiling HashTreeCollections _HashLevel.swift
[62/326] Compiling HashTreeCollections _HashNode+Builder.swift
[63/326] Compiling HashTreeCollections _HashNode+Debugging.swift
[64/326] Compiling HashTreeCollections _HashNode+Initializers.swift
[66/326] Compiling DequeModule _DequeSlot.swift
[67/326] Compiling DequeModule _UnsafeWrappedBuffer.swift
[68/326] Compiling HashTreeCollections TreeSet+Hashable.swift
[69/326] Compiling HashTreeCollections TreeSet+Sendable.swift
[70/326] Compiling HashTreeCollections TreeSet+Sequence.swift
[71/326] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[72/326] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[73/326] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[74/326] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[75/326] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[76/326] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[77/326] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[78/336] Compiling HashTreeCollections _HashNode+Structural union.swift
[79/336] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[80/336] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[81/336] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[82/336] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[83/336] Compiling HashTreeCollections _HashNode.swift
[84/336] Compiling HashTreeCollections _HashNodeHeader.swift
[85/343] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[86/343] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[87/343] Compiling HashTreeCollections TreeDictionary+Keys.swift
[88/343] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[89/343] Compiling HashTreeCollections TreeDictionary+Merge.swift
[90/343] Compiling BitCollections BitSet.Index.swift
[91/343] Compiling BitCollections BitSet._UnsafeHandle.swift
[92/343] Compiling HashTreeCollections TreeDictionary+Collection.swift
[93/343] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[94/343] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[95/343] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[96/343] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[97/343] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[98/343] Compiling HashTreeCollections TreeDictionary+Filter.swift
[99/350] Compiling OrderedCollections OrderedSet+SubSequence.swift
[100/350] Compiling OrderedCollections OrderedSet+Testing.swift
[101/350] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[102/350] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[103/350] Compiling OrderedCollections OrderedSet.swift
[104/350] Compiling OrderedCollections _UnsafeBitset.swift
[105/350] Compiling HashTreeCollections TreeSet+Equatable.swift
[106/350] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[107/350] Compiling HashTreeCollections TreeSet+Extras.swift
[108/350] Compiling HashTreeCollections TreeSet+Filter.swift
[109/350] Compiling HashTreeCollections _HashNode+Invariants.swift
[110/350] Compiling HashTreeCollections _HashNode+Lookups.swift
[111/350] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[112/350] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[113/350] Compiling HashTreeCollections _HashStack.swift
[114/350] Compiling HashTreeCollections _HashTreeIterator.swift
[115/350] Compiling HashTreeCollections _HashTreeStatistics.swift
[116/350] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[117/350] Compiling HashTreeCollections _RawHashNode.swift
[118/350] Compiling HashTreeCollections _UnmanagedHashNode.swift
[119/350] Compiling HashTreeCollections _UnsafePath.swift
[120/350] Compiling HashTreeCollections TreeDictionary+Codable.swift
[128/350] Compiling HashTreeCollections _HashSlot.swift
[139/350] Compiling OrderedCollections OrderedSet+Sendable.swift
[140/350] Compiling HashTreeCollections _Bucket.swift
[141/350] Compiling HashTreeCollections _Hash.swift
[142/350] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[143/350] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[144/350] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[145/350] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[146/350] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[147/350] Compiling HashTreeCollections _HashNode+Structural merge.swift
[148/350] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[149/350] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[179/350] Emitting module DequeModule
[181/351] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[182/351] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[183/351] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[184/351] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[185/351] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[186/351] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[187/351] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[188/351] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[189/351] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[190/351] Compiling HashTreeCollections TreeSet.swift
[211/360] Emitting module BitCollections
[279/361] Emitting module OrderedCollections
[291/362] Emitting module _RopeModule
[353/362] Compiling _RopeModule Rope+Join.swift
[354/362] Compiling _RopeModule Rope+MutatingForEach.swift
[355/362] Compiling _RopeModule Rope+Remove.swift
[356/362] Compiling _RopeModule Rope+RemoveSubrange.swift
[357/362] Compiling _RopeModule Rope+Split.swift
[358/362] Compiling _RopeModule Optional Utilities.swift
[359/362] Compiling _RopeModule String Utilities.swift
[360/362] Compiling _RopeModule String.Index+ABI.swift
[361/362] Compiling _RopeModule _CharacterRecognizer.swift
[363/363] Emitting module HashTreeCollections
[365/366] Compiling Collections Collections.swift
[366/366] Emitting module Collections
[368/375] Emitting module AsyncCollections
[369/375] Compiling AsyncCollections TaskQueue.swift
[370/375] Compiling AsyncCollections FlatMap.swift
/host/spi-builder-workspace/Sources/AsyncCollections/FlatMap.swift:40:81: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | /// the same or of a different type.
39 | /// - Returns: An array containing the transformed elements of this sequence.
40 | public func concurrentFlatMap<T: Sequence>(priority: TaskPriority? = nil, _ transform: @Sendable @escaping (Element) async throws -> T) async rethrows -> [T.Element] where T: Sendable {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | let result: ContiguousArray<(Int, T)> = try await withThrowingTaskGroup(of: (Int, T).self) { group in
42 | for (index, element) in self.enumerated() {
/host/spi-builder-workspace/Sources/AsyncCollections/FlatMap.swift:90:106: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | /// the same or of a different type.
89 | /// - Returns: An array containing the transformed elements of this sequence.
90 | public func concurrentFlatMap<T: Sequence>(maxConcurrentTasks: Int, priority: TaskPriority? = nil, _ transform: @Sendable @escaping (Element) async throws -> T) async rethrows -> [T.Element] where T: Sendable {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
91 | let result: ContiguousArray<(Int, T)> = try await withThrowingTaskGroup(of: (Int, T).self) { group in
92 | // Code for collating results copied from Sequence.map in Swift codebase
[371/375] Compiling AsyncCollections CompactMap.swift
/host/spi-builder-workspace/Sources/AsyncCollections/CompactMap.swift:46:84: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// whether the element should be included in the returned array.
45 | /// - Returns: An array of the elements that `transform` allowed.
46 | public func concurrentCompactMap<T: Sendable>(priority: TaskPriority? = nil, _ transform: @Sendable @escaping (Element) async throws -> T?) async rethrows -> [T] {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | let result: ContiguousArray<(Int, T)> = try await withThrowingTaskGroup(
48 | of: (Int, T)?.self
/host/spi-builder-workspace/Sources/AsyncCollections/CompactMap.swift:91:109: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// whether the element should be included in the returned array.
90 | /// - Returns: An array of the elements that `transform` allowed.
91 | public func concurrentCompactMap<T: Sendable>(maxConcurrentTasks: Int, priority: TaskPriority? = nil, _ transform: @Sendable @escaping (Element) async throws -> T?) async rethrows -> [T] {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | let result: ContiguousArray<(Int, T)> = try await withThrowingTaskGroup(
93 | of: (Int, T)?.self
[372/375] Compiling AsyncCollections Filter.swift
/host/spi-builder-workspace/Sources/AsyncCollections/Filter.swift:37:67: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
35 | /// whether the element should be included in the returned array.
36 | /// - Returns: An array of the elements that `isIncluded` allowed.
37 | public func concurrentFilter(priority: TaskPriority? = nil, _ isIncluded: @Sendable @escaping (Element) async throws -> Bool) async rethrows -> [Element] {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 | let result: ContiguousArray<(Int, Element)> = try await withThrowingTaskGroup(
39 | of: (Int, Element)?.self
/host/spi-builder-workspace/Sources/AsyncCollections/Filter.swift:79:92: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | /// whether the element should be included in the returned array.
78 | /// - Returns: An array of the elements that `isIncluded` allowed.
79 | public func concurrentFilter(maxConcurrentTasks: Int, priority: TaskPriority? = nil, _ isIncluded: @Sendable @escaping (Element) async throws -> Bool) async rethrows -> [Element] {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | let result: ContiguousArray<(Int, Element)> = try await withThrowingTaskGroup(
81 | of: (Int, Element)?.self
[373/375] Compiling AsyncCollections ForEach.swift
/host/spi-builder-workspace/Sources/AsyncCollections/ForEach.swift:23:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 | /// - priority: Task priority for tasks in TaskGroup
22 | /// - body: Closure to be called for each element
23 | public func concurrentForEach(priority: TaskPriority? = nil, _ body: @Sendable @escaping (Element) async throws -> Void) async rethrows {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | try await withThrowingTaskGroup(of: Void.self) { group in
25 | self.forEach { element in
/host/spi-builder-workspace/Sources/AsyncCollections/ForEach.swift:42:93: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | /// - priority: Task priority for tasks in TaskGroup
41 | /// - body: Closure to be called for each element
42 | public func concurrentForEach(maxConcurrentTasks: Int, priority: TaskPriority? = nil, _ body: @Sendable @escaping (Element) async throws -> Void) async rethrows {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | try await withThrowingTaskGroup(of: Void.self) { group in
44 | var count = 0
[374/375] Compiling AsyncCollections Map.swift
/host/spi-builder-workspace/Sources/AsyncCollections/Map.swift:44:77: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | /// the same or of a different type.
43 | /// - Returns: An array containing the transformed elements of this sequence.
44 | public func concurrentMap<T: Sendable>(priority: TaskPriority? = nil, _ transform: @Sendable @escaping (Element) async throws -> T) async rethrows -> [T] {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | let result: ContiguousArray<(Int, T)> = try await withThrowingTaskGroup(of: (Int, T).self) { group in
46 | for (index, element) in self.enumerated() {
/host/spi-builder-workspace/Sources/AsyncCollections/Map.swift:90:102: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | /// the same or of a different type.
89 | /// - Returns: An array containing the transformed elements of this sequence.
90 | public func concurrentMap<T: Sendable>(maxConcurrentTasks: Int, priority: TaskPriority? = nil, _ transform: @Sendable @escaping (Element) async throws -> T) async rethrows -> [T] {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
91 | let result: ContiguousArray<(Int, T)> = try await withThrowingTaskGroup(of: (Int, T).self) { group in
92 | // Code for collating results copied from Sequence.map in Swift codebase
[375/375] Compiling AsyncCollections AsyncSemaphore.swift
Build complete! (74.83s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
}
],
"manifest_display_name" : "async-collections",
"name" : "async-collections",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "AsyncCollections",
"targets" : [
"AsyncCollections"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncCollections",
"module_type" : "SwiftTarget",
"name" : "AsyncCollections",
"path" : "Sources/AsyncCollections",
"product_dependencies" : [
"Atomics",
"Collections"
],
"product_memberships" : [
"AsyncCollections"
],
"sources" : [
"AsyncSemaphore.swift",
"CompactMap.swift",
"Filter.swift",
"FlatMap.swift",
"ForEach.swift",
"Map.swift",
"TaskQueue.swift"
],
"type" : "library"
},
{
"c99name" : "AsyncCollectionTests",
"module_type" : "SwiftTarget",
"name" : "AsyncCollectionTests",
"path" : "Tests/AsyncCollectionTests",
"sources" : [
"AsyncSemaphoreTests.swift",
"CompactMapTests.swift",
"FilterTests.swift",
"FlatMapTests.swift",
"ForEachTests.swift",
"MapTests.swift",
"TaskQueueTests.swift"
],
"target_dependencies" : [
"AsyncCollections"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
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.