The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ACBTokenField, reference 2.3.0 (c8aa7f), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 22:45:39 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akhilcb/ACBTokenField.git
Reference: 2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/akhilcb/ACBTokenField
 * tag               2.3.0      -> FETCH_HEAD
HEAD is now at c8aa7f3 Updated with Swift PM setup details and new badges
Cloned https://github.com/akhilcb/ACBTokenField.git
Revision (git rev-parse @):
c8aa7f36b487a57a2d35af3541a6a5f64f307535
SUCCESS checkout https://github.com/akhilcb/ACBTokenField.git at 2.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "acbtokenfield",
      "name": "ACBTokenField",
      "url": "https://github.com/akhilcb/ACBTokenField.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ACBTokenField",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/akhilcb/ACBTokenField.git
[1/342] Fetching acbtokenfield
Fetched https://github.com/akhilcb/ACBTokenField.git from cache (1.65s)
Creating working copy for https://github.com/akhilcb/ACBTokenField.git
Working copy of https://github.com/akhilcb/ACBTokenField.git resolved at 2.3.0 (c8aa7f3)
warning: '.resolve-product-dependencies': dependency 'acbtokenfield' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/akhilcb/ACBTokenField.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/6] Compiling ACBTokenField ACBToken.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[4/6] Compiling ACBTokenField ACBAssociation.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module ACBTokenField
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
399 |     }
400 |
401 |     override func controlTextDidBeginEditing(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
402 |         prevTokenCount = tokenCount()
403 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
403 |     }
404 |
405 |     override func controlTextDidChange(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
406 |         tokenField?.handleClearButton()
407 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:524:10: warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
522 |
523 |
524 |     func tokenField(_ tokenField: NSTokenField,
    |          `- warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
525 |                     representedObjectForEditing editingString: String) -> Any {
526 |         let token = ACBToken(name: editingString)
AppKit.NSTokenFieldDelegate.tokenField:2:26: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
1 | protocol NSTokenFieldDelegate {
2 | @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?}
  |                          `- note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
3 |
[6/6] Compiling ACBTokenField NSTokenField+ACBExtension.swift
<unknown>:0: error: invalid value '3' in '-swift-version 3'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:401:19: error: method does not override any method from its superclass
399 |     }
400 |
401 |     override func controlTextDidBeginEditing(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
402 |         prevTokenCount = tokenCount()
403 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:405:19: error: method does not override any method from its superclass
403 |     }
404 |
405 |     override func controlTextDidChange(_ obj: Notification) {
    |                   `- error: method does not override any method from its superclass
406 |         tokenField?.handleClearButton()
407 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:524:10: warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
522 |
523 |
524 |     func tokenField(_ tokenField: NSTokenField,
    |          `- warning: result of 'tokenField(_:representedObjectForEditing:)' has different optionality than expected by protocol 'NSTokenFieldDelegate'
525 |                     representedObjectForEditing editingString: String) -> Any {
526 |         let token = ACBToken(name: editingString)
AppKit.NSTokenFieldDelegate.tokenField:2:26: note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
1 | protocol NSTokenFieldDelegate {
2 | @MainActor optional func tokenField(_ tokenField: NSTokenField, representedObjectForEditing editingString: String) -> Any?}
  |                          `- note: requirement 'tokenField(_:representedObjectForEditing:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:174:38: error: 'NSButtonType' has been renamed to 'NSButton.ButtonType'
172 |                     button.action = #selector(self.clearButtonTapped(_:))
173 |                 }
174 |                 button.setButtonType(NSButtonType.momentaryChange)
    |                                      `- error: 'NSButtonType' has been renamed to 'NSButton.ButtonType'
175 |                 button.isBordered = false
176 |                 return button
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButtonCell.h:16:29: note: 'NSButtonType' was obsoleted in Swift 4
 14 | @class NSAttributedString, NSFont, NSImage, NSSound;
 15 |
 16 | typedef NS_ENUM(NSUInteger, NSButtonType) {
    |                             `- note: 'NSButtonType' was obsoleted in Swift 4
 17 |     NSButtonTypeMomentaryLight    = 0,
 18 |     NSButtonTypePushOnPushOff     = 1,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
247 |
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
    |                                                                                `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
247 |
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
    |                                                                                                                    `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:49:28: note: 'NSLayoutRelation' was obsoleted in Swift 4
 47 | #endif
 48 |
 49 | typedef NS_ENUM(NSInteger, NSLayoutRelation) {
    |                            `- note: 'NSLayoutRelation' was obsoleted in Swift 4
 50 |     NSLayoutRelationLessThanOrEqual = -1,
 51 |     NSLayoutRelationEqual = 0,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:249:165: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
247 |
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
    |                                                                                                                                                                     `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:83: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
    |                                                                                   `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:121: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
    |                                                                                                                         `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:49:28: note: 'NSLayoutRelation' was obsoleted in Swift 4
 47 | #endif
 48 |
 49 | typedef NS_ENUM(NSInteger, NSLayoutRelation) {
    |                            `- note: 'NSLayoutRelation' was obsoleted in Swift 4
 50 |     NSLayoutRelationLessThanOrEqual = -1,
 51 |     NSLayoutRelationEqual = 0,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:250:170: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
248 |     private func setupConstraintOnClearButton() {
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
    |                                                                                                                                                                          `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:80: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:116: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                    `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:49:28: note: 'NSLayoutRelation' was obsoleted in Swift 4
 47 | #endif
 48 |
 49 | typedef NS_ENUM(NSInteger, NSLayoutRelation) {
    |                            `- note: 'NSLayoutRelation' was obsoleted in Swift 4
 50 |     NSLayoutRelationLessThanOrEqual = -1,
 51 |     NSLayoutRelationEqual = 0,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:251:164: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
249 |         let rightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.right, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.right, multiplier: 1, constant: 0)
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                                                                    `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:81: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                 `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
254 |     }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:118: error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                      `- error: 'NSLayoutRelation' has been renamed to 'NSLayoutConstraint.Relation'
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
254 |     }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:49:28: note: 'NSLayoutRelation' was obsoleted in Swift 4
 47 | #endif
 48 |
 49 | typedef NS_ENUM(NSInteger, NSLayoutRelation) {
    |                            `- note: 'NSLayoutRelation' was obsoleted in Swift 4
 50 |     NSLayoutRelationLessThanOrEqual = -1,
 51 |     NSLayoutRelationEqual = 0,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:252:166: error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
250 |         let verticalConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.centerY, relatedBy: NSLayoutRelation.equal, toItem: self, attribute: NSLayoutAttribute.centerY, multiplier: 1, constant: 0)
251 |         let widthConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.width, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
252 |         let heightConstraint = NSLayoutConstraint(item: clearButton, attribute: NSLayoutAttribute.height, relatedBy: NSLayoutRelation.equal, toItem: nil, attribute: NSLayoutAttribute.notAnAttribute, multiplier: 1, constant: viewPadding)
    |                                                                                                                                                                      `- error: 'NSLayoutAttribute' has been renamed to 'NSLayoutConstraint.Attribute'
253 |         self.addConstraints([rightConstraint, verticalConstraint, widthConstraint, heightConstraint])
254 |     }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:55:28: note: 'NSLayoutAttribute' was obsoleted in Swift 4
 53 | };
 54 |
 55 | typedef NS_ENUM(NSInteger, NSLayoutAttribute) {
    |                            `- note: 'NSLayoutAttribute' was obsoleted in Swift 4
 56 |     NSLayoutAttributeLeft = 1,
 57 |     NSLayoutAttributeRight,
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:292:71: error: cannot use optional chaining on non-optional value of type 'String'
290 |
291 |         if let fieldEditor = self.currentEditor() {
292 |             fieldEditor.selectedRange = NSMakeRange(fieldEditor.string?.count ?? 0, 0)
    |                                                                       `- error: cannot use optional chaining on non-optional value of type 'String'
293 |         }
294 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:325:33: warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
323 |
324 |         let tokens = self.tokens
325 |         let tokenIndex = tokens.index(of: token)
    |                                 |- warning: 'index(of:)' is deprecated: renamed to 'firstIndex(of:)' [#DeprecatedDeclaration]
    |                                 `- note: use 'firstIndex(of:)' instead
326 |
327 |         return tokenIndex
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:67: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
574 |         if let token = representedObject as? ACBToken {
575 |             tokenMenu.items.forEach { menuItem in
576 |                 menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
    |                                                                   `- error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
577 |             }
578 |         } else if let token = representedObject as? String {
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.on")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.on")
4 | public var NSOnState: NSControl.StateValue { get }
  |            `- note: 'NSOnState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:576:79: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
574 |         if let token = representedObject as? ACBToken {
575 |             tokenMenu.items.forEach { menuItem in
576 |                 menuItem.state = (menuItem.title == token.name) ? NSOnState : NSOffState
    |                                                                               `- error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
577 |             }
578 |         } else if let token = representedObject as? String {
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.off")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.off")
4 | public var NSOffState: NSControl.StateValue { get }
  |            `- note: 'NSOffState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:62: error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
578 |         } else if let token = representedObject as? String {
579 |             tokenMenu.items.forEach { menuItem in
580 |                 menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
    |                                                              `- error: 'NSOnState' is unavailable in Swift: Use NSControl.StateValue.on
581 |             }
582 |         }
AppKit.NSOnState:4:12: note: 'NSOnState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.on")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.on")
4 | public var NSOnState: NSControl.StateValue { get }
  |            `- note: 'NSOnState' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/ACBTokenField/Extensions/NSTokenField+ACBExtension.swift:580:74: error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
578 |         } else if let token = representedObject as? String {
579 |             tokenMenu.items.forEach { menuItem in
580 |                 menuItem.state = (menuItem.title == token) ? NSOnState : NSOffState
    |                                                                          `- error: 'NSOffState' is unavailable in Swift: Use NSControl.StateValue.off
581 |             }
582 |         }
AppKit.NSOffState:4:12: note: 'NSOffState' has been explicitly marked unavailable here
2 | @available(macOS, introduced: 10.0, deprecated: 10.14, renamed: "NSControl.StateValue.off")
3 | @available(*, unavailable, message: "Use NSControl.StateValue.off")
4 | public var NSOffState: NSControl.StateValue { get }
  |            `- note: 'NSOffState' has been explicitly marked unavailable here
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.3 macosSpm