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

Failed to build ACBTokenField, reference 2.3.0 (c8aa7f), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 00:07:10 UTC.

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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akhilcb/ACBTokenField.git
Reference: 2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/akhilcb/ACBTokenField
 * tag               2.3.0      -> FETCH_HEAD
HEAD is now at c8aa7f3 Updated with Swift PM setup details and new badges
Cloned https://github.com/akhilcb/ACBTokenField.git
Revision (git rev-parse @):
c8aa7f36b487a57a2d35af3541a6a5f64f307535
SUCCESS checkout https://github.com/akhilcb/ACBTokenField.git at 2.3.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": "acbtokenfield",
      "name": "ACBTokenField",
      "url": "https://github.com/akhilcb/ACBTokenField.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ACBTokenField",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/akhilcb/ACBTokenField.git
[1/342] Fetching acbtokenfield
Fetched https://github.com/akhilcb/ACBTokenField.git from cache (1.59s)
Creating working copy for https://github.com/akhilcb/ACBTokenField.git
Working copy of https://github.com/akhilcb/ACBTokenField.git resolved at 2.3.0 (c8aa7f3)
warning: '.resolve-product-dependencies': dependency 'acbtokenfield' 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/akhilcb/ACBTokenField.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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling ACBTokenField ACBAssociation.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[4/6] Compiling ACBTokenField ACBToken.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module ACBTokenField
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:15:32: warning: static property 'tokenKeywordsList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     fileprivate struct Keys {
 15 |         static fileprivate var tokenKeywordsList: UInt8 = 0
    |                                |- warning: static property 'tokenKeywordsList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokenKeywordsList' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokenKeywordsList' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:16:32: warning: static property 'tokenFieldController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |     fileprivate struct Keys {
 15 |         static fileprivate var tokenKeywordsList: UInt8 = 0
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
    |                                |- warning: static property 'tokenFieldController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokenFieldController' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokenFieldController' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:17:32: warning: static property 'tokenDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |         static fileprivate var tokenKeywordsList: UInt8 = 0
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
    |                                |- warning: static property 'tokenDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokenDelegate' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokenDelegate' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
 19 |         static fileprivate var tokens: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:18:32: warning: static property 'shouldEnableTokenMenu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
    |                                |- warning: static property 'shouldEnableTokenMenu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'shouldEnableTokenMenu' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'shouldEnableTokenMenu' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static fileprivate var tokens: UInt8 = 0
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:19:32: warning: static property 'tokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
 19 |         static fileprivate var tokens: UInt8 = 0
    |                                |- warning: static property 'tokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokens' 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
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
 21 |         static fileprivate var leftView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:20:32: warning: static property 'defaultTokenKeywords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
 19 |         static fileprivate var tokens: UInt8 = 0
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
    |                                |- warning: static property 'defaultTokenKeywords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'defaultTokenKeywords' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'defaultTokenKeywords' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static fileprivate var leftView: UInt8 = 0
 22 |         static fileprivate var clearButton: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:21:32: warning: static property 'leftView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |         static fileprivate var tokens: UInt8 = 0
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
 21 |         static fileprivate var leftView: UInt8 = 0
    |                                |- warning: static property 'leftView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'leftView' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'leftView' 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
 22 |         static fileprivate var clearButton: UInt8 = 0
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:22:32: warning: static property 'clearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
 21 |         static fileprivate var leftView: UInt8 = 0
 22 |         static fileprivate var clearButton: UInt8 = 0
    |                                |- warning: static property 'clearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'clearButton' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'clearButton' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
 24 |         static fileprivate var viewPadding: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:23:32: warning: static property 'shouldDisplayClearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |         static fileprivate var leftView: UInt8 = 0
 22 |         static fileprivate var clearButton: UInt8 = 0
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
    |                                |- warning: static property 'shouldDisplayClearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'shouldDisplayClearButton' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'shouldDisplayClearButton' 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
 24 |         static fileprivate var viewPadding: UInt8 = 0
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:24:32: warning: static property 'viewPadding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |         static fileprivate var clearButton: UInt8 = 0
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
 24 |         static fileprivate var viewPadding: UInt8 = 0
    |                                |- warning: static property 'viewPadding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'viewPadding' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'viewPadding' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
 26 |         static fileprivate var clearIconName: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:25:32: warning: static property 'shouldDisplaySearchIcon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
 24 |         static fileprivate var viewPadding: UInt8 = 0
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
    |                                |- warning: static property 'shouldDisplaySearchIcon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'shouldDisplaySearchIcon' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'shouldDisplaySearchIcon' 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 |         static fileprivate var clearIconName: UInt8 = 0
 27 |         static fileprivate var searchIconName: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:26:32: warning: static property 'clearIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |         static fileprivate var viewPadding: UInt8 = 0
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
 26 |         static fileprivate var clearIconName: UInt8 = 0
    |                                |- warning: static property 'clearIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'clearIconName' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'clearIconName' 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
 27 |         static fileprivate var searchIconName: UInt8 = 0
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:27:32: warning: static property 'searchIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
 26 |         static fileprivate var clearIconName: UInt8 = 0
 27 |         static fileprivate var searchIconName: UInt8 = 0
    |                                |- warning: static property 'searchIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'searchIconName' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'searchIconName' 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
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
 29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:28:32: warning: static property 'didDeleteTokenBlock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |         static fileprivate var clearIconName: UInt8 = 0
 27 |         static fileprivate var searchIconName: UInt8 = 0
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
    |                                |- warning: static property 'didDeleteTokenBlock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'didDeleteTokenBlock' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'didDeleteTokenBlock' 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
 29 |     }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
399 |     }
400 |
401 |     override func controlTextDidBeginEditing(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
402 |         prevTokenCount = tokenCount()
403 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
403 |     }
404 |
405 |     override func controlTextDidChange(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
406 |         tokenField?.handleClearButton()
407 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:524:10: warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
522 |
523 |
524 |     func tokenField(_ tokenField: NSTokenField,
    |          `- warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
525 |                     representedObjectForEditing editingString: String) -> Any {
526 |         let token = ACBToken(name: editingString)
AppKit.NSTokenFieldDelegate:8:30: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
 6 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: Any) -> String?
 7 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: Any) -> String?
 8 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?
   |                              `- note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
 9 |     @available(swift, obsoleted: 3, renamed: "tokenField(_:representedObjectForEditing:)")
10 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditingString editingString: String) -> Any?
[6/6] Compiling ACBTokenField NSTokenField+ACBExtension.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:15:32: warning: static property 'tokenKeywordsList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     fileprivate struct Keys {
 15 |         static fileprivate var tokenKeywordsList: UInt8 = 0
    |                                |- warning: static property 'tokenKeywordsList' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokenKeywordsList' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokenKeywordsList' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:16:32: warning: static property 'tokenFieldController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 |     fileprivate struct Keys {
 15 |         static fileprivate var tokenKeywordsList: UInt8 = 0
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
    |                                |- warning: static property 'tokenFieldController' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokenFieldController' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokenFieldController' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:17:32: warning: static property 'tokenDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |         static fileprivate var tokenKeywordsList: UInt8 = 0
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
    |                                |- warning: static property 'tokenDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokenDelegate' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokenDelegate' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
 19 |         static fileprivate var tokens: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:18:32: warning: static property 'shouldEnableTokenMenu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 |         static fileprivate var tokenFieldController: UInt8 = 0
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
    |                                |- warning: static property 'shouldEnableTokenMenu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'shouldEnableTokenMenu' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'shouldEnableTokenMenu' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |         static fileprivate var tokens: UInt8 = 0
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:19:32: warning: static property 'tokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 17 |         static fileprivate var tokenDelegate: UInt8 = 0
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
 19 |         static fileprivate var tokens: UInt8 = 0
    |                                |- warning: static property 'tokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'tokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'tokens' 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
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
 21 |         static fileprivate var leftView: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:20:32: warning: static property 'defaultTokenKeywords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |         static fileprivate var shouldEnableTokenMenu: UInt8 = 0
 19 |         static fileprivate var tokens: UInt8 = 0
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
    |                                |- warning: static property 'defaultTokenKeywords' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'defaultTokenKeywords' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'defaultTokenKeywords' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         static fileprivate var leftView: UInt8 = 0
 22 |         static fileprivate var clearButton: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:21:32: warning: static property 'leftView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |         static fileprivate var tokens: UInt8 = 0
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
 21 |         static fileprivate var leftView: UInt8 = 0
    |                                |- warning: static property 'leftView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'leftView' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'leftView' 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
 22 |         static fileprivate var clearButton: UInt8 = 0
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:22:32: warning: static property 'clearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |         static fileprivate var defaultTokenKeywords: UInt8 = 0
 21 |         static fileprivate var leftView: UInt8 = 0
 22 |         static fileprivate var clearButton: UInt8 = 0
    |                                |- warning: static property 'clearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'clearButton' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'clearButton' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
 24 |         static fileprivate var viewPadding: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:23:32: warning: static property 'shouldDisplayClearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |         static fileprivate var leftView: UInt8 = 0
 22 |         static fileprivate var clearButton: UInt8 = 0
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
    |                                |- warning: static property 'shouldDisplayClearButton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'shouldDisplayClearButton' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'shouldDisplayClearButton' 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
 24 |         static fileprivate var viewPadding: UInt8 = 0
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:24:32: warning: static property 'viewPadding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |         static fileprivate var clearButton: UInt8 = 0
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
 24 |         static fileprivate var viewPadding: UInt8 = 0
    |                                |- warning: static property 'viewPadding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'viewPadding' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'viewPadding' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
 26 |         static fileprivate var clearIconName: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:25:32: warning: static property 'shouldDisplaySearchIcon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |         static fileprivate var shouldDisplayClearButton: UInt8 = 0
 24 |         static fileprivate var viewPadding: UInt8 = 0
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
    |                                |- warning: static property 'shouldDisplaySearchIcon' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'shouldDisplaySearchIcon' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'shouldDisplaySearchIcon' 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 |         static fileprivate var clearIconName: UInt8 = 0
 27 |         static fileprivate var searchIconName: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:26:32: warning: static property 'clearIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |         static fileprivate var viewPadding: UInt8 = 0
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
 26 |         static fileprivate var clearIconName: UInt8 = 0
    |                                |- warning: static property 'clearIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'clearIconName' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'clearIconName' 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
 27 |         static fileprivate var searchIconName: UInt8 = 0
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:27:32: warning: static property 'searchIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |         static fileprivate var shouldDisplaySearchIcon: UInt8 = 0
 26 |         static fileprivate var clearIconName: UInt8 = 0
 27 |         static fileprivate var searchIconName: UInt8 = 0
    |                                |- warning: static property 'searchIconName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'searchIconName' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'searchIconName' 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
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
 29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:28:32: warning: static property 'didDeleteTokenBlock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |         static fileprivate var clearIconName: UInt8 = 0
 27 |         static fileprivate var searchIconName: UInt8 = 0
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
    |                                |- warning: static property 'didDeleteTokenBlock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'didDeleteTokenBlock' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'didDeleteTokenBlock' 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
 29 |     }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
399 |     }
400 |
401 |     override func controlTextDidBeginEditing(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
402 |         prevTokenCount = tokenCount()
403 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
403 |     }
404 |
405 |     override func controlTextDidChange(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
406 |         tokenField?.handleClearButton()
407 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:524:10: warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
522 |
523 |
524 |     func tokenField(_ tokenField: NSTokenField,
    |          `- warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
525 |                     representedObjectForEditing editingString: String) -> Any {
526 |         let token = ACBToken(name: editingString)
AppKit.NSTokenFieldDelegate:8:30: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
 6 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, displayStringForRepresentedObject representedObject: Any) -> String?
 7 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, editingStringForRepresentedObject representedObject: Any) -> String?
 8 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?
   |                              `- note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
 9 |     @available(swift, obsoleted: 3, renamed: "tokenField(_:representedObjectForEditing:)")
10 |     @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditingString editingString: String) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:174:38: error: 'NSButtonType' has been renamed to 'NSButton.ButtonType'
172 |                     button.action = #selector(self.clearButtonTapped(_:))
173 |                 }
174 |                 button.setButtonType(NSButtonType.momentaryChange)
    |                                      `- error: 'NSButtonType' has been renamed to 'NSButton.ButtonType'
175 |                 button.isBordered = false
176 |                 return button
AppKit.NSButtonType:2:18: note: 'NSButtonType' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSButton.ButtonType")
2 | public typealias NSButtonType = NSButton.ButtonType
  |                  `- note: 'NSButtonType' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
247 |
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
    |                                                                                `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
247 |
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
    |                                                                                                                    `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Relation")
2 | public typealias NSLayoutRelation = NSLayoutConstraint.Relation
  |                  `- note: 'NSLayoutRelation' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:165: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
247 |
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
    |                                                                                                                                                                     `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:83: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
    |                                                                                   `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:121: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
    |                                                                                                                         `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Relation")
2 | public typealias NSLayoutRelation = NSLayoutConstraint.Relation
  |                  `- note: 'NSLayoutRelation' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:170: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
    |                                                                                                                                                                          `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                    `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Relation")
2 | public typealias NSLayoutRelation = NSLayoutConstraint.Relation
  |                  `- note: 'NSLayoutRelation' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:164: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                                                                    `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:81: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                 `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
254 |     }
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:118: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                      `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
254 |     }
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Relation")
2 | public typealias NSLayoutRelation = NSLayoutConstraint.Relation
  |                  `- note: 'NSLayoutRelation' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:166: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                                                                      `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
254 |     }
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
1 | @available(swift, obsoleted: 4, renamed: "NSLayoutConstraint.Attribute")
2 | public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
  |                  `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:292:71: error: cannot use optional chaining on non-optional value of type 'String'
290 |
291 |         if let fieldEditor = self.currentEditor() {
292 |             fieldEditor.selectedRange = NSMakeRange(fieldEditor.string?.count ?? 0, 0)
    |                                                                       `- error: cannot use optional chaining on non-optional value of type 'String'
293 |         }
294 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:307:58: error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
305 |
306 |             for i in 0..<maxIndex {
307 |                 if subString.character(at: i) == unichar(NSAttachmentCharacter) {
    |                                                          `- error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
308 |                     tokenIndex += 1
309 |                 }
AppKit.NSAttachmentCharacter:3:12: note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
1 | @available(macOS 10.0, *)
2 | @available(swift, obsoleted: 4.2, renamed: "NSTextAttachment.character")
3 | public var NSAttachmentCharacter: Int { get }
  |            `- note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:325:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
323 |
324 |         let tokens = self.tokens
325 |         let tokenIndex = tokens.index(of: token)
    |                                 |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
    |                                 `- note: use 'firstIndex(of:)' instead
326 |
327 |         return tokenIndex
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:381:44: warning: main actor-isolated property 'tokenDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     public var tokenDelegate: NSTokenFieldDelegate? {
    |                `- note: property declared here
 68 |         get { return associated(key: &Keys.tokenDelegate) ?? nil }
 69 |         set { associate(key: &Keys.tokenDelegate, value: newValue) }
    :
379 |
380 |     override func forwardingTarget(for aSelector: Selector!) -> Any? {
381 |         if let tokenDelegate = tokenField?.tokenDelegate,
    |                                            `- warning: main actor-isolated property 'tokenDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
382 |             tokenDelegate.responds(to: aSelector) {
383 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:393:44: warning: main actor-isolated property 'tokenDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     public var tokenDelegate: NSTokenFieldDelegate? {
    |                `- note: property declared here
 68 |         get { return associated(key: &Keys.tokenDelegate) ?? nil }
 69 |         set { associate(key: &Keys.tokenDelegate, value: newValue) }
    :
391 |     override func responds(to aSelector: Selector!) -> Bool {
392 |
393 |         if let tokenDelegate = tokenField?.tokenDelegate {
    |                                            `- warning: main actor-isolated property 'tokenDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
394 |
395 |             return tokenDelegate.responds(to: aSelector) || super.responds(to: aSelector)
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:555:38: warning: call to main actor-isolated instance method 'tokenIndex(forRepresentedObject:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
316 |     }
317 |
318 |     public func tokenIndex(forRepresentedObject representedObject: Any) -> Int? {
    |                 `- note: calls to instance method 'tokenIndex(forRepresentedObject:)' from outside of its actor context are implicitly asynchronous
319 |         guard let token = representedObject as? ACBToken else {
320 |
    :
552 |
553 |     //return token menu associated with a clicked token
554 |     private func tokenMenuFor(representedObject: Any) -> NSMenu? {
    |                  `- note: add '@MainActor' to make instance method 'tokenMenuFor(representedObject:)' part of global actor 'MainActor'
555 |         let tokenIndex = tokenField!.tokenIndex(forRepresentedObject: representedObject) ?? 0
    |                                      `- warning: call to main actor-isolated instance method 'tokenIndex(forRepresentedObject:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
556 |
557 |         if let tokenMenuList = self.tokenMenuList,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:67: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
574 |         if let token = representedObject as? ACBToken {
575 |             tokenMenu.items.forEach { menuItem in
576 |                 menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
    |                                                                   `- error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
577 |             }
578 |         } else if let token = representedObject as? String {
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.on")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.on")
4 | public let NSOnState: NSControl.StateValue
  |            `- note: 'NSOnState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:79: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
574 |         if let token = representedObject as? ACBToken {
575 |             tokenMenu.items.forEach { menuItem in
576 |                 menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
    |                                                                               `- error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
577 |             }
578 |         } else if let token = representedObject as? String {
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.off")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.off")
4 | public let NSOffState: NSControl.StateValue
  |            `- note: 'NSOffState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:62: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
578 |         } else if let token = representedObject as? String {
579 |             tokenMenu.items.forEach { menuItem in
580 |                 menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
    |                                                              `- error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
581 |             }
582 |         }
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.on")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.on")
4 | public let NSOnState: NSControl.StateValue
  |            `- note: 'NSOnState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:74: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
578 |         } else if let token = representedObject as? String {
579 |             tokenMenu.items.forEach { menuItem in
580 |                 menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
    |                                                                          `- error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
581 |             }
582 |         }
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.off")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.off")
4 | public let NSOffState: NSControl.StateValue
  |            `- note: 'NSOffState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:586:42: warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
583 |     }
584 |
585 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
586 |         if let fieldEditor = tokenField?.currentEditor() {
    |                                          `- warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
587 |             let textRange = fieldEditor.selectedRange
588 |             let replaceString = menuItem.title
AppKit.NSControl:2:26: note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
 1 | extension NSControl {
 2 |     @MainActor open func currentEditor() -> NSText?
   |                          `- note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
 3 |     open func abortEditing() -> Bool
 4 |     open func validateEditing()
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:587:41: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
583 |     }
584 |
585 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
586 |         if let fieldEditor = tokenField?.currentEditor() {
587 |             let textRange = fieldEditor.selectedRange
    |                                         `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
588 |             let replaceString = menuItem.title
589 |             fieldEditor.replaceCharacters(in: textRange, with: replaceString)
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:589:25: warning: call to main actor-isolated instance method 'replaceCharacters(in:with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
583 |     }
584 |
585 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
586 |         if let fieldEditor = tokenField?.currentEditor() {
587 |             let textRange = fieldEditor.selectedRange
588 |             let replaceString = menuItem.title
589 |             fieldEditor.replaceCharacters(in: textRange, with: replaceString)
    |                         `- warning: call to main actor-isolated instance method 'replaceCharacters(in:with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
590 |             fieldEditor.selectedRange = NSMakeRange(textRange.location, replaceString.count)
591 |         }
AppKit.NSText:5:26: note: calls to instance method 'replaceCharacters(in:with:)' from outside of its actor context are implicitly asynchronous
 3 |     public init?(coder: NSCoder)
 4 |     @MainActor open var string: String { get set }
 5 |     @MainActor open func replaceCharacters(in range: NSRange, with string: String)
   |                          `- note: calls to instance method 'replaceCharacters(in:with:)' from outside of its actor context are implicitly asynchronous
 6 |     @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
 7 |     open func replaceCharactersInRange(_ range: NSRange, withString string: String)
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:590:25: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
583 |     }
584 |
585 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
586 |         if let fieldEditor = tokenField?.currentEditor() {
587 |             let textRange = fieldEditor.selectedRange
588 |             let replaceString = menuItem.title
589 |             fieldEditor.replaceCharacters(in: textRange, with: replaceString)
590 |             fieldEditor.selectedRange = NSMakeRange(textRange.location, replaceString.count)
    |                         `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
591 |         }
592 |     }
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:600:55: error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
598 |             let maxIndex = string.length
599 |             for i in 0..<maxIndex {
600 |                 if string.character(at: i) == unichar(NSAttachmentCharacter) {
    |                                                       `- error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
601 |                     newCount += 1
602 |                 }
AppKit.NSAttachmentCharacter:3:12: note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
1 | @available(macOS 10.0, *)
2 | @available(swift, obsoleted: 4.2, renamed: "NSTextAttachment.character")
3 | public var NSAttachmentCharacter: Int { get }
  |            `- note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:597:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
592 |     }
593 |
594 |     fileprivate func tokenCount() -> Int {
    |                      `- note: add '@MainActor' to make instance method 'tokenCount()' part of global actor 'MainActor'
595 |         var newCount: Int = 0
596 |
597 |         if let string = tokenField?.currentEditor()?.string as NSString? {
    |                                                      `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
598 |             let maxIndex = string.length
599 |             for i in 0..<maxIndex {
AppKit.NSText:4:25: note: property declared here
 2 |     public init(frame frameRect: NSRect)
 3 |     public init?(coder: NSCoder)
 4 |     @MainActor open var string: String { get set }
   |                         `- note: property declared here
 5 |     @MainActor open func replaceCharacters(in range: NSRange, with string: String)
 6 |     @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:597:37: warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
592 |     }
593 |
594 |     fileprivate func tokenCount() -> Int {
    |                      `- note: add '@MainActor' to make instance method 'tokenCount()' part of global actor 'MainActor'
595 |         var newCount: Int = 0
596 |
597 |         if let string = tokenField?.currentEditor()?.string as NSString? {
    |                                     `- warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
598 |             let maxIndex = string.length
599 |             for i in 0..<maxIndex {
AppKit.NSControl:2:26: note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
 1 | extension NSControl {
 2 |     @MainActor open func currentEditor() -> NSText?
   |                          `- note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
 3 |     open func abortEditing() -> Bool
 4 |     open func validateEditing()
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:612:48: warning: main actor-isolated property 'tokenKeywordsList' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |     }
 49 |
 50 |     public var tokenKeywordsList: [[String]]? {
    |                `- note: property declared here
 51 |         get { return associated(key: &Keys.tokenKeywordsList) ?? nil }
 52 |         set {
    :
609 |     // # MARK: FilePrivate methods
610 |
611 |     fileprivate func updateTokenMenuWithNewKeywords(_ tokenKeywordsList: [[String]]?) {
    |                      `- note: add '@MainActor' to make instance method 'updateTokenMenuWithNewKeywords' part of global actor 'MainActor'
612 |         if let tokenKeywordsList = tokenField?.tokenKeywordsList,
    |                                                `- warning: main actor-isolated property 'tokenKeywordsList' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
613 |             tokenKeywordsList.isEmpty == false {
614 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:641:44: warning: main actor-isolated property 'defaultTokenKeywords' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 |     }
 41 |
 42 |     public var defaultTokenKeywords: [String]? {
    |                `- note: property declared here
 43 |         get { return associated(key: &Keys.defaultTokenKeywords) ?? nil }
 44 |         set {
    :
638 |     }
639 |
640 |     fileprivate func updateDefaultTokenMenuWithNewKeywords(_ tokenKeywords: [String]?) {
    |                      `- note: add '@MainActor' to make instance method 'updateDefaultTokenMenuWithNewKeywords' part of global actor 'MainActor'
641 |         if let tokenKeywords = tokenField?.defaultTokenKeywords,
    |                                            `- warning: main actor-isolated property 'defaultTokenKeywords' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
642 |             tokenKeywords.isEmpty == false {
643 |             if defaultTokenMenu == nil {
BUILD FAILURE 6.0 macosSpm