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 TaskUtilities with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.27.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samalone/task-utilities.git
Reference: 1.1.0
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/samalone/task-utilities
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 727f6b0 Add LockedValue
Cloned https://github.com/samalone/task-utilities.git
Revision (git rev-parse @):
727f6b08ded9c38030915b35136bc045f2bcfb02
SUCCESS checkout https://github.com/samalone/task-utilities.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/4] Compiling TaskUtilities TaskPath.swift
[2/4] Emitting module TaskUtilities
/host/spi-builder-workspace/Sources/TaskUtilities/RecursiveTaskLock.swift:5:17: warning: stored property 'lock' of 'Sendable'-conforming class 'RecursiveTaskLock' has non-sendable type 'NSLock'
    private let lock = NSLock()
                ^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
           ^
/host/spi-builder-workspace/Sources/TaskUtilities/RecursiveTaskLock.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[3/4] Compiling TaskUtilities LockedValue.swift
[4/4] Compiling TaskUtilities RecursiveTaskLock.swift
/host/spi-builder-workspace/Sources/TaskUtilities/RecursiveTaskLock.swift:5:17: warning: stored property 'lock' of 'Sendable'-conforming class 'RecursiveTaskLock' has non-sendable type 'NSLock'
    private let lock = NSLock()
                ^
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
open class NSLock : NSObject, NSLocking {
           ^
/host/spi-builder-workspace/Sources/TaskUtilities/RecursiveTaskLock.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
Build complete! (6.94s)
Build complete.
Done.