The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Knob, reference 3.0.4 (16e226), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 19:39:34 UTC.

Swift 6 data race errors: 0

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 -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.58.1
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/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-syntax.git
[1/12447] Fetching swift-snapshot-testing
[4235/79132] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.79s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.79s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.15.1 (0.63s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.67s)
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
[1/990] Fetching knob
Fetched https://github.com/bradhowes/Knob.git from cache (1.09s)
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.0
Building package at path:  $PWD
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.1.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--7754E27361AE5C74.txt
[4/12] Compiling Knob_iOS Color.swift
[5/12] Compiling Knob_iOS Knob.swift
[6/12] Compiling Knob_iOS KnobView.swift
[7/12] Emitting module Knob_iOS
[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 protocol requirement; 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 protocol requirement; 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
QuartzCore.CALayerDelegate:3:19: note: 'display' declared here
 1 | @available(macOS 10.12, *)
 2 | public protocol CALayerDelegate : NSObjectProtocol {
 3 |     optional func display(_ layer: CALayer)
   |                   `- note: 'display' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "display(_:)")
 5 |     optional func displayLayer(_ layer: CALayer)
AppKit.NSView:595:26: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
593 |     open func setAccessibilityContents(_ accessibilityContents: [Any]?)
594 |     @available(macOS 10.10, *)
595 |     @MainActor open func accessibilityLabel() -> String?
    |                          |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated protocol requirement; 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
596 |     @available(macOS 10.10, *)
597 |     open func setAccessibilityLabel(_ accessibilityLabel: String?)
/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 }
AppKit.NSAccessibilitySlider:2:10: note: 'accessibilityLabel()' declared here
1 | public protocol NSAccessibilitySlider : NSAccessibilityElementProtocol {
2 |     func accessibilityLabel() -> String?
  |          `- note: 'accessibilityLabel()' declared here
3 |     func accessibilityValue() -> Any?
4 |     func accessibilityPerformIncrement() -> Bool
/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 protocol requirement; 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 protocol requirement; 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 |   }
AppKit.NSAccessibilitySlider:3:10: note: 'accessibilityValue()' declared here
1 | public protocol NSAccessibilitySlider : NSAccessibilityElementProtocol {
2 |     func accessibilityLabel() -> String?
3 |     func accessibilityValue() -> Any?
  |          `- note: 'accessibilityValue()' declared here
4 |     func accessibilityPerformIncrement() -> Bool
5 |     func accessibilityPerformDecrement() -> Bool
/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 protocol requirement; 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 protocol requirement; 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
AppKit.NSAccessibilitySlider:4:10: note: 'accessibilityPerformIncrement()' declared here
2 |     func accessibilityLabel() -> String?
3 |     func accessibilityValue() -> Any?
4 |     func accessibilityPerformIncrement() -> Bool
  |          `- note: 'accessibilityPerformIncrement()' declared here
5 |     func accessibilityPerformDecrement() -> Bool
6 | }
/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 protocol requirement; 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 protocol requirement; 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
AppKit.NSAccessibilitySlider:5:10: note: 'accessibilityPerformDecrement()' declared here
3 |     func accessibilityValue() -> Any?
4 |     func accessibilityPerformIncrement() -> Bool
5 |     func accessibilityPerformDecrement() -> Bool
  |          `- note: 'accessibilityPerformDecrement()' declared here
6 | }
/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
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:36:26: note: calls to instance method 'sendAction(_:to:)' from outside of its actor context are implicitly asynchronous
34 |     @available(swift, obsoleted: 3, renamed: "sendAction(on:)")
35 |     open func sendActionOn(_ mask: NSEvent.EventTypeMask) -> Int
36 |     @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
37 |     open func takeIntValueFrom(_ sender: Any?)
38 |     open func takeFloatValueFrom(_ sender: Any?)
/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 | }
AppKit.NSControl:5:14: note: property declared here
 3 |     @MainActor public init?(coder: NSCoder)
 4 |     weak open var target: AnyObject? { get set }
 5 |     open var action: Selector? { get set }
   |              `- note: property declared here
 6 |     @MainActor open var tag: Int { get set }
 7 |     open var ignoresMultiClick: Bool { get set }
/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 | }
AppKit.NSControl:4:19: note: property declared here
 2 |     @MainActor public init(frame frameRect: NSRect)
 3 |     @MainActor public init?(coder: NSCoder)
 4 |     weak open var target: AnyObject? { get set }
   |                   `- note: property declared here
 5 |     open var action: Selector? { get set }
 6 |     @MainActor open var tag: Int { get set }
[9/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 |     }
AppKit.NSControl:4:30: note: mutation of this property is only permitted within the actor
 2 |     public init(frame frameRect: NSRect)
 3 |     public init?(coder: NSCoder)
 4 |     @MainActor weak open var target: AnyObject? { get set }
   |                              `- note: mutation of this property is only permitted within the actor
 5 |     open var action: Selector? { get set }
 6 |     open var tag: Int { get set }
/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 |
AppKit.NSControl:5:14: note: mutation of this property is only permitted within the actor
 3 |     public init?(coder: NSCoder)
 4 |     @MainActor weak open var target: AnyObject? { get set }
 5 |     open var action: Selector? { get set }
   |              `- note: mutation of this property is only permitted within the actor
 6 |     open var tag: Int { get set }
 7 |     open var ignoresMultiClick: Bool { get set }
/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 |   /**
[10/12] Compiling Knob_macOS NSBezierPath.swift
[11/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 protocol requirement; 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 protocol requirement; 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
QuartzCore.CALayerDelegate:3:19: note: 'display' declared here
 1 | @available(macOS 10.12, *)
 2 | public protocol CALayerDelegate : NSObjectProtocol {
 3 |     optional func display(_ layer: CALayer)
   |                   `- note: 'display' declared here
 4 |     @available(swift, obsoleted: 3, renamed: "display(_:)")
 5 |     optional func displayLayer(_ layer: CALayer)
AppKit.NSView:595:26: warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
593 |     open func setAccessibilityContents(_ accessibilityContents: [Any]?)
594 |     @available(macOS 10.10, *)
595 |     @MainActor open func accessibilityLabel() -> String?
    |                          |- warning: main actor-isolated instance method 'accessibilityLabel()' cannot be used to satisfy nonisolated protocol requirement; 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
596 |     @available(macOS 10.10, *)
597 |     open func setAccessibilityLabel(_ accessibilityLabel: String?)
/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 }
AppKit.NSAccessibilitySlider:2:10: note: 'accessibilityLabel()' declared here
1 | public protocol NSAccessibilitySlider : NSAccessibilityElementProtocol {
2 |     func accessibilityLabel() -> String?
  |          `- note: 'accessibilityLabel()' declared here
3 |     func accessibilityValue() -> Any?
4 |     func accessibilityPerformIncrement() -> Bool
/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 protocol requirement; 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 protocol requirement; 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 |   }
AppKit.NSAccessibilitySlider:3:10: note: 'accessibilityValue()' declared here
1 | public protocol NSAccessibilitySlider : NSAccessibilityElementProtocol {
2 |     func accessibilityLabel() -> String?
3 |     func accessibilityValue() -> Any?
  |          `- note: 'accessibilityValue()' declared here
4 |     func accessibilityPerformIncrement() -> Bool
5 |     func accessibilityPerformDecrement() -> Bool
/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 protocol requirement; 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 protocol requirement; 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
AppKit.NSAccessibilitySlider:4:10: note: 'accessibilityPerformIncrement()' declared here
2 |     func accessibilityLabel() -> String?
3 |     func accessibilityValue() -> Any?
4 |     func accessibilityPerformIncrement() -> Bool
  |          `- note: 'accessibilityPerformIncrement()' declared here
5 |     func accessibilityPerformDecrement() -> Bool
6 | }
/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 protocol requirement; 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 protocol requirement; 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
AppKit.NSAccessibilitySlider:5:10: note: 'accessibilityPerformDecrement()' declared here
3 |     func accessibilityValue() -> Any?
4 |     func accessibilityPerformIncrement() -> Bool
5 |     func accessibilityPerformDecrement() -> Bool
  |          `- note: 'accessibilityPerformDecrement()' declared here
6 | }
[12/12] Compiling Knob_macOS Color.swift
Build complete! (10.36s)
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.