This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Failed to build Signals with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/BlueSignals.git
Reference: master
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/Kitura/BlueSignals
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a5ce527 Add SIGCHLD and other signals
Cloned https://github.com/Kitura/BlueSignals.git
Revision (git rev-parse @):
a5ce52795af4d91b3ff5dfb484ee3e45d9ed3d44
SUCCESS checkout https://github.com/Kitura/BlueSignals.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Kitura/BlueSignals.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling Signals SignalWatchHandler.swift
[4/6] Compiling Signals SignalWatch.swift
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
 11 | public class SignalWatch {
    |              `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
 12 |     public static let shared = SignalWatch()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     typealias SignalNumber = Int32
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:90:48: warning: capture of 'self' with non-sendable type 'SignalWatch' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
 11 | public class SignalWatch {
    |              `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
 12 |     public static let shared = SignalWatch()
 13 |
    :
 88 |     private func didRecieve(signal: Signals.Signal) {
 89 |         return self.queue.async {
 90 |             guard let signalWatchHandlerList = self.signalsWatched[signal.rawValue] else { return }
    |                                                `- warning: capture of 'self' with non-sendable type 'SignalWatch' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |
 92 |             for signalHandler in signalWatchHandlerList {
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:90:68: warning: capture of 'signal' with non-sendable type 'Signals.Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |     private func didRecieve(signal: Signals.Signal) {
 89 |         return self.queue.async {
 90 |             guard let signalWatchHandlerList = self.signalsWatched[signal.rawValue] else { return }
    |                                                                    `- warning: capture of 'signal' with non-sendable type 'Signals.Signal' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |
 92 |             for signalHandler in signalWatchHandlerList {
/host/spi-builder-workspace/Sources/Signals/Signals.swift:39:14: note: consider making enum 'Signal' conform to the 'Sendable' protocol
 37 | 	/// Common OS Signals
 38 | 	///
 39 | 	public enum Signal {
    |              `- note: consider making enum 'Signal' conform to the 'Sendable' protocol
 40 | 		case hup
 41 | 		case int
[5/6] Emitting module Signals
/host/spi-builder-workspace/Sources/Signals/SignalWatch.swift:12:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// ``SignalWatch`` provides an interface around ``Signals`` that allows for multiple handlers to be registered for any given signal.
 11 | public class SignalWatch {
    |              `- note: class 'SignalWatch' does not conform to the 'Sendable' protocol
 12 |     public static let shared = SignalWatch()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SignalWatch' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     typealias SignalNumber = Int32
[6/6] Compiling Signals Signals.swift
/host/spi-builder-workspace/Sources/Signals/Signals.swift:94:30: error: cannot find 'SIGINFO' in scope
 92 |                 return Int32(SIGWINCH)
 93 |             case .info:
 94 |                 return Int32(SIGINFO)
    |                              `- error: cannot find 'SIGINFO' in scope
 95 | 			case .user(let sig):
 96 | 				return Int32(sig)
/host/spi-builder-workspace/Sources/Signals/Signals.swift:120:22: error: cannot find 'SIGINFO' in scope
118 |             case Int(SIGPROF): self = .prof
119 |             case Int(SIGWINCH): self = .winch
120 |             case Int(SIGINFO): self = .info
    |                      `- error: cannot find 'SIGINFO' in scope
121 |
122 |             default:
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.