The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of sebbu-ts-ds, reference main (6697d4), with Swift 6.0 for Linux on 6 Nov 2024 06:46:50 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MarSe32m/sebbu-ts-ds.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-collections.git
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (3.73s)
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
Building for debugging...
[0/6] Write sources
[4/6] Compiling CSebbuTSDS src.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/23] Emitting module InternalCollectionsUtilities
[8/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/25] Compiling InternalCollectionsUtilities Specialize.swift
[10/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[11/25] Compiling InternalCollectionsUtilities Integer rank.swift
[12/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[13/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[14/25] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[15/25] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[16/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/25] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[19/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[20/25] Compiling InternalCollectionsUtilities Debugging.swift
[21/25] Compiling InternalCollectionsUtilities Descriptions.swift
[22/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/48] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[28/48] Compiling DequeModule Deque+CustomReflectable.swift
[29/48] Compiling DequeModule Deque+Descriptions.swift
[30/50] Compiling HeapModule Heap+Descriptions.swift
[31/50] Compiling DequeModule _DequeBuffer.swift
[32/50] Compiling DequeModule _DequeBufferHeader.swift
[33/50] Compiling HeapModule _HeapNode.swift
[34/50] Compiling HeapModule Heap.swift
[35/50] Compiling DequeModule Deque+Equatable.swift
[36/50] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[37/50] Compiling DequeModule Deque+Extras.swift
[38/50] Compiling DequeModule Deque+Hashable.swift
[39/50] Compiling HeapModule Heap+Invariants.swift
[40/50] Compiling HeapModule Heap+UnsafeHandle.swift
[41/50] Compiling DequeModule Deque+Testing.swift
[42/50] Compiling DequeModule Deque._Storage.swift
[43/50] Emitting module HeapModule
[45/51] Compiling DequeModule _DequeSlot.swift
[46/51] Compiling DequeModule _UnsafeWrappedBuffer.swift
[47/51] Compiling DequeModule Deque._UnsafeHandle.swift
[48/51] Compiling DequeModule Deque.swift
[49/51] Compiling DequeModule Deque+Codable.swift
[50/51] Compiling DequeModule Deque+Collection.swift
[51/51] Emitting module DequeModule
[53/75] Compiling SebbuTSDS ConcurrentQueue.swift
[54/75] Compiling SebbuTSDS ConcurrentStack.swift
[55/75] Compiling SebbuTSDS HardwarePause.swift
[56/78] Compiling SebbuTSDS SpinlockedBoundedStack.swift
[57/78] Compiling SebbuTSDS SpinlockedStack.swift
[58/78] Compiling SebbuTSDS ConcurrentDeque.swift
[59/78] Compiling SebbuTSDS SpinlockedPriorityQueue.swift
[60/78] Compiling SebbuTSDS LockedBoundedQueue.swift
[61/78] Compiling SebbuTSDS LockedDeque.swift
[62/78] Compiling SebbuTSDS SPSCBoundedQueue.swift
/host/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 |     }
/host/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 |     }
[63/78] Compiling SebbuTSDS SPSCQueue.swift
/host/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 |     }
/host/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 |     }
[64/78] Compiling SebbuTSDS LockedPriorityQueue.swift
/host/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 |     }
/host/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 |     }
[65/78] Compiling SebbuTSDS LockedQueue.swift
[66/78] Compiling SebbuTSDS SpinlockedBoundedQueue.swift
[67/78] Compiling SebbuTSDS SpinlockedDeque.swift
[68/78] Compiling SebbuTSDS SpinlockedQueue.swift
[69/78] Compiling SebbuTSDS LockedBoundedStack.swift
[70/78] Compiling SebbuTSDS LockedStack.swift
[71/78] Compiling SebbuTSDS Lock.swift
[72/78] Compiling SebbuTSDS Spinlock.swift
[73/78] Compiling SebbuTSDS Utilities.swift
[74/78] Emitting module SebbuTSDS
/host/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 |     }
/host/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 |     }
[75/78] Compiling SebbuTSDS MPMCBoundedQueue.swift
[76/78] Compiling SebbuTSDS MPSCBoundedQueue.swift
[77/78] Compiling SebbuTSDS MPSCQueue.swift
[78/78] Compiling SebbuTSDS SPMCBoundedQueue.swift
Build complete! (33.60s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.