Build Information
Successful build of async-collections, reference 0.1.0 (726af9
), with Swift 6.2 (beta) for Android on 22 Jun 2025 09:35:34 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 0.1.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/adam-fowler/async-collections
* tag 0.1.0 -> FETCH_HEAD
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 0.1.0
========================================
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-1":/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
[1080/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.17s)
Fetched https://github.com/apple/swift-collections.git from cache (2.21s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.10s)
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
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
Building for debugging...
[0/12] Write sources
[10/12] Compiling _AtomicsShims.c
[11/12] Write swift-version-8C5A4AE7A8CE2BA.txt
[13/44] Emitting module InternalCollectionsUtilities
[14/45] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[15/45] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/45] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[17/45] Compiling InternalCollectionsUtilities Integer rank.swift
[18/45] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/47] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/47] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/47] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/47] Emitting module Atomics
[27/47] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/47] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[30/47] Compiling InternalCollectionsUtilities Debugging.swift
[31/47] Compiling Atomics DoubleWord.swift
[33/47] Compiling InternalCollectionsUtilities Descriptions.swift
[36/48] Compiling Atomics ManagedAtomic.swift
[37/48] Compiling Atomics ManagedAtomicLazyReference.swift
[38/48] Compiling Atomics UnsafeAtomic.swift
[39/48] Compiling Atomics UnsafeAtomicLazyReference.swift
[47/257] Compiling HeapModule Heap+Invariants.swift
[48/322] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[49/322] Compiling HashTreeCollections _Bucket.swift
[50/322] Compiling HashTreeCollections _Hash.swift
[51/324] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[52/324] Compiling HashTreeCollections _HashNode.swift
[54/325] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[55/325] Compiling HashTreeCollections _HashNode+Structural union.swift
[56/325] Emitting module HeapModule
[57/325] Compiling HeapModule _HeapNode.swift
[58/325] Compiling HeapModule Heap.swift
[59/325] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[62/325] Compiling HashTreeCollections _HashNodeHeader.swift
[63/325] Compiling HashTreeCollections _HashSlot.swift
[64/325] Compiling HashTreeCollections _HashStack.swift
[65/325] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[66/325] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[67/332] Compiling HeapModule Heap+UnsafeHandle.swift
[68/332] Compiling HeapModule Heap+Descriptions.swift
[70/333] Compiling HashTreeCollections _HashNode+Debugging.swift
[71/333] Compiling HashTreeCollections _HashNode+Initializers.swift
[72/333] Compiling HashTreeCollections _HashLevel.swift
[73/333] Compiling HashTreeCollections _HashNode+Builder.swift
[74/333] Compiling DequeModule _DequeSlot.swift
[75/333] Compiling DequeModule _UnsafeWrappedBuffer.swift
[76/333] Compiling HashTreeCollections _RawHashNode.swift
[77/333] Compiling HashTreeCollections _UnmanagedHashNode.swift
[78/333] Compiling HashTreeCollections _UnsafePath.swift
[79/333] Compiling HashTreeCollections TreeDictionary+Codable.swift
[80/333] Compiling HashTreeCollections TreeDictionary+Collection.swift
[81/333] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[82/333] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[83/333] Compiling HashTreeCollections TreeSet+Hashable.swift
[84/333] Compiling HashTreeCollections TreeSet+Sendable.swift
[85/333] Compiling HashTreeCollections TreeSet+Sequence.swift
[86/333] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[87/333] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[88/333] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[89/333] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[90/333] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[91/333] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[92/333] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[93/343] Compiling HashTreeCollections _HashNode+Structural merge.swift
[94/343] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[95/343] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[96/343] Compiling HashTreeCollections TreeDictionary+Filter.swift
[97/343] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[98/343] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[99/343] Compiling HashTreeCollections TreeDictionary+Keys.swift
[100/343] Compiling HashTreeCollections _HashNode+Storage.swift
[101/343] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[102/343] Compiling HashTreeCollections _HashNode+Structural filter.swift
[103/343] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[104/343] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[105/343] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[106/343] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[107/350] Compiling HashTreeCollections _HashNode+Invariants.swift
[108/350] Compiling HashTreeCollections _HashNode+Lookups.swift
[109/350] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[110/350] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[111/350] Compiling BitCollections Range+Utilities.swift
[112/350] Compiling BitCollections Slice+Utilities.swift
[113/350] Compiling BitCollections UInt+Tricks.swift
[114/350] Compiling BitCollections _Word.swift
[115/350] Compiling OrderedCollections OrderedSet.swift
[116/350] Compiling OrderedCollections _UnsafeBitset.swift
[117/350] Compiling HashTreeCollections TreeSet+Equatable.swift
[118/350] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[119/350] Compiling HashTreeCollections TreeSet+Extras.swift
[120/350] Compiling HashTreeCollections TreeSet+Filter.swift
[121/350] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[122/350] Compiling HashTreeCollections TreeDictionary+Merge.swift
[123/350] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[124/350] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[125/350] Compiling HashTreeCollections TreeDictionary+Values.swift
[126/350] Compiling HashTreeCollections _HashTreeIterator.swift
[127/350] Compiling HashTreeCollections _HashTreeStatistics.swift
[128/350] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[136/350] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[137/350] Compiling HashTreeCollections _AncestorHashSlots.swift
[138/350] Compiling HashTreeCollections _Bitmap.swift
[171/350] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[172/350] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[173/350] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[174/350] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[175/350] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[176/350] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[177/350] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[178/350] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[179/350] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[180/350] Compiling HashTreeCollections TreeSet.swift
[190/351] Emitting module DequeModule
[209/360] Emitting module BitCollections
[226/360] Compiling BitCollections BitSet.swift
[241/360] Compiling BitCollections BitSet.Index.swift
[242/360] Compiling BitCollections BitSet._UnsafeHandle.swift
[268/361] Emitting module OrderedCollections
[280/362] Emitting module _RopeModule
[292/362] Emitting module HashTreeCollections
[316/363] Compiling _RopeModule Rope+Join.swift
[317/363] Compiling _RopeModule Rope+MutatingForEach.swift
[318/363] Compiling _RopeModule Rope+Remove.swift
[319/363] Compiling _RopeModule Rope+RemoveSubrange.swift
[320/363] Compiling _RopeModule Rope+Split.swift
[321/363] Compiling _RopeModule Optional Utilities.swift
[322/363] Compiling _RopeModule String Utilities.swift
[323/363] Compiling _RopeModule String.Index+ABI.swift
[324/363] Compiling _RopeModule _CharacterRecognizer.swift
[365/366] Emitting module Collections
[366/366] Compiling Collections Collections.swift
[368/375] Compiling AsyncCollections TaskQueue.swift
[369/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
[370/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
[371/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
[372/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
[373/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
[374/375] Emitting module AsyncCollections
[375/375] Compiling AsyncCollections AsyncSemaphore.swift
Build complete! (71.89s)
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.