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: 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/samalone/task-utilities
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7c6cc16 Fix README syntax
Cloned https://github.com/samalone/task-utilities.git
Revision (git rev-parse @):
7c6cc16c2bd86422a2771b133dabff69b0ddfb16
SUCCESS checkout https://github.com/samalone/task-utilities.git at main
========================================
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 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
[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 TaskPath.swift
Build complete! (6.88s)
Build complete.
Done.