Build Information
Successful build of async-collections, reference 0.1.0 (726af9
), with Swift 6.2 (beta) for Linux on 22 Jun 2025 09:35:40 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[1205/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
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-24593BA9C3E375BF.txt
[13/44] Emitting module Atomics
[14/46] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/47] Compiling Atomics OptionalRawRepresentable.swift
[16/47] Compiling Atomics RawRepresentable.swift
[17/47] Compiling Atomics IntegerOperations.swift
[18/47] Compiling Atomics Unmanaged extensions.swift
[19/47] Compiling Atomics AtomicInteger.swift
[20/47] Compiling Atomics AtomicOptionalWrappable.swift
[21/47] Compiling Atomics AtomicReference.swift
[22/47] Compiling Atomics AtomicStorage.swift
[23/47] Compiling Atomics AtomicValue.swift
[24/47] Compiling Atomics UnsafeAtomic.swift
[25/47] Compiling Atomics UnsafeAtomicLazyReference.swift
[26/47] Compiling Atomics AtomicMemoryOrderings.swift
[27/47] Compiling Atomics DoubleWord.swift
[28/47] Compiling Atomics ManagedAtomic.swift
[29/47] Compiling Atomics ManagedAtomicLazyReference.swift
[34/47] Emitting module InternalCollectionsUtilities
[37/47] Compiling Atomics PointerConformances.swift
[38/47] Compiling Atomics Primitives.native.swift
[39/47] Compiling Atomics AtomicBool.swift
[40/47] Compiling Atomics IntegerConformances.swift
[48/48] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/323] Compiling BitCollections BitArray._UnsafeHandle.swift
[51/323] Compiling BitCollections BitArray.swift
[52/325] Compiling HeapModule _HeapNode.swift
[53/325] Compiling HeapModule Heap.swift
[54/325] Compiling BitCollections BitArray+Descriptions.swift
[55/325] Compiling BitCollections BitArray+Equatable.swift
[56/325] Compiling BitCollections BitArray+Codable.swift
[57/325] Compiling BitCollections BitArray+Collection.swift
[58/325] Compiling BitCollections BitArray+Copy.swift
[59/325] Compiling BitCollections BitArray+CustomReflectable.swift
[60/325] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[61/325] Compiling HeapModule Heap+UnsafeHandle.swift
[62/325] Compiling HeapModule Heap+Invariants.swift
[63/325] Compiling HeapModule Heap+Descriptions.swift
[64/325] Compiling DequeModule _DequeSlot.swift
[65/325] Compiling DequeModule _UnsafeWrappedBuffer.swift
[66/325] Emitting module HeapModule
[68/326] Compiling _RopeModule Rope+ForEachWhile.swift
[69/326] Compiling _RopeModule Rope+Insert.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 BitCollections BitSet+SetAlgebra isDisjoint.swift
[79/336] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[80/336] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[81/336] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[82/336] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[83/336] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[84/336] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[85/343] Compiling BitCollections BitSet+CustomReflectable.swift
[86/343] Compiling BitCollections BitSet+CustomStringConvertible.swift
[87/343] Compiling BitCollections BitSet+Equatable.swift
[88/343] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[89/343] Compiling BitCollections BitSet+Extras.swift
[90/343] Compiling BitCollections BitSet+Hashable.swift
[91/343] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[92/343] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[93/343] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[94/343] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[95/343] Compiling BitCollections BitSet+SetAlgebra union.swift
[96/343] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[97/343] Compiling BitCollections BitSet.Counted.swift
[98/343] Compiling _RopeModule Rope.swift
[99/343] Compiling _RopeModule RopeElement.swift
[100/343] Compiling BitCollections BitSet+Initializers.swift
[101/343] Compiling BitCollections BitSet+Invariants.swift
[102/343] Compiling BitCollections BitSet+Random.swift
[103/343] Compiling BitCollections BitSet+SetAlgebra basics.swift
[104/343] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[105/343] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[106/343] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[107/343] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[108/343] Compiling BitCollections BitArray+BitwiseOperations.swift
[109/343] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[110/343] Compiling BitCollections BitArray+RandomBits.swift
[111/343] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[112/343] Compiling BitCollections BitArray+Shifts.swift
[113/343] Compiling BitCollections BitArray+Testing.swift
[121/350] Compiling BitCollections Range+Utilities.swift
[122/350] Compiling BitCollections Slice+Utilities.swift
[123/350] Compiling BitCollections UInt+Tricks.swift
[124/350] Compiling BitCollections _Word.swift
[125/350] Compiling OrderedCollections OrderedSet.swift
[126/350] Compiling OrderedCollections _UnsafeBitset.swift
[127/350] Compiling _RopeModule Rope+Sequence.swift
[128/350] Compiling _RopeModule Rope+Append.swift
[129/350] Compiling _RopeModule Rope+Extract.swift
[130/350] Compiling _RopeModule Rope+Find.swift
[138/350] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[139/350] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[140/350] Compiling BitCollections BitArray+Extras.swift
[141/350] Compiling BitCollections BitArray+Fill.swift
[142/350] Compiling BitCollections BitArray+Hashable.swift
[143/350] Compiling BitCollections BitArray+Initializers.swift
[144/350] Compiling BitCollections BitArray+Invariants.swift
[145/350] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[162/350] Compiling BitCollections BitSet.Index.swift
[163/350] Compiling BitCollections BitSet._UnsafeHandle.swift
[164/350] Compiling BitCollections BitSet.swift
[165/350] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[166/350] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[167/350] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[168/350] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[169/350] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[170/350] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[171/350] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[172/350] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[173/350] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[174/350] Compiling HashTreeCollections TreeSet.swift
[189/350] Emitting module DequeModule
[207/351] Emitting module BitCollections
[298/361] Emitting module OrderedCollections
[333/362] Emitting module _RopeModule
[334/362] Emitting module HashTreeCollections
[336/363] Compiling _RopeModule Rope+Join.swift
[337/363] Compiling _RopeModule Rope+MutatingForEach.swift
[338/363] Compiling _RopeModule Rope+Remove.swift
[339/363] Compiling _RopeModule Rope+RemoveSubrange.swift
[340/363] Compiling _RopeModule Rope+Split.swift
[341/363] Compiling _RopeModule Optional Utilities.swift
[342/363] Compiling _RopeModule String Utilities.swift
[343/363] Compiling _RopeModule String.Index+ABI.swift
[344/363] Compiling _RopeModule _CharacterRecognizer.swift
[365/366] Compiling Collections Collections.swift
[366/366] Emitting module Collections
[368/375] Compiling AsyncCollections TaskQueue.swift
[369/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
[370/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
[371/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
[372/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
[373/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
[374/375] Compiling AsyncCollections AsyncSemaphore.swift
[375/375] Emitting module AsyncCollections
Build complete! (81.11s)
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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.