Build Information
Successful build of sebbu-ts-ds, reference main (6697d4
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 06:53:07 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarSe32m/sebbu-ts-ds.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MarSe32m/sebbu-ts-ds
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6697d47 Allow this package to be built on Musl
Cloned https://github.com/MarSe32m/sebbu-ts-ds.git
Revision (git rev-parse @):
6697d475037b81e94f4a35415d2adf49fbff7643
SUCCESS checkout https://github.com/MarSe32m/sebbu-ts-ds.git at main
Fetching https://github.com/apple/swift-collections.git
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.42s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "sebbu-ts-ds",
"name": "sebbu-ts-ds",
"url": "https://github.com/MarSe32m/sebbu-ts-ds.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sebbu-ts-ds",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/MarSe32m/sebbu-ts-ds.git
[1/994] Fetching sebbu-ts-ds
Fetched https://github.com/MarSe32m/sebbu-ts-ds.git from cache (0.90s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/MarSe32m/sebbu-ts-ds.git
Working copy of https://github.com/MarSe32m/sebbu-ts-ds.git resolved at main (6697d47)
warning: '.resolve-product-dependencies': dependency 'sebbu-ts-ds' is not used by any target
Found 1 product dependencies
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/MarSe32m/sebbu-ts-ds.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[4/6] Compiling CSebbuTSDS src.c
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/24] Compiling InternalCollectionsUtilities _SortedCollection.swift
[8/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[9/25] Compiling InternalCollectionsUtilities Debugging.swift
[10/25] Compiling InternalCollectionsUtilities Descriptions.swift
[11/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/25] Compiling InternalCollectionsUtilities Specialize.swift
[13/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[16/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[17/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[18/25] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[19/25] Compiling InternalCollectionsUtilities Integer rank.swift
[20/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/25] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[22/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[25/25] Emitting module InternalCollectionsUtilities
[26/48] Compiling DequeModule _DequeBufferHeader.swift
[27/49] Compiling DequeModule _DequeBuffer.swift
[28/49] Compiling DequeModule _DequeSlot.swift
[29/49] Compiling HeapModule Heap+Invariants.swift
[30/49] Compiling HeapModule _HeapNode.swift
[31/49] Compiling HeapModule Heap.swift
[32/49] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[33/49] Compiling HeapModule Heap+UnsafeHandle.swift
[34/49] Compiling DequeModule _UnsafeWrappedBuffer.swift
[35/49] Compiling HeapModule Heap+Descriptions.swift
[36/49] Emitting module HeapModule
[37/49] Compiling DequeModule Deque+Testing.swift
[38/49] Compiling DequeModule Deque._Storage.swift
[39/49] Compiling DequeModule Deque+Extras.swift
[40/49] Compiling DequeModule Deque+Hashable.swift
[41/49] Compiling DequeModule Deque._UnsafeHandle.swift
[42/49] Compiling DequeModule Deque.swift
[43/49] Compiling DequeModule Deque+Equatable.swift
[44/49] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[45/49] Compiling DequeModule Deque+Codable.swift
[46/49] Compiling DequeModule Deque+Collection.swift
[47/49] Compiling DequeModule Deque+CustomReflectable.swift
[48/49] Compiling DequeModule Deque+Descriptions.swift
[49/49] Emitting module DequeModule
[50/73] Compiling SebbuTSDS ConcurrentQueue.swift
[51/73] Compiling SebbuTSDS ConcurrentStack.swift
[52/73] Compiling SebbuTSDS MPMCBoundedQueue.swift
[53/73] Compiling SebbuTSDS MPSCBoundedQueue.swift
[54/73] Compiling SebbuTSDS MPSCQueue.swift
[55/73] Compiling SebbuTSDS HardwarePause.swift
[56/73] Compiling SebbuTSDS Lock.swift
[57/73] Compiling SebbuTSDS LockedPriorityQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:149:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
147 | public func replaceMin(with replacement: Element) -> Element {
148 | lock.withLock { _ in
149 | _heap.replaceMin(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:167:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
165 | public func replaceMax(with replacement: Element) -> Element {
166 | lock.withLock { _ in
167 | _heap.replaceMax(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
168 | }
169 | }
[58/73] Compiling SebbuTSDS SpinlockedPriorityQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:149:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
147 | public func replaceMin(with replacement: Element) -> Element {
148 | lock.withLock { _ in
149 | _heap.replaceMin(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:167:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
165 | public func replaceMax(with replacement: Element) -> Element {
166 | lock.withLock { _ in
167 | _heap.replaceMax(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
168 | }
169 | }
[59/73] Compiling SebbuTSDS LockedBoundedQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:149:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
147 | public func replaceMin(with replacement: Element) -> Element {
148 | lock.withLock { _ in
149 | _heap.replaceMin(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:167:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
165 | public func replaceMax(with replacement: Element) -> Element {
166 | lock.withLock { _ in
167 | _heap.replaceMax(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
168 | }
169 | }
[60/75] Compiling SebbuTSDS SpinlockedDeque.swift
[61/75] Compiling SebbuTSDS SpinlockedQueue.swift
[62/75] Compiling SebbuTSDS LockedBoundedStack.swift
[63/75] Compiling SebbuTSDS LockedStack.swift
[64/75] Compiling SebbuTSDS SpinlockedBoundedStack.swift
[65/75] Compiling SebbuTSDS LockedDeque.swift
[66/75] Compiling SebbuTSDS LockedQueue.swift
[67/75] Compiling SebbuTSDS SpinlockedBoundedQueue.swift
[68/75] Compiling SebbuTSDS SPMCBoundedQueue.swift
[69/75] Compiling SebbuTSDS SPSCBoundedQueue.swift
[70/75] Compiling SebbuTSDS SPSCQueue.swift
[71/75] Compiling SebbuTSDS SpinlockedStack.swift
[72/75] Compiling SebbuTSDS ConcurrentDeque.swift
[73/75] Emitting module SebbuTSDS
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:149:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
147 | public func replaceMin(with replacement: Element) -> Element {
148 | lock.withLock { _ in
149 | _heap.replaceMin(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
150 | }
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/SebbuTSDS/Locked/Heaps/LockedPriorityQueue.swift:167:19: warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
165 | public func replaceMax(with replacement: Element) -> Element {
166 | lock.withLock { _ in
167 | _heap.replaceMax(with: replacement)
| |- warning: returning task-isolated 'replacement' as a 'sending' result risks causing data races; this is an error in the Swift 6 language mode
| `- note: returning task-isolated 'replacement' risks causing data races since the caller assumes that 'replacement' can be safely sent to other isolation domains
168 | }
169 | }
[74/75] Compiling SebbuTSDS Spinlock.swift
[75/75] Compiling SebbuTSDS Utilities.swift
Build complete! (12.02s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "sebbu-ts-ds",
"name" : "sebbu-ts-ds",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "SebbuTSDS",
"targets" : [
"SebbuTSDS"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SebbuTSDSTests",
"module_type" : "SwiftTarget",
"name" : "SebbuTSDSTests",
"path" : "Tests/SebbuTSDSTests",
"sources" : [
"LockTests.swift",
"LockedDequeTests.swift",
"LockedQueueTests.swift",
"LockedStackTests.swift",
"MPMCBoundedQueueTests.swift",
"MPSCBoundedQueueTests.swift",
"MPSCQueueTests.swift",
"SPMCBoundedQueueTests.swift",
"SPSCBoundedQueueTests.swift",
"SPSCQueueTests.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"SebbuTSDS"
],
"type" : "test"
},
{
"c99name" : "SebbuTSDS",
"module_type" : "SwiftTarget",
"name" : "SebbuTSDS",
"path" : "Sources/SebbuTSDS",
"product_dependencies" : [
"DequeModule",
"HeapModule"
],
"product_memberships" : [
"SebbuTSDS"
],
"sources" : [
"Lock Free/Queues/MPMCBoundedQueue.swift",
"Lock Free/Queues/MPSCBoundedQueue.swift",
"Lock Free/Queues/MPSCQueue.swift",
"Lock Free/Queues/SPMCBoundedQueue.swift",
"Lock Free/Queues/SPSCBoundedQueue.swift",
"Lock Free/Queues/SPSCQueue.swift",
"Locked/Heaps/LockedPriorityQueue.swift",
"Locked/Heaps/SpinlockedPriorityQueue.swift",
"Locked/Queues/LockedBoundedQueue.swift",
"Locked/Queues/LockedDeque.swift",
"Locked/Queues/LockedQueue.swift",
"Locked/Queues/SpinlockedBoundedQueue.swift",
"Locked/Queues/SpinlockedDeque.swift",
"Locked/Queues/SpinlockedQueue.swift",
"Locked/Stacks/LockedBoundedStack.swift",
"Locked/Stacks/LockedStack.swift",
"Locked/Stacks/SpinlockedBoundedStack.swift",
"Locked/Stacks/SpinlockedStack.swift",
"Protocols/ConcurrentDeque.swift",
"Protocols/ConcurrentQueue.swift",
"Protocols/ConcurrentStack.swift",
"Utilities/HardwarePause.swift",
"Utilities/Lock.swift",
"Utilities/Spinlock.swift",
"Utilities/Utilities.swift"
],
"target_dependencies" : [
"CSebbuTSDS"
],
"type" : "library"
},
{
"c99name" : "CSebbuTSDS",
"module_type" : "ClangTarget",
"name" : "CSebbuTSDS",
"path" : "Sources/CSebbuTSDS",
"product_memberships" : [
"SebbuTSDS"
],
"sources" : [
"src.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.