The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ACBTokenField with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akhilcb/ACBTokenField.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/akhilcb/ACBTokenField
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "acbtokenfield",
      "name": "ACBTokenField",
      "url": "https://github.com/akhilcb/ACBTokenField.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ACBTokenField",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/akhilcb/ACBTokenField.git
[1/277] Fetching acbtokenfield
Fetched https://github.com/akhilcb/ACBTokenField.git (1.79s)
Creating working copy for https://github.com/akhilcb/ACBTokenField.git
Working copy of https://github.com/akhilcb/ACBTokenField.git resolved at master
warning: '.resolve-product-dependencies': dependency 'acbtokenfield' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] 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'
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
    override func controlTextDidBeginEditing(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
    override func controlTextDidChange(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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'
    func tokenField(_ tokenField: NSTokenField,
         ^
AppKit.NSTokenFieldDelegate:8:30: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
    @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?
                             ^
[2/4] 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'
[3/4] 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'
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
    override func controlTextDidBeginEditing(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
    override func controlTextDidChange(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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'
    func tokenField(_ tokenField: NSTokenField,
         ^
AppKit.NSTokenFieldDelegate:8:30: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
    @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?
                             ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:174:38: error: 'NSButtonType' has been renamed to 'NSButton.ButtonType'
                button.setButtonType(NSButtonType.momentaryChange)
                                     ^~~~~~~~~~~~
                                     NSButton.ButtonType
AppKit.NSButtonType:2:18: note: 'NSButtonType' was obsoleted in Swift 4
public typealias NSButtonType = NSButton.ButtonType
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
                                                                               ^~~~~~~~~~~~~~~~~
                                                                               NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
                                                                                                                   ^~~~~~~~~~~~~~~~
                                                                                                                   NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:165: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
                                                                                                                                                                    ^~~~~~~~~~~~~~~~~
                                                                                                                                                                    NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:83: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
                                                                                  ^~~~~~~~~~~~~~~~~
                                                                                  NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:121: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
                                                                                                                        ^~~~~~~~~~~~~~~~
                                                                                                                        NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:170: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
                                                                                                                                                                         ^~~~~~~~~~~~~~~~~
                                                                                                                                                                         NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                               ^~~~~~~~~~~~~~~~~
                                                                               NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                   ^~~~~~~~~~~~~~~~
                                                                                                                   NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:164: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                                                                   ^~~~~~~~~~~~~~~~~
                                                                                                                                                                   NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:81: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                ^~~~~~~~~~~~~~~~~
                                                                                NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:118: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                     ^~~~~~~~~~~~~~~~
                                                                                                                     NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:166: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
                                                                                                                                                                     NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:292:71: error: cannot use optional chaining on non-optional value of type 'String'
            fieldEditor.selectedRange = NSMakeRange(fieldEditor.string?.count ?? 0, 0)
                                                    ~~~~~~~~~~~~~~~~~~^

/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:307:58: error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
                if subString.character(at: i) == unichar(NSAttachmentCharacter) {
                                                         ^~~~~~~~~~~~~~~~~~~~~
                                                         NSTextAttachment.character
AppKit.NSAttachmentCharacter:3:12: note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
public var NSAttachmentCharacter: Int { get }
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:325:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
        let tokenIndex = tokens.index(of: token)
                                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:325:33: note: use 'firstIndex(of:)' instead
        let tokenIndex = tokens.index(of: token)
                                ^~~~~
                                firstIndex
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:67: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
                menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
                                                                  ^~~~~~~~~
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
public let NSOnState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:79: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
                menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
                                                                              ^~~~~~~~~~
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
public let NSOffState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:62: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
                menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
                                                             ^~~~~~~~~
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
public let NSOnState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:74: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
                menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
                                                                         ^~~~~~~~~~
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
public let NSOffState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:600:55: error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
                if string.character(at: i) == unichar(NSAttachmentCharacter) {
                                                      ^~~~~~~~~~~~~~~~~~~~~
                                                      NSTextAttachment.character
AppKit.NSAttachmentCharacter:3:12: note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
public var NSAttachmentCharacter: Int { get }
           ^
[4/4] 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'
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] 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'
[2/4] 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'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] 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'
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
    override func controlTextDidBeginEditing(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
    override func controlTextDidChange(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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'
    func tokenField(_ tokenField: NSTokenField,
         ^
AppKit.NSTokenFieldDelegate:8:30: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
    @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?
                             ^
[4/4] 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'
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
    override func controlTextDidBeginEditing(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
    override func controlTextDidChange(_ obj: Notification) {
    ~~~~~~~~      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-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'
    func tokenField(_ tokenField: NSTokenField,
         ^
AppKit.NSTokenFieldDelegate:8:30: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
    @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?
                             ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:174:38: error: 'NSButtonType' has been renamed to 'NSButton.ButtonType'
                button.setButtonType(NSButtonType.momentaryChange)
                                     ^~~~~~~~~~~~
                                     NSButton.ButtonType
AppKit.NSButtonType:2:18: note: 'NSButtonType' was obsoleted in Swift 4
public typealias NSButtonType = NSButton.ButtonType
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
                                                                               ^~~~~~~~~~~~~~~~~
                                                                               NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
                                                                                                                   ^~~~~~~~~~~~~~~~
                                                                                                                   NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:165: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
                                                                                                                                                                    ^~~~~~~~~~~~~~~~~
                                                                                                                                                                    NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:83: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
                                                                                  ^~~~~~~~~~~~~~~~~
                                                                                  NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:121: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
                                                                                                                        ^~~~~~~~~~~~~~~~
                                                                                                                        NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:170: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
                                                                                                                                                                         ^~~~~~~~~~~~~~~~~
                                                                                                                                                                         NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                               ^~~~~~~~~~~~~~~~~
                                                                               NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                   ^~~~~~~~~~~~~~~~
                                                                                                                   NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:164: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                                                                   ^~~~~~~~~~~~~~~~~
                                                                                                                                                                   NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:81: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                ^~~~~~~~~~~~~~~~~
                                                                                NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:118: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
        let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                     ^~~~~~~~~~~~~~~~
                                                                                                                     NSLayoutConstraint.Relation
AppKit.NSLayoutRelation:2:18: note: 'NSLayoutRelation' was obsoleted in Swift 4
public typealias NSLayoutRelation = NSLayoutConstraint.Relation
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:166: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
        let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
                                                                                                                                                                     NSLayoutConstraint.Attribute
AppKit.NSLayoutAttribute:2:18: note: 'NSLayoutAttribute' was obsoleted in Swift 4
public typealias NSLayoutAttribute = NSLayoutConstraint.Attribute
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:292:71: error: cannot use optional chaining on non-optional value of type 'String'
            fieldEditor.selectedRange = NSMakeRange(fieldEditor.string?.count ?? 0, 0)
                                                    ~~~~~~~~~~~~~~~~~~^

/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:307:58: error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
                if subString.character(at: i) == unichar(NSAttachmentCharacter) {
                                                         ^~~~~~~~~~~~~~~~~~~~~
                                                         NSTextAttachment.character
AppKit.NSAttachmentCharacter:3:12: note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
public var NSAttachmentCharacter: Int { get }
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:325:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)'
        let tokenIndex = tokens.index(of: token)
                                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:325:33: note: use 'firstIndex(of:)' instead
        let tokenIndex = tokens.index(of: token)
                                ^~~~~
                                firstIndex
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:67: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
                menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
                                                                  ^~~~~~~~~
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
public let NSOnState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:79: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
                menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
                                                                              ^~~~~~~~~~
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
public let NSOffState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:62: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
                menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
                                                             ^~~~~~~~~
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
public let NSOnState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:74: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
                menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
                                                                         ^~~~~~~~~~
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
public let NSOffState: NSControl.StateValue
           ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:600:55: error: 'NSAttachmentCharacter' has been renamed to 'NSTextAttachment.character'
                if string.character(at: i) == unichar(NSAttachmentCharacter) {
                                                      ^~~~~~~~~~~~~~~~~~~~~
                                                      NSTextAttachment.character
AppKit.NSAttachmentCharacter:3:12: note: 'NSAttachmentCharacter' was obsoleted in Swift 4.2
public var NSAttachmentCharacter: Int { get }
           ^
error: fatalError
BUILD FAILURE 5.9 macosSpm