The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of async-collections, reference main (726af9), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 09:28:20 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/adam-fowler/async-collections.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/adam-fowler/async-collections.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[10/12] Write swift-version-1EA4D86E10B52AF.txt
[11/26] Compiling _AtomicsShims.c
[13/45] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/45] Compiling InternalCollectionsUtilities Debugging.swift
[15/46] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/46] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/46] Compiling InternalCollectionsUtilities Descriptions.swift
[18/46] Compiling Atomics AtomicReference.swift
[19/46] Compiling Atomics AtomicStorage.swift
[20/46] Compiling Atomics ManagedAtomicLazyReference.swift
[21/46] Compiling Atomics UnsafeAtomic.swift
[22/46] Emitting module InternalCollectionsUtilities
[23/46] Compiling Atomics DoubleWord.swift
[24/46] Compiling Atomics ManagedAtomic.swift
[25/46] Compiling Atomics AtomicBool.swift
[26/46] Compiling Atomics IntegerConformances.swift
[27/46] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/328] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[29/328] Compiling HeapModule Heap+Descriptions.swift
[30/328] Compiling OrderedCollections _HashTable+Constants.swift
[31/328] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[32/329] Compiling DequeModule _DequeSlot.swift
[33/329] Compiling DequeModule _DequeBufferHeader.swift
[34/329] Compiling DequeModule _DequeBuffer.swift
[35/329] Compiling HeapModule _HeapNode.swift
[36/329] Compiling HeapModule Heap.swift
[37/329] Compiling OrderedCollections _HashTable+Testing.swift
[38/329] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[39/329] Compiling HeapModule Heap+Invariants.swift
[40/329] Compiling HeapModule Heap+UnsafeHandle.swift
[41/329] Emitting module HeapModule
[42/329] Compiling OrderedCollections _HashTable.swift
[43/329] Compiling OrderedCollections _Hashtable+Header.swift
[44/329] Compiling DequeModule _UnsafeWrappedBuffer.swift
[45/329] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[46/329] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[47/329] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[48/329] Compiling HashTreeCollections TreeDictionary+Filter.swift
[49/329] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[50/329] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[51/329] Compiling HashTreeCollections _UnmanagedHashNode.swift
[52/329] Compiling HashTreeCollections _UnsafePath.swift
[53/329] Compiling HashTreeCollections TreeDictionary+Codable.swift
[54/329] Compiling HashTreeCollections TreeDictionary+Collection.swift
[55/329] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[56/329] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[57/335] Compiling HashTreeCollections TreeDictionary+Keys.swift
[58/335] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[59/335] Compiling HashTreeCollections TreeDictionary+Merge.swift
[60/335] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[61/335] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[62/335] Compiling HashTreeCollections TreeDictionary+Values.swift
[63/335] Compiling HashTreeCollections _HashNode+Structural union.swift
[64/335] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[65/335] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[66/335] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[67/335] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[68/335] Compiling HashTreeCollections _HashNode.swift
[69/340] Compiling HashTreeCollections _HashNodeHeader.swift
[70/340] Compiling HashTreeCollections _HashSlot.swift
[71/340] Compiling HashTreeCollections _HashStack.swift
[72/340] Compiling HashTreeCollections _HashTreeIterator.swift
[73/340] Compiling HashTreeCollections _HashTreeStatistics.swift
[74/340] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[75/340] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[76/340] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[77/340] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[78/340] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[79/340] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[80/340] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[81/340] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[82/340] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[83/340] Compiling HashTreeCollections TreeSet+Equatable.swift
[84/340] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[85/340] Compiling HashTreeCollections TreeSet+Extras.swift
[86/340] Compiling HashTreeCollections TreeSet+Filter.swift
[87/340] Compiling HashTreeCollections TreeSet+Hashable.swift
[88/340] Compiling HashTreeCollections TreeSet+Sendable.swift
[89/340] Compiling HashTreeCollections TreeSet+Sequence.swift
[90/340] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[99/348] Emitting module BitCollections
[100/348] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[101/348] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[102/348] Compiling OrderedCollections OrderedDictionary+Codable.swift
[103/348] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[104/348] Compiling HashTreeCollections _RawHashNode.swift
[110/348] Compiling OrderedCollections _HashTable+Bucket.swift
[111/348] Compiling OrderedCollections _HashTable+BucketIterator.swift
[112/348] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[113/348] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[114/348] Compiling HashTreeCollections _HashNode+Structural merge.swift
[115/348] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[116/348] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[131/348] Compiling BitCollections BitSet.swift
[132/348] Compiling BitCollections Range+Utilities.swift
[133/348] Compiling BitCollections Slice+Utilities.swift
[134/348] Compiling BitCollections UInt+Tricks.swift
[135/348] Compiling BitCollections _Word.swift
[136/348] Compiling OrderedCollections OrderedSet.swift
[137/348] Compiling OrderedCollections _UnsafeBitset.swift
[144/348] Emitting module DequeModule
[150/348] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[151/348] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[152/348] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[153/348] Compiling HashTreeCollections _HashNode+Structural filter.swift
[154/348] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[155/348] Compiling OrderedCollections OrderedDictionary+Values.swift
[156/348] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[181/348] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[182/348] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[183/348] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[184/348] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[185/348] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[186/348] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[187/348] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[188/348] Compiling HashTreeCollections TreeSet.swift
[280/356] Compiling Atomics Unmanaged extensions.swift
[312/356] Emitting module Atomics
[322/356] Emitting module OrderedCollections
[332/356] Emitting module _RopeModule
[333/356] Compiling _RopeModule Rope+Remove.swift
[334/356] Compiling _RopeModule Rope+RemoveSubrange.swift
[335/356] Compiling _RopeModule Rope+Split.swift
[336/356] Compiling _RopeModule Optional Utilities.swift
[337/356] Compiling _RopeModule String Utilities.swift
[338/356] Compiling _RopeModule String.Index+ABI.swift
[339/356] Compiling _RopeModule _CharacterRecognizer.swift
[356/356] Emitting module HashTreeCollections
[357/358] Emitting module Collections
[358/358] Compiling Collections Collections.swift
[359/366] Compiling AsyncCollections ForEach.swift
/Users/admin/builder/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
/Users/admin/builder/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
[360/366] Compiling AsyncCollections Map.swift
/Users/admin/builder/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() {
/Users/admin/builder/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
[361/366] Compiling AsyncCollections Filter.swift
/Users/admin/builder/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
/Users/admin/builder/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
[362/366] Compiling AsyncCollections TaskQueue.swift
[363/366] Compiling AsyncCollections CompactMap.swift
/Users/admin/builder/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
/Users/admin/builder/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
[364/366] Emitting module AsyncCollections
[365/366] Compiling AsyncCollections AsyncSemaphore.swift
[366/366] Compiling AsyncCollections FlatMap.swift
/Users/admin/builder/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() {
/Users/admin/builder/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
Build complete! (11.44s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[1188/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.88s)
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.47s)
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
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" : "/Users/admin/builder/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"
}
Done.