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 package-concurrency-helpers, reference main (f1028d), with Swift 5.10 for Linux on 7 Nov 2024 13:04:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-concurrency-helpers.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/ordo-one/package-concurrency-helpers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f1028d2 ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
Cloned https://github.com/ordo-one/package-concurrency-helpers.git
Revision (git rev-parse @):
f1028d27a5c38030e3a098e480e612ed287039bf
SUCCESS checkout https://github.com/ordo-one/package-concurrency-helpers.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ordo-one/package-concurrency-helpers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/ordo-one/package-latency-tools
[1/1257] Fetching cwlpreconditiontesting
[64/1619] Fetching cwlpreconditiontesting, package-latency-tools
[1613/3657] Fetching cwlpreconditiontesting, package-latency-tools, swift-docc-plugin
[1858/5226] Fetching cwlpreconditiontesting, package-latency-tools, swift-docc-plugin, swift-atomics
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (0.66s)
Fetched https://github.com/ordo-one/package-latency-tools from cache (0.66s)
Fetched https://github.com/apple/swift-atomics from cache (0.66s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.67s)
Computing version for https://github.com/ordo-one/package-latency-tools
Computed https://github.com/ordo-one/package-latency-tools at 1.0.0 (0.45s)
Fetching https://github.com/apple/swift-numerics
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.43s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.73s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3154] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.43s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.2.2 (0.40s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.18s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.39s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/ordo-one/package-latency-tools
Working copy of https://github.com/ordo-one/package-latency-tools resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/9] Write sources
[6/9] Compiling _AtomicsShims.c
[7/9] Compiling _PauseShims _PauseShims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/30] Compiling Atomics UnsafeAtomic.swift
[11/30] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/32] Emitting module Atomics
[13/32] Compiling Atomics AtomicReference.swift
[14/32] Compiling Atomics AtomicStorage.swift
[15/32] Compiling Atomics AtomicValue.swift
[16/32] Compiling Atomics ManagedAtomic.swift
[17/32] Compiling Atomics ManagedAtomicLazyReference.swift
[18/32] Compiling Atomics Primitives.shims.swift
[19/32] Compiling Atomics AtomicInteger.swift
[20/32] Compiling Atomics AtomicOptionalWrappable.swift
[21/32] Compiling Atomics AtomicMemoryOrderings.swift
[22/32] Compiling Atomics DoubleWord.swift
[23/32] Compiling Atomics IntegerOperations.swift
[24/32] Compiling Atomics Unmanaged extensions.swift
[25/32] Compiling Atomics OptionalRawRepresentable.swift
[26/32] Compiling Atomics RawRepresentable.swift
[27/32] Compiling Atomics AtomicBool.swift
[28/32] Compiling Atomics IntegerConformances.swift
[29/32] Compiling Atomics PointerConformances.swift
[30/32] Compiling Atomics Primitives.native.swift
[32/41] Emitting module LatencyTimer
[33/41] Compiling LatencyTimer LatencyTimer.swift
[34/42] Compiling PackageConcurrencyHelpers Spinlock.swift
[36/43] Compiling PackageConcurrencyHelpers Protected.swift
[37/43] Compiling PackageConcurrencyHelpers NIOSendable.swift
[38/43] Compiling PackageConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:24:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_mutex_t>'
        fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
                        ^
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutablePointer<Pointee> : _Pointer {
                      ^
[39/43] Emitting module PackageConcurrencyHelpers
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:24:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_mutex_t>'
        fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
                        ^
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
@frozen public struct UnsafeMutablePointer<Pointee> : _Pointer {
                      ^
[40/43] Compiling PackageConcurrencyHelpers ForBlockingCall.swift
[41/43] Compiling PackageConcurrencyHelpers RunSync.swift
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/RunSync.swift:25:9: warning: capture of 'semaphore' with non-sendable type 'DispatchSemaphore' in a `@Sendable` closure
        semaphore.signal()
        ^
Dispatch.DispatchSemaphore:1:14: note: class 'DispatchSemaphore' does not conform to the 'Sendable' protocol
public class DispatchSemaphore : DispatchObject {
             ^
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/RunSync.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Dispatch'
import Dispatch
^
@preconcurrency
[42/43] Compiling PackageConcurrencyHelpers Lockable.swift
[43/43] Compiling PackageConcurrencyHelpers YieldWithBackPressure.swift
[45/51] Compiling Helpers TimeIntervalCounter.swift
[46/51] Compiling Helpers ProcessingRate.swift
[47/51] Compiling Helpers NearestPowerOf2.swift
[48/51] Compiling Helpers MakeStream.swift
[49/51] Compiling Helpers Box.swift
[50/51] Emitting module Helpers
[51/51] Compiling Helpers IsBeingDebugged.swift
Build complete! (24.36s)
Build complete.
Done.