Build Information
Successful build of swift-signal-handling, reference 1.1.1 (3f28ea
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 07:12:18 UTC.
Swift 6 data race errors: 56
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcode-actions/swift-signal-handling.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xcode-actions/swift-signal-handling
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at 3f28ea7 Fully get rid of swift-backtrace
Cloned https://github.com/xcode-actions/swift-signal-handling.git
Revision (git rev-parse @):
3f28ea749033705c38e75eb7c3d7e52b723e8252
SUCCESS checkout https://github.com/xcode-actions/swift-signal-handling.git at 1.1.1
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/518] Fetching clt-logger
[395/4188] Fetching clt-logger, swift-log
[616/16546] Fetching clt-logger, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (1.52s)
Fetched https://github.com/xcode-actions/clt-logger.git from cache (1.52s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.52s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.8.0 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.53s)
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 0.8.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.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-signal-handling",
"name": "swift-signal-handling",
"url": "https://github.com/xcode-actions/swift-signal-handling.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-signal-handling",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/xcode-actions/swift-signal-handling.git
[1/379] Fetching swift-signal-handling
Fetched https://github.com/xcode-actions/swift-signal-handling.git from cache (0.75s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.47s)
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.1
Creating working copy for https://github.com/xcode-actions/swift-signal-handling.git
Working copy of https://github.com/xcode-actions/swift-signal-handling.git resolved at 1.1.1 (3f28ea7)
warning: '.resolve-product-dependencies': dependency 'swift-signal-handling' is not used by any target
Found 1 product dependencies
- swift-log
========================================
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.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[6/12] Write signal-handling-tests-helper-entitlement.plist
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/19] Emitting module Logging
[11/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/19] Emitting module ArgumentParserToolInfo
[13/57] Compiling Logging LogHandler.swift
[14/57] Compiling Logging Locks.swift
[15/57] Compiling Logging Logging.swift
[16/57] Compiling Logging MetadataProvider.swift
[17/73] Emitting module ArgumentParser
[18/77] Compiling ArgumentParser InputOrigin.swift
[19/77] Compiling ArgumentParser Name.swift
[20/77] Compiling ArgumentParser Parsed.swift
[21/77] Compiling ArgumentParser ParsedValues.swift
[22/77] Compiling ArgumentParser Platform.swift
[23/77] Compiling ArgumentParser SequenceExtensions.swift
[24/77] Compiling ArgumentParser StringExtensions.swift
[25/77] Compiling ArgumentParser Tree.swift
[26/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/77] Compiling ArgumentParser CompletionsGenerator.swift
[28/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/77] Compiling ArgumentParser Argument.swift
[31/77] Compiling SignalHandling Sigaction.swift
[32/77] Compiling SignalHandling SigactionFlag.swift
[33/77] Compiling ArgumentParser CompletionKind.swift
[34/77] Compiling ArgumentParser Errors.swift
[35/77] Compiling ArgumentParser AsyncParsableCommand.swift
[36/77] Compiling ArgumentParser CommandConfiguration.swift
[37/77] Compiling ArgumentParser EnumerableFlag.swift
[38/77] Compiling ArgumentParser ExpressibleByArgument.swift
[39/77] Compiling ArgumentParser Flag.swift
[40/77] Compiling ArgumentParser NameSpecification.swift
[41/77] Compiling ArgumentParser Option.swift
[42/77] Compiling ArgumentParser OptionGroup.swift
[43/77] Compiling ArgumentParser ParserError.swift
[44/77] Compiling ArgumentParser SplitArguments.swift
[45/77] Compiling ArgumentParser DumpHelpGenerator.swift
[46/77] Compiling ArgumentParser HelpCommand.swift
[47/77] Compiling ArgumentParser ArgumentDefinition.swift
[48/77] Compiling ArgumentParser ArgumentSet.swift
[49/77] Compiling ArgumentParser CommandParser.swift
[50/77] Compiling ArgumentParser InputKey.swift
[51/77] Compiling ArgumentParser HelpGenerator.swift
[52/77] Compiling ArgumentParser MessageInfo.swift
[53/77] Compiling ArgumentParser UsageGenerator.swift
[54/77] Compiling ArgumentParser CollectionExtensions.swift
[55/77] Compiling ArgumentParser ParsableArguments.swift
[56/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
[57/77] Compiling ArgumentParser ParsableCommand.swift
[58/77] Compiling ArgumentParser ArgumentDecoder.swift
[59/77] Compiling SignalHandling SignalHandlingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:12: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | 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
13 | public static let defaultAction = Sigaction(handler: .defaultHandler)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:13: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
13 | 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
14 |
15 | /**
/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:12: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | 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
13 | public static let defaultAction = Sigaction(handler: .defaultHandler)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:13: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
13 | 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
14 |
15 | /**
/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 | /**
[62/78] Emitting module SignalHandling
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:12: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | 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
13 | public static let defaultAction = Sigaction(handler: .defaultHandler)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:13: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | public static let ignoreAction = Sigaction(handler: .ignoreHandler)
13 | 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
14 |
15 | /**
/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:109: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.
:
107 |
108 | /** “Normal” kill signal. */
109 | 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
110 | /** Usually `Ctrl-C`. */
111 | public static let interrupt = Signal(rawValue: SIGINT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:111: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.
:
109 | public static let terminated = Signal(rawValue: SIGTERM)
110 | /** Usually `Ctrl-C`. */
111 | 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
112 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
113 | public static let quit = Signal(rawValue: SIGQUIT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:113: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.
:
111 | public static let interrupt = Signal(rawValue: SIGINT)
112 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
113 | 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
114 | public static let killed = Signal(rawValue: SIGKILL)
115 | /** 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 | .hangup, /* Not sure about that one but might be good: the user’s terminal is disconnected */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:116: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.
:
114 | public static let killed = Signal(rawValue: SIGKILL)
115 | /** The user’s terminal disconnected. */
116 | 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
117 |
118 | /* *** Alarm Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:172: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.
:
170 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
171 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
172 | 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
173 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
174 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:168: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.
:
166 | /* Obsolete name for SIGCHLD. */
167 | // public static let cildExited = Signal(rawValue: SIGCLD)
168 | 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
169 | /** Suspends the program. Cannot be handled, ignored or blocked. */
170 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:80: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.
:
78 | /**
79 | - Note: FPE means Floating-Point Exception but this signal is sent for any arithmetic error. */
80 | 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
81 | @available(*, unavailable, renamed: "arithmeticError")
82 | public static let floatingPointException = Signal(rawValue: SIGFPE)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:82: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.
:
80 | public static let arithmeticError = Signal(rawValue: SIGFPE)
81 | @available(*, unavailable, renamed: "arithmeticError")
82 | 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
83 | public static let illegalInstruction = Signal(rawValue: SIGILL)
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:83: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.
:
81 | @available(*, unavailable, renamed: "arithmeticError")
82 | public static let floatingPointException = Signal(rawValue: SIGFPE)
83 | 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
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
85 | public static let busError = Signal(rawValue: SIGBUS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:84: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.
:
82 | public static let floatingPointException = Signal(rawValue: SIGFPE)
83 | public static let illegalInstruction = Signal(rawValue: SIGILL)
84 | 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
85 | public static let busError = Signal(rawValue: SIGBUS)
86 | public static let abortTrap = Signal(rawValue: SIGABRT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:85: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.
:
83 | public static let illegalInstruction = Signal(rawValue: SIGILL)
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
85 | 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
86 | public static let abortTrap = Signal(rawValue: SIGABRT)
87 | /** Usually the same as `abortTrap`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:86: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.
:
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
85 | public static let busError = Signal(rawValue: SIGBUS)
86 | 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
87 | /** Usually the same as `abortTrap`. */
88 | public static let iot = Signal(rawValue: SIGIOT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:88: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.
:
86 | public static let abortTrap = Signal(rawValue: SIGABRT)
87 | /** Usually the same as `abortTrap`. */
88 | 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
89 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
90 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:89: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.
:
87 | /** Usually the same as `abortTrap`. */
88 | public static let iot = Signal(rawValue: SIGIOT)
89 | 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
90 | #if !os(Linux)
91 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:91: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.
:
89 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
90 | #if !os(Linux)
91 | 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
92 | #endif
93 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:93: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.
:
91 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
92 | #endif
93 | 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
94 |
95 | /* *** Termination Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:114: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.
:
112 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
113 | public static let quit = Signal(rawValue: SIGQUIT)
114 | 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
115 | /** The user’s terminal disconnected. */
116 | public static let hangup = Signal(rawValue: SIGHUP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:129: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.
:
127 | }
128 |
129 | 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
130 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
131 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:130: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.
:
128 |
129 | public static let alarmClock = Signal(rawValue: SIGALRM)
130 | 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
131 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:131: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.
:
129 | public static let alarmClock = Signal(rawValue: SIGALRM)
130 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
131 | 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
132 |
133 | /* *** Asynchronous I/O Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:144: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.
:
142 | }
143 |
144 | 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
145 | public static let urgentIOCondition = Signal(rawValue: SIGURG)
146 | #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:145: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.
:
143 |
144 | public static let ioPossible = Signal(rawValue: SIGIO)
145 | 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
146 | #if os(Linux)
147 | /** System V signal name, similar to SIGIO. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:165: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.
:
163 | }
164 |
165 | 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
166 | /* Obsolete name for SIGCHLD. */
167 | // public static let cildExited = Signal(rawValue: SIGCLD)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:170: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.
:
168 | public static let continued = Signal(rawValue: SIGCONT)
169 | /** Suspends the program. Cannot be handled, ignored or blocked. */
170 | 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
171 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
172 | public static let suspended = Signal(rawValue: SIGTSTP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:173: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.
:
171 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
172 | public static let suspended = Signal(rawValue: SIGTSTP)
173 | 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
174 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:174: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.
:
172 | public static let suspended = Signal(rawValue: SIGTSTP)
173 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
174 | 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
175 |
176 | /* *** Operation Error Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:187: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.
:
185 | }
186 |
187 | 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
188 | // public static let resourceLost = Signal(rawValue: SIGLOST)
189 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:189: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.
:
187 | public static let brokenPipe = Signal(rawValue: SIGPIPE)
188 | // public static let resourceLost = Signal(rawValue: SIGLOST)
189 | 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
190 | public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
191 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:190: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.
:
188 | // public static let resourceLost = Signal(rawValue: SIGLOST)
189 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
190 | 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
191 |
192 | /* *** Miscellaneous Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:209: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.
:
207 | }
208 |
209 | 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
210 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
211 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:210: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.
:
208 |
209 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
210 | 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
211 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
212 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:211: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.
:
209 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
210 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
211 | 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
212 | #if !os(Linux)
213 | public static let informationRequest = Signal(rawValue: SIGINFO)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:213: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.
:
211 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
212 | #if !os(Linux)
213 | 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
214 | #endif
215 |
/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:176: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
174 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
175 |
176 | 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
177 | static var error: Error?
178 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:177: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
175 |
176 | static var action: Action = .nop
177 | 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
178 |
179 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:194: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
192 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.blocked-signals-processing-queue")
193 |
194 | 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
195 | private static var blockedSignals = [Signal: BlockedSignal]()
196 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:195: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
193 |
194 | private static var bootstrapDone = false
195 | 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
196 |
197 | private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:134: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
132 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
133 |
134 | 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
135 | static var completionResult: ErrorAndLogs?
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:135: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
133 |
134 | static var action: Action = .nop
135 | 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
136 |
137 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:154: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
152 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.unsigactioned-signals-processing-queue")
153 |
154 | 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
155 | private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
156 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:155: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
153 |
154 | private static var hasCreatedProcessingThread = false
155 | 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
156 |
157 | 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 | }()
[63/78] Compiling SignalHandling SigactionDelayer_Unsig.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:134: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
132 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
133 |
134 | 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
135 | static var completionResult: ErrorAndLogs?
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:135: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
133 |
134 | static var action: Action = .nop
135 | 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
136 |
137 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:154: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
152 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.unsigactioned-signals-processing-queue")
153 |
154 | 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
155 | private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
156 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:155: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
153 |
154 | private static var hasCreatedProcessingThread = false
155 | 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
156 |
157 | 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:12: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | 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
13 | public static let defaultAction = Sigaction(handler: .defaultHandler)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:306:5: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
304 | let ret = pthread_sigmask(SIG_SETMASK, &noSignals, nil /* old signals */)
305 | if ret != 0 {
306 | error = SignalHandlingError.destructiveSystemError(Errno(rawValue: ret))
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
307 | }
308 | group.leave()
[64/78] 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 | }()
[65/78] Compiling SignalHandling DelayedSigactionHandler.swift
[66/78] Compiling SignalHandling SigactionDelayer_Block.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:176: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
174 | static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
175 |
176 | 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
177 | static var error: Error?
178 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:177: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
175 |
176 | static var action: Action = .nop
177 | 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
178 |
179 | case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:194: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
192 | private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.blocked-signals-processing-queue")
193 |
194 | 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
195 | private static var blockedSignals = [Signal: BlockedSignal]()
196 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:195: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
193 |
194 | private static var bootstrapDone = false
195 | 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
196 |
197 | private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:85:5: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
83 | let ret = pthread_sigmask(SIG_SETMASK, &noSignals, nil /* old signals */)
84 | if ret != 0 {
85 | error = SignalHandlingError.destructiveSystemError(Errno(rawValue: ret))
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
86 | }
87 | 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:12: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
8 |
9 |
10 | public struct Sigaction : Equatable, RawRepresentable {
| `- note: consider making struct 'Sigaction' conform to the 'Sendable' protocol
11 |
12 | 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
13 | public static let defaultAction = Sigaction(handler: .defaultHandler)
14 |
[67/78] 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
[68/78] Compiling SignalHandling SigactionHandler.swift
[69/78] 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:109: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.
:
107 |
108 | /** “Normal” kill signal. */
109 | 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
110 | /** Usually `Ctrl-C`. */
111 | public static let interrupt = Signal(rawValue: SIGINT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:111: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.
:
109 | public static let terminated = Signal(rawValue: SIGTERM)
110 | /** Usually `Ctrl-C`. */
111 | 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
112 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
113 | public static let quit = Signal(rawValue: SIGQUIT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:113: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.
:
111 | public static let interrupt = Signal(rawValue: SIGINT)
112 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
113 | 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
114 | public static let killed = Signal(rawValue: SIGKILL)
115 | /** 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 | .hangup, /* Not sure about that one but might be good: the user’s terminal is disconnected */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:116: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.
:
114 | public static let killed = Signal(rawValue: SIGKILL)
115 | /** The user’s terminal disconnected. */
116 | 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
117 |
118 | /* *** Alarm Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:172: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.
:
170 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
171 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
172 | 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
173 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
174 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:168: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.
:
166 | /* Obsolete name for SIGCHLD. */
167 | // public static let cildExited = Signal(rawValue: SIGCLD)
168 | 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
169 | /** Suspends the program. Cannot be handled, ignored or blocked. */
170 | public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:80: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.
:
78 | /**
79 | - Note: FPE means Floating-Point Exception but this signal is sent for any arithmetic error. */
80 | 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
81 | @available(*, unavailable, renamed: "arithmeticError")
82 | public static let floatingPointException = Signal(rawValue: SIGFPE)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:82: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.
:
80 | public static let arithmeticError = Signal(rawValue: SIGFPE)
81 | @available(*, unavailable, renamed: "arithmeticError")
82 | 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
83 | public static let illegalInstruction = Signal(rawValue: SIGILL)
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:83: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.
:
81 | @available(*, unavailable, renamed: "arithmeticError")
82 | public static let floatingPointException = Signal(rawValue: SIGFPE)
83 | 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
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
85 | public static let busError = Signal(rawValue: SIGBUS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:84: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.
:
82 | public static let floatingPointException = Signal(rawValue: SIGFPE)
83 | public static let illegalInstruction = Signal(rawValue: SIGILL)
84 | 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
85 | public static let busError = Signal(rawValue: SIGBUS)
86 | public static let abortTrap = Signal(rawValue: SIGABRT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:85: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.
:
83 | public static let illegalInstruction = Signal(rawValue: SIGILL)
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
85 | 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
86 | public static let abortTrap = Signal(rawValue: SIGABRT)
87 | /** Usually the same as `abortTrap`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:86: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.
:
84 | public static let segmentationFault = Signal(rawValue: SIGSEGV)
85 | public static let busError = Signal(rawValue: SIGBUS)
86 | 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
87 | /** Usually the same as `abortTrap`. */
88 | public static let iot = Signal(rawValue: SIGIOT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:88: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.
:
86 | public static let abortTrap = Signal(rawValue: SIGABRT)
87 | /** Usually the same as `abortTrap`. */
88 | 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
89 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
90 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:89: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.
:
87 | /** Usually the same as `abortTrap`. */
88 | public static let iot = Signal(rawValue: SIGIOT)
89 | 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
90 | #if !os(Linux)
91 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:91: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.
:
89 | public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
90 | #if !os(Linux)
91 | 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
92 | #endif
93 | public static let badSystemCall = Signal(rawValue: SIGSYS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:93: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.
:
91 | public static let emulatorTrap = Signal(rawValue: SIGEMT)
92 | #endif
93 | 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
94 |
95 | /* *** Termination Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:114: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.
:
112 | /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
113 | public static let quit = Signal(rawValue: SIGQUIT)
114 | 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
115 | /** The user’s terminal disconnected. */
116 | public static let hangup = Signal(rawValue: SIGHUP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:129: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.
:
127 | }
128 |
129 | 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
130 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
131 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:130: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.
:
128 |
129 | public static let alarmClock = Signal(rawValue: SIGALRM)
130 | 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
131 | public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
132 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:131: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.
:
129 | public static let alarmClock = Signal(rawValue: SIGALRM)
130 | public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
131 | 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
132 |
133 | /* *** Asynchronous I/O Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:144: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.
:
142 | }
143 |
144 | 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
145 | public static let urgentIOCondition = Signal(rawValue: SIGURG)
146 | #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:145: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.
:
143 |
144 | public static let ioPossible = Signal(rawValue: SIGIO)
145 | 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
146 | #if os(Linux)
147 | /** System V signal name, similar to SIGIO. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:165: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.
:
163 | }
164 |
165 | 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
166 | /* Obsolete name for SIGCHLD. */
167 | // public static let cildExited = Signal(rawValue: SIGCLD)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:170: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.
:
168 | public static let continued = Signal(rawValue: SIGCONT)
169 | /** Suspends the program. Cannot be handled, ignored or blocked. */
170 | 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
171 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
172 | public static let suspended = Signal(rawValue: SIGTSTP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:173: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.
:
171 | /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
172 | public static let suspended = Signal(rawValue: SIGTSTP)
173 | 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
174 | public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
175 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:174: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.
:
172 | public static let suspended = Signal(rawValue: SIGTSTP)
173 | public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
174 | 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
175 |
176 | /* *** Operation Error Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:187: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.
:
185 | }
186 |
187 | 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
188 | // public static let resourceLost = Signal(rawValue: SIGLOST)
189 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:189: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.
:
187 | public static let brokenPipe = Signal(rawValue: SIGPIPE)
188 | // public static let resourceLost = Signal(rawValue: SIGLOST)
189 | 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
190 | public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
191 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:190: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.
:
188 | // public static let resourceLost = Signal(rawValue: SIGLOST)
189 | public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
190 | 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
191 |
192 | /* *** Miscellaneous Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:209: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.
:
207 | }
208 |
209 | 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
210 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
211 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:210: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.
:
208 |
209 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
210 | 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
211 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
212 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:211: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.
:
209 | public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
210 | public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
211 | 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
212 | #if !os(Linux)
213 | public static let informationRequest = Signal(rawValue: SIGINFO)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:213: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.
:
211 | public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
212 | #if !os(Linux)
213 | 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
214 | #endif
215 |
[70/78] Compiling SignalHandling Utils.swift
[71/78] Compiling CLTLogger NSLock+Linux.swift
[72/78] Compiling CLTLogger String+Utils.swift
[73/78] Compiling CLTLogger CLTLogger.swift
[74/78] Compiling CLTLogger SGR.swift
[75/78] Emitting module CLTLogger
[76/85] Compiling signal_handling_tests_helper DelaySignalUnsigaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalUnsigaction.swift:23: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
21 | func run() throws {
22 | LoggingSystem.bootstrap{ _ in CLTLogger(multilineMode: .allMultiline) }
23 | 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
24 |
25 | 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:32:5: warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
31 | writeToStdout("allowing signal to be resent")
32 | doneHandler(true)
| |- warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | })
34 | })
[77/85] Compiling signal_handling_tests_helper DelaySignalBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalBlock.swift:25: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
23 |
24 | LoggingSystem.bootstrap{ _ in CLTLogger(multilineMode: .allMultiline) }
25 | 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
26 |
27 | 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:34:5: warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
33 | writeToStdout("allowing signal to be resent")
34 | doneHandler(true)
| |- warning: capture of 'doneHandler' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
35 | })
36 | })
[78/85] 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; this is an error in the Swift 6 language mode
44 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 | })
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:45:5: warning: reference to captured var 'logger' in concurrently-executing code; this is an error in the Swift 6 language mode
43 | let handler: DelayedSigactionHandler = { _, doneHandler in
44 | DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
45 | logger.info("Allowing signal to be resent")
| `- warning: reference to captured var 'logger' in concurrently-executing code; this is an error in the Swift 6 language mode
46 | doneHandler(true)
47 | })
[79/85] Compiling signal_handling_tests_helper ConditionLock.swift
[80/85] 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 {
[81/85] 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 | }()
[82/85] 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,
[82/85] Write Objects.LinkFileList
[83/85] Linking signal-handling-tests-helper
[84/85] Applying signal-handling-tests-helper
Build complete! (22.26s)
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" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.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"
],
"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.3"
}
Done.