Build Information
Successful build of swift-signal-handling, reference 1.1.4 (c50ae0), with Swift 6.0 for macOS (SPM) on 20 Nov 2025 18:37:42 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-signal-handling.git
Reference: 1.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xcode-actions/swift-signal-handling
* tag 1.1.4 -> FETCH_HEAD
HEAD is now at c50ae09 Remove hangup signal from list of forwarded to subprocesses signals
Cloned https://github.com/xcode-actions/swift-signal-handling.git
Revision (git rev-parse @):
c50ae0975bcbae92cbaa972f99649314a0e77bca
SUCCESS checkout https://github.com/xcode-actions/swift-signal-handling.git at 1.1.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/xcode-actions/swift-signal-handling.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/15] Write sources
[4/15] Write signal-handling-tests-helper-entitlement.plist
[4/15] Write sources
[10/15] Compiling CSystem shims.c
[11/15] Write swift-version-5BDAB9E9C0126B9D.txt
[13/50] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/50] Emitting module ArgumentParserToolInfo
[15/96] Compiling ArgumentParser ParsedValues.swift
[16/96] Compiling ArgumentParser SequenceExtensions.swift
[17/96] Compiling ArgumentParser StringExtensions.swift
[18/99] Compiling Logging Locks.swift
[19/99] Emitting module Logging
[20/99] Emitting module SystemPackage
[21/99] Compiling ArgumentParser SplitArguments.swift
[22/99] Compiling ArgumentParser DumpHelpGenerator.swift
[23/99] Compiling ArgumentParser HelpCommand.swift
[24/99] Compiling ArgumentParser HelpGenerator.swift
[25/99] Compiling ArgumentParser MessageInfo.swift
[26/99] Compiling ArgumentParser UsageGenerator.swift
[27/99] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/99] Compiling ArgumentParser Argument.swift
[29/99] Compiling ArgumentParser ParserError.swift
[30/99] Compiling ArgumentParser CollectionExtensions.swift
[31/99] Compiling ArgumentParser Mutex.swift
[32/99] Compiling ArgumentParser Platform.swift
[33/99] Compiling ArgumentParser ArgumentDiscussion.swift
[34/99] Compiling ArgumentParser ArgumentHelp.swift
[35/99] Compiling ArgumentParser ArgumentVisibility.swift
[36/99] Compiling ArgumentParser InputOrigin.swift
[37/99] Compiling ArgumentParser Name.swift
[38/99] Compiling ArgumentParser Parsed.swift
[39/99] Compiling ArgumentParser CompletionKind.swift
[40/99] Compiling ArgumentParser Errors.swift
[41/99] Compiling ArgumentParser InputKey.swift
[42/99] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/99] Compiling ArgumentParser CompletionsGenerator.swift
[44/99] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/99] Compiling Logging MetadataProvider.swift
[46/99] Compiling Logging Logging.swift
[47/99] Compiling Logging LogHandler.swift
[48/99] Compiling SystemPackage Util+StringArray.swift
[49/99] Compiling SystemPackage Util.swift
[50/99] Compiling SystemPackage UtilConsumers.swift
[51/120] Emitting module ArgumentParser
[52/124] Compiling ArgumentParser CommandConfiguration.swift
[53/124] Compiling ArgumentParser CommandGroup.swift
[54/124] Compiling ArgumentParser EnumerableFlag.swift
[55/124] Compiling ArgumentParser ExpressibleByArgument.swift
[56/124] Compiling ArgumentParser ParsableArguments.swift
[67/124] Compiling ArgumentParser NonsenseFlagsValidator.swift
[68/124] Compiling ArgumentParser ParsableArgumentsValidation.swift
[69/124] Compiling ArgumentParser PositionalArgumentsValidator.swift
[70/124] Compiling ArgumentParser UniqueNamesValidator.swift
[71/124] Compiling ArgumentParser Flag.swift
[72/124] Compiling ArgumentParser NameSpecification.swift
[73/124] Compiling ArgumentParser Option.swift
[74/124] Compiling ArgumentParser OptionGroup.swift
[75/124] Compiling ArgumentParser AsyncParsableCommand.swift
[76/124] Compiling SignalHandling Sigaction.swift
[77/124] Compiling SignalHandling SigactionFlag.swift
[81/124] Compiling CLTLogger EmojiSet.swift
[82/124] Compiling CLTLogger DummySendable.swift
[83/125] Compiling CLTLogger Scanner+OldOS.swift
[94/125] Compiling CLTLogger CLTLogger+WithSendable.swift
[95/125] Compiling CLTLogger CLTLogger.swift
[96/125] Emitting module CLTLogger
[97/125] Compiling CLTLogger Emoji.swift
[98/125] Compiling CLTLogger OutputEnvironment.swift
[99/125] Compiling CLTLogger SGR.swift
[100/125] Compiling CLTLogger NSLock+withLock.swift
[101/125] Compiling ArgumentParser ParsableCommand.swift
[102/125] Compiling ArgumentParser ArgumentDecoder.swift
[103/125] Compiling ArgumentParser ArgumentDefinition.swift
[104/125] Compiling ArgumentParser ArgumentSet.swift
[105/125] Compiling ArgumentParser CommandParser.swift
[111/125] Compiling CLTLogger String+Utils.swift
[112/125] Compiling SignalHandling SignalHandlingConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
[113/125] Compiling SignalHandling SignalHandlingError.swift
[114/126] Compiling SignalHandling Utils.swift
[115/126] Compiling SignalHandling DelayedSigaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/DelayedSigaction.swift:10:21: warning: static property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public struct DelayedSigaction : Hashable {
9 |
10 | private static var latestID = 0
| |- warning: static property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'latestID' 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
11 |
12 | internal var id: Int
[116/126] Compiling SignalHandling SigactionDelayer_Unsig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:130:14: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
129 |
130 | static var action: Action = .nop
| |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'action' 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
131 | static var completionResult: ErrorAndLogs?
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:131:14: warning: static property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | static var action: Action = .nop
131 | static var completionResult: ErrorAndLogs?
| |- warning: static property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completionResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completionResult' 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
132 |
133 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:150:21: warning: static property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.unsigactioned-signals-processing-queue")
149 |
150 | private static var hasCreatedProcessingThread = false
| |- warning: static property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasCreatedProcessingThread' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'hasCreatedProcessingThread' 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
151 | private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:151:21: warning: static property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | private static var hasCreatedProcessingThread = false
151 | private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
| |- warning: static property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unsigactionedSignals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unsigactionedSignals' 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
152 |
153 | private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:9:20: warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
| |- warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreAction' 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
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:302:5: warning: mutation of captured var 'error' in concurrently-executing code
300 | let ret = pthread_sigmask(SIG_SETMASK, &noSignals, nil /* old signals */)
301 | if ret != 0 {
302 | error = SignalHandlingError.destructiveSystemError(Errno(rawValue: ret))
| `- warning: mutation of captured var 'error' in concurrently-executing code
303 | }
304 | group.leave()
[117/126] Compiling SignalHandling SigactionDelayer_Block.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:173:14: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
172 |
173 | static var action: Action = .nop
| |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'action' 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
174 | static var error: Error?
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:174:14: warning: static property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
172 |
173 | static var action: Action = .nop
174 | static var error: Error?
| |- warning: static property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'error' 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
175 |
176 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:191:21: warning: static property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
189 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.blocked-signals-processing-queue")
190 |
191 | private static var bootstrapDone = false
| |- warning: static property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapDone' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapDone' 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
192 | private static var blockedSignals = [Signal: BlockedSignal]()
193 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:192:21: warning: static property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | private static var bootstrapDone = false
192 | private static var blockedSignals = [Signal: BlockedSignal]()
| |- warning: static property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blockedSignals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blockedSignals' 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
193 |
194 | private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:82:5: warning: mutation of captured var 'error' in concurrently-executing code
80 | let ret = pthread_sigmask(SIG_SETMASK, &noSignals, nil /* old signals */)
81 | if ret != 0 {
82 | error = SignalHandlingError.destructiveSystemError(Errno(rawValue: ret))
| `- warning: mutation of captured var 'error' in concurrently-executing code
83 | }
84 | group.leave()
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:9:20: warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
| |- warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreAction' 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
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
11 |
[118/126] Compiling SignalHandling DelayedSigactionHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:9:20: warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
| |- warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreAction' 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
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:10:20: warning: static property 'defaultAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
| |- warning: static property 'defaultAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAction' 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
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:40:20: warning: static property 'siginfo' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
38 | and should match the matching prototype.
39 | This bit should not be set when assigning `SIG_DFL` or `SIG_IGN`. */
40 | public static let siginfo = SigactionFlags(rawValue: SA_SIGINFO)
| |- warning: static property 'siginfo' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'siginfo' 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
41 |
42 | public let rawValue: CInt
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:11:20: warning: static property 'noChildStop' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
9 | If this bit is set when installing a catching function for the `SIGCHLD` signal,
10 | the `SIGCHLD` signal will be generated only when a child process exits, not when a child process stops. */
11 | public static let noChildStop = SigactionFlags(rawValue: SA_NOCLDSTOP)
| |- warning: static property 'noChildStop' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChildStop' 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
12 |
13 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:19:20: warning: static property 'noChildWait' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
17 | it blocks until all of the calling process’s child processes terminate,
18 | and then returns a value of -1 with errno set to ECHILD. */
19 | public static let noChildWait = SigactionFlags(rawValue: SA_NOCLDWAIT)
| |- warning: static property 'noChildWait' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChildWait' 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
20 |
21 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:23:20: warning: static property 'onStack' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
21 | /**
22 | If this bit is set, the system will deliver the signal to the process on a signal stack, specified with `sigaltstack(2)`. */
23 | public static let onStack = SigactionFlags(rawValue: SA_ONSTACK)
| |- warning: static property 'onStack' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onStack' 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
24 |
25 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:27:20: warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
25 | /**
26 | If this bit is set, further occurrences of the delivered signal are not masked during the execution of the handler. */
27 | public static let noDefer = SigactionFlags(rawValue: SA_NODEFER)
| |- warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noDefer' 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
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:31:20: warning: static property 'resetHandler' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
29 | /**
30 | If this bit is set, the handler is reset back to `SIG_DFL` at the moment the signal is delivered. */
31 | public static let resetHandler = SigactionFlags(rawValue: CInt(SA_RESETHAND) /* On Linux, an UInt32 instead of Int32, so we cast… */)
| |- warning: static property 'resetHandler' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetHandler' 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
32 |
33 | /** See `sigaction(2)`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:34:20: warning: static property 'restart' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
32 |
33 | /** See `sigaction(2)`. */
34 | public static let restart = SigactionFlags(rawValue: SA_RESTART)
| |- warning: static property 'restart' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'restart' 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
35 |
36 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:9:20: warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
| |- warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreAction' 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
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:10:20: warning: static property 'defaultAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
| |- warning: static property 'defaultAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAction' 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
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:40:20: warning: static property 'siginfo' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
38 | and should match the matching prototype.
39 | This bit should not be set when assigning `SIG_DFL` or `SIG_IGN`. */
40 | public static let siginfo = SigactionFlags(rawValue: SA_SIGINFO)
| |- warning: static property 'siginfo' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'siginfo' 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
41 |
42 | public let rawValue: CInt
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:11:20: warning: static property 'noChildStop' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
9 | If this bit is set when installing a catching function for the `SIGCHLD` signal,
10 | the `SIGCHLD` signal will be generated only when a child process exits, not when a child process stops. */
11 | public static let noChildStop = SigactionFlags(rawValue: SA_NOCLDSTOP)
| |- warning: static property 'noChildStop' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChildStop' 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
12 |
13 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:19:20: warning: static property 'noChildWait' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
17 | it blocks until all of the calling process’s child processes terminate,
18 | and then returns a value of -1 with errno set to ECHILD. */
19 | public static let noChildWait = SigactionFlags(rawValue: SA_NOCLDWAIT)
| |- warning: static property 'noChildWait' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChildWait' 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
20 |
21 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:23:20: warning: static property 'onStack' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
21 | /**
22 | If this bit is set, the system will deliver the signal to the process on a signal stack, specified with `sigaltstack(2)`. */
23 | public static let onStack = SigactionFlags(rawValue: SA_ONSTACK)
| |- warning: static property 'onStack' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onStack' 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
24 |
25 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:27:20: warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
25 | /**
26 | If this bit is set, further occurrences of the delivered signal are not masked during the execution of the handler. */
27 | public static let noDefer = SigactionFlags(rawValue: SA_NODEFER)
| |- warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noDefer' 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
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:31:20: warning: static property 'resetHandler' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
29 | /**
30 | If this bit is set, the handler is reset back to `SIG_DFL` at the moment the signal is delivered. */
31 | public static let resetHandler = SigactionFlags(rawValue: CInt(SA_RESETHAND) /* On Linux, an UInt32 instead of Int32, so we cast… */)
| |- warning: static property 'resetHandler' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetHandler' 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
32 |
33 | /** See `sigaction(2)`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:34:20: warning: static property 'restart' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
32 |
33 | /** See `sigaction(2)`. */
34 | public static let restart = SigactionFlags(rawValue: SA_RESTART)
| |- warning: static property 'restart' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'restart' 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
35 |
36 | /**
[121/126] Compiling SignalHandling Signal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:34:20: warning: static property 'killingSignals' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
32 |
33 | - Important: As previously mentionned, this list is hand-crafted and might be missing signals or having too many of them. */
34 | public static let killingSignals: Set<Signal> = {
| |- warning: static property 'killingSignals' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'killingSignals' 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
35 | return Set(arrayLiteral:
36 | .terminated, /* Default kill */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:108:20: warning: static property 'terminated' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
106 |
107 | /** “Normal” kill signal. */
108 | public static let terminated = Signal(rawValue: SIGTERM)
| |- warning: static property 'terminated' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminated' 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
109 | /** Usually `Ctrl-C`. */
110 | public static let interrupt = Signal(rawValue: SIGINT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:110:20: warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
108 | public static let terminated = Signal(rawValue: SIGTERM)
109 | /** Usually `Ctrl-C`. */
110 | public static let interrupt = Signal(rawValue: SIGINT)
| |- warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'interrupt' 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
111 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
112 | public static let quit = Signal(rawValue: SIGQUIT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:112:20: warning: static property 'quit' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
110 | public static let interrupt = Signal(rawValue: SIGINT)
111 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
112 | public static let quit = Signal(rawValue: SIGQUIT)
| |- warning: static property 'quit' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quit' 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
113 | public static let killed = Signal(rawValue: SIGKILL)
114 | /** The user’s terminal disconnected. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:48:20: warning: static property 'toForwardToSubprocesses' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
46 | - Important: As previously mentionned, this list is hand-crafted and does not correspond to any system development notion,
47 | or anything that I know of. */
48 | public static let toForwardToSubprocesses: Set<Signal> = {
| |- warning: static property 'toForwardToSubprocesses' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toForwardToSubprocesses' 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
49 | return Set(arrayLiteral:
50 | .suspended, /* Ctrl-Z */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:171:20: warning: static property 'suspended' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
169 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
170 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
171 | public static let suspended = Signal(rawValue: SIGTSTP)
| |- warning: static property 'suspended' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suspended' 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
172 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
173 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:167:20: warning: static property 'continued' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
165 | /* Obsolete name for SIGCHLD. */
166 | // public static let cildExited = Signal(rawValue: SIGCLD)
167 | public static let continued = Signal(rawValue: SIGCONT)
| |- warning: static property 'continued' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continued' 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
168 | /** Suspends the program. Cannot be handled, ignored or blocked. */
169 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:79:20: warning: static property 'arithmeticError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
77 | /**
78 | - Note: FPE means Floating-Point Exception but this signal is sent for any arithmetic error. */
79 | public static let arithmeticError = Signal(rawValue: SIGFPE)
| |- warning: static property 'arithmeticError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arithmeticError' 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
80 | @available(*, unavailable, renamed: "arithmeticError")
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:81:20: warning: static property 'floatingPointException' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
79 | public static let arithmeticError = Signal(rawValue: SIGFPE)
80 | @available(*, unavailable, renamed: "arithmeticError")
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
| |- warning: static property 'floatingPointException' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'floatingPointException' 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
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:82:20: warning: static property 'illegalInstruction' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
80 | @available(*, unavailable, renamed: "arithmeticError")
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
| |- warning: static property 'illegalInstruction' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'illegalInstruction' 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
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
84 | public static let busError = Signal(rawValue: SIGBUS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:83:20: warning: static property 'segmentationFault' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
| |- warning: static property 'segmentationFault' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentationFault' 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
84 | public static let busError = Signal(rawValue: SIGBUS)
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:84:20: warning: static property 'busError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
84 | public static let busError = Signal(rawValue: SIGBUS)
| |- warning: static property 'busError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'busError' 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
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
86 | /** Usually the same as `abortTrap`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:85:20: warning: static property 'abortTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
84 | public static let busError = Signal(rawValue: SIGBUS)
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
| |- warning: static property 'abortTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'abortTrap' 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
86 | /** Usually the same as `abortTrap`. */
87 | public static let iot = Signal(rawValue: SIGIOT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:87:20: warning: static property 'iot' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
86 | /** Usually the same as `abortTrap`. */
87 | public static let iot = Signal(rawValue: SIGIOT)
| |- warning: static property 'iot' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iot' 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
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:88:20: warning: static property 'traceBreakpointTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
86 | /** Usually the same as `abortTrap`. */
87 | public static let iot = Signal(rawValue: SIGIOT)
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
| |- warning: static property 'traceBreakpointTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceBreakpointTrap' 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
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:20: warning: static property 'emulatorTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
| |- warning: static property 'emulatorTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emulatorTrap' 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
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:92:20: warning: static property 'badSystemCall' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
| |- warning: static property 'badSystemCall' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badSystemCall' 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
93 |
94 | /* *** Termination Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:113:20: warning: static property 'killed' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
111 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
112 | public static let quit = Signal(rawValue: SIGQUIT)
113 | public static let killed = Signal(rawValue: SIGKILL)
| |- warning: static property 'killed' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'killed' 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
114 | /** The user’s terminal disconnected. */
115 | public static let hangup = Signal(rawValue: SIGHUP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:115:20: warning: static property 'hangup' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
113 | public static let killed = Signal(rawValue: SIGKILL)
114 | /** The user’s terminal disconnected. */
115 | public static let hangup = Signal(rawValue: SIGHUP)
| |- warning: static property 'hangup' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hangup' 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
116 |
117 | /* *** Alarm Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:128:20: warning: static property 'alarmClock' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
126 | }
127 |
128 | public static let alarmClock = Signal(rawValue: SIGALRM)
| |- warning: static property 'alarmClock' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alarmClock' 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
129 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
130 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:129:20: warning: static property 'virtualTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
127 |
128 | public static let alarmClock = Signal(rawValue: SIGALRM)
129 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
| |- warning: static property 'virtualTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'virtualTimerExpired' 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
130 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
131 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:130:20: warning: static property 'profilingTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
128 | public static let alarmClock = Signal(rawValue: SIGALRM)
129 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
130 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
| |- warning: static property 'profilingTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'profilingTimerExpired' 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
131 |
132 | /* *** Asynchronous I/O Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:143:20: warning: static property 'ioPossible' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
141 | }
142 |
143 | public static let ioPossible = Signal(rawValue: SIGIO)
| |- warning: static property 'ioPossible' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ioPossible' 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
144 | public static let urgentIOCondition = Signal(rawValue: SIGURG)
145 | #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:144:20: warning: static property 'urgentIOCondition' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
142 |
143 | public static let ioPossible = Signal(rawValue: SIGIO)
144 | public static let urgentIOCondition = Signal(rawValue: SIGURG)
| |- warning: static property 'urgentIOCondition' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urgentIOCondition' 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
145 | #if os(Linux)
146 | /** System V signal name, similar to SIGIO. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:164:20: warning: static property 'childExited' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
162 | }
163 |
164 | public static let childExited = Signal(rawValue: SIGCHLD)
| |- warning: static property 'childExited' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'childExited' 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
165 | /* Obsolete name for SIGCHLD. */
166 | // public static let cildExited = Signal(rawValue: SIGCLD)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:169:20: warning: static property 'suspendedBySignal' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
167 | public static let continued = Signal(rawValue: SIGCONT)
168 | /** Suspends the program. Cannot be handled, ignored or blocked. */
169 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
| |- warning: static property 'suspendedBySignal' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suspendedBySignal' 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
170 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
171 | public static let suspended = Signal(rawValue: SIGTSTP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:172:20: warning: static property 'stoppedTTYInput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
170 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
171 | public static let suspended = Signal(rawValue: SIGTSTP)
172 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
| |- warning: static property 'stoppedTTYInput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stoppedTTYInput' 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
173 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
174 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:173:20: warning: static property 'stoppedTTYOutput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
171 | public static let suspended = Signal(rawValue: SIGTSTP)
172 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
173 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
| |- warning: static property 'stoppedTTYOutput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stoppedTTYOutput' 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
174 |
175 | /* *** Operation Error Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:186:20: warning: static property 'brokenPipe' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
184 | }
185 |
186 | public static let brokenPipe = Signal(rawValue: SIGPIPE)
| |- warning: static property 'brokenPipe' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'brokenPipe' 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
187 | // public static let resourceLost = Signal(rawValue: SIGLOST)
188 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:188:20: warning: static property 'cputimeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
186 | public static let brokenPipe = Signal(rawValue: SIGPIPE)
187 | // public static let resourceLost = Signal(rawValue: SIGLOST)
188 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
| |- warning: static property 'cputimeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cputimeLimitExceeded' 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
189 | public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
190 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:189:20: warning: static property 'filesizeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
187 | // public static let resourceLost = Signal(rawValue: SIGLOST)
188 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
189 | public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
| |- warning: static property 'filesizeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'filesizeLimitExceeded' 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
190 |
191 | /* *** Miscellaneous Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:208:20: warning: static property 'userDefinedSignal1' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
206 | }
207 |
208 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
| |- warning: static property 'userDefinedSignal1' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userDefinedSignal1' 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
209 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:209:20: warning: static property 'userDefinedSignal2' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
207 |
208 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
209 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
| |- warning: static property 'userDefinedSignal2' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userDefinedSignal2' 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
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:210:20: warning: static property 'windowSizeChanges' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
208 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
209 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
| |- warning: static property 'windowSizeChanges' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'windowSizeChanges' 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
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:20: warning: static property 'informationRequest' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
| |- warning: static property 'informationRequest' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'informationRequest' 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
213 | #endif
214 |
[122/126] Compiling SignalHandling SigactionHandler.swift
[123/126] Emitting module SignalHandling
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:9:20: warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
| |- warning: static property 'ignoreAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreAction' 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
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:10:20: warning: static property 'defaultAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 |
7 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
8 |
9 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
10 | public static let defaultAction = Sigaction(handler: .defaultHandler)
| |- warning: static property 'defaultAction' is not concurrency-safe because non-'Sendable' type 'Sigaction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAction' 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
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:11:20: warning: static property 'noChildStop' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
9 | If this bit is set when installing a catching function for the `SIGCHLD` signal,
10 | the `SIGCHLD` signal will be generated only when a child process exits, not when a child process stops. */
11 | public static let noChildStop = SigactionFlags(rawValue: SA_NOCLDSTOP)
| |- warning: static property 'noChildStop' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChildStop' 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
12 |
13 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:19:20: warning: static property 'noChildWait' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
17 | it blocks until all of the calling process’s child processes terminate,
18 | and then returns a value of -1 with errno set to ECHILD. */
19 | public static let noChildWait = SigactionFlags(rawValue: SA_NOCLDWAIT)
| |- warning: static property 'noChildWait' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChildWait' 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
20 |
21 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:23:20: warning: static property 'onStack' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
21 | /**
22 | If this bit is set, the system will deliver the signal to the process on a signal stack, specified with `sigaltstack(2)`. */
23 | public static let onStack = SigactionFlags(rawValue: SA_ONSTACK)
| |- warning: static property 'onStack' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onStack' 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
24 |
25 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:27:20: warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
25 | /**
26 | If this bit is set, further occurrences of the delivered signal are not masked during the execution of the handler. */
27 | public static let noDefer = SigactionFlags(rawValue: SA_NODEFER)
| |- warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noDefer' 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
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:31:20: warning: static property 'resetHandler' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
29 | /**
30 | If this bit is set, the handler is reset back to `SIG_DFL` at the moment the signal is delivered. */
31 | public static let resetHandler = SigactionFlags(rawValue: CInt(SA_RESETHAND) /* On Linux, an UInt32 instead of Int32, so we cast… */)
| |- warning: static property 'resetHandler' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetHandler' 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
32 |
33 | /** See `sigaction(2)`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:34:20: warning: static property 'restart' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
32 |
33 | /** See `sigaction(2)`. */
34 | public static let restart = SigactionFlags(rawValue: SA_RESTART)
| |- warning: static property 'restart' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'restart' 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
35 |
36 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:40:20: warning: static property 'siginfo' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /** Flag list is from `sigaction(2)` on macOS. */
6 | public struct SigactionFlags : OptionSet {
| `- note: consider making struct 'SigactionFlags' conform to the 'Sendable' protocol
7 |
8 | /**
:
38 | and should match the matching prototype.
39 | This bit should not be set when assigning `SIG_DFL` or `SIG_IGN`. */
40 | public static let siginfo = SigactionFlags(rawValue: SA_SIGINFO)
| |- warning: static property 'siginfo' is not concurrency-safe because non-'Sendable' type 'SigactionFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'siginfo' 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
41 |
42 | public let rawValue: CInt
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:34:20: warning: static property 'killingSignals' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
32 |
33 | - Important: As previously mentionned, this list is hand-crafted and might be missing signals or having too many of them. */
34 | public static let killingSignals: Set<Signal> = {
| |- warning: static property 'killingSignals' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'killingSignals' 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
35 | return Set(arrayLiteral:
36 | .terminated, /* Default kill */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:108:20: warning: static property 'terminated' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
106 |
107 | /** “Normal” kill signal. */
108 | public static let terminated = Signal(rawValue: SIGTERM)
| |- warning: static property 'terminated' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminated' 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
109 | /** Usually `Ctrl-C`. */
110 | public static let interrupt = Signal(rawValue: SIGINT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:110:20: warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
108 | public static let terminated = Signal(rawValue: SIGTERM)
109 | /** Usually `Ctrl-C`. */
110 | public static let interrupt = Signal(rawValue: SIGINT)
| |- warning: static property 'interrupt' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'interrupt' 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
111 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
112 | public static let quit = Signal(rawValue: SIGQUIT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:112:20: warning: static property 'quit' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
110 | public static let interrupt = Signal(rawValue: SIGINT)
111 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
112 | public static let quit = Signal(rawValue: SIGQUIT)
| |- warning: static property 'quit' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quit' 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
113 | public static let killed = Signal(rawValue: SIGKILL)
114 | /** The user’s terminal disconnected. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:48:20: warning: static property 'toForwardToSubprocesses' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
46 | - Important: As previously mentionned, this list is hand-crafted and does not correspond to any system development notion,
47 | or anything that I know of. */
48 | public static let toForwardToSubprocesses: Set<Signal> = {
| |- warning: static property 'toForwardToSubprocesses' is not concurrency-safe because non-'Sendable' type 'Set<Signal>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toForwardToSubprocesses' 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
49 | return Set(arrayLiteral:
50 | .suspended, /* Ctrl-Z */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:171:20: warning: static property 'suspended' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
169 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
170 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
171 | public static let suspended = Signal(rawValue: SIGTSTP)
| |- warning: static property 'suspended' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suspended' 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
172 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
173 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:167:20: warning: static property 'continued' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
165 | /* Obsolete name for SIGCHLD. */
166 | // public static let cildExited = Signal(rawValue: SIGCLD)
167 | public static let continued = Signal(rawValue: SIGCONT)
| |- warning: static property 'continued' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'continued' 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
168 | /** Suspends the program. Cannot be handled, ignored or blocked. */
169 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:79:20: warning: static property 'arithmeticError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
77 | /**
78 | - Note: FPE means Floating-Point Exception but this signal is sent for any arithmetic error. */
79 | public static let arithmeticError = Signal(rawValue: SIGFPE)
| |- warning: static property 'arithmeticError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arithmeticError' 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
80 | @available(*, unavailable, renamed: "arithmeticError")
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:81:20: warning: static property 'floatingPointException' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
79 | public static let arithmeticError = Signal(rawValue: SIGFPE)
80 | @available(*, unavailable, renamed: "arithmeticError")
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
| |- warning: static property 'floatingPointException' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'floatingPointException' 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
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:82:20: warning: static property 'illegalInstruction' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
80 | @available(*, unavailable, renamed: "arithmeticError")
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
| |- warning: static property 'illegalInstruction' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'illegalInstruction' 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
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
84 | public static let busError = Signal(rawValue: SIGBUS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:83:20: warning: static property 'segmentationFault' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
81 | public static let floatingPointException = Signal(rawValue: SIGFPE)
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
| |- warning: static property 'segmentationFault' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'segmentationFault' 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
84 | public static let busError = Signal(rawValue: SIGBUS)
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:84:20: warning: static property 'busError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
82 | public static let illegalInstruction = Signal(rawValue: SIGILL)
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
84 | public static let busError = Signal(rawValue: SIGBUS)
| |- warning: static property 'busError' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'busError' 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
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
86 | /** Usually the same as `abortTrap`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:85:20: warning: static property 'abortTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
83 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
84 | public static let busError = Signal(rawValue: SIGBUS)
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
| |- warning: static property 'abortTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'abortTrap' 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
86 | /** Usually the same as `abortTrap`. */
87 | public static let iot = Signal(rawValue: SIGIOT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:87:20: warning: static property 'iot' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
85 | public static let abortTrap = Signal(rawValue: SIGABRT)
86 | /** Usually the same as `abortTrap`. */
87 | public static let iot = Signal(rawValue: SIGIOT)
| |- warning: static property 'iot' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iot' 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
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:88:20: warning: static property 'traceBreakpointTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
86 | /** Usually the same as `abortTrap`. */
87 | public static let iot = Signal(rawValue: SIGIOT)
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
| |- warning: static property 'traceBreakpointTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceBreakpointTrap' 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
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:20: warning: static property 'emulatorTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
88 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
89 | #if !os(Linux)
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
| |- warning: static property 'emulatorTrap' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emulatorTrap' 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
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:92:20: warning: static property 'badSystemCall' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
90 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
91 | #endif
92 | public static let badSystemCall = Signal(rawValue: SIGSYS)
| |- warning: static property 'badSystemCall' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badSystemCall' 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
93 |
94 | /* *** Termination Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:113:20: warning: static property 'killed' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
111 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
112 | public static let quit = Signal(rawValue: SIGQUIT)
113 | public static let killed = Signal(rawValue: SIGKILL)
| |- warning: static property 'killed' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'killed' 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
114 | /** The user’s terminal disconnected. */
115 | public static let hangup = Signal(rawValue: SIGHUP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:115:20: warning: static property 'hangup' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
113 | public static let killed = Signal(rawValue: SIGKILL)
114 | /** The user’s terminal disconnected. */
115 | public static let hangup = Signal(rawValue: SIGHUP)
| |- warning: static property 'hangup' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hangup' 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
116 |
117 | /* *** Alarm Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:128:20: warning: static property 'alarmClock' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
126 | }
127 |
128 | public static let alarmClock = Signal(rawValue: SIGALRM)
| |- warning: static property 'alarmClock' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alarmClock' 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
129 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
130 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:129:20: warning: static property 'virtualTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
127 |
128 | public static let alarmClock = Signal(rawValue: SIGALRM)
129 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
| |- warning: static property 'virtualTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'virtualTimerExpired' 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
130 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
131 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:130:20: warning: static property 'profilingTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
128 | public static let alarmClock = Signal(rawValue: SIGALRM)
129 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
130 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
| |- warning: static property 'profilingTimerExpired' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'profilingTimerExpired' 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
131 |
132 | /* *** Asynchronous I/O Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:143:20: warning: static property 'ioPossible' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
141 | }
142 |
143 | public static let ioPossible = Signal(rawValue: SIGIO)
| |- warning: static property 'ioPossible' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ioPossible' 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
144 | public static let urgentIOCondition = Signal(rawValue: SIGURG)
145 | #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:144:20: warning: static property 'urgentIOCondition' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
142 |
143 | public static let ioPossible = Signal(rawValue: SIGIO)
144 | public static let urgentIOCondition = Signal(rawValue: SIGURG)
| |- warning: static property 'urgentIOCondition' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urgentIOCondition' 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
145 | #if os(Linux)
146 | /** System V signal name, similar to SIGIO. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:164:20: warning: static property 'childExited' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
162 | }
163 |
164 | public static let childExited = Signal(rawValue: SIGCHLD)
| |- warning: static property 'childExited' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'childExited' 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
165 | /* Obsolete name for SIGCHLD. */
166 | // public static let cildExited = Signal(rawValue: SIGCLD)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:169:20: warning: static property 'suspendedBySignal' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
167 | public static let continued = Signal(rawValue: SIGCONT)
168 | /** Suspends the program. Cannot be handled, ignored or blocked. */
169 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
| |- warning: static property 'suspendedBySignal' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suspendedBySignal' 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
170 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
171 | public static let suspended = Signal(rawValue: SIGTSTP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:172:20: warning: static property 'stoppedTTYInput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
170 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
171 | public static let suspended = Signal(rawValue: SIGTSTP)
172 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
| |- warning: static property 'stoppedTTYInput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stoppedTTYInput' 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
173 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
174 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:173:20: warning: static property 'stoppedTTYOutput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
171 | public static let suspended = Signal(rawValue: SIGTSTP)
172 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
173 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
| |- warning: static property 'stoppedTTYOutput' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stoppedTTYOutput' 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
174 |
175 | /* *** Operation Error Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:186:20: warning: static property 'brokenPipe' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
184 | }
185 |
186 | public static let brokenPipe = Signal(rawValue: SIGPIPE)
| |- warning: static property 'brokenPipe' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'brokenPipe' 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
187 | // public static let resourceLost = Signal(rawValue: SIGLOST)
188 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:188:20: warning: static property 'cputimeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
186 | public static let brokenPipe = Signal(rawValue: SIGPIPE)
187 | // public static let resourceLost = Signal(rawValue: SIGLOST)
188 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
| |- warning: static property 'cputimeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cputimeLimitExceeded' 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
189 | public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
190 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:189:20: warning: static property 'filesizeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
187 | // public static let resourceLost = Signal(rawValue: SIGLOST)
188 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
189 | public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
| |- warning: static property 'filesizeLimitExceeded' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'filesizeLimitExceeded' 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
190 |
191 | /* *** Miscellaneous Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:208:20: warning: static property 'userDefinedSignal1' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
206 | }
207 |
208 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
| |- warning: static property 'userDefinedSignal1' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userDefinedSignal1' 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
209 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:209:20: warning: static property 'userDefinedSignal2' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
207 |
208 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
209 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
| |- warning: static property 'userDefinedSignal2' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userDefinedSignal2' 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
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:210:20: warning: static property 'windowSizeChanges' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
208 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
209 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
| |- warning: static property 'windowSizeChanges' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'windowSizeChanges' 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
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:20: warning: static property 'informationRequest' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /* Could be an enum?
6 | * I’d say no to be able to represent signals we don’t know are a part of the system. */
7 | public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
8 |
9 | /* Signal 0 is not considered.
:
210 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
211 | #if !os(Linux)
212 | public static let informationRequest = Signal(rawValue: SIGINFO)
| |- warning: static property 'informationRequest' is not concurrency-safe because non-'Sendable' type 'Signal' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'informationRequest' 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
213 | #endif
214 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/DelayedSigaction.swift:10:21: warning: static property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public struct DelayedSigaction : Hashable {
9 |
10 | private static var latestID = 0
| |- warning: static property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'latestID' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'latestID' 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
11 |
12 | internal var id: Int
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:173:14: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
172 |
173 | static var action: Action = .nop
| |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'action' 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
174 | static var error: Error?
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:174:14: warning: static property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
172 |
173 | static var action: Action = .nop
174 | static var error: Error?
| |- warning: static property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'error' 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
175 |
176 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:191:21: warning: static property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
189 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.blocked-signals-processing-queue")
190 |
191 | private static var bootstrapDone = false
| |- warning: static property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bootstrapDone' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bootstrapDone' 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
192 | private static var blockedSignals = [Signal: BlockedSignal]()
193 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:192:21: warning: static property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | private static var bootstrapDone = false
192 | private static var blockedSignals = [Signal: BlockedSignal]()
| |- warning: static property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blockedSignals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blockedSignals' 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
193 |
194 | private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:130:14: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
129 |
130 | static var action: Action = .nop
| |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'action' 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
131 | static var completionResult: ErrorAndLogs?
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:131:14: warning: static property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 |
130 | static var action: Action = .nop
131 | static var completionResult: ErrorAndLogs?
| |- warning: static property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'completionResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'completionResult' 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
132 |
133 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:150:21: warning: static property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.unsigactioned-signals-processing-queue")
149 |
150 | private static var hasCreatedProcessingThread = false
| |- warning: static property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hasCreatedProcessingThread' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'hasCreatedProcessingThread' 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
151 | private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:151:21: warning: static property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |
150 | private static var hasCreatedProcessingThread = false
151 | private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
| |- warning: static property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unsigactionedSignals' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unsigactionedSignals' 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
152 |
153 | private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
[124/133] Compiling signal_handling_tests_helper ManualDispatchMemTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualDispatchMemTest.swift:24:13: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | struct ManualDispatchMemTest : ParsableCommand {
23 |
24 | static var logger: Logger?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
25 |
26 | func run() throws {
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualDispatchMemTest.swift:32:24: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | logger.logLevel = .trace
31 | Self.logger = logger /* We must do this to be able to use the logger from the C handler. */
32 | SignalHandlingConfig.logger?.logLevel = .trace
| `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | let signal = Signal.interrupt
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: note: static property declared here
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| `- note: static property declared here
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
[125/133] Compiling signal_handling_tests_helper main.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/main.swift:9:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | struct SignalHandlingTestsHelper : ParsableCommand {
8 |
9 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
10 | subcommands: [
11 | ManualTest.self,
[126/133] Compiling signal_handling_tests_helper DelaySignalUnsigaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalUnsigaction.swift:18:24: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 | func run() throws {
17 | LoggingSystem.bootstrap{ _ in CLTLogger(multilineMode: .allMultiline) }
18 | SignalHandlingConfig.logger?.logLevel = .trace
| `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | let signal = Signal(rawValue: signalNumber)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: note: static property declared here
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| `- note: static property declared here
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalUnsigaction.swift:27:5: warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure
25 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
26 | writeToStdout("allowing signal to be resent")
27 | doneHandler(true)
| |- warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 | })
29 | })
[127/133] Compiling signal_handling_tests_helper DelaySignalBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalBlock.swift:20:24: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | LoggingSystem.bootstrap{ _ in CLTLogger(multilineMode: .allMultiline) }
20 | SignalHandlingConfig.logger?.logLevel = .trace
| `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | let signal = Signal(rawValue: signalNumber)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: note: static property declared here
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| `- note: static property declared here
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalBlock.swift:29:5: warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure
27 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
28 | writeToStdout("allowing signal to be resent")
29 | doneHandler(true)
| |- warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 | })
31 | })
[128/133] Compiling signal_handling_tests_helper ConditionLock.swift
[129/133] Emitting module signal_handling_tests_helper
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/main.swift:9:13: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | struct SignalHandlingTestsHelper : ParsableCommand {
8 |
9 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
10 | subcommands: [
11 | ManualTest.self,
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualDispatchMemTest.swift:24:13: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | struct ManualDispatchMemTest : ParsableCommand {
23 |
24 | static var logger: Logger?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
25 |
26 | func run() throws {
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:13:13: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | struct ManualTest : ParsableCommand {
12 |
13 | static var logger: Logger?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
14 |
15 | enum DelayMode : String, ExpressibleByArgument {
[130/133] Compiling signal_handling_tests_helper ManualTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:13:13: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | struct ManualTest : ParsableCommand {
12 |
13 | static var logger: Logger?
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' 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
14 |
15 | enum DelayMode : String, ExpressibleByArgument {
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:33:24: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | logger.logLevel = .trace
32 | Self.logger = logger /* We must do this to be able to use the logger from the C handler. */
33 | SignalHandlingConfig.logger?.logLevel = .trace
| `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | try Sigaction(handler: .ansiC({ _ in Self.logger?.debug("In libxct-test-helper sigaction handler for interrupt") })).install(on: .interrupt)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: note: static property declared here
7 | public enum SignalHandlingConfig {
8 |
9 | public static var logger: Logging.Logger? = {
| `- note: static property declared here
10 | return Logger(label: "com.xcode-actions.signal-handling")
11 | }()
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:46:5: warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure
44 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: { [logger] in
45 | logger.info("Allowing signal to be resent")
46 | doneHandler(true)
| |- warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 | })
48 | }
[130/133] Write Objects.LinkFileList
[131/133] Linking signal-handling-tests-helper
[132/133] Applying signal-handling-tests-helper
Build complete! (17.56s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/xcode-actions/clt-logger.git
[1/5182] Fetching swift-system
[675/10213] Fetching swift-system, swift-log
[2221/11082] Fetching swift-system, swift-log, clt-logger
[4062/27759] Fetching swift-system, swift-log, clt-logger, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.40s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.40s)
[14188/21859] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (1.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.47s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 1.0.0 (0.45s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-beta.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/clt-logger.git"
}
],
"manifest_display_name" : "swift-signal-handling",
"name" : "swift-signal-handling",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SignalHandling",
"targets" : [
"SignalHandling"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "signal-handling-tests-helper",
"targets" : [
"signal-handling-tests-helper"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "signal_handling_tests_helper",
"module_type" : "SwiftTarget",
"name" : "signal-handling-tests-helper",
"path" : "Sources/signal-handling-tests-helper",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"Logging"
],
"product_memberships" : [
"signal-handling-tests-helper"
],
"sources" : [
"ConditionLock.swift",
"DelaySignalBlock.swift",
"DelaySignalUnsigaction.swift",
"ManualDispatchMemTest.swift",
"ManualTest.swift",
"main.swift"
],
"target_dependencies" : [
"SignalHandling"
],
"type" : "executable"
},
{
"c99name" : "SignalHandlingTests",
"module_type" : "SwiftTarget",
"name" : "SignalHandlingTests",
"path" : "Tests/SignalHandlingTests",
"product_dependencies" : [
"CLTLogger",
"Logging"
],
"sources" : [
"LockTest.swift",
"SignalHandlingTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"signal-handling-tests-helper"
],
"type" : "test"
},
{
"c99name" : "SignalHandling",
"module_type" : "SwiftTarget",
"name" : "SignalHandling",
"path" : "Sources/SignalHandling",
"product_dependencies" : [
"Logging",
"SystemPackage"
],
"product_memberships" : [
"SignalHandling",
"signal-handling-tests-helper"
],
"sources" : [
"CStructsInSwift/Sigaction.swift",
"CStructsInSwift/SigactionFlag.swift",
"CStructsInSwift/SigactionHandler.swift",
"CStructsInSwift/Signal.swift",
"DelayedSigaction/DelayedSigaction.swift",
"DelayedSigaction/DelayedSigactionHandler.swift",
"DelayedSigaction/SigactionDelayer_Block.swift",
"DelayedSigaction/SigactionDelayer_Unsig.swift",
"SignalHandlingConfig.swift",
"SignalHandlingError.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.