Build Information
Successful build of Capable, reference 2.0.1 (f9b3ea
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:01:44 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chrs1885/Capable.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chrs1885/Capable
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at f9b3eaf Merge branch 'release/2.0.1'
Cloned https://github.com/chrs1885/Capable.git
Revision (git rev-parse @):
f9b3eaf878aa3d70b9a256c08951a0d4a6cf0d37
SUCCESS checkout https://github.com/chrs1885/Capable.git at 2.0.1
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/455] Fetching cwlcatchexception
[193/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1713/16435] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[16436/35653] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.50s)
[15755/34396] Fetching cwlcatchexception, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (2.53s)
Fetched https://github.com/Quick/Nimble.git from cache (2.53s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.53s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.69s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.68s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.1 (0.70s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.0 (0.70s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "capable",
"name": "Capable",
"url": "https://github.com/chrs1885/Capable.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Capable",
"dependencies": [
]
}
]
}
Fetching https://github.com/chrs1885/Capable.git
[1/5360] Fetching capable
Fetched https://github.com/chrs1885/Capable.git from cache (3.04s)
Creating working copy for https://github.com/chrs1885/Capable.git
Working copy of https://github.com/chrs1885/Capable.git resolved at 2.0.1 (f9b3eaf)
warning: '.resolve-product-dependencies': dependency 'capable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/chrs1885/Capable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/39] Emitting module Capable
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:25:16: warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static var defaultOnLog: (String, OSLogType) -> Void = { message, logType in
| |- warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultOnLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultOnLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | os_log("%{public}@", log: Logger.defaultLog, type: logType, message)
27 | }
[4/43] Compiling Capable LargerText.swift
[5/43] Compiling Capable MonoAudio.swift
[6/43] Compiling Capable OnOffSwitchLabels.swift
[7/43] Compiling Capable PrefersCrossFadeTransitions.swift
[8/43] Compiling Capable AssistiveTouch.swift
[9/43] Compiling Capable BoldText.swift
[10/43] Compiling Capable ButtonShapes.swift
[11/43] Compiling Capable ClosedCaptioning.swift
[12/43] Compiling Capable OSLogType+greaterEqual.swift
[13/43] Compiling Capable CapableFeature.swift
[14/43] Compiling Capable FeatureStatus.swift
[15/43] Compiling Capable NotificationCenterProtocol.swift
[16/43] Compiling Capable Notification+Name.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:25:16: warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static var defaultOnLog: (String, OSLogType) -> Void = { message, logType in
| |- warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultOnLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultOnLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | os_log("%{public}@", log: Logger.defaultLog, type: logType, message)
27 | }
[17/43] Compiling Capable String+isDefaultContentSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:25:16: warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static var defaultOnLog: (String, OSLogType) -> Void = { message, logType in
| |- warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultOnLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultOnLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | os_log("%{public}@", log: Logger.defaultLog, type: logType, message)
27 | }
[18/43] Compiling Capable UIContentSizeCategory+values.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:25:16: warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static var defaultOnLog: (String, OSLogType) -> Void = { message, logType in
| |- warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultOnLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultOnLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | os_log("%{public}@", log: Logger.defaultLog, type: logType, message)
27 | }
[19/43] Compiling Capable Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:25:16: warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static var defaultOnLog: (String, OSLogType) -> Void = { message, logType in
| |- warning: static property 'defaultOnLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultOnLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultOnLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | os_log("%{public}@", log: Logger.defaultLog, type: logType, message)
27 | }
[20/43] Compiling Capable ShakeToUndo.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/SwitchControl.swift:59:17: warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class SwitchControl: FeatureProtocol {
| `- note: class 'SwitchControl' does not conform to the 'Sendable' protocol
10 | static let name = "switchControl"
11 | let notificationCenter: NotificationCenterProtocol
:
57 |
58 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isSwitchControlEnabled) { _, _ in
59 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }
61 |
[21/43] Compiling Capable SpeakScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/SwitchControl.swift:59:17: warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class SwitchControl: FeatureProtocol {
| `- note: class 'SwitchControl' does not conform to the 'Sendable' protocol
10 | static let name = "switchControl"
11 | let notificationCenter: NotificationCenterProtocol
:
57 |
58 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isSwitchControlEnabled) { _, _ in
59 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }
61 |
[22/43] Compiling Capable SpeakSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/SwitchControl.swift:59:17: warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class SwitchControl: FeatureProtocol {
| `- note: class 'SwitchControl' does not conform to the 'Sendable' protocol
10 | static let name = "switchControl"
11 | let notificationCenter: NotificationCenterProtocol
:
57 |
58 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isSwitchControlEnabled) { _, _ in
59 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }
61 |
[23/43] Compiling Capable SwitchControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/SwitchControl.swift:59:17: warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class SwitchControl: FeatureProtocol {
| `- note: class 'SwitchControl' does not conform to the 'Sendable' protocol
10 | static let name = "switchControl"
11 | let notificationCenter: NotificationCenterProtocol
:
57 |
58 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isSwitchControlEnabled) { _, _ in
59 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'SwitchControl' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }
61 |
[24/43] Compiling Capable VideoAutoplay.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/VoiceOver.swift:68:17: warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class VoiceOver: FeatureProtocol {
| `- note: class 'VoiceOver' does not conform to the 'Sendable' protocol
10 | static let name = "voiceOver"
11 | let notificationCenter: NotificationCenterProtocol
:
66 |
67 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isVoiceOverEnabled) { _, _ in
68 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 |
[25/43] Compiling Capable VoiceOver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/VoiceOver.swift:68:17: warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class VoiceOver: FeatureProtocol {
| `- note: class 'VoiceOver' does not conform to the 'Sendable' protocol
10 | static let name = "voiceOver"
11 | let notificationCenter: NotificationCenterProtocol
:
66 |
67 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isVoiceOverEnabled) { _, _ in
68 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 |
[26/43] Compiling Capable AccessibilityFeatureProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/VoiceOver.swift:68:17: warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class VoiceOver: FeatureProtocol {
| `- note: class 'VoiceOver' does not conform to the 'Sendable' protocol
10 | static let name = "voiceOver"
11 | let notificationCenter: NotificationCenterProtocol
:
66 |
67 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isVoiceOverEnabled) { _, _ in
68 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 |
[27/43] Compiling Capable FeatureStatusProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/VoiceOver.swift:68:17: warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | class VoiceOver: FeatureProtocol {
| `- note: class 'VoiceOver' does not conform to the 'Sendable' protocol
10 | static let name = "voiceOver"
11 | let notificationCenter: NotificationCenterProtocol
:
66 |
67 | keyValueObservation = NSWorkspace.shared.observe(\NSWorkspace.isVoiceOverEnabled) { _, _ in
68 | self.valueChanged()
| `- warning: capture of 'self' with non-sendable type 'VoiceOver' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 |
[28/43] Compiling Capable Capable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
[29/43] Compiling Capable Bool+statusString.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
[30/43] Compiling Capable CGFloat+contentSizeString.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
[31/43] Compiling Capable HearingDeviceEar+stringValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:11:16: warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
| |- warning: static property 'minLogType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minLogType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'minLogType' with '@MainActor' 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 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Logger/Logger.swift:12:16: warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | struct Logger {
11 | static var minLogType: OSLogType = .debug
12 | static var onLog: ((String, OSLogType) -> Void) = defaultOnLog
| |- warning: static property 'onLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'onLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'onLog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let defaultLog = OSLog(
[32/43] Compiling Capable GuidedAccess.swift
[33/43] Compiling Capable HearingDevicePairedEar.swift
[34/43] Compiling Capable IncreaseContrast.swift
[35/43] Compiling Capable InvertColors.swift
[36/43] Compiling Capable FeatureProtocol.swift
[37/43] Compiling Capable ObservableFeatureProtocol.swift
[38/43] Compiling Capable ReduceMotion.swift
[39/43] Compiling Capable ReduceTransparency.swift
[40/43] Compiling Capable DarkerSystemColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:41: warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:3:25: note: property declared here
1 | extension NSApplication {
2 | @available(macOS 10.6, *)
3 | @MainActor open var isFullKeyboardAccessEnabled: Bool { get }
| `- note: property declared here
4 | @available(macOS 10.6, *)
5 | @available(swift, obsoleted: 3, renamed: "isFullKeyboardAccessEnabled")
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:2:31: note: class property declared here
1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
2 | @MainActor open class var shared: NSApplication { get }
| `- note: class property declared here
3 | @available(swift, obsoleted: 3, renamed: "shared")
4 | open class var sharedApplication: NSApplication { get }
[41/43] Compiling Capable DifferentiateWithoutColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:41: warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:3:25: note: property declared here
1 | extension NSApplication {
2 | @available(macOS 10.6, *)
3 | @MainActor open var isFullKeyboardAccessEnabled: Bool { get }
| `- note: property declared here
4 | @available(macOS 10.6, *)
5 | @available(swift, obsoleted: 3, renamed: "isFullKeyboardAccessEnabled")
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:2:31: note: class property declared here
1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
2 | @MainActor open class var shared: NSApplication { get }
| `- note: class property declared here
3 | @available(swift, obsoleted: 3, renamed: "shared")
4 | open class var sharedApplication: NSApplication { get }
[42/43] Compiling Capable FullKeyboardAccess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:41: warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:3:25: note: property declared here
1 | extension NSApplication {
2 | @available(macOS 10.6, *)
3 | @MainActor open var isFullKeyboardAccessEnabled: Bool { get }
| `- note: property declared here
4 | @available(macOS 10.6, *)
5 | @available(swift, obsoleted: 3, renamed: "isFullKeyboardAccessEnabled")
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:2:31: note: class property declared here
1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
2 | @MainActor open class var shared: NSApplication { get }
| `- note: class property declared here
3 | @available(swift, obsoleted: 3, renamed: "shared")
4 | open class var sharedApplication: NSApplication { get }
[43/43] Compiling Capable Grayscale.swift
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:41: warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated property 'isFullKeyboardAccessEnabled' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:3:25: note: property declared here
1 | extension NSApplication {
2 | @available(macOS 10.6, *)
3 | @MainActor open var isFullKeyboardAccessEnabled: Bool { get }
| `- note: property declared here
4 | @available(macOS 10.6, *)
5 | @available(swift, obsoleted: 3, renamed: "isFullKeyboardAccessEnabled")
/Users/admin/builder/spi-builder-workspace/Sources/Capable/Plugins/FullKeyboardAccess.swift:13:34: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 | #if os(OSX)
12 |
13 | return NSApplication.shared.isFullKeyboardAccessEnabled
| `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 | #else
AppKit.NSApplication:2:31: note: class property declared here
1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
2 | @MainActor open class var shared: NSApplication { get }
| `- note: class property declared here
3 | @available(swift, obsoleted: 3, renamed: "shared")
4 | open class var sharedApplication: NSApplication { get }
Build complete! (21.12s)
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.2.1",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Capable",
"name" : "Capable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Capable",
"targets" : [
"Capable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CapableTests",
"module_type" : "SwiftTarget",
"name" : "CapableTests",
"path" : "Tests/CapableTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"CapablePerfTests.swift",
"CapableTests.swift",
"FeatureProviderTests.swift",
"FeatureStatusProviderTests.swift",
"LoggerTests.swift",
"Mocks/FeatureMock.swift",
"Mocks/FeatureProviderMock.swift",
"Mocks/FeatureStatusProviderMock.swift",
"Mocks/NotificationCenterMock.swift"
],
"target_dependencies" : [
"Capable"
],
"type" : "test"
},
{
"c99name" : "Capable",
"module_type" : "SwiftTarget",
"name" : "Capable",
"path" : "Sources/Capable",
"product_memberships" : [
"Capable"
],
"sources" : [
"Capable.swift",
"Extensions/Bool+statusString.swift",
"Extensions/CGFloat+contentSizeString.swift",
"Extensions/HearingDeviceEar+stringValue.swift",
"Extensions/Notification+Name.swift",
"Extensions/String+isDefaultContentSize.swift",
"Extensions/UIContentSizeCategory+values.swift",
"Logger/Logger.swift",
"Logger/OSLogType+greaterEqual.swift",
"Models/CapableFeature.swift",
"Models/FeatureStatus.swift",
"Models/NotificationCenterProtocol.swift",
"Plugins/AssistiveTouch.swift",
"Plugins/BoldText.swift",
"Plugins/ButtonShapes.swift",
"Plugins/ClosedCaptioning.swift",
"Plugins/DarkerSystemColors.swift",
"Plugins/DifferentiateWithoutColor.swift",
"Plugins/FullKeyboardAccess.swift",
"Plugins/Grayscale.swift",
"Plugins/GuidedAccess.swift",
"Plugins/HearingDevicePairedEar.swift",
"Plugins/IncreaseContrast.swift",
"Plugins/InvertColors.swift",
"Plugins/LargerText.swift",
"Plugins/MonoAudio.swift",
"Plugins/OnOffSwitchLabels.swift",
"Plugins/PrefersCrossFadeTransitions.swift",
"Plugins/Protocols/FeatureProtocol.swift",
"Plugins/Protocols/ObservableFeatureProtocol.swift",
"Plugins/ReduceMotion.swift",
"Plugins/ReduceTransparency.swift",
"Plugins/ShakeToUndo.swift",
"Plugins/SpeakScreen.swift",
"Plugins/SpeakSelection.swift",
"Plugins/SwitchControl.swift",
"Plugins/VideoAutoplay.swift",
"Plugins/VoiceOver.swift",
"Statuses/AccessibilityFeatureProvider.swift",
"Statuses/FeatureStatusProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.