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 0.1.0 (726af9), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 09:27:49 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: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         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/26] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/26] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/46] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/46] Compiling Atomics AtomicReference.swift
[17/46] Compiling Atomics AtomicStorage.swift
[18/46] Emitting module InternalCollectionsUtilities
[19/46] Compiling Atomics OptionalRawRepresentable.swift
[20/46] Compiling Atomics RawRepresentable.swift
[21/46] Compiling InternalCollectionsUtilities Descriptions.swift
[22/46] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[23/46] Compiling InternalCollectionsUtilities Debugging.swift
[24/46] Compiling Atomics PointerConformances.swift
[25/46] Compiling Atomics Primitives.native.swift
[26/46] Compiling Atomics DoubleWord.swift
[27/46] Compiling Atomics ManagedAtomic.swift
[28/328] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[29/328] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[30/329] Compiling DequeModule _DequeBufferHeader.swift
[31/329] Compiling DequeModule _DequeSlot.swift
[32/329] Compiling DequeModule _DequeBuffer.swift
[33/329] Compiling HashTreeCollections _HashNode+Initializers.swift
[34/329] Compiling HashTreeCollections _HashNode+Invariants.swift
[35/330] Compiling HashTreeCollections _Hash.swift
[36/330] Compiling HashTreeCollections _HashLevel.swift
[37/330] Compiling HashTreeCollections _HashNode+Builder.swift
[38/330] Compiling HashTreeCollections _HashNode+Debugging.swift
[39/330] Compiling HashTreeCollections _HashNode+Storage.swift
[40/330] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[41/330] Compiling HashTreeCollections _HashNode+Structural filter.swift
[42/330] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[43/330] Compiling HeapModule _HeapNode.swift
[44/330] Compiling HeapModule Heap.swift
[45/330] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[46/330] Compiling HeapModule Heap+UnsafeHandle.swift
[47/330] Compiling HeapModule Heap+Descriptions.swift
[48/330] Compiling HeapModule Heap+Invariants.swift
[49/330] Emitting module HeapModule
[50/330] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[51/330] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[52/330] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[53/330] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[54/330] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[55/330] Compiling HashTreeCollections _HashNode+Structural merge.swift
[56/336] Compiling DequeModule _UnsafeWrappedBuffer.swift
[57/336] Compiling Atomics Unmanaged extensions.swift
[58/336] Compiling HashTreeCollections TreeSet+Debugging.swift
[59/336] Compiling HashTreeCollections TreeSet+Descriptions.swift
[60/336] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[61/336] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[62/336] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[63/336] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[64/341] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[65/341] Compiling HashTreeCollections TreeDictionary+Filter.swift
[66/341] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[67/341] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[68/341] Compiling HashTreeCollections TreeDictionary+Keys.swift
[69/341] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[70/341] Compiling HashTreeCollections TreeDictionary+Merge.swift
[71/341] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[72/349] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[73/349] Compiling HashTreeCollections _AncestorHashSlots.swift
[74/349] Compiling HashTreeCollections _Bitmap.swift
[75/349] Compiling HashTreeCollections _Bucket.swift
[76/349] Compiling HashTreeCollections TreeSet+Extras.swift
[77/349] Compiling HashTreeCollections TreeSet+Filter.swift
[78/349] Compiling HashTreeCollections TreeSet+Hashable.swift
[79/349] Compiling HashTreeCollections TreeSet+Sendable.swift
[80/349] Compiling HashTreeCollections TreeSet+Sequence.swift
[81/349] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[82/349] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[83/349] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[84/349] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[85/349] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[86/349] Compiling HashTreeCollections TreeSet+Equatable.swift
[87/349] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[88/349] Compiling HashTreeCollections _RawHashNode.swift
[89/349] Compiling HashTreeCollections _UnmanagedHashNode.swift
[90/349] Compiling HashTreeCollections _UnsafePath.swift
[91/349] Compiling HashTreeCollections TreeDictionary+Codable.swift
[92/349] Compiling HashTreeCollections TreeDictionary+Collection.swift
[93/349] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[106/349] Compiling HashTreeCollections TreeDictionary+Values.swift
[107/349] Compiling HashTreeCollections TreeDictionary.swift
[108/349] Compiling HashTreeCollections TreeSet+Codable.swift
[109/349] Compiling HashTreeCollections TreeSet+Collection.swift
[110/349] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[117/349] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[124/349] Compiling HashTreeCollections _HashNode+Lookups.swift
[125/349] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[142/349] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[160/349] Emitting module DequeModule
[167/349] Emitting module BitCollections
[168/349] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[169/349] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[170/349] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[171/349] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[172/349] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[173/349] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[174/349] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[175/349] Compiling HashTreeCollections TreeSet.swift
[176/349] Compiling HashTreeCollections _HashNode.swift
[177/349] Compiling HashTreeCollections _HashNodeHeader.swift
[178/349] Compiling HashTreeCollections _HashSlot.swift
[179/349] Compiling HashTreeCollections _HashStack.swift
[180/349] Compiling HashTreeCollections _HashTreeIterator.swift
[181/349] Compiling HashTreeCollections _HashTreeStatistics.swift
[182/349] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[183/349] Compiling BitCollections BitSet.swift
[184/349] Compiling BitCollections Range+Utilities.swift
[185/349] Compiling BitCollections Slice+Utilities.swift
[186/349] Compiling BitCollections UInt+Tricks.swift
[187/349] Compiling BitCollections _Word.swift
[236/356] Compiling OrderedCollections OrderedSet.swift
[237/356] Compiling OrderedCollections _UnsafeBitset.swift
[238/356] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[279/356] Emitting module Atomics
[280/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 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
[360/366] Compiling AsyncCollections TaskQueue.swift
[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 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
[363/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
[364/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
[365/366] Emitting module AsyncCollections
[366/366] Compiling AsyncCollections AsyncSemaphore.swift
Build complete! (11.86s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[433/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.51s)
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.