This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 ACBTokenField with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 16

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akhilcb/ACBTokenField.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/akhilcb/ACBTokenField
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 65517b6 Update version
Cloned https://github.com/akhilcb/ACBTokenField.git
Revision (git rev-parse @):
65517b61c931535cbef0be3958d9e24d1b43eab2
SUCCESS checkout https://github.com/akhilcb/ACBTokenField.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/akhilcb/ACBTokenField.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling ACBTokenField ACBToken.swift
[4/6] Compiling ACBTokenField ACBAssociation.swift
[5/6] Compiling ACBTokenField NSTokenField+ACBExtension.swift
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |         static fileprivate var didAddTokenBlock: UInt8 = 0
/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 non-isolated 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 non-isolated 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 |         static fileprivate var didAddTokenBlock: UInt8 = 0
 30 |         static fileprivate var didClearTokensBlock: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:29:32: warning: static property 'didAddTokenBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |         static fileprivate var searchIconName: UInt8 = 0
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
 29 |         static fileprivate var didAddTokenBlock: UInt8 = 0
    |                                |- warning: static property 'didAddTokenBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'didAddTokenBlock' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'didAddTokenBlock' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |         static fileprivate var didClearTokensBlock: UInt8 = 0
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:30:32: warning: static property 'didClearTokensBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
 29 |         static fileprivate var didAddTokenBlock: UInt8 = 0
 30 |         static fileprivate var didClearTokensBlock: UInt8 = 0
    |                                |- warning: static property 'didClearTokensBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'didClearTokensBlock' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'didClearTokensBlock' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |     }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:44: warning: main actor-isolated property 'tokenDelegate' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     public var tokenDelegate: NSTokenFieldDelegate? {
    |                `- note: property declared here
 86 |         get { return associated(key: &Keys.tokenDelegate) ?? nil }
 87 |         set { associate(key: &Keys.tokenDelegate, value: newValue) }
    :
402 |     // # MARK: Forward Invocation methods
403 |
404 |     override func forwardingTarget(for aSelector: Selector!) -> Any? {
    |                   `- note: add '@MainActor' to make instance method 'forwardingTarget(for:)' part of global actor 'MainActor'
405 |         if let tokenDelegate = tokenField?.tokenDelegate,
    |                                            `- warning: main actor-isolated property 'tokenDelegate' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
406 |             tokenDelegate.responds(to: aSelector) {
407 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:417:44: warning: main actor-isolated property 'tokenDelegate' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     public var tokenDelegate: NSTokenFieldDelegate? {
    |                `- note: property declared here
 86 |         get { return associated(key: &Keys.tokenDelegate) ?? nil }
 87 |         set { associate(key: &Keys.tokenDelegate, value: newValue) }
    :
413 |
414 |
415 |     override func responds(to aSelector: Selector!) -> Bool {
    |                   `- note: add '@MainActor' to make instance method 'responds(to:)' part of global actor 'MainActor'
416 |
417 |         if let tokenDelegate = tokenField?.tokenDelegate {
    |                                            `- warning: main actor-isolated property 'tokenDelegate' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
418 |
419 |             return tokenDelegate.responds(to: aSelector) || super.responds(to: aSelector)
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:577: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
338 |     }
339 |
340 |     public func tokenIndex(forRepresentedObject representedObject: Any) -> Int? {
    |                 `- note: calls to instance method 'tokenIndex(forRepresentedObject:)' from outside of its actor context are implicitly asynchronous
341 |         guard let token = representedObject as? ACBToken else {
342 |
    :
574 |
575 |     //return token menu associated with a clicked token
576 |     private func tokenMenuFor(representedObject: Any) -> NSMenu? {
    |                  `- note: add '@MainActor' to make instance method 'tokenMenuFor(representedObject:)' part of global actor 'MainActor'
577 |         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
578 |
579 |         if let tokenMenuList = self.tokenMenuList,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:608: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
605 |     }
606 |
607 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
608 |         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
609 |             let textRange = fieldEditor.selectedRange
610 |             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:609:41: warning: main actor-isolated property 'selectedRange' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
605 |     }
606 |
607 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
608 |         if let fieldEditor = tokenField?.currentEditor() {
609 |             let textRange = fieldEditor.selectedRange
    |                                         `- warning: main actor-isolated property 'selectedRange' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
610 |             let replaceString = menuItem.title
611 |             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:611: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
605 |     }
606 |
607 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
608 |         if let fieldEditor = tokenField?.currentEditor() {
609 |             let textRange = fieldEditor.selectedRange
610 |             let replaceString = menuItem.title
611 |             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
612 |             fieldEditor.selectedRange = NSMakeRange(textRange.location, replaceString.count)
613 |         }
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:612:25: warning: main actor-isolated property 'selectedRange' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
605 |     }
606 |
607 |     @objc private func menuItemTapped(_ menuItem: NSMenuItem) {
    |                        `- note: add '@MainActor' to make instance method 'menuItemTapped' part of global actor 'MainActor'
608 |         if let fieldEditor = tokenField?.currentEditor() {
609 |             let textRange = fieldEditor.selectedRange
610 |             let replaceString = menuItem.title
611 |             fieldEditor.replaceCharacters(in: textRange, with: replaceString)
612 |             fieldEditor.selectedRange = NSMakeRange(textRange.location, replaceString.count)
    |                         `- warning: main actor-isolated property 'selectedRange' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
613 |         }
614 |     }
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:619:54: warning: main actor-isolated property 'string' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
614 |     }
615 |
616 |     fileprivate func tokenCount() -> Int {
    |                      `- note: add '@MainActor' to make instance method 'tokenCount()' part of global actor 'MainActor'
617 |         var newCount: Int = 0
618 |
619 |         if let string = tokenField?.currentEditor()?.string as NSString? {
    |                                                      `- warning: main actor-isolated property 'string' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
620 |             let maxIndex = string.length
621 |             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:619: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
614 |     }
615 |
616 |     fileprivate func tokenCount() -> Int {
    |                      `- note: add '@MainActor' to make instance method 'tokenCount()' part of global actor 'MainActor'
617 |         var newCount: Int = 0
618 |
619 |         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
620 |             let maxIndex = string.length
621 |             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:634:48: warning: main actor-isolated property 'tokenKeywordsList' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 66 |     }
 67 |
 68 |     public var tokenKeywordsList: [[String]]? {
    |                `- note: property declared here
 69 |         get { return associated(key: &Keys.tokenKeywordsList) ?? nil }
 70 |         set {
    :
631 |     // # MARK: FilePrivate methods
632 |
633 |     fileprivate func updateTokenMenuWithNewKeywords(_ tokenKeywordsList: [[String]]?) {
    |                      `- note: add '@MainActor' to make instance method 'updateTokenMenuWithNewKeywords' part of global actor 'MainActor'
634 |         if let tokenKeywordsList = tokenField?.tokenKeywordsList,
    |                                                `- warning: main actor-isolated property 'tokenKeywordsList' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
635 |             tokenKeywordsList.isEmpty == false {
636 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:663:44: warning: main actor-isolated property 'defaultTokenKeywords' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 58 |     }
 59 |
 60 |     public var defaultTokenKeywords: [String]? {
    |                `- note: property declared here
 61 |         get { return associated(key: &Keys.defaultTokenKeywords) ?? nil }
 62 |         set {
    :
660 |     }
661 |
662 |     fileprivate func updateDefaultTokenMenuWithNewKeywords(_ tokenKeywords: [String]?) {
    |                      `- note: add '@MainActor' to make instance method 'updateDefaultTokenMenuWithNewKeywords' part of global actor 'MainActor'
663 |         if let tokenKeywords = tokenField?.defaultTokenKeywords,
    |                                            `- warning: main actor-isolated property 'defaultTokenKeywords' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
664 |             tokenKeywords.isEmpty == false {
665 |             if defaultTokenMenu == nil {
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:577:38: warning: sending 'representedObject' risks causing data races; this is an error in the Swift 6 language mode
575 |     //return token menu associated with a clicked token
576 |     private func tokenMenuFor(representedObject: Any) -> NSMenu? {
577 |         let tokenIndex = tokenField!.tokenIndex(forRepresentedObject: representedObject) ?? 0
    |                                      |- warning: sending 'representedObject' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: sending task-isolated 'representedObject' to main actor-isolated instance method 'tokenIndex(forRepresentedObject:)' risks causing data races between main actor-isolated and task-isolated uses
578 |
579 |         if let tokenMenuList = self.tokenMenuList,
[6/6] Emitting module ACBTokenField
/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |         static fileprivate var didAddTokenBlock: UInt8 = 0
/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 non-isolated 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 non-isolated 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 |         static fileprivate var didAddTokenBlock: UInt8 = 0
 30 |         static fileprivate var didClearTokensBlock: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:29:32: warning: static property 'didAddTokenBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |         static fileprivate var searchIconName: UInt8 = 0
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
 29 |         static fileprivate var didAddTokenBlock: UInt8 = 0
    |                                |- warning: static property 'didAddTokenBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'didAddTokenBlock' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'didAddTokenBlock' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |         static fileprivate var didClearTokensBlock: UInt8 = 0
 31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:30:32: warning: static property 'didClearTokensBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |         static fileprivate var didDeleteTokenBlock: UInt8 = 0
 29 |         static fileprivate var didAddTokenBlock: UInt8 = 0
 30 |         static fileprivate var didClearTokensBlock: UInt8 = 0
    |                                |- warning: static property 'didClearTokensBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert 'didClearTokensBlock' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate 'didClearTokensBlock' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |     }
 32 |
Build complete! (21.97s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ACBTokenField",
  "name" : "ACBTokenField",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ACBTokenField",
      "targets" : [
        "ACBTokenField"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ACBTokenField",
      "module_type" : "SwiftTarget",
      "name" : "ACBTokenField",
      "path" : "Sources/ACBTokenField",
      "product_memberships" : [
        "ACBTokenField"
      ],
      "sources" : [
        "Extensions/NSTokenField+ACBExtension.swift",
        "Helpers/ACBAssociation.swift",
        "Models/ACBToken.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.