Build Information
Successful build of swift-signal-handling, reference 1.1.4 (c50ae0), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 16:05:57 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
[0;36m:[0;0m
[0;36m77 |[0;0m /**
[0;36m78 |[0;0m - Note: FPE means Floating-Point Exception but this signal is sent for any arithmetic error. */
[0;36m79 |[0;0m public static let arithmeticError = Signal(rawValue: SIGFPE)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'arithmeticError' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m80 |[0;0m @available(*, unavailable, renamed: "arithmeticError")
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:81:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m79 |[0;0m public static let arithmeticError = Signal(rawValue: SIGFPE)
[0;36m80 |[0;0m @available(*, unavailable, renamed: "arithmeticError")
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'floatingPointException' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:82:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m80 |[0;0m @available(*, unavailable, renamed: "arithmeticError")
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'illegalInstruction' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:83:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'segmentationFault' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:84:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'busError' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:85:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'abortTrap' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
[0;36m87 |[0;0m public static let iot = Signal(rawValue: SIGIOT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:87:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
[0;36m87 |[0;0m public static let iot = Signal(rawValue: SIGIOT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'iot' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m88 |[0;0m public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
[0;36m89 |[0;0m #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:88:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
[0;36m87 |[0;0m public static let iot = Signal(rawValue: SIGIOT)
[0;36m88 |[0;0m public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'traceBreakpointTrap' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m89 |[0;0m #if !os(Linux)
[0;36m90 |[0;0m public static let emulatorTrap = Signal(rawValue: SIGEMT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m88 |[0;0m public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
[0;36m89 |[0;0m #if !os(Linux)
[0;36m90 |[0;0m public static let emulatorTrap = Signal(rawValue: SIGEMT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'emulatorTrap' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m91 |[0;0m #endif
[0;36m92 |[0;0m public static let badSystemCall = Signal(rawValue: SIGSYS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:92:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m90 |[0;0m public static let emulatorTrap = Signal(rawValue: SIGEMT)
[0;36m91 |[0;0m #endif
[0;36m92 |[0;0m public static let badSystemCall = Signal(rawValue: SIGSYS)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'badSystemCall' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m93 |[0;0m
[0;36m94 |[0;0m /* *** Termination Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:108:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m106 |[0;0m
[0;36m107 |[0;0m /** “Normal” kill signal. */
[0;36m108 |[0;0m public static let terminated = Signal(rawValue: SIGTERM)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'terminated' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m109 |[0;0m /** Usually `Ctrl-C`. */
[0;36m110 |[0;0m public static let interrupt = Signal(rawValue: SIGINT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:110:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m108 |[0;0m public static let terminated = Signal(rawValue: SIGTERM)
[0;36m109 |[0;0m /** Usually `Ctrl-C`. */
[0;36m110 |[0;0m public static let interrupt = Signal(rawValue: SIGINT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'interrupt' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m111 |[0;0m /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
[0;36m112 |[0;0m public static let quit = Signal(rawValue: SIGQUIT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:112:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m110 |[0;0m public static let interrupt = Signal(rawValue: SIGINT)
[0;36m111 |[0;0m /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
[0;36m112 |[0;0m public static let quit = Signal(rawValue: SIGQUIT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'quit' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m113 |[0;0m public static let killed = Signal(rawValue: SIGKILL)
[0;36m114 |[0;0m /** The user’s terminal disconnected. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:113:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m111 |[0;0m /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
[0;36m112 |[0;0m public static let quit = Signal(rawValue: SIGQUIT)
[0;36m113 |[0;0m public static let killed = Signal(rawValue: SIGKILL)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'killed' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m114 |[0;0m /** The user’s terminal disconnected. */
[0;36m115 |[0;0m public static let hangup = Signal(rawValue: SIGHUP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:115:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m113 |[0;0m public static let killed = Signal(rawValue: SIGKILL)
[0;36m114 |[0;0m /** The user’s terminal disconnected. */
[0;36m115 |[0;0m public static let hangup = Signal(rawValue: SIGHUP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'hangup' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m116 |[0;0m
[0;36m117 |[0;0m /* *** Alarm Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:128:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m126 |[0;0m }
[0;36m127 |[0;0m
[0;36m128 |[0;0m public static let alarmClock = Signal(rawValue: SIGALRM)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'alarmClock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m129 |[0;0m public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
[0;36m130 |[0;0m public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:129:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m127 |[0;0m
[0;36m128 |[0;0m public static let alarmClock = Signal(rawValue: SIGALRM)
[0;36m129 |[0;0m public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'virtualTimerExpired' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m130 |[0;0m public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
[0;36m131 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:130:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m128 |[0;0m public static let alarmClock = Signal(rawValue: SIGALRM)
[0;36m129 |[0;0m public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
[0;36m130 |[0;0m public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'profilingTimerExpired' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m131 |[0;0m
[0;36m132 |[0;0m /* *** Asynchronous I/O Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:143:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m141 |[0;0m }
[0;36m142 |[0;0m
[0;36m143 |[0;0m public static let ioPossible = Signal(rawValue: SIGIO)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'ioPossible' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m144 |[0;0m public static let urgentIOCondition = Signal(rawValue: SIGURG)
[0;36m145 |[0;0m #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:144:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m142 |[0;0m
[0;36m143 |[0;0m public static let ioPossible = Signal(rawValue: SIGIO)
[0;36m144 |[0;0m public static let urgentIOCondition = Signal(rawValue: SIGURG)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'urgentIOCondition' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m145 |[0;0m #if os(Linux)
[0;36m146 |[0;0m /** System V signal name, similar to SIGIO. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:164:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m162 |[0;0m }
[0;36m163 |[0;0m
[0;36m164 |[0;0m public static let childExited = Signal(rawValue: SIGCHLD)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'childExited' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m165 |[0;0m /* Obsolete name for SIGCHLD. */
[0;36m166 |[0;0m // public static let cildExited = Signal(rawValue: SIGCLD)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:167:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m165 |[0;0m /* Obsolete name for SIGCHLD. */
[0;36m166 |[0;0m // public static let cildExited = Signal(rawValue: SIGCLD)
[0;36m167 |[0;0m public static let continued = Signal(rawValue: SIGCONT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'continued' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m168 |[0;0m /** Suspends the program. Cannot be handled, ignored or blocked. */
[0;36m169 |[0;0m public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:169:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m167 |[0;0m public static let continued = Signal(rawValue: SIGCONT)
[0;36m168 |[0;0m /** Suspends the program. Cannot be handled, ignored or blocked. */
[0;36m169 |[0;0m public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'suspendedBySignal' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m170 |[0;0m /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:171:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m169 |[0;0m public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
[0;36m170 |[0;0m /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'suspended' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m172 |[0;0m public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
[0;36m173 |[0;0m public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:172:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m170 |[0;0m /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
[0;36m172 |[0;0m public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'stoppedTTYInput' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m173 |[0;0m public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
[0;36m174 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:173:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
[0;36m172 |[0;0m public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
[0;36m173 |[0;0m public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'stoppedTTYOutput' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m174 |[0;0m
[0;36m175 |[0;0m /* *** Operation Error Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:186:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m184 |[0;0m }
[0;36m185 |[0;0m
[0;36m186 |[0;0m public static let brokenPipe = Signal(rawValue: SIGPIPE)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'brokenPipe' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m187 |[0;0m // public static let resourceLost = Signal(rawValue: SIGLOST)
[0;36m188 |[0;0m public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:188:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m186 |[0;0m public static let brokenPipe = Signal(rawValue: SIGPIPE)
[0;36m187 |[0;0m // public static let resourceLost = Signal(rawValue: SIGLOST)
[0;36m188 |[0;0m public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'cputimeLimitExceeded' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m189 |[0;0m public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
[0;36m190 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:189:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m187 |[0;0m // public static let resourceLost = Signal(rawValue: SIGLOST)
[0;36m188 |[0;0m public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
[0;36m189 |[0;0m public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'filesizeLimitExceeded' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m190 |[0;0m
[0;36m191 |[0;0m /* *** Miscellaneous Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:208:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m206 |[0;0m }
[0;36m207 |[0;0m
[0;36m208 |[0;0m public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'userDefinedSignal1' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m209 |[0;0m public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:209:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m207 |[0;0m
[0;36m208 |[0;0m public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
[0;36m209 |[0;0m public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'userDefinedSignal2' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
[0;36m211 |[0;0m #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:210:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m208 |[0;0m public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
[0;36m209 |[0;0m public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'windowSizeChanges' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m211 |[0;0m #if !os(Linux)
[0;36m212 |[0;0m public static let informationRequest = Signal(rawValue: SIGINFO)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
[0;36m211 |[0;0m #if !os(Linux)
[0;36m212 |[0;0m public static let informationRequest = Signal(rawValue: SIGINFO)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'informationRequest' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m213 |[0;0m #endif
[0;36m214 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/DelayedSigaction.swift:10:21: [1;33mwarning: [1;39mstatic property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m8 |[0;0m public struct DelayedSigaction : Hashable {
[0;36m9 |[0;0m
[0;36m10 |[0;0m private static var latestID = 0
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'latestID' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'latestID' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m internal var id: Int
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:173:14: [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m171 |[0;0m static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
[0;36m172 |[0;0m
[0;36m173 |[0;0m static var action: Action = .nop
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'action' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'action' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m174 |[0;0m static var error: Error?
[0;36m175 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:174:14: [1;33mwarning: [1;39mstatic property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m172 |[0;0m
[0;36m173 |[0;0m static var action: Action = .nop
[0;36m174 |[0;0m static var error: Error?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'error' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'error' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m175 |[0;0m
[0;36m176 |[0;0m case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:191:21: [1;33mwarning: [1;39mstatic property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m189 |[0;0m private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.blocked-signals-processing-queue")
[0;36m190 |[0;0m
[0;36m191 |[0;0m private static var bootstrapDone = false
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'bootstrapDone' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'bootstrapDone' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m192 |[0;0m private static var blockedSignals = [Signal: BlockedSignal]()
[0;36m193 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:192:21: [1;33mwarning: [1;39mstatic property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m190 |[0;0m
[0;36m191 |[0;0m private static var bootstrapDone = false
[0;36m192 |[0;0m private static var blockedSignals = [Signal: BlockedSignal]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'blockedSignals' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'blockedSignals' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m193 |[0;0m
[0;36m194 |[0;0m private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:130:14: [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m128 |[0;0m static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
[0;36m129 |[0;0m
[0;36m130 |[0;0m static var action: Action = .nop
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'action' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'action' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m131 |[0;0m static var completionResult: ErrorAndLogs?
[0;36m132 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:131:14: [1;33mwarning: [1;39mstatic property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m129 |[0;0m
[0;36m130 |[0;0m static var action: Action = .nop
[0;36m131 |[0;0m static var completionResult: ErrorAndLogs?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'completionResult' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'completionResult' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m132 |[0;0m
[0;36m133 |[0;0m case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:150:21: [1;33mwarning: [1;39mstatic property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m148 |[0;0m private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.unsigactioned-signals-processing-queue")
[0;36m149 |[0;0m
[0;36m150 |[0;0m private static var hasCreatedProcessingThread = false
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'hasCreatedProcessingThread' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'hasCreatedProcessingThread' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m151 |[0;0m private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
[0;36m152 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:151:21: [1;33mwarning: [1;39mstatic property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m149 |[0;0m
[0;36m150 |[0;0m private static var hasCreatedProcessingThread = false
[0;36m151 |[0;0m private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'unsigactionedSignals' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'unsigactionedSignals' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m152 |[0;0m
[0;36m153 |[0;0m private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m7 |[0;0m public enum SignalHandlingConfig {
[0;36m8 |[0;0m
[0;36m9 |[0;0m public static var logger: Logging.Logger? = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'logger' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'logger' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m10 |[0;0m return Logger(label: "com.xcode-actions.signal-handling")
[0;36m11 |[0;0m }()
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/SignalHandlingConfig.swift:9:20: [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m7 |[0;0m public enum SignalHandlingConfig {
[0;36m8 |[0;0m
[0;36m9 |[0;0m public static var logger: Logging.Logger? = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'logger' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'logger' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m10 |[0;0m return Logger(label: "com.xcode-actions.signal-handling")
[0;36m11 |[0;0m }()
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/DelayedSigaction.swift:10:21: [1;33mwarning: [1;39mstatic property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m8 |[0;0m public struct DelayedSigaction : Hashable {
[0;36m9 |[0;0m
[0;36m10 |[0;0m private static var latestID = 0
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'latestID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'latestID' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'latestID' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m internal var id: Int
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:9:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m public struct Sigaction : Equatable, RawRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Sigaction' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m public static let ignoreAction = Sigaction(handler: .ignoreHandler)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'ignoreAction' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m10 |[0;0m public static let defaultAction = Sigaction(handler: .defaultHandler)
[0;36m11 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Sigaction.swift:10:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m public struct Sigaction : Equatable, RawRepresentable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Sigaction' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m public static let ignoreAction = Sigaction(handler: .ignoreHandler)
[0;36m10 |[0;0m public static let defaultAction = Sigaction(handler: .defaultHandler)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'defaultAction' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:11:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m9 |[0;0m If this bit is set when installing a catching function for the `SIGCHLD` signal,
[0;36m10 |[0;0m the `SIGCHLD` signal will be generated only when a child process exits, not when a child process stops. */
[0;36m11 |[0;0m public static let noChildStop = SigactionFlags(rawValue: SA_NOCLDSTOP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'noChildStop' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:19:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m:[0;0m
[0;36m17 |[0;0m it blocks until all of the calling process’s child processes terminate,
[0;36m18 |[0;0m and then returns a value of -1 with errno set to ECHILD. */
[0;36m19 |[0;0m public static let noChildWait = SigactionFlags(rawValue: SA_NOCLDWAIT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'noChildWait' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:23:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m:[0;0m
[0;36m21 |[0;0m /**
[0;36m22 |[0;0m If this bit is set, the system will deliver the signal to the process on a signal stack, specified with `sigaltstack(2)`. */
[0;36m23 |[0;0m public static let onStack = SigactionFlags(rawValue: SA_ONSTACK)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'onStack' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:27:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m:[0;0m
[0;36m25 |[0;0m /**
[0;36m26 |[0;0m If this bit is set, further occurrences of the delivered signal are not masked during the execution of the handler. */
[0;36m27 |[0;0m public static let noDefer = SigactionFlags(rawValue: SA_NODEFER)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'noDefer' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:31:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m:[0;0m
[0;36m29 |[0;0m /**
[0;36m30 |[0;0m If this bit is set, the handler is reset back to `SIG_DFL` at the moment the signal is delivered. */
[0;36m31 |[0;0m public static let resetHandler = SigactionFlags(rawValue: CInt(SA_RESETHAND) /* On Linux, an UInt32 instead of Int32, so we cast… */)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'resetHandler' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m /** See `sigaction(2)`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:34:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m:[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m /** See `sigaction(2)`. */
[0;36m34 |[0;0m public static let restart = SigactionFlags(rawValue: SA_RESTART)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'restart' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m35 |[0;0m
[0;36m36 |[0;0m /**
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/SigactionFlag.swift:40:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m /** Flag list is from `sigaction(2)` on macOS. */
[0;36m6 |[0;0m public struct SigactionFlags : OptionSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'SigactionFlags' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /**
[0;36m:[0;0m
[0;36m38 |[0;0m and should match the matching prototype.
[0;36m39 |[0;0m This bit should not be set when assigning `SIG_DFL` or `SIG_IGN`. */
[0;36m40 |[0;0m public static let siginfo = SigactionFlags(rawValue: SA_SIGINFO)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'siginfo' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m public let rawValue: CInt
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:173:14: [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m171 |[0;0m static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
[0;36m172 |[0;0m
[0;36m173 |[0;0m static var action: Action = .nop
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'action' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'action' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m174 |[0;0m static var error: Error?
[0;36m175 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:174:14: [1;33mwarning: [1;39mstatic property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m172 |[0;0m
[0;36m173 |[0;0m static var action: Action = .nop
[0;36m174 |[0;0m static var error: Error?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'error' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'error' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m175 |[0;0m
[0;36m176 |[0;0m case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:191:21: [1;33mwarning: [1;39mstatic property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m189 |[0;0m private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.blocked-signals-processing-queue")
[0;36m190 |[0;0m
[0;36m191 |[0;0m private static var bootstrapDone = false
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'bootstrapDone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'bootstrapDone' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'bootstrapDone' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m192 |[0;0m private static var blockedSignals = [Signal: BlockedSignal]()
[0;36m193 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:192:21: [1;33mwarning: [1;39mstatic property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m190 |[0;0m
[0;36m191 |[0;0m private static var bootstrapDone = false
[0;36m192 |[0;0m private static var blockedSignals = [Signal: BlockedSignal]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'blockedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'blockedSignals' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'blockedSignals' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m193 |[0;0m
[0;36m194 |[0;0m private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift:82:5: [1;33mwarning: [1;39mmutation of captured var 'error' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m80 |[0;0m let ret = pthread_sigmask(SIG_SETMASK, &noSignals, nil /* old signals */)
[0;36m81 |[0;0m if ret != 0 {
[0;36m82 |[0;0m error = SignalHandlingError.destructiveSystemError(Errno(rawValue: ret))
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'error' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m83 |[0;0m }
[0;36m84 |[0;0m group.leave()
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:130:14: [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m128 |[0;0m static let lock = NSConditionLock(condition: Self.nothingToDo.rawValue)
[0;36m129 |[0;0m
[0;36m130 |[0;0m static var action: Action = .nop
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'action' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'action' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m131 |[0;0m static var completionResult: ErrorAndLogs?
[0;36m132 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:131:14: [1;33mwarning: [1;39mstatic property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m129 |[0;0m
[0;36m130 |[0;0m static var action: Action = .nop
[0;36m131 |[0;0m static var completionResult: ErrorAndLogs?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'completionResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'completionResult' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'completionResult' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m132 |[0;0m
[0;36m133 |[0;0m case nothingToDo
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:150:21: [1;33mwarning: [1;39mstatic property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m148 |[0;0m private static let signalProcessingQueue = DispatchQueue(label: "com.xcode-actions.unsigactioned-signals-processing-queue")
[0;36m149 |[0;0m
[0;36m150 |[0;0m private static var hasCreatedProcessingThread = false
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'hasCreatedProcessingThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'hasCreatedProcessingThread' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'hasCreatedProcessingThread' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m151 |[0;0m private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
[0;36m152 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:151:21: [1;33mwarning: [1;39mstatic property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m149 |[0;0m
[0;36m150 |[0;0m private static var hasCreatedProcessingThread = false
[0;36m151 |[0;0m private static var unsigactionedSignals = [Signal: UnsigactionedSignal]()
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'unsigactionedSignals' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'unsigactionedSignals' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'unsigactionedSignals' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m152 |[0;0m
[0;36m153 |[0;0m private static func executeOnThread(_ action: ThreadSync.Action) throws {
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift:302:5: [1;33mwarning: [1;39mmutation of captured var 'error' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m300 |[0;0m let ret = pthread_sigmask(SIG_SETMASK, &noSignals, nil /* old signals */)
[0;36m301 |[0;0m if ret != 0 {
[0;36m302 |[0;0m error = SignalHandlingError.destructiveSystemError(Errno(rawValue: ret))
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'error' in concurrently-executing code[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m303 |[0;0m }
[0;36m304 |[0;0m group.leave()
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:34:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m - Important: As previously mentionned, this list is hand-crafted and might be missing signals or having too many of them. */
[0;36m34 |[0;0m public static let killingSignals: Set<Signal> = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'killingSignals' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m35 |[0;0m return Set(arrayLiteral:
[0;36m36 |[0;0m .terminated, /* Default kill */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:48:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m46 |[0;0m - Important: As previously mentionned, this list is hand-crafted and does not correspond to any system development notion,
[0;36m47 |[0;0m or anything that I know of. */
[0;36m48 |[0;0m public static let toForwardToSubprocesses: Set<Signal> = {
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'toForwardToSubprocesses' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m49 |[0;0m return Set(arrayLiteral:
[0;36m50 |[0;0m .suspended, /* Ctrl-Z */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:79:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m77 |[0;0m /**
[0;36m78 |[0;0m - Note: FPE means Floating-Point Exception but this signal is sent for any arithmetic error. */
[0;36m79 |[0;0m public static let arithmeticError = Signal(rawValue: SIGFPE)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'arithmeticError' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m80 |[0;0m @available(*, unavailable, renamed: "arithmeticError")
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:81:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m79 |[0;0m public static let arithmeticError = Signal(rawValue: SIGFPE)
[0;36m80 |[0;0m @available(*, unavailable, renamed: "arithmeticError")
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'floatingPointException' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:82:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m80 |[0;0m @available(*, unavailable, renamed: "arithmeticError")
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'illegalInstruction' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:83:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m81 |[0;0m public static let floatingPointException = Signal(rawValue: SIGFPE)
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'segmentationFault' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:84:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m82 |[0;0m public static let illegalInstruction = Signal(rawValue: SIGILL)
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'busError' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:85:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m83 |[0;0m public static let segmentationFault = Signal(rawValue: SIGSEGV)
[0;36m84 |[0;0m public static let busError = Signal(rawValue: SIGBUS)
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'abortTrap' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
[0;36m87 |[0;0m public static let iot = Signal(rawValue: SIGIOT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:87:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m85 |[0;0m public static let abortTrap = Signal(rawValue: SIGABRT)
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
[0;36m87 |[0;0m public static let iot = Signal(rawValue: SIGIOT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'iot' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m88 |[0;0m public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
[0;36m89 |[0;0m #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:88:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m86 |[0;0m /** Usually the same as `abortTrap`. */
[0;36m87 |[0;0m public static let iot = Signal(rawValue: SIGIOT)
[0;36m88 |[0;0m public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'traceBreakpointTrap' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m89 |[0;0m #if !os(Linux)
[0;36m90 |[0;0m public static let emulatorTrap = Signal(rawValue: SIGEMT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:90:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m88 |[0;0m public static let traceBreakpointTrap = Signal(rawValue: SIGTRAP)
[0;36m89 |[0;0m #if !os(Linux)
[0;36m90 |[0;0m public static let emulatorTrap = Signal(rawValue: SIGEMT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'emulatorTrap' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m91 |[0;0m #endif
[0;36m92 |[0;0m public static let badSystemCall = Signal(rawValue: SIGSYS)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:92:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m90 |[0;0m public static let emulatorTrap = Signal(rawValue: SIGEMT)
[0;36m91 |[0;0m #endif
[0;36m92 |[0;0m public static let badSystemCall = Signal(rawValue: SIGSYS)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'badSystemCall' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m93 |[0;0m
[0;36m94 |[0;0m /* *** Termination Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:108:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m106 |[0;0m
[0;36m107 |[0;0m /** “Normal” kill signal. */
[0;36m108 |[0;0m public static let terminated = Signal(rawValue: SIGTERM)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'terminated' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m109 |[0;0m /** Usually `Ctrl-C`. */
[0;36m110 |[0;0m public static let interrupt = Signal(rawValue: SIGINT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:110:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m108 |[0;0m public static let terminated = Signal(rawValue: SIGTERM)
[0;36m109 |[0;0m /** Usually `Ctrl-C`. */
[0;36m110 |[0;0m public static let interrupt = Signal(rawValue: SIGINT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'interrupt' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m111 |[0;0m /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
[0;36m112 |[0;0m public static let quit = Signal(rawValue: SIGQUIT)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:112:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m110 |[0;0m public static let interrupt = Signal(rawValue: SIGINT)
[0;36m111 |[0;0m /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
[0;36m112 |[0;0m public static let quit = Signal(rawValue: SIGQUIT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'quit' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m113 |[0;0m public static let killed = Signal(rawValue: SIGKILL)
[0;36m114 |[0;0m /** The user’s terminal disconnected. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:113:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m111 |[0;0m /** Used to quit w/ generation of a core dump. Usually `Ctrl-\`. */
[0;36m112 |[0;0m public static let quit = Signal(rawValue: SIGQUIT)
[0;36m113 |[0;0m public static let killed = Signal(rawValue: SIGKILL)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'killed' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m114 |[0;0m /** The user’s terminal disconnected. */
[0;36m115 |[0;0m public static let hangup = Signal(rawValue: SIGHUP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:115:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m113 |[0;0m public static let killed = Signal(rawValue: SIGKILL)
[0;36m114 |[0;0m /** The user’s terminal disconnected. */
[0;36m115 |[0;0m public static let hangup = Signal(rawValue: SIGHUP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'hangup' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m116 |[0;0m
[0;36m117 |[0;0m /* *** Alarm Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:128:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m126 |[0;0m }
[0;36m127 |[0;0m
[0;36m128 |[0;0m public static let alarmClock = Signal(rawValue: SIGALRM)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'alarmClock' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m129 |[0;0m public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
[0;36m130 |[0;0m public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:129:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m127 |[0;0m
[0;36m128 |[0;0m public static let alarmClock = Signal(rawValue: SIGALRM)
[0;36m129 |[0;0m public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'virtualTimerExpired' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m130 |[0;0m public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
[0;36m131 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:130:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m128 |[0;0m public static let alarmClock = Signal(rawValue: SIGALRM)
[0;36m129 |[0;0m public static let virtualTimerExpired = Signal(rawValue: SIGVTALRM)
[0;36m130 |[0;0m public static let profilingTimerExpired = Signal(rawValue: SIGPROF)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'profilingTimerExpired' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m131 |[0;0m
[0;36m132 |[0;0m /* *** Asynchronous I/O Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:143:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m141 |[0;0m }
[0;36m142 |[0;0m
[0;36m143 |[0;0m public static let ioPossible = Signal(rawValue: SIGIO)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'ioPossible' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m144 |[0;0m public static let urgentIOCondition = Signal(rawValue: SIGURG)
[0;36m145 |[0;0m #if os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:144:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m142 |[0;0m
[0;36m143 |[0;0m public static let ioPossible = Signal(rawValue: SIGIO)
[0;36m144 |[0;0m public static let urgentIOCondition = Signal(rawValue: SIGURG)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'urgentIOCondition' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m145 |[0;0m #if os(Linux)
[0;36m146 |[0;0m /** System V signal name, similar to SIGIO. */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:164:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m162 |[0;0m }
[0;36m163 |[0;0m
[0;36m164 |[0;0m public static let childExited = Signal(rawValue: SIGCHLD)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'childExited' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m165 |[0;0m /* Obsolete name for SIGCHLD. */
[0;36m166 |[0;0m // public static let cildExited = Signal(rawValue: SIGCLD)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:167:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m165 |[0;0m /* Obsolete name for SIGCHLD. */
[0;36m166 |[0;0m // public static let cildExited = Signal(rawValue: SIGCLD)
[0;36m167 |[0;0m public static let continued = Signal(rawValue: SIGCONT)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'continued' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m168 |[0;0m /** Suspends the program. Cannot be handled, ignored or blocked. */
[0;36m169 |[0;0m public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:169:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m167 |[0;0m public static let continued = Signal(rawValue: SIGCONT)
[0;36m168 |[0;0m /** Suspends the program. Cannot be handled, ignored or blocked. */
[0;36m169 |[0;0m public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'suspendedBySignal' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m170 |[0;0m /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:171:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m169 |[0;0m public static let suspendedBySignal = Signal(rawValue: SIGSTOP)
[0;36m170 |[0;0m /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'suspended' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m172 |[0;0m public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
[0;36m173 |[0;0m public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:172:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m170 |[0;0m /** Suspends the program but can be handled and ignored. Usually `Ctrl-Z`. */
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
[0;36m172 |[0;0m public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'stoppedTTYInput' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m173 |[0;0m public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
[0;36m174 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:173:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m171 |[0;0m public static let suspended = Signal(rawValue: SIGTSTP)
[0;36m172 |[0;0m public static let stoppedTTYInput = Signal(rawValue: SIGTTIN)
[0;36m173 |[0;0m public static let stoppedTTYOutput = Signal(rawValue: SIGTTOU)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'stoppedTTYOutput' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m174 |[0;0m
[0;36m175 |[0;0m /* *** Operation Error Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:186:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m184 |[0;0m }
[0;36m185 |[0;0m
[0;36m186 |[0;0m public static let brokenPipe = Signal(rawValue: SIGPIPE)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'brokenPipe' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m187 |[0;0m // public static let resourceLost = Signal(rawValue: SIGLOST)
[0;36m188 |[0;0m public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:188:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m186 |[0;0m public static let brokenPipe = Signal(rawValue: SIGPIPE)
[0;36m187 |[0;0m // public static let resourceLost = Signal(rawValue: SIGLOST)
[0;36m188 |[0;0m public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'cputimeLimitExceeded' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m189 |[0;0m public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
[0;36m190 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:189:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m187 |[0;0m // public static let resourceLost = Signal(rawValue: SIGLOST)
[0;36m188 |[0;0m public static let cputimeLimitExceeded = Signal(rawValue: SIGXCPU)
[0;36m189 |[0;0m public static let filesizeLimitExceeded = Signal(rawValue: SIGXFSZ)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'filesizeLimitExceeded' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m190 |[0;0m
[0;36m191 |[0;0m /* *** Miscellaneous Signals *** */
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:208:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m206 |[0;0m }
[0;36m207 |[0;0m
[0;36m208 |[0;0m public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'userDefinedSignal1' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m209 |[0;0m public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:209:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m207 |[0;0m
[0;36m208 |[0;0m public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
[0;36m209 |[0;0m public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'userDefinedSignal2' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
[0;36m211 |[0;0m #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:210:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m208 |[0;0m public static let userDefinedSignal1 = Signal(rawValue: SIGUSR1)
[0;36m209 |[0;0m public static let userDefinedSignal2 = Signal(rawValue: SIGUSR2)
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'windowSizeChanges' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m211 |[0;0m #if !os(Linux)
[0;36m212 |[0;0m public static let informationRequest = Signal(rawValue: SIGINFO)
/Users/admin/builder/spi-builder-workspace/Sources/SignalHandling/CStructsInSwift/Signal.swift:212:20: [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m5 |[0;0m /* Could be an enum?
[0;36m6 |[0;0m * I’d say no to be able to represent signals we don’t know are a part of the system. */
[0;36m7 |[0;0m public struct Signal : RawRepresentable, Hashable, Codable, CaseIterable, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Signal' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /* Signal 0 is not considered.
[0;36m:[0;0m
[0;36m210 |[0;0m public static let windowSizeChanges = Signal(rawValue: SIGWINCH)
[0;36m211 |[0;0m #if !os(Linux)
[0;36m212 |[0;0m public static let informationRequest = Signal(rawValue: SIGINFO)
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic 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[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'informationRequest' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m213 |[0;0m #endif
[0;36m214 |[0;0m
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/main.swift:9:13: [1;33mwarning: [1;39mstatic property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m7 |[0;0m struct SignalHandlingTestsHelper : ParsableCommand {
[0;36m8 |[0;0m
[0;36m9 |[0;0m static var configuration = CommandConfiguration(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'configuration' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m10 |[0;0m subcommands: [
[0;36m11 |[0;0m ManualTest.self,
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/main.swift:9:13: [1;33mwarning: [1;39mstatic property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m7 |[0;0m struct SignalHandlingTestsHelper : ParsableCommand {
[0;36m8 |[0;0m
[0;36m9 |[0;0m static var configuration = CommandConfiguration(
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'configuration' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m10 |[0;0m subcommands: [
[0;36m11 |[0;0m ManualTest.self,
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualDispatchMemTest.swift:24:13: [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m22 |[0;0m struct ManualDispatchMemTest : ParsableCommand {
[0;36m23 |[0;0m
[0;36m24 |[0;0m static var logger: Logger?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'logger' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'logger' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m func run() throws {
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:13:13: [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m11 |[0;0m struct ManualTest : ParsableCommand {
[0;36m12 |[0;0m
[0;36m13 |[0;0m static var logger: Logger?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'logger' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'logger' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m enum DelayMode : String, ExpressibleByArgument {
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualDispatchMemTest.swift:24:13: [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m22 |[0;0m struct ManualDispatchMemTest : ParsableCommand {
[0;36m23 |[0;0m
[0;36m24 |[0;0m static var logger: Logger?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'logger' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'logger' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m func run() throws {
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualDispatchMemTest.swift:32:24: [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m30 |[0;0m logger.logLevel = .trace
[0;36m31 |[0;0m Self.logger = logger /* We must do this to be able to use the logger from the C handler. */
[0;36m32 |[0;0m SignalHandlingConfig.logger?.logLevel = .trace
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m let signal = Signal.interrupt
SignalHandling.SignalHandlingConfig.logger:2:19: [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m1 |[0;0m enum SignalHandlingConfig {
[0;36m2 |[0;0m public static var logger: Logging.Logger?}
[0;36m|[0;0m `- [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m3 |[0;0m
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalUnsigaction.swift:18:24: [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m16 |[0;0m func run() throws {
[0;36m17 |[0;0m LoggingSystem.bootstrap{ _ in CLTLogger(multilineMode: .allMultiline) }
[0;36m18 |[0;0m SignalHandlingConfig.logger?.logLevel = .trace
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m let signal = Signal(rawValue: signalNumber)
SignalHandling.SignalHandlingConfig.logger:2:19: [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m1 |[0;0m enum SignalHandlingConfig {
[0;36m2 |[0;0m public static var logger: Logging.Logger?}
[0;36m|[0;0m `- [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m3 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalUnsigaction.swift:27:5: [1;33mwarning: [1;39mcapture of 'doneHandler' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m25 |[0;0m DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
[0;36m26 |[0;0m writeToStdout("allowing signal to be resent")
[0;36m27 |[0;0m doneHandler(true)
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'doneHandler' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m28 |[0;0m })
[0;36m29 |[0;0m })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalBlock.swift:20:24: [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m18 |[0;0m
[0;36m19 |[0;0m LoggingSystem.bootstrap{ _ in CLTLogger(multilineMode: .allMultiline) }
[0;36m20 |[0;0m SignalHandlingConfig.logger?.logLevel = .trace
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m21 |[0;0m
[0;36m22 |[0;0m let signal = Signal(rawValue: signalNumber)
SignalHandling.SignalHandlingConfig.logger:2:19: [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m1 |[0;0m enum SignalHandlingConfig {
[0;36m2 |[0;0m public static var logger: Logging.Logger?}
[0;36m|[0;0m `- [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m3 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/DelaySignalBlock.swift:29:5: [1;33mwarning: [1;39mcapture of 'doneHandler' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m27 |[0;0m DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: {
[0;36m28 |[0;0m writeToStdout("allowing signal to be resent")
[0;36m29 |[0;0m doneHandler(true)
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'doneHandler' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m30 |[0;0m })
[0;36m31 |[0;0m })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:13:13: [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m11 |[0;0m struct ManualTest : ParsableCommand {
[0;36m12 |[0;0m
[0;36m13 |[0;0m static var logger: Logger?
[0;36m|[0;0m |- [1;33mwarning: [1;39mstatic property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39mconvert 'logger' to a 'let' constant to make 'Sendable' shared state immutable[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'logger' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m enum DelayMode : String, ExpressibleByArgument {
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:33:24: [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m31 |[0;0m logger.logLevel = .trace
[0;36m32 |[0;0m Self.logger = logger /* We must do this to be able to use the logger from the C handler. */
[0;36m33 |[0;0m SignalHandlingConfig.logger?.logLevel = .trace
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m try Sigaction(handler: .ansiC({ _ in Self.logger?.debug("In libxct-test-helper sigaction handler for interrupt") })).install(on: .interrupt)
SignalHandling.SignalHandlingConfig.logger:2:19: [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m1 |[0;0m enum SignalHandlingConfig {
[0;36m2 |[0;0m public static var logger: Logging.Logger?}
[0;36m|[0;0m `- [1;39mnote: [1;39mstatic property declared here[0;0m
[0;36m3 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/signal-handling-tests-helper/ManualTest.swift:46:5: [1;33mwarning: [1;39mcapture of 'doneHandler' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m44 |[0;0m DispatchQueue.global().asyncAfter(deadline: .now() + .milliseconds(500), execute: { [logger] in
[0;36m45 |[0;0m logger.info("Allowing signal to be resent")
[0;36m46 |[0;0m doneHandler(true)
[0;36m|[0;0m |- [1;33mwarning: [1;39mcapture of 'doneHandler' with non-Sendable type '(Bool) -> Void' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39ma function type must be marked '@Sendable' to conform to 'Sendable'[0;0m
[0;36m47 |[0;0m })
[0;36m48 |[0;0m }
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "clt-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-beta.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcode-actions/clt-logger.git"
}
],
"manifest_display_name" : "swift-signal-handling",
"name" : "swift-signal-handling",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SignalHandling",
"targets" : [
"SignalHandling"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "signal-handling-tests-helper",
"targets" : [
"signal-handling-tests-helper"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "signal_handling_tests_helper",
"module_type" : "SwiftTarget",
"name" : "signal-handling-tests-helper",
"path" : "Sources/signal-handling-tests-helper",
"product_dependencies" : [
"ArgumentParser",
"CLTLogger",
"Logging"
],
"product_memberships" : [
"signal-handling-tests-helper"
],
"sources" : [
"ConditionLock.swift",
"DelaySignalBlock.swift",
"DelaySignalUnsigaction.swift",
"ManualDispatchMemTest.swift",
"ManualTest.swift",
"main.swift"
],
"target_dependencies" : [
"SignalHandling"
],
"type" : "executable"
},
{
"c99name" : "SignalHandlingTests",
"module_type" : "SwiftTarget",
"name" : "SignalHandlingTests",
"path" : "Tests/SignalHandlingTests",
"product_dependencies" : [
"CLTLogger",
"Logging"
],
"sources" : [
"LockTest.swift",
"SignalHandlingTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"signal-handling-tests-helper"
],
"type" : "test"
},
{
"c99name" : "SignalHandling",
"module_type" : "SwiftTarget",
"name" : "SignalHandling",
"path" : "Sources/SignalHandling",
"product_dependencies" : [
"Logging",
"SystemPackage"
],
"product_memberships" : [
"SignalHandling",
"signal-handling-tests-helper"
],
"sources" : [
"CStructsInSwift/Sigaction.swift",
"CStructsInSwift/SigactionFlag.swift",
"CStructsInSwift/SigactionHandler.swift",
"CStructsInSwift/Signal.swift",
"DelayedSigaction/DelayedSigaction.swift",
"DelayedSigaction/DelayedSigactionHandler.swift",
"DelayedSigaction/SigactionDelayer_Block.swift",
"DelayedSigaction/SigactionDelayer_Unsig.swift",
"SignalHandlingConfig.swift",
"SignalHandlingError.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.