Build Information
Successful build of Chord, reference main (fd232f), with Swift 6.2 for Linux on 21 Jun 2025 21:55:53 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /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/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: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/OperatorFoundation/Chord.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/OperatorFoundation/Datable
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable from cache (0.46s)
Fetching https://github.com/OperatorFoundation/SwiftQueue
[1/70] Fetching swiftqueue
Fetched https://github.com/OperatorFoundation/SwiftQueue from cache (0.24s)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
Creating working copy for https://github.com/OperatorFoundation/SwiftQueue
Working copy of https://github.com/OperatorFoundation/SwiftQueue resolved at main (3d099bc)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Emitting module SwiftQueue
[5/6] Compiling SwiftQueue LinkedList.swift
[6/6] Compiling SwiftQueue Queue.swift
[8/27] Emitting module Chord
[9/29] Compiling Chord LockedCounter.swift
[10/29] Compiling Chord MultiQueue.swift
[11/29] Compiling Chord Promise.swift
[12/29] Compiling Chord AsyncTimer.swift
[13/29] Compiling Chord Asynchronizer.swift
[14/29] Compiling Chord BlockingQueue.swift
[15/29] Compiling Chord AsyncBufferingQueue.swift
/host/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)
/host/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)
/host/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()
/host/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)
[16/29] Compiling Chord AsyncLock.swift
/host/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)
/host/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)
/host/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()
/host/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)
[17/29] Compiling Chord AsyncQueue.swift
/host/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)
/host/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)
/host/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()
/host/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)
[18/29] Compiling Chord ThreadSafeSet.swift
[19/29] Compiling Chord Timeout.swift
[20/29] Compiling Chord Chord.swift
[21/29] Compiling Chord Collector.swift
[22/29] Compiling Chord ConcurrencyTester.swift
[23/29] Compiling Chord Data+async.swift
[24/29] Compiling Chord FilteredQueue.swift
[25/29] Compiling Chord InvertedLockedCounter.swift
[26/29] Compiling Chord RepeatingTask.swift
/host/spi-builder-workspace/Sources/Chord/RepeatingTask.swift:42:17: warning: mutation of captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
40 | // Always lock before interacting with keepRunning
41 | self.cancelLock.enter()
42 | keepRunning = self.notCancelled
| `- warning: mutation of captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | self.cancelLock.leave()
44 |
/host/spi-builder-workspace/Sources/Chord/RepeatingTask.swift:45:31: warning: reference to captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | self.cancelLock.leave()
44 |
45 | if goAgain && keepRunning
| `- warning: reference to captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | {
47 | self.run()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[27/29] Compiling Chord SleepingTimer.swift
/host/spi-builder-workspace/Sources/Chord/RepeatingTask.swift:42:17: warning: mutation of captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
40 | // Always lock before interacting with keepRunning
41 | self.cancelLock.enter()
42 | keepRunning = self.notCancelled
| `- warning: mutation of captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | self.cancelLock.leave()
44 |
/host/spi-builder-workspace/Sources/Chord/RepeatingTask.swift:45:31: warning: reference to captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | self.cancelLock.leave()
44 |
45 | if goAgain && keepRunning
| `- warning: reference to captured var 'keepRunning' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | {
47 | self.run()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[28/29] Compiling Chord Synchronizer.swift
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:42:17: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
43 | }
44 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:41:64: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
42 | self?.dictionary[key] = newValue
43 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:61:30: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
62 | }
63 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:60:60: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
61 | self?.dictionary.removeValue(forKey: key)
62 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:67:13: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
68 | }
69 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:66:60: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
67 | self?.dictionary.removeAll()
68 | }
[29/29] Compiling Chord ThreadSafeDictionary.swift
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:42:17: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
43 | }
44 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:41:64: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
42 | self?.dictionary[key] = newValue
43 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:61:30: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
62 | }
63 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:60:60: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
61 | self?.dictionary.removeValue(forKey: key)
62 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:67:13: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
68 | }
69 | }
/host/spi-builder-workspace/Sources/Chord/ThreadSafeDictionary.swift:66:60: warning: capture of non-Sendable type 'V.Type' in an isolated closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
67 | self?.dictionary.removeAll()
68 | }
Build complete! (16.15s)
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" : "/host/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"
}
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.