Build Information
Failed to build CLIKit with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
[7/65] Compiling CLIKit Log.swift
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
[8/65] Compiling CLIKit Regex.swift
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
[9/65] Compiling CLIKit Sequence+Convenience.swift
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
[10/65] Compiling CLIKit String+Utilities.swift
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
[11/65] Compiling CLIKit Environment.swift
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:14:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:16:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
14 | public static let debug = EnabledLogLevels(rawValue: 1 << 0)
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'info' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:17:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
15 | public static let `default` = EnabledLogLevels(rawValue: 1 << 1)
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:18:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
16 | public static let info = EnabledLogLevels(rawValue: 1 << 2)
17 | public static let error = EnabledLogLevels(rawValue: 1 << 3)
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
18 | public static let fault = EnabledLogLevels(rawValue: 1 << 4)
19 |
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:22:23: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
9 | #endif
10 |
11 | public struct EnabledLogLevels: OptionSet {
| `- note: consider making struct 'EnabledLogLevels' conform to the 'Sendable' protocol
12 | public let rawValue: Int
13 |
:
20 | public static let all: EnabledLogLevels = [.debug, .default, .info, .error, .fault]
21 |
22 | public static let critical: EnabledLogLevels = [.error, .fault]
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'EnabledLogLevels' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: Int) {
/host/spi-builder-workspace/Sources/CLIKit/Internal/Log.swift:30:12: warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | #if SWIFT_PACKAGE
30 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.critical
| |- warning: var 'enabledLogLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabledLogLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabledLogLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | #else
32 | public var enabledLogLevels: EnabledLogLevels = EnabledLogLevels.all
[12/65] Compiling CLIKit StandardEnvironmentVariable.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[13/65] Compiling CLIKit CStrings.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[14/65] Compiling CLIKit SubprocessAttributes.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[15/65] Compiling CLIKit SubprocessCaptureOutputThread.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[16/65] Compiling CLIKit SubprocessIO.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[17/65] Compiling CLIKit SubprocessPipe.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[18/65] Compiling CLIKit SubprocessStateMachine.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Internal/SubprocessIO.swift:41:55: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
39 |
40 | // Open /dev/null as stdin.
41 | posix_spawn_file_actions_addopen(&actions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
42 |
43 | if captureOutput {
[19/65] Compiling CLIKit Array+CommandArgumentValue.swift
[20/65] Compiling CLIKit Dictionary+CommandArgumentValue.swift
[21/65] Compiling CLIKit Double+CommandArgumentValue.swift
[22/65] Compiling CLIKit Float+CommandArgumentValue.swift
[23/65] Compiling CLIKit Int+CommandArgumentValue.swift
[24/65] Compiling CLIKit Set+CommandArgumentValue.swift
[25/65] Compiling CLIKit String+CommandArgumentValue.swift
[26/65] Compiling CLIKit UInt+CommandArgumentValue.swift
[27/65] Compiling CLIKit ReadEvaluatePrintLoop.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[28/65] Compiling CLIKit TerminalREPL.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[29/65] Compiling CLIKit TerminalREPLState.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[30/65] Compiling CLIKit StandardIO.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[31/65] Compiling CLIKit Terminal.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[32/65] Compiling CLIKit TerminalCode.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[33/65] Compiling CLIKit TerminalInputMode.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[34/65] Compiling CLIKit TerminalString.swift
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:62:23: warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | /// changes. Invocations are done on the main thread. The first argument
61 | /// represents the row count and the second argument the column count.
62 | public static var windowSizeDidChange: WindowSizeDidChangeHandler? {
| |- warning: static property 'windowSizeDidChange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeDidChange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeDidChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | didSet {
64 | windowSizeSource?.cancel()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:76:24: warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | }
75 |
76 | private static var windowSizeSource: DispatchSourceSignal?
| |- warning: static property 'windowSizeSource' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowSizeSource' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowSizeSource' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /// The current size of the terminal window.
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:22:36: warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | }
21 |
22 | public private(set) static var currentMode: Mode = .normal
| |- warning: static property 'currentMode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | private static var normalAttributes: termios?
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/TerminalInputMode.swift:24:24: warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public private(set) static var currentMode: Mode = .normal
23 |
24 | private static var normalAttributes: termios?
| |- warning: static property 'normalAttributes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normalAttributes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normalAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private static var isStdinTerminal: Bool {
[35/65] Compiling CLIKit ExecutionMode.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[36/65] Compiling CLIKit ExecutableFinder.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[37/65] Compiling CLIKit Path+FileManagement.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[38/65] Compiling CLIKit Path.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[39/65] Compiling CLIKit Console.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[40/65] Compiling CLIKit IO.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[41/65] Compiling CLIKit BasicREPL.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[42/65] Compiling CLIKit CommandLineHistory.swift
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:15:16: warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public final class ExecutableFinder {
14 |
15 | static var lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static var cachedPaths: [String: Path?] = [:]
/host/spi-builder-workspace/Sources/CLIKit/File Management/ExecutableFinder.swift:17:16: warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var lock = Lock()
16 |
17 | static var cachedPaths: [String: Path?] = [:]
| |- warning: static property 'cachedPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedPaths' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public static func find(_ name: String) -> Path? {
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:9:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public class Console {
8 |
9 | public static let standard = StandardIO()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'StandardIO' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public static let lineReader = LineReader(input: standard.in)
/host/spi-builder-workspace/Sources/CLIKit/IO/StandardIO.swift:7:20: note: class 'StandardIO' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class StandardIO: IO {
| `- note: class 'StandardIO' does not conform to the 'Sendable' protocol
8 | public let `in`: Input = StandardInput()
9 | public let out: Output = StandardOutput()
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:11:23: warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let standard = StandardIO()
10 |
11 | public static let lineReader = LineReader(input: standard.in)
| |- warning: static property 'lineReader' is not concurrency-safe because non-'Sendable' type 'LineReader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lineReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public static let terminalType: TerminalType = {
/host/spi-builder-workspace/Sources/CLIKit/IO/Utilities/LineReader.swift:7:20: note: class 'LineReader' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public final class LineReader {
| `- note: class 'LineReader' does not conform to the 'Sendable' protocol
8 |
9 | private let input: Input
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:13:23: warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public static let lineReader = LineReader(input: standard.in)
12 |
13 | public static let terminalType: TerminalType = {
| |- warning: static property 'terminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | return Terminal.type(output: standard.out)
15 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
/host/spi-builder-workspace/Sources/CLIKit/IO/Console.swift:17:23: warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }()
16 |
17 | public static let errorTerminalType: TerminalType = {
| |- warning: static property 'errorTerminalType' is not concurrency-safe because non-'Sendable' type 'TerminalType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTerminalType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | return Terminal.type(output: standard.error)
19 | }()
/host/spi-builder-workspace/Sources/CLIKit/IO/Terminal/Terminal.swift:12:13: note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public enum TerminalType {
| `- note: consider making enum 'TerminalType' conform to the 'Sendable' protocol
13 |
14 | /// Terminal as described by the `TERM` environment variable.
[43/65] Compiling CLIKit URL+CommandArgumentValue.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[44/65] Compiling CLIKit CommandArgumentSpecification.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[45/65] Compiling CLIKit CommandArgumentValue.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[46/65] Compiling CLIKit CommandFlag.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[47/65] Compiling CLIKit CommandInput.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[48/65] Compiling CLIKit CommandOption.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[49/65] Compiling CLIKit HelpFlag.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[50/65] Compiling CLIKit Command.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Arguments/CommandArgumentValue.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | /// Allow Optional to implement CustomStringConvertbile for wrapped types that
27 | /// implement CommandArgumentValue
28 | extension Optional: CustomStringConvertible where Wrapped: CommandArgumentValue {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
[51/65] Compiling CLIKit CommandLineError.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[52/65] Compiling CLIKit CommandLineParser.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[53/65] Compiling CLIKit CommandUsage.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[54/65] Compiling CLIKit ParserContext.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[55/65] Compiling CLIKit ParserEvent.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[56/65] Compiling CLIKit ParserState.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[57/65] Compiling CLIKit ParserStateMachine.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[58/65] Compiling CLIKit Execution.swift
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineError.swift:20:10: warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
18 | case multipleVariadicInputArguments(command: String)
19 | case bothOptionalAndVariadicInputArguments(command: String)
20 | case usageRequested(command: Command)
| `- warning: associated value 'usageRequested(command:)' of 'Sendable'-conforming enum 'CommandLineError' has non-sendable type 'any Command'; this is an error in the Swift 6 language mode
21 | case noSuchSubcommand(command: String)
22 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Command.swift:7:17: note: protocol 'Command' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public protocol Command: AnyObject, CustomStringConvertible {
| `- note: protocol 'Command' does not conform to the 'Sendable' protocol
8 |
9 | var inputs: [CommandInputSpecification] { get }
/host/spi-builder-workspace/Sources/CLIKit/Command Line/CommandLineParser.swift:171:13: warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
169 |
170 | private struct StateError: Error {
171 | let event: ParserEvent
| `- warning: stored property 'event' of 'Sendable'-conforming struct 'StateError' has non-sendable type 'ParserEvent'; this is an error in the Swift 6 language mode
172 | let argument: String
173 |
/host/spi-builder-workspace/Sources/CLIKit/Command Line/Parser State Machine/ParserEvent.swift:7:6: note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | enum ParserEvent {
| `- note: consider making enum 'ParserEvent' conform to the 'Sendable' protocol
8 | case scannedSubcommand(InternalCommand)
9 | case scannedFlag(CommandFlagSpecification)
/host/spi-builder-workspace/Sources/CLIKit/Execution/Execution.swift:29:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Foundation
6 |
7 | public final class Execution {
| `- note: class 'Execution' does not conform to the 'Sendable' protocol
8 |
9 | public enum SignalType {
:
27 |
28 | /// Private singleton instance.
29 | private static let instance = Execution()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'Execution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | private var signalSources: [DispatchSourceSignal] = []
[59/65] Compiling CLIKit Subprocess.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[60/65] Compiling CLIKit SubprocessError.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[61/65] Compiling CLIKit SubprocessResult.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[62/65] Compiling CLIKit Character+Inspection.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[63/65] Compiling CLIKit SimpleWordCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[64/65] Compiling CLIKit String+Words.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
[65/65] Compiling CLIKit TextCompletion.swift
/host/spi-builder-workspace/Sources/CLIKit/Subprocess/Subprocess.swift:67:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
65 |
66 | let result = posix_spawnp(&processID,
67 | cArguments.cStrings[0],
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
68 | &io.actions,
69 | &attributes.attributes,
BUILD FAILURE 6.0 linux