Build Information
Successful build of Knob, reference 3.0.4 (16e226
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 13:19:22 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/Knob.git
Reference: 3.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/Knob
* tag 3.0.4 -> FETCH_HEAD
HEAD is now at 16e2265 Additional make targets to run KnobDemo
Cloned https://github.com/bradhowes/Knob.git
Revision (git rev-parse @):
16e2265e836fede2bf1a3b8df5a3b32dc26fe4fe
SUCCESS checkout https://github.com/bradhowes/Knob.git at 3.0.4
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
[1/70245] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.44s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.15.1 (4.09s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.70s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.2
========================================
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": "knob",
"name": "Knob",
"url": "https://github.com/bradhowes/Knob.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Knob",
"dependencies": [
]
}
]
}
Fetching https://github.com/bradhowes/Knob.git
[10/990] Fetching knob
Fetched https://github.com/bradhowes/Knob.git from cache (0.97s)
Creating working copy for https://github.com/bradhowes/Knob.git
Working copy of https://github.com/bradhowes/Knob.git resolved at 3.0.4 (16e2265)
warning: '.resolve-product-dependencies': dependency 'knob' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bradhowes/Knob.git
https://github.com/bradhowes/Knob.git
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.11.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "Knob",
"name" : "Knob",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Knob-iOS",
"targets" : [
"Knob-iOS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Knob-macOS",
"targets" : [
"Knob-macOS"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Knob_macOSTests",
"module_type" : "SwiftTarget",
"name" : "Knob-macOSTests",
"path" : "Tests/Knob-macOSTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"KnobTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Knob-macOS"
],
"type" : "test"
},
{
"c99name" : "Knob_macOS",
"module_type" : "SwiftTarget",
"name" : "Knob-macOS",
"path" : "Sources/Knob-macOS",
"product_memberships" : [
"Knob-macOS"
],
"sources" : [
"Extensions/Color.swift",
"Extensions/NSBezierPath.swift",
"Knob.swift",
"KnobView.swift"
],
"type" : "library"
},
{
"c99name" : "Knob_iOSTests",
"module_type" : "SwiftTarget",
"name" : "Knob-iOSTests",
"path" : "Tests/Knob-iOSTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"KnobTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Knob-iOS"
],
"type" : "test"
},
{
"c99name" : "Knob_iOS",
"module_type" : "SwiftTarget",
"name" : "Knob-iOS",
"path" : "Sources/Knob-iOS",
"product_memberships" : [
"Knob-iOS"
],
"sources" : [
"Extensions/Color.swift",
"Knob.swift",
"KnobView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/12] Compiling Knob_iOS KnobView.swift
[5/12] Compiling Knob_iOS Knob.swift
[6/12] Emitting module Knob_iOS
[7/12] Compiling Knob_iOS Color.swift
[8/12] Compiling Knob_macOS Knob.swift
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:242:15: warning: main actor-isolated instance method 'display' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
238 | // MARK: - CALayerDelegate
239 |
240 | extension Knob: CALayerDelegate {
| `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
241 |
242 | public func display(_ layer: CALayer) {
| |- warning: main actor-isolated instance method 'display' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'display' to make this instance method not isolated to the actor
243 | if layer === trackLayer {
244 | trackLayer.lineWidth = trackLineWidth
AppKit.NSView.accessibilityLabel:3:24: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func accessibilityLabel() -> String?}
| |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityLabel()' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:301:18: note: add '@preconcurrency' to the 'NSAccessibilitySlider' conformance to defer isolation checking to run time
299 | }
300 |
301 | extension Knob : NSAccessibilitySlider {
| `- note: add '@preconcurrency' to the 'NSAccessibilitySlider' conformance to defer isolation checking to run time
302 | public override func isAccessibilityElement() -> Bool { true }
303 | public override func isAccessibilityEnabled() -> Bool { true }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:306:24: warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
304 |
305 | // Value is a NSString or a NSNumber
306 | override public func accessibilityValue() -> Any? {
| |- warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityValue()' to make this instance method not isolated to the actor
307 | return NSNumber(value: value)
308 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:310:24: warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
308 | }
309 |
310 | override public func accessibilityPerformIncrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformIncrement()' to make this instance method not isolated to the actor
311 | guard value < maximumValue else { return false }
312 | value += 1.0
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:316:24: warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
314 | }
315 |
316 | override public func accessibilityPerformDecrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformDecrement()' to make this instance method not isolated to the actor
317 | guard value > minimumValue else { return false }
318 | value -= 1.0
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:278:12: warning: call to main actor-isolated instance method 'performRestoration(label:value:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
276 | restorationTimer = Timer.scheduledTimer(withTimeInterval: valuePersistence, repeats: false) { [weak self] _ in
277 | guard let self = self else { return }
278 | self.performRestoration(label: valueLabel, value: valueName)
| `- warning: call to main actor-isolated instance method 'performRestoration(label:value:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
279 | }
280 | }
281 |
282 | private func performRestoration(label: NSTextField, value: String) {
| |- note: calls to instance method 'performRestoration(label:value:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
283 | NSAnimationContext.runAnimationGroup({ context in
284 | context.duration = nameTransitionDuration
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:368:30: warning: call to main actor-isolated instance method 'sendAction(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
366 |
367 | private func notifyTarget() {
368 | updateQueue.async { self.sendAction(self.action, to: self.target) }
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | }
370 | }
AppKit.NSControl.sendAction:2:22: note: calls to instance method 'sendAction(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSControl {
2 | @MainActor open func sendAction(_ action: Selector?, to target: Any?) -> Bool}
| |- note: calls to instance method 'sendAction(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:368:46: warning: main actor-isolated property 'action' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
366 |
367 | private func notifyTarget() {
368 | updateQueue.async { self.sendAction(self.action, to: self.target) }
| `- warning: main actor-isolated property 'action' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
369 | }
370 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:25:26: note: property declared here
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
25 | @property (nullable) SEL action;
| `- note: property declared here
26 | @property NSInteger tag;
27 | @property BOOL ignoresMultiClick;
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:368:63: warning: main actor-isolated property 'target' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
366 |
367 | private func notifyTarget() {
368 | updateQueue.async { self.sendAction(self.action, to: self.target) }
| `- warning: main actor-isolated property 'target' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
369 | }
370 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: property declared here
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: property declared here
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
[9/12] Compiling Knob_macOS Color.swift
[10/12] Compiling Knob_macOS KnobView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/KnobView.swift:115:12: warning: main actor-isolated property 'target' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
112 | public init(_ knobView: KnobView) { self.knobView = knobView }
113 |
114 | func monitor(_ knob: Knob) {
| `- note: add '@MainActor' to make instance method 'monitor' part of global actor 'MainActor'
115 | knob.target = self
| `- warning: main actor-isolated property 'target' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
116 | knob.action = #selector(valueChanged(_:))
117 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:24:31: note: mutation of this property is only permitted within the actor
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
| `- note: mutation of this property is only permitted within the actor
25 | @property (nullable) SEL action;
26 | @property NSInteger tag;
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/KnobView.swift:116:12: warning: main actor-isolated property 'action' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
112 | public init(_ knobView: KnobView) { self.knobView = knobView }
113 |
114 | func monitor(_ knob: Knob) {
| `- note: add '@MainActor' to make instance method 'monitor' part of global actor 'MainActor'
115 | knob.target = self
116 | knob.action = #selector(valueChanged(_:))
| `- warning: main actor-isolated property 'action' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
117 | }
118 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:25:26: note: mutation of this property is only permitted within the actor
23 |
24 | @property (nullable, weak) id target; // Target is weak for zeroing-weak compatible objects in apps linked on 10.10 or later. Otherwise the behavior of this property is 'assign’.
25 | @property (nullable) SEL action;
| `- note: mutation of this property is only permitted within the actor
26 | @property NSInteger tag;
27 | @property BOOL ignoresMultiClick;
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/KnobView.swift:120:16: warning: main actor-isolated property 'value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
13 |
14 | /// The current value of the Knob
15 | @Binding private var value: Float
| `- note: mutation of this property is only permitted within the actor
16 | /// Signal that the knob is being manipulated
17 | @Binding private var manipulating: Bool
:
117 | }
118 |
119 | @objc func valueChanged(_ sender: Knob) {
| `- note: add '@MainActor' to make instance method 'valueChanged' part of global actor 'MainActor'
120 | knobView.value = sender.value
| `- warning: main actor-isolated property 'value' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
121 | knobView.manipulating = sender.manipulating
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/KnobView.swift:120:31: warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | }
118 |
119 | @objc func valueChanged(_ sender: Knob) {
| `- note: add '@MainActor' to make instance method 'valueChanged' part of global actor 'MainActor'
120 | knobView.value = sender.value
| `- warning: main actor-isolated property 'value' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 | knobView.manipulating = sender.manipulating
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:36:28: note: property declared here
34 |
35 | /// The current value of the control, expressed in a value between `minimumValue` and `maximumValue`
36 | @objc public dynamic var value: Float {
| `- note: property declared here
37 | get { _normalizedValue * (maximumValue - minimumValue) + minimumValue }
38 | set { setValue(newValue) }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/KnobView.swift:121:16: warning: main actor-isolated property 'manipulating' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | @Binding private var value: Float
16 | /// Signal that the knob is being manipulated
17 | @Binding private var manipulating: Bool
| `- note: mutation of this property is only permitted within the actor
18 |
19 | private var minimumValue: Float
:
117 | }
118 |
119 | @objc func valueChanged(_ sender: Knob) {
| `- note: add '@MainActor' to make instance method 'valueChanged' part of global actor 'MainActor'
120 | knobView.value = sender.value
121 | knobView.manipulating = sender.manipulating
| `- warning: main actor-isolated property 'manipulating' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/KnobView.swift:121:38: warning: main actor-isolated property 'manipulating' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | }
118 |
119 | @objc func valueChanged(_ sender: Knob) {
| `- note: add '@MainActor' to make instance method 'valueChanged' part of global actor 'MainActor'
120 | knobView.value = sender.value
121 | knobView.manipulating = sender.manipulating
| `- warning: main actor-isolated property 'manipulating' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:128:27: note: property declared here
126 | /// Obtain the manipulating state of the knob. This is `true` during a touch event or a mouse-down event, and it goes
127 | /// back to `false` once the event ends.
128 | public private(set) var manipulating = false
| `- note: property declared here
129 |
130 | /**
[11/12] Compiling Knob_macOS NSBezierPath.swift
[12/12] Emitting module Knob_macOS
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:242:15: warning: main actor-isolated instance method 'display' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
238 | // MARK: - CALayerDelegate
239 |
240 | extension Knob: CALayerDelegate {
| `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
241 |
242 | public func display(_ layer: CALayer) {
| |- warning: main actor-isolated instance method 'display' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'display' to make this instance method not isolated to the actor
243 | if layer === trackLayer {
244 | trackLayer.lineWidth = trackLineWidth
AppKit.NSView.accessibilityLabel:3:24: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
1 | class NSView {
2 | @available(macOS 10.10, *)
3 | @MainActor open func accessibilityLabel() -> String?}
| |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityLabel()' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:301:18: note: add '@preconcurrency' to the 'NSAccessibilitySlider' conformance to defer isolation checking to run time
299 | }
300 |
301 | extension Knob : NSAccessibilitySlider {
| `- note: add '@preconcurrency' to the 'NSAccessibilitySlider' conformance to defer isolation checking to run time
302 | public override func isAccessibilityElement() -> Bool { true }
303 | public override func isAccessibilityEnabled() -> Bool { true }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:306:24: warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
304 |
305 | // Value is a NSString or a NSNumber
306 | override public func accessibilityValue() -> Any? {
| |- warning: main actor-isolated instance method 'accessibilityValue()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityValue()' to make this instance method not isolated to the actor
307 | return NSNumber(value: value)
308 | }
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:310:24: warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
308 | }
309 |
310 | override public func accessibilityPerformIncrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformIncrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformIncrement()' to make this instance method not isolated to the actor
311 | guard value < maximumValue else { return false }
312 | value += 1.0
/Users/admin/builder/spi-builder-workspace/Sources/Knob-macOS/Knob.swift:316:24: warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
314 | }
315 |
316 | override public func accessibilityPerformDecrement() -> Bool {
| |- warning: main actor-isolated instance method 'accessibilityPerformDecrement()' cannot be used to satisfy nonisolated requirement from protocol 'NSAccessibilitySlider'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'accessibilityPerformDecrement()' to make this instance method not isolated to the actor
317 | guard value > minimumValue else { return false }
318 | value -= 1.0
Build complete! (8.94s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.11.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "Knob",
"name" : "Knob",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Knob-iOS",
"targets" : [
"Knob-iOS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Knob-macOS",
"targets" : [
"Knob-macOS"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Knob_macOSTests",
"module_type" : "SwiftTarget",
"name" : "Knob-macOSTests",
"path" : "Tests/Knob-macOSTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"KnobTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Knob-macOS"
],
"type" : "test"
},
{
"c99name" : "Knob_macOS",
"module_type" : "SwiftTarget",
"name" : "Knob-macOS",
"path" : "Sources/Knob-macOS",
"product_memberships" : [
"Knob-macOS"
],
"sources" : [
"Extensions/Color.swift",
"Extensions/NSBezierPath.swift",
"Knob.swift",
"KnobView.swift"
],
"type" : "library"
},
{
"c99name" : "Knob_iOSTests",
"module_type" : "SwiftTarget",
"name" : "Knob-iOSTests",
"path" : "Tests/Knob-iOSTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"KnobTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Knob-iOS"
],
"type" : "test"
},
{
"c99name" : "Knob_iOS",
"module_type" : "SwiftTarget",
"name" : "Knob-iOS",
"path" : "Sources/Knob-iOS",
"product_memberships" : [
"Knob-iOS"
],
"sources" : [
"Extensions/Color.swift",
"Knob.swift",
"KnobView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.