The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Chord, reference main (fd232f), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 21:50:13 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/OperatorFoundation/Chord.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/Chord
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fd232f4 A wild new take on async queues
Cloned https://github.com/OperatorFoundation/Chord.git
Revision (git rev-parse @):
fd232f43fe53b509c340a8a50699ef1a9423e820
SUCCESS checkout https://github.com/OperatorFoundation/Chord.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/OperatorFoundation/Chord.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/6] Compiling SwiftQueue Queue.swift
[5/6] Emitting module SwiftQueue
[6/6] Compiling SwiftQueue LinkedList.swift
[7/26] Compiling Chord Data+async.swift
[8/26] Compiling Chord FilteredQueue.swift
[9/28] Compiling Chord MultiQueue.swift
[10/28] Compiling Chord Promise.swift
[11/28] Compiling Chord Synchronizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:42:17: warning: capture of non-sendable type 'V.Type' in an isolated closure
40 |         set(newValue) {
41 |             self.concurrentQueue.async(flags: .barrier) {[weak self] in
42 |                 self?.dictionary[key] = newValue
   |                 `- warning: capture of non-sendable type 'V.Type' in an isolated closure
43 |             }
44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:41:64: warning: capture of non-sendable type 'V.Type' in an isolated closure
39 |     public subscript(key: V) -> T? {
40 |         set(newValue) {
41 |             self.concurrentQueue.async(flags: .barrier) {[weak self] in
   |                                                                `- warning: capture of non-sendable type 'V.Type' in an isolated closure
42 |                 self?.dictionary[key] = newValue
43 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:61:30: warning: capture of non-sendable type 'V.Type' in an isolated closure
59 |     public func removeValue(forKey key: V) {
60 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
61 |             self?.dictionary.removeValue(forKey: key)
   |                              `- warning: capture of non-sendable type 'V.Type' in an isolated closure
62 |         }
63 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:60:60: warning: capture of non-sendable type 'V.Type' in an isolated closure
58 |
59 |     public func removeValue(forKey key: V) {
60 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
   |                                                            `- warning: capture of non-sendable type 'V.Type' in an isolated closure
61 |             self?.dictionary.removeValue(forKey: key)
62 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:67:13: warning: capture of non-sendable type 'V.Type' in an isolated closure
65 |     public func removeAll() {
66 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
67 |             self?.dictionary.removeAll()
   |             `- warning: capture of non-sendable type 'V.Type' in an isolated closure
68 |         }
69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:66:60: warning: capture of non-sendable type 'V.Type' in an isolated closure
64 |
65 |     public func removeAll() {
66 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
   |                                                            `- warning: capture of non-sendable type 'V.Type' in an isolated closure
67 |             self?.dictionary.removeAll()
68 |         }
[12/28] Compiling Chord ThreadSafeDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:42:17: warning: capture of non-sendable type 'V.Type' in an isolated closure
40 |         set(newValue) {
41 |             self.concurrentQueue.async(flags: .barrier) {[weak self] in
42 |                 self?.dictionary[key] = newValue
   |                 `- warning: capture of non-sendable type 'V.Type' in an isolated closure
43 |             }
44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:41:64: warning: capture of non-sendable type 'V.Type' in an isolated closure
39 |     public subscript(key: V) -> T? {
40 |         set(newValue) {
41 |             self.concurrentQueue.async(flags: .barrier) {[weak self] in
   |                                                                `- warning: capture of non-sendable type 'V.Type' in an isolated closure
42 |                 self?.dictionary[key] = newValue
43 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:61:30: warning: capture of non-sendable type 'V.Type' in an isolated closure
59 |     public func removeValue(forKey key: V) {
60 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
61 |             self?.dictionary.removeValue(forKey: key)
   |                              `- warning: capture of non-sendable type 'V.Type' in an isolated closure
62 |         }
63 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:60:60: warning: capture of non-sendable type 'V.Type' in an isolated closure
58 |
59 |     public func removeValue(forKey key: V) {
60 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
   |                                                            `- warning: capture of non-sendable type 'V.Type' in an isolated closure
61 |             self?.dictionary.removeValue(forKey: key)
62 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:67:13: warning: capture of non-sendable type 'V.Type' in an isolated closure
65 |     public func removeAll() {
66 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
67 |             self?.dictionary.removeAll()
   |             `- warning: capture of non-sendable type 'V.Type' in an isolated closure
68 |         }
69 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:66:60: warning: capture of non-sendable type 'V.Type' in an isolated closure
64 |
65 |     public func removeAll() {
66 |         self.concurrentQueue.async(flags: .barrier) {[weak self] in
   |                                                            `- warning: capture of non-sendable type 'V.Type' in an isolated closure
67 |             self?.dictionary.removeAll()
68 |         }
[13/28] Compiling Chord ThreadSafeSet.swift
[14/28] Compiling Chord Timeout.swift
[15/28] Emitting module Chord
[16/28] Compiling Chord BlockingQueue.swift
[17/28] Compiling Chord Chord.swift
[18/28] Compiling Chord InvertedLockedCounter.swift
[19/28] Compiling Chord LockedCounter.swift
[20/28] Compiling Chord RepeatingTask.swift
[21/28] Compiling Chord SleepingTimer.swift
[22/28] Compiling Chord AsyncTimer.swift
[23/28] Compiling Chord Asynchronizer.swift
[24/28] Compiling Chord AsyncBufferingQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chord/AsyncQueue.swift:28:39: warning: cannot explicitly specialize static method 'async'
26 |     public func enqueue(element: T) async
27 |     {
28 |         await AsyncAwaitAsynchronizer.async<T>
   |                                       `- warning: cannot explicitly specialize static method 'async'
29 |         {
30 |             self.queue.enqueue(element: element)
/Users/admin/builder/spi-builder-workspace/Sources/Chord/Asynchronizer.swift:44:24: note: 'async' declared here
 42 | public class AsyncAwaitAsynchronizer
 43 | {
 44 |     static public func async(_ blockingCall: @escaping () -> Void ) async
    |                        `- note: 'async' declared here
 45 |     {
 46 |         func dispatch(completion: @escaping () -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/Chord/AsyncQueue.swift:36:39: warning: cannot explicitly specialize static method 'async'
34 |     public func dequeue() async -> T
35 |     {
36 |         await AsyncAwaitAsynchronizer.async<T>
   |                                       `- warning: cannot explicitly specialize static method 'async'
37 |         {
38 |             return self.queue.dequeue()
/Users/admin/builder/spi-builder-workspace/Sources/Chord/Asynchronizer.swift:104:24: note: 'async' declared here
102 |     }
103 |
104 |     static public func async<T>(_ blockingCall: @escaping () -> T ) async -> T
    |                        `- note: 'async' declared here
105 |     {
106 |         func dispatch(completion: @escaping (T) -> Void)
[25/28] Compiling Chord AsyncLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chord/AsyncQueue.swift:28:39: warning: cannot explicitly specialize static method 'async'
26 |     public func enqueue(element: T) async
27 |     {
28 |         await AsyncAwaitAsynchronizer.async<T>
   |                                       `- warning: cannot explicitly specialize static method 'async'
29 |         {
30 |             self.queue.enqueue(element: element)
/Users/admin/builder/spi-builder-workspace/Sources/Chord/Asynchronizer.swift:44:24: note: 'async' declared here
 42 | public class AsyncAwaitAsynchronizer
 43 | {
 44 |     static public func async(_ blockingCall: @escaping () -> Void ) async
    |                        `- note: 'async' declared here
 45 |     {
 46 |         func dispatch(completion: @escaping () -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/Chord/AsyncQueue.swift:36:39: warning: cannot explicitly specialize static method 'async'
34 |     public func dequeue() async -> T
35 |     {
36 |         await AsyncAwaitAsynchronizer.async<T>
   |                                       `- warning: cannot explicitly specialize static method 'async'
37 |         {
38 |             return self.queue.dequeue()
/Users/admin/builder/spi-builder-workspace/Sources/Chord/Asynchronizer.swift:104:24: note: 'async' declared here
102 |     }
103 |
104 |     static public func async<T>(_ blockingCall: @escaping () -> T ) async -> T
    |                        `- note: 'async' declared here
105 |     {
106 |         func dispatch(completion: @escaping (T) -> Void)
[26/28] Compiling Chord AsyncQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Chord/AsyncQueue.swift:28:39: warning: cannot explicitly specialize static method 'async'
26 |     public func enqueue(element: T) async
27 |     {
28 |         await AsyncAwaitAsynchronizer.async<T>
   |                                       `- warning: cannot explicitly specialize static method 'async'
29 |         {
30 |             self.queue.enqueue(element: element)
/Users/admin/builder/spi-builder-workspace/Sources/Chord/Asynchronizer.swift:44:24: note: 'async' declared here
 42 | public class AsyncAwaitAsynchronizer
 43 | {
 44 |     static public func async(_ blockingCall: @escaping () -> Void ) async
    |                        `- note: 'async' declared here
 45 |     {
 46 |         func dispatch(completion: @escaping () -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/Chord/AsyncQueue.swift:36:39: warning: cannot explicitly specialize static method 'async'
34 |     public func dequeue() async -> T
35 |     {
36 |         await AsyncAwaitAsynchronizer.async<T>
   |                                       `- warning: cannot explicitly specialize static method 'async'
37 |         {
38 |             return self.queue.dequeue()
/Users/admin/builder/spi-builder-workspace/Sources/Chord/Asynchronizer.swift:104:24: note: 'async' declared here
102 |     }
103 |
104 |     static public func async<T>(_ blockingCall: @escaping () -> T ) async -> T
    |                        `- note: 'async' declared here
105 |     {
106 |         func dispatch(completion: @escaping (T) -> Void)
[27/28] Compiling Chord Collector.swift
[28/28] Compiling Chord ConcurrencyTester.swift
Build complete! (9.41s)
Fetching https://github.com/OperatorFoundation/Datable
[8/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable from cache (0.85s)
Fetching https://github.com/OperatorFoundation/SwiftQueue
[1/70] Fetching swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue from cache (0.64s)
Creating working copy for https://github.com/OperatorFoundation/SwiftQueue
Working copy of https://github.com/OperatorFoundation/SwiftQueue resolved at main (3d099bc)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "datable",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/Datable"
    },
    {
      "identity" : "swiftqueue",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OperatorFoundation/SwiftQueue"
    }
  ],
  "manifest_display_name" : "Chord",
  "name" : "Chord",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Chord",
      "targets" : [
        "Chord"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ChordTests",
      "module_type" : "SwiftTarget",
      "name" : "ChordTests",
      "path" : "Tests/ChordTests",
      "product_dependencies" : [
        "Datable"
      ],
      "sources" : [
        "ChordTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Chord"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Chord",
      "module_type" : "SwiftTarget",
      "name" : "Chord",
      "path" : "Sources/Chord",
      "product_dependencies" : [
        "SwiftQueue"
      ],
      "product_memberships" : [
        "Chord"
      ],
      "sources" : [
        "AsyncBufferingQueue.swift",
        "AsyncLock.swift",
        "AsyncQueue.swift",
        "AsyncTimer.swift",
        "Asynchronizer.swift",
        "BlockingQueue.swift",
        "Chord.swift",
        "Collector.swift",
        "ConcurrencyTester.swift",
        "Data+async.swift",
        "FilteredQueue.swift",
        "InvertedLockedCounter.swift",
        "LockedCounter.swift",
        "MultiQueue.swift",
        "Promise.swift",
        "RepeatingTask.swift",
        "SleepingTimer.swift",
        "Synchronizer.swift",
        "ThreadSafeDictionary.swift",
        "ThreadSafeSet.swift",
        "Timeout.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.