The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftTerm, reference v1.5.1 (0b8d99), with Swift 6.1 for macOS (SPM) on 9 Aug 2025 07:34:33 UTC.

Swift 6 data race errors: 77

Build Command

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

Build Log

  34 |      * The default implementation does nothing.
  35 |      */
  36 |     func setTerminalTitle (source: Terminal, title: String)
     |          `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
  37 |
  38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1228:17: warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1226 |     }
1227 |
1228 |     public func setTerminalIconTitle(source: Terminal, title: String) {
     |                 |- warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setTerminalIconTitle(source:title:)' to make this instance method not isolated to the actor
1229 |         //
1230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:45:10: note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
  43 |      * The default implementation does nothing.
  44 |      */
  45 |     func setTerminalIconTitle (source: Terminal, title: String)
     |          `- note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
  46 |
  47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1233:17: warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1231 |
1232 |     // Terminal.Delegate method implementation
1233 |     public func windowCommand(source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]? {
     |                 |- warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'windowCommand(source:command:)' to make this instance method not isolated to the actor
1234 |         return nil
1235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:58:10: note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
  56 |      */
  57 |     @discardableResult
  58 |     func windowCommand (source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]?
     |          `- note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
  59 |
  60 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1213:17: warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1211 |     }
1212 |
1213 |     public func sizeChanged(source: Terminal) {
     |                 |- warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'sizeChanged(source:)' to make this instance method not isolated to the actor
1214 |         terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1215 |         updateScroller ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:69:10: note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
  67 |      * The default implementation does nothing.
  68 |      */
  69 |     func sizeChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
  70 |
  71 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:336:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 334 |     }
 335 |
 336 |     open func send(source: Terminal, data: ArraySlice<UInt8>) {
     |               |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
 337 |         terminalDelegate?.send (source: self, data: data)
 338 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:75:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
  73 |      * documentation, this is the "host")
  74 |      */
  75 |     func send (source: Terminal, data: ArraySlice<UInt8>)
     |          `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
  76 |
  77 |     // callbacks
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:353:15: warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 351 |     }
 352 |
 353 |     open func scrolled(source terminal: Terminal, yDisp: Int) {
     |               |- warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'scrolled(source:yDisp:)' to make this instance method not isolated to the actor
 354 |         //selectionView.notifyScrolled(source: terminal)
 355 |         updateScroller()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:81:10: note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
  79 |     /// Callback - the window was scrolled, new yDisplay passed
  80 |     /// The default implementation does nothing.
  81 |     func scrolled (source: Terminal, yDisp: Int)
     |          `- note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
  82 |
  83 |     /// Callback a newline was generated
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:359:15: warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 357 |     }
 358 |
 359 |     open func linefeed(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'linefeed(source:)' to make this instance method not isolated to the actor
 360 |         selection.selectNone()
 361 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:85:10: note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
  83 |     /// Callback a newline was generated
  84 |     /// The default implementation does nothing.
  85 |     func linefeed (source: Terminal)
     |          `- note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
  86 |
  87 |     /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:332:15: warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 330 |     }
 331 |
 332 |     open func bufferActivated(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'bufferActivated(source:)' to make this instance method not isolated to the actor
 333 |         updateScroller ()
 334 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:89:10: note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
  87 |     /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
  88 |     /// The default implementation does nothing.
  89 |     func bufferActivated (source: Terminal)
     |          `- note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
  90 |
  91 |     /// Should raise the bell
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1191:15: warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1189 |     }
1190 |
1191 |     open func bell(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'bell(source:)' to make this instance method not isolated to the actor
1192 |         terminalDelegate?.bell (source: self)
1193 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:93:10: note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
  91 |     /// Should raise the bell
  92 |     /// The default implementation does nothing.
  93 |     func bell (source: Terminal)
     |          `- note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
  94 |
  95 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:838:15: warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 836 |     }
 837 |
 838 |     open func selectionChanged(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'selectionChanged(source:)' to make this instance method not isolated to the actor
 839 |         needsDisplay = true
 840 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:102:10: note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
 100 |      * The default implementation does nothing.
 101 |      */
 102 |     func selectionChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
 103 |
 104 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1195:17: warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1193 |     }
1194 |
1195 |     public func isProcessTrusted(source: Terminal) -> Bool {
     |                 |- warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'isProcessTrusted(source:)' to make this instance method not isolated to the actor
1196 |         true
1197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:111:10: note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
 109 |      * The default implementation returns `true`
 110 |      */
 111 |     func isProcessTrusted (source: Terminal) -> Bool
     |          `- note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
 112 |
 113 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1199:17: warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1197 |     }
1198 |
1199 |     public func mouseModeChanged(source: Terminal) {
     |                 |- warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'mouseModeChanged(source:)' to make this instance method not isolated to the actor
1200 |         if source.mouseMode == .anyEvent {
1201 |             startTracking()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:120:10: note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
 118 |      * The default implementation ignores the mouse change
 119 |      */
 120 |     func mouseModeChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
 121 |
 122 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1186:15: warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1184 |     }
1185 |
1186 |     open func cursorStyleChanged (source: Terminal, newStyle: CursorStyle) {
     |               |- warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'cursorStyleChanged(source:newStyle:)' to make this instance method not isolated to the actor
1187 |         caretView.style = newStyle
1188 |         updateCaretView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:126:10: note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
 124 |      * by client application.
 125 |      */
 126 |     func cursorStyleChanged (source: Terminal, newStyle: CursorStyle)
     |          `- note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
 127 |
 128 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:224:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 222 |     }
 223 |
 224 |     public func hostCurrentDirectoryUpdated (source: Terminal)
     |                 |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdated(source:)' to make this instance method not isolated to the actor
 225 |     {
 226 |         terminalDelegate?.hostCurrentDirectoryUpdate(source: self, directory: terminal.hostCurrentDirectory)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:135:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
 133 |      * The default implementaiton does nothing.
 134 |      */
 135 |     func hostCurrentDirectoryUpdated (source: Terminal)
     |          `- note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
 136 |
 137 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:243:17: warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 241 |     }
 242 |
 243 |     public func colorChanged (source: Terminal, idx: Int?)
     |                 |- warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'colorChanged(source:idx:)' to make this instance method not isolated to the actor
 244 |     {
 245 |         if let index = idx {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:151:10: note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
 149 |      * with the new values.   If the value of idx is nil, this means all the ansi colors changed
 150 |      */
 151 |     func colorChanged (source: Terminal, idx: Int?)
     |          `- note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
 152 |
 153 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:259:17: warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 257 |     }
 258 |
 259 |     public func setForegroundColor(source: Terminal, color: Color) {
     |                 |- warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setForegroundColor(source:color:)' to make this instance method not isolated to the actor
 260 |         nativeForegroundColor = TTColor.make (color: color)
 261 |         colorsChanged()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:156:10: note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
 154 |      * The view should try to set the foreground color to the provided color
 155 |      */
 156 |     func setForegroundColor (source: Terminal, color: Color)
     |          `- note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
 157 |
 158 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:253:17: warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 251 |     }
 252 |
 253 |     public func setBackgroundColor(source: Terminal, color: Color) {
     |                 |- warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setBackgroundColor(source:color:)' to make this instance method not isolated to the actor
 254 |         // Can not implement this until I change the color to not be this struct
 255 |         nativeBackgroundColor = TTColor.make (color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:161:10: note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
 159 |      * The view should try to set the background color to the provided color
 160 |      */
 161 |     func setBackgroundColor (source: Terminal, color: Color)
     |          `- note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
 162 |
 163 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1237:17: warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1235 |     }
1236 |
1237 |     public func iTermContent (source: Terminal, content: ArraySlice<UInt8>) {
     |                 |- warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'iTermContent(source:content:)' to make this instance method not isolated to the actor
1238 |         terminalDelegate?.iTermContent(source: self, content: content)
1239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:180:10: note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
 178 |      * The default implementaiton does nothing.
 179 |      */
 180 |     func iTermContent (source: Terminal, content: ArraySlice<UInt8>)
     |          `- note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
 181 |
 182 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1204:17: warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1202 |     }
1203 |
1204 |     public func createImageFromBitmap(source: Terminal, bytes: inout [UInt8], width: Int, height: Int) {
     |                 |- warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'createImageFromBitmap(source:bytes:width:height:)' to make this instance method not isolated to the actor
1205 |         let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1206 |         let bitmapInfo: CGBitmapInfo = CGBitmapInfo(rawValue: CGImageAlphaInfo.premultipliedLast.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:214:10: note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
 212 |      *  - height: the height in pixels of the image
 213 |      */
 214 |     func createImageFromBitmap (source: Terminal, bytes: inout [UInt8], width: Int, height: Int)
     |          `- note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
 215 |
 216 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1223:17: warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1221 |     }
1222 |
1223 |     public func createImage (source: Terminal, data: Data, width widthRequest: ImageSizeRequest, height heightRequest: ImageSizeRequest, preserveAspectRatio: Bool)
     |                 |- warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'createImage(source:data:width:height:preserveAspectRatio:)' to make this instance method not isolated to the actor
1224 |     {
1225 |         guard let img = TTImage(data: data) else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:227:10: note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
 225 |      *  - preserveAspectRatio: if set, one of the dimensions will track the hardcoded setting set for the other.
 226 |      */
 227 |     func createImage (source: Terminal, data: Data, width: ImageSizeRequest, height: ImageSizeRequest, preserveAspectRatio: Bool)
     |          `- note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
 228 | }
 229 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:195:28: warning: call to main actor-isolated instance method 'updateCursorStyle()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 193 |     func setupFocusNotification() {
 194 |         becomeMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidBecomeMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 195 |             self.caretView.updateCursorStyle()
     |                            `- warning: call to main actor-isolated instance method 'updateCursorStyle()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:54:10: note: calls to instance method 'updateCursorStyle()' from outside of its actor context are implicitly asynchronous
 52 |     }
 53 |
 54 |     func updateCursorStyle () {
    |          |- note: calls to instance method 'updateCursorStyle()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 55 |         switch style {
 56 |         case .blinkUnderline, .blinkBlock, .blinkBar:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:195:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 193 |     func setupFocusNotification() {
 194 |         becomeMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidBecomeMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 195 |             self.caretView.updateCursorStyle()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:198:28: warning: call to main actor-isolated instance method 'disableAnimations()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
     |                            `- warning: call to main actor-isolated instance method 'disableAnimations()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 199 |             self.caretView.updateView()
 200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:79:10: note: calls to instance method 'disableAnimations()' from outside of its actor context are implicitly asynchronous
 77 |     }
 78 |
 79 |     func disableAnimations () {
    |          |- note: calls to instance method 'disableAnimations()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 80 |         layer?.removeAllAnimations()
 81 |         layer?.opacity = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:198:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 199 |             self.caretView.updateView()
 200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:199:28: warning: call to main actor-isolated instance method 'updateView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
 199 |             self.caretView.updateView()
     |                            `- warning: call to main actor-isolated instance method 'updateView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 200 |         }
 201 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:106:10: note: calls to instance method 'updateView()' from outside of its actor context are implicitly asynchronous
104 |     }
105 |
106 |     func updateView() {
    |          |- note: calls to instance method 'updateView()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
107 |         setNeedsDisplay(bounds)
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:199:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
 199 |             self.caretView.updateView()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 200 |         }
 201 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:185:9: warning: cannot access property 'becomeMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 183 |
 184 |     deinit {
 185 |         if let becomeMainObserver {
     |         `- warning: cannot access property 'becomeMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 186 |             NotificationCenter.default.removeObserver (becomeMainObserver)
 187 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 13 | @class NSString, NSMethodSignature, NSInvocation;
 14 |
 15 | @protocol NSObject
    |           `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 16 |
 17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
  11 |
  12 | #if os(macOS)
  13 | import Foundation
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
  14 | import AppKit
  15 | import CoreText
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:188:9: warning: cannot access property 'resignMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 186 |             NotificationCenter.default.removeObserver (becomeMainObserver)
 187 |         }
 188 |         if let resignMainObserver {
     |         `- warning: cannot access property 'resignMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 189 |             NotificationCenter.default.removeObserver (resignMainObserver)
 190 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 13 | @class NSString, NSMethodSignature, NSInvocation;
 14 |
 15 | @protocol NSObject
    |           `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 16 |
 17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:97:17: warning: main actor-isolated instance method 'sizeChanged(source:newCols:newRows:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
 65 |  * subclass this and override the methods
 66 |  */
 67 | open class LocalProcessTerminalView: TerminalView, TerminalViewDelegate, LocalProcessDelegate {
    |                                                    `- note: add '@preconcurrency' to the 'TerminalViewDelegate' conformance to defer isolation checking to run time
 68 |
 69 |     var process: LocalProcess!
    :
 95 |      * This method is invoked to notify the client of the new columsn and rows that have been set by the UI
 96 |      */
 97 |     public func sizeChanged(source: TerminalView, newCols: Int, newRows: Int) {
    |                 |- warning: main actor-isolated instance method 'sizeChanged(source:newCols:newRows:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'sizeChanged(source:newCols:newRows:)' to make this instance method not isolated to the actor
 98 |         guard process.running else {
 99 |             return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:21:10: note: mark the protocol requirement 'sizeChanged(source:newCols:newRows:)' 'async' to allow actor-isolated conformances
19 |      * it is a rare feature and you most likely can ignore this request.
20 |      */
21 |     func sizeChanged (source: TerminalView, newCols: Int, newRows: Int)
   |          `- note: mark the protocol requirement 'sizeChanged(source:newCols:newRows:)' 'async' to allow actor-isolated conformances
22 |
23 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:118:17: warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
116 |      * Invoke this method to notify the processDelegate of the new title for the terminal window
117 |      */
118 |     public func setTerminalTitle(source: TerminalView, title: String) {
    |                 |- warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'setTerminalTitle(source:title:)' to make this instance method not isolated to the actor
119 |         processDelegate?.setTerminalTitle (source: self, title: title)
120 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:26:10: note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
24 |      * Request to change the title of the terminal.
25 |      */
26 |     func setTerminalTitle(source: TerminalView, title: String)
   |          `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
27 |
28 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:122:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdate(source:directory:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
120 |     }
121 |
122 |     public func hostCurrentDirectoryUpdate(source: TerminalView, directory: String?) {
    |                 |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdate(source:directory:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdate(source:directory:)' to make this instance method not isolated to the actor
123 |         processDelegate?.hostCurrentDirectoryUpdate(source: source, directory: directory)
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:31:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdate(source:directory:)' 'async' to allow actor-isolated conformances
29 |      * Invoked when the OSC command 7 for "current directory has changed" command is sent
30 |      */
31 |     func hostCurrentDirectoryUpdate (source: TerminalView, directory: String?)
   |          `- note: mark the protocol requirement 'hostCurrentDirectoryUpdate(source:directory:)' 'async' to allow actor-isolated conformances
32 |
33 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:131:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
129 |      * Implementation of the TerminalViewDelegate method
130 |      */
131 |     open func send(source: TerminalView, data: ArraySlice<UInt8>)
    |               |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
132 |     {
133 |         process.send (data: data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:37:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
35 |      * - Parameter data: Slice of data that should be sent
36 |      */
37 |     func send (source: TerminalView, data: ArraySlice<UInt8>)
   |          `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
38 |
39 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:145:15: warning: main actor-isolated instance method 'scrolled(source:position:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
143 |
144 |     /// Implementation of the TerminalViewDelegate method
145 |     open func scrolled(source: TerminalView, position: Double) {
    |               |- warning: main actor-isolated instance method 'scrolled(source:position:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'scrolled(source:position:)' to make this instance method not isolated to the actor
146 |         // noting
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:43:10: note: mark the protocol requirement 'scrolled(source:position:)' 'async' to allow actor-isolated conformances
41 |      * - Parameter position: the relative position that the code was scrolled to, a value between 0 and 1
42 |      */
43 |     func scrolled (source: TerminalView, position: Double)
   |          `- note: mark the protocol requirement 'scrolled(source:position:)' 'async' to allow actor-isolated conformances
44 |
45 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:107:17: warning: main actor-isolated instance method 'clipboardCopy(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
105 |     }
106 |
107 |     public func clipboardCopy(source: TerminalView, content: Data) {
    |                 |- warning: main actor-isolated instance method 'clipboardCopy(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'clipboardCopy(source:content:)' to make this instance method not isolated to the actor
108 |         if let str = String (bytes: content, encoding: .utf8) {
109 |             let pasteBoard = NSPasteboard.general
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:72:10: note: mark the protocol requirement 'clipboardCopy(source:content:)' 'async' to allow actor-isolated conformances
70 |      * The default implementation does nothing.
71 |      */
72 |     func clipboardCopy(source: TerminalView, content: Data)
   |          `- note: mark the protocol requirement 'clipboardCopy(source:content:)' 'async' to allow actor-isolated conformances
73 |
74 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:149:15: warning: main actor-isolated instance method 'rangeChanged(source:startY:endY:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     open func rangeChanged(source: TerminalView, startY: Int, endY: Int) {
    |               |- warning: main actor-isolated instance method 'rangeChanged(source:startY:endY:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rangeChanged(source:startY:endY:)' to make this instance method not isolated to the actor
150 |         //
151 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:86:10: note: mark the protocol requirement 'rangeChanged(source:startY:endY:)' 'async' to allow actor-isolated conformances
84 |      * the `notifyUpdateChanges` variable is set to true.
85 |      */
86 |     func rangeChanged (source: TerminalView, startY: Int, endY: Int)
   |          `- note: mark the protocol requirement 'rangeChanged(source:startY:endY:)' 'async' to allow actor-isolated conformances
87 |
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:168:15: warning: main actor-isolated instance method 'processTerminated(_:exitCode:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
 65 |  * subclass this and override the methods
 66 |  */
 67 | open class LocalProcessTerminalView: TerminalView, TerminalViewDelegate, LocalProcessDelegate {
    |                                                                          `- note: add '@preconcurrency' to the 'LocalProcessDelegate' conformance to defer isolation checking to run time
 68 |
 69 |     var process: LocalProcess!
    :
166 |      * Implements the LocalProcessDelegate method.
167 |      */
168 |     open func processTerminated(_ source: LocalProcess, exitCode: Int32?) {
    |               |- warning: main actor-isolated instance method 'processTerminated(_:exitCode:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'processTerminated(_:exitCode:)' to make this instance method not isolated to the actor
169 |         processDelegate?.processTerminated(source: self, exitCode: exitCode)
170 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:19:10: note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
 17 |     /// - Parameter source: the local process that terminated
 18 |     /// - Parameter exitCode: the exit code returned by the process, or nil if this was an error caused during the IO reading/writing
 19 |     func processTerminated (_ source: LocalProcess, exitCode: Int32?)
    |          `- note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
 20 |
 21 |     /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:175:15: warning: main actor-isolated instance method 'dataReceived(slice:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
173 |      * Implements the LocalProcessDelegate.dataReceived method
174 |      */
175 |     open func dataReceived(slice: ArraySlice<UInt8>) {
    |               |- warning: main actor-isolated instance method 'dataReceived(slice:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'dataReceived(slice:)' to make this instance method not isolated to the actor
176 |         feed (byteArray: slice)
177 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:22:10: note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
 20 |
 21 |     /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
 22 |     func dataReceived (slice: ArraySlice<UInt8>)
    |          `- note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
 23 |
 24 |     /// This method should return the window size to report to the local process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:182:15: warning: main actor-isolated instance method 'getWindowSize()' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
180 |      * Implements the LocalProcessDelegate.getWindowSize method
181 |      */
182 |     open func getWindowSize () -> winsize
    |               |- warning: main actor-isolated instance method 'getWindowSize()' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'getWindowSize()' to make this instance method not isolated to the actor
183 |     {
184 |         let f: CGRect = self.frame
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:25:10: note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
 23 |
 24 |     /// This method should return the window size to report to the local process.
 25 |     func getWindowSize () -> winsize
    |          `- note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:728:15: warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
  36 |  * defaults, otherwise, this uses its own set of defaults colors.
  37 |  */
  38 | open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, TerminalDelegate {
     |                                  `- note: add '@preconcurrency' to the 'NSTextInputClient' conformance to defer isolation checking to run time
  39 |     struct FontSet {
  40 |         public let normal: NSFont
     :
 726 |
 727 |     // NSTextInputClient protocol implementation
 728 |     open func insertText(_ string: Any, replacementRange: NSRange) {
     |               |- warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'insertText(_:replacementRange:)' to make this instance method not isolated to the actor
 729 |         if let str = string as? NSString {
 730 |             send (txt: str as String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:671:26: warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 669 |     }
 670 |
 671 |     public override func doCommand(by selector: Selector) {
     |                          |- warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |                          `- note: add 'nonisolated' to 'doCommand(by:)' to make this instance method not isolated to the actor
 672 |         switch selector {
 673 |         case #selector(insertNewline(_:)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:737:15: warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 735 |
 736 |     // NSTextInputClient protocol implementation
 737 |     open func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange) {
     |               |- warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'setMarkedText(_:selectedRange:replacementRange:)' to make this instance method not isolated to the actor
 738 |         // nothing
 739 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:742:15: warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 740 |
 741 |     // NSTextInputClient protocol implementation
 742 |     open func unmarkText() {
     |               |- warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'unmarkText()' to make this instance method not isolated to the actor
 743 |         // nothing
 744 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:747:15: warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 745 |
 746 |     // NSTextInputClient protocol implementation
 747 |     open func selectedRange() -> NSRange {
     |               |- warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'selectedRange()' to make this instance method not isolated to the actor
 748 |         guard let selection = self.selection, selection.active else {
 749 |             // This means "no selection":
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:766:15: warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 764 |
 765 |     // NSTextInputClient protocol implementation
 766 |     open func markedRange() -> NSRange {
     |               |- warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'markedRange()' to make this instance method not isolated to the actor
 767 |         print ("markedRange: This should return the actual range from the selection")
 768 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:774:15: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 772 |
 773 |     // NSTextInputClient protocol implementation
 774 |     open func hasMarkedText() -> Bool {
     |               |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
 775 |         // print ("hasMarkedText: This should return the actual range from the selection")
 776 |         // TODO
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:781:15: warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 779 |
 780 |     // NSTextInputClient protocol implementation
 781 |     open func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? {
     |               |- warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'attributedSubstring(forProposedRange:actualRange:)' to make this instance method not isolated to the actor
 782 |         print ("Attribuetd string")
 783 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:787:15: warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 785 |
 786 |     // NSTextInputClient Protocol implementation
 787 |     open func validAttributesForMarkedText() -> [NSAttributedString.Key] {
     |               |- warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'validAttributesForMarkedText()' to make this instance method not isolated to the actor
 788 |         // TODO print ("validAttributesForMarkedText: This should return the actual range from the selection")
 789 |         return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:793:15: warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 791 |
 792 |     // NSTextInputClient protocol implementation
 793 |     open func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect {
     |               |- warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'firstRect(forCharacterRange:actualRange:)' to make this instance method not isolated to the actor
 794 |         actualRange?.pointee = range
 795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:804:15: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 802 |
 803 |     // NSTextInputClient protocol implementation
 804 |     open func characterIndex(for point: NSPoint) -> Int {
     |               |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
 805 |         print ("characterIndex:for point: This should return the actual range from the selection")
 806 |         return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1176:15: warning: main actor-isolated instance method 'showCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
  36 |  * defaults, otherwise, this uses its own set of defaults colors.
  37 |  */
  38 | open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, TerminalDelegate {
     |                                                                                 `- note: add '@preconcurrency' to the 'TerminalDelegate' conformance to defer isolation checking to run time
  39 |     struct FontSet {
  40 |         public let normal: NSFont
     :
1174 |     }
1175 |
1176 |     open func showCursor(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'showCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'showCursor(source:)' to make this instance method not isolated to the actor
1177 |         if caretView.superview == nil {
1178 |             addSubview(caretView)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:22:10: note: mark the protocol requirement 'showCursor(source:)' 'async' to allow actor-isolated conformances
  20 |      * Invoked to request that the cursor be shown
  21 |      */
  22 |     func showCursor (source: Terminal)
     |          `- note: mark the protocol requirement 'showCursor(source:)' 'async' to allow actor-isolated conformances
  23 |
  24 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1182:15: warning: main actor-isolated instance method 'hideCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1180 |     }
1181 |
1182 |     open func hideCursor(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'hideCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'hideCursor(source:)' to make this instance method not isolated to the actor
1183 |         caretView.removeFromSuperview()
1184 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:27:10: note: mark the protocol requirement 'hideCursor(source:)' 'async' to allow actor-isolated conformances
  25 |      * Invoked to request that the cursor be shown
  26 |      */
  27 |     func hideCursor (source: Terminal)
     |          `- note: mark the protocol requirement 'hideCursor(source:)' 'async' to allow actor-isolated conformances
  28 |
  29 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1209:17: warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1207 |     }
1208 |
1209 |     public func setTerminalTitle(source: Terminal, title: String) {
     |                 |- warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setTerminalTitle(source:title:)' to make this instance method not isolated to the actor
1210 |         terminalDelegate?.setTerminalTitle(source: self, title: title)
1211 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:36:10: note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
  34 |      * The default implementation does nothing.
  35 |      */
  36 |     func setTerminalTitle (source: Terminal, title: String)
     |          `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
  37 |
  38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1228:17: warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1226 |     }
1227 |
1228 |     public func setTerminalIconTitle(source: Terminal, title: String) {
     |                 |- warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setTerminalIconTitle(source:title:)' to make this instance method not isolated to the actor
1229 |         //
1230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:45:10: note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
  43 |      * The default implementation does nothing.
  44 |      */
  45 |     func setTerminalIconTitle (source: Terminal, title: String)
     |          `- note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
  46 |
  47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1233:17: warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1231 |
1232 |     // Terminal.Delegate method implementation
1233 |     public func windowCommand(source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]? {
     |                 |- warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'windowCommand(source:command:)' to make this instance method not isolated to the actor
1234 |         return nil
1235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:58:10: note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
  56 |      */
  57 |     @discardableResult
  58 |     func windowCommand (source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]?
     |          `- note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
  59 |
  60 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1213:17: warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1211 |     }
1212 |
1213 |     public func sizeChanged(source: Terminal) {
     |                 |- warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'sizeChanged(source:)' to make this instance method not isolated to the actor
1214 |         terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1215 |         updateScroller ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:69:10: note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
  67 |      * The default implementation does nothing.
  68 |      */
  69 |     func sizeChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
  70 |
  71 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:336:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 334 |     }
 335 |
 336 |     open func send(source: Terminal, data: ArraySlice<UInt8>) {
     |               |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
 337 |         terminalDelegate?.send (source: self, data: data)
 338 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:75:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
  73 |      * documentation, this is the "host")
  74 |      */
  75 |     func send (source: Terminal, data: ArraySlice<UInt8>)
     |          `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
  76 |
  77 |     // callbacks
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:353:15: warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 351 |     }
 352 |
 353 |     open func scrolled(source terminal: Terminal, yDisp: Int) {
     |               |- warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'scrolled(source:yDisp:)' to make this instance method not isolated to the actor
 354 |         //selectionView.notifyScrolled(source: terminal)
 355 |         updateScroller()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:81:10: note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
  79 |     /// Callback - the window was scrolled, new yDisplay passed
  80 |     /// The default implementation does nothing.
  81 |     func scrolled (source: Terminal, yDisp: Int)
     |          `- note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
  82 |
  83 |     /// Callback a newline was generated
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:359:15: warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 357 |     }
 358 |
 359 |     open func linefeed(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'linefeed(source:)' to make this instance method not isolated to the actor
 360 |         selection.selectNone()
 361 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:85:10: note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
  83 |     /// Callback a newline was generated
  84 |     /// The default implementation does nothing.
  85 |     func linefeed (source: Terminal)
     |          `- note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
  86 |
  87 |     /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:332:15: warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 330 |     }
 331 |
 332 |     open func bufferActivated(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'bufferActivated(source:)' to make this instance method not isolated to the actor
 333 |         updateScroller ()
 334 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:89:10: note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
  87 |     /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
  88 |     /// The default implementation does nothing.
  89 |     func bufferActivated (source: Terminal)
     |          `- note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
  90 |
  91 |     /// Should raise the bell
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1191:15: warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1189 |     }
1190 |
1191 |     open func bell(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'bell(source:)' to make this instance method not isolated to the actor
1192 |         terminalDelegate?.bell (source: self)
1193 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:93:10: note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
  91 |     /// Should raise the bell
  92 |     /// The default implementation does nothing.
  93 |     func bell (source: Terminal)
     |          `- note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
  94 |
  95 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:838:15: warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 836 |     }
 837 |
 838 |     open func selectionChanged(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'selectionChanged(source:)' to make this instance method not isolated to the actor
 839 |         needsDisplay = true
 840 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:102:10: note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
 100 |      * The default implementation does nothing.
 101 |      */
 102 |     func selectionChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
 103 |
 104 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1195:17: warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1193 |     }
1194 |
1195 |     public func isProcessTrusted(source: Terminal) -> Bool {
     |                 |- warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'isProcessTrusted(source:)' to make this instance method not isolated to the actor
1196 |         true
1197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:111:10: note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
 109 |      * The default implementation returns `true`
 110 |      */
 111 |     func isProcessTrusted (source: Terminal) -> Bool
     |          `- note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
 112 |
 113 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1199:17: warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1197 |     }
1198 |
1199 |     public func mouseModeChanged(source: Terminal) {
     |                 |- warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'mouseModeChanged(source:)' to make this instance method not isolated to the actor
1200 |         if source.mouseMode == .anyEvent {
1201 |             startTracking()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:120:10: note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
 118 |      * The default implementation ignores the mouse change
 119 |      */
 120 |     func mouseModeChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
 121 |
 122 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1186:15: warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1184 |     }
1185 |
1186 |     open func cursorStyleChanged (source: Terminal, newStyle: CursorStyle) {
     |               |- warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'cursorStyleChanged(source:newStyle:)' to make this instance method not isolated to the actor
1187 |         caretView.style = newStyle
1188 |         updateCaretView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:126:10: note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
 124 |      * by client application.
 125 |      */
 126 |     func cursorStyleChanged (source: Terminal, newStyle: CursorStyle)
     |          `- note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
 127 |
 128 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:224:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 222 |     }
 223 |
 224 |     public func hostCurrentDirectoryUpdated (source: Terminal)
     |                 |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdated(source:)' to make this instance method not isolated to the actor
 225 |     {
 226 |         terminalDelegate?.hostCurrentDirectoryUpdate(source: self, directory: terminal.hostCurrentDirectory)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:135:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
 133 |      * The default implementaiton does nothing.
 134 |      */
 135 |     func hostCurrentDirectoryUpdated (source: Terminal)
     |          `- note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
 136 |
 137 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:243:17: warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 241 |     }
 242 |
 243 |     public func colorChanged (source: Terminal, idx: Int?)
     |                 |- warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'colorChanged(source:idx:)' to make this instance method not isolated to the actor
 244 |     {
 245 |         if let index = idx {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:151:10: note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
 149 |      * with the new values.   If the value of idx is nil, this means all the ansi colors changed
 150 |      */
 151 |     func colorChanged (source: Terminal, idx: Int?)
     |          `- note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
 152 |
 153 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:259:17: warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 257 |     }
 258 |
 259 |     public func setForegroundColor(source: Terminal, color: Color) {
     |                 |- warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setForegroundColor(source:color:)' to make this instance method not isolated to the actor
 260 |         nativeForegroundColor = TTColor.make (color: color)
 261 |         colorsChanged()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:156:10: note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
 154 |      * The view should try to set the foreground color to the provided color
 155 |      */
 156 |     func setForegroundColor (source: Terminal, color: Color)
     |          `- note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
 157 |
 158 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:253:17: warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 251 |     }
 252 |
 253 |     public func setBackgroundColor(source: Terminal, color: Color) {
     |                 |- warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setBackgroundColor(source:color:)' to make this instance method not isolated to the actor
 254 |         // Can not implement this until I change the color to not be this struct
 255 |         nativeBackgroundColor = TTColor.make (color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:161:10: note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
 159 |      * The view should try to set the background color to the provided color
 160 |      */
 161 |     func setBackgroundColor (source: Terminal, color: Color)
     |          `- note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
 162 |
 163 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1237:17: warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1235 |     }
1236 |
1237 |     public func iTermContent (source: Terminal, content: ArraySlice<UInt8>) {
     |                 |- warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'iTermContent(source:content:)' to make this instance method not isolated to the actor
1238 |         terminalDelegate?.iTermContent(source: self, content: content)
1239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:180:10: note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
 178 |      * The default implementaiton does nothing.
 179 |      */
 180 |     func iTermContent (source: Terminal, content: ArraySlice<UInt8>)
     |          `- note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
 181 |
 182 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1204:17: warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1202 |     }
1203 |
1204 |     public func createImageFromBitmap(source: Terminal, bytes: inout [UInt8], width: Int, height: Int) {
     |                 |- warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'createImageFromBitmap(source:bytes:width:height:)' to make this instance method not isolated to the actor
1205 |         let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1206 |         let bitmapInfo: CGBitmapInfo = CGBitmapInfo(rawValue: CGImageAlphaInfo.premultipliedLast.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:214:10: note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
 212 |      *  - height: the height in pixels of the image
 213 |      */
 214 |     func createImageFromBitmap (source: Terminal, bytes: inout [UInt8], width: Int, height: Int)
     |          `- note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
 215 |
 216 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1223:17: warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1221 |     }
1222 |
1223 |     public func createImage (source: Terminal, data: Data, width widthRequest: ImageSizeRequest, height heightRequest: ImageSizeRequest, preserveAspectRatio: Bool)
     |                 |- warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'createImage(source:data:width:height:preserveAspectRatio:)' to make this instance method not isolated to the actor
1224 |     {
1225 |         guard let img = TTImage(data: data) else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:227:10: note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
 225 |      *  - preserveAspectRatio: if set, one of the dimensions will track the hardcoded setting set for the other.
 226 |      */
 227 |     func createImage (source: Terminal, data: Data, width: ImageSizeRequest, height: ImageSizeRequest, preserveAspectRatio: Bool)
     |          `- note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
 228 | }
 229 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:195:28: warning: call to main actor-isolated instance method 'updateCursorStyle()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 193 |     func setupFocusNotification() {
 194 |         becomeMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidBecomeMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 195 |             self.caretView.updateCursorStyle()
     |                            `- warning: call to main actor-isolated instance method 'updateCursorStyle()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:54:10: note: calls to instance method 'updateCursorStyle()' from outside of its actor context are implicitly asynchronous
 52 |     }
 53 |
 54 |     func updateCursorStyle () {
    |          |- note: calls to instance method 'updateCursorStyle()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 55 |         switch style {
 56 |         case .blinkUnderline, .blinkBlock, .blinkBar:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:195:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 193 |     func setupFocusNotification() {
 194 |         becomeMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidBecomeMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 195 |             self.caretView.updateCursorStyle()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:198:28: warning: call to main actor-isolated instance method 'disableAnimations()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
     |                            `- warning: call to main actor-isolated instance method 'disableAnimations()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 199 |             self.caretView.updateView()
 200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:79:10: note: calls to instance method 'disableAnimations()' from outside of its actor context are implicitly asynchronous
 77 |     }
 78 |
 79 |     func disableAnimations () {
    |          |- note: calls to instance method 'disableAnimations()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 80 |         layer?.removeAllAnimations()
 81 |         layer?.opacity = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:198:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 199 |             self.caretView.updateView()
 200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:199:28: warning: call to main actor-isolated instance method 'updateView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
 199 |             self.caretView.updateView()
     |                            `- warning: call to main actor-isolated instance method 'updateView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 200 |         }
 201 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:106:10: note: calls to instance method 'updateView()' from outside of its actor context are implicitly asynchronous
104 |     }
105 |
106 |     func updateView() {
    |          |- note: calls to instance method 'updateView()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
107 |         setNeedsDisplay(bounds)
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:199:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
 199 |             self.caretView.updateView()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 200 |         }
 201 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:185:9: warning: cannot access property 'becomeMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 183 |
 184 |     deinit {
 185 |         if let becomeMainObserver {
     |         `- warning: cannot access property 'becomeMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 186 |             NotificationCenter.default.removeObserver (becomeMainObserver)
 187 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 13 | @class NSString, NSMethodSignature, NSInvocation;
 14 |
 15 | @protocol NSObject
    |           `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 16 |
 17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
  11 |
  12 | #if os(macOS)
  13 | import Foundation
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
  14 | import AppKit
  15 | import CoreText
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:188:9: warning: cannot access property 'resignMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 186 |             NotificationCenter.default.removeObserver (becomeMainObserver)
 187 |         }
 188 |         if let resignMainObserver {
     |         `- warning: cannot access property 'resignMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 189 |             NotificationCenter.default.removeObserver (resignMainObserver)
 190 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 13 | @class NSString, NSMethodSignature, NSInvocation;
 14 |
 15 | @protocol NSObject
    |           `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 16 |
 17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:97:17: warning: main actor-isolated instance method 'sizeChanged(source:newCols:newRows:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
 65 |  * subclass this and override the methods
 66 |  */
 67 | open class LocalProcessTerminalView: TerminalView, TerminalViewDelegate, LocalProcessDelegate {
    |                                                    `- note: add '@preconcurrency' to the 'TerminalViewDelegate' conformance to defer isolation checking to run time
 68 |
 69 |     var process: LocalProcess!
    :
 95 |      * This method is invoked to notify the client of the new columsn and rows that have been set by the UI
 96 |      */
 97 |     public func sizeChanged(source: TerminalView, newCols: Int, newRows: Int) {
    |                 |- warning: main actor-isolated instance method 'sizeChanged(source:newCols:newRows:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'sizeChanged(source:newCols:newRows:)' to make this instance method not isolated to the actor
 98 |         guard process.running else {
 99 |             return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:21:10: note: mark the protocol requirement 'sizeChanged(source:newCols:newRows:)' 'async' to allow actor-isolated conformances
19 |      * it is a rare feature and you most likely can ignore this request.
20 |      */
21 |     func sizeChanged (source: TerminalView, newCols: Int, newRows: Int)
   |          `- note: mark the protocol requirement 'sizeChanged(source:newCols:newRows:)' 'async' to allow actor-isolated conformances
22 |
23 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:118:17: warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
116 |      * Invoke this method to notify the processDelegate of the new title for the terminal window
117 |      */
118 |     public func setTerminalTitle(source: TerminalView, title: String) {
    |                 |- warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'setTerminalTitle(source:title:)' to make this instance method not isolated to the actor
119 |         processDelegate?.setTerminalTitle (source: self, title: title)
120 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:26:10: note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
24 |      * Request to change the title of the terminal.
25 |      */
26 |     func setTerminalTitle(source: TerminalView, title: String)
   |          `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
27 |
28 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:122:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdate(source:directory:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
120 |     }
121 |
122 |     public func hostCurrentDirectoryUpdate(source: TerminalView, directory: String?) {
    |                 |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdate(source:directory:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdate(source:directory:)' to make this instance method not isolated to the actor
123 |         processDelegate?.hostCurrentDirectoryUpdate(source: source, directory: directory)
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:31:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdate(source:directory:)' 'async' to allow actor-isolated conformances
29 |      * Invoked when the OSC command 7 for "current directory has changed" command is sent
30 |      */
31 |     func hostCurrentDirectoryUpdate (source: TerminalView, directory: String?)
   |          `- note: mark the protocol requirement 'hostCurrentDirectoryUpdate(source:directory:)' 'async' to allow actor-isolated conformances
32 |
33 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:131:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
129 |      * Implementation of the TerminalViewDelegate method
130 |      */
131 |     open func send(source: TerminalView, data: ArraySlice<UInt8>)
    |               |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
132 |     {
133 |         process.send (data: data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:37:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
35 |      * - Parameter data: Slice of data that should be sent
36 |      */
37 |     func send (source: TerminalView, data: ArraySlice<UInt8>)
   |          `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
38 |
39 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:145:15: warning: main actor-isolated instance method 'scrolled(source:position:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
143 |
144 |     /// Implementation of the TerminalViewDelegate method
145 |     open func scrolled(source: TerminalView, position: Double) {
    |               |- warning: main actor-isolated instance method 'scrolled(source:position:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'scrolled(source:position:)' to make this instance method not isolated to the actor
146 |         // noting
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:43:10: note: mark the protocol requirement 'scrolled(source:position:)' 'async' to allow actor-isolated conformances
41 |      * - Parameter position: the relative position that the code was scrolled to, a value between 0 and 1
42 |      */
43 |     func scrolled (source: TerminalView, position: Double)
   |          `- note: mark the protocol requirement 'scrolled(source:position:)' 'async' to allow actor-isolated conformances
44 |
45 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:107:17: warning: main actor-isolated instance method 'clipboardCopy(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
105 |     }
106 |
107 |     public func clipboardCopy(source: TerminalView, content: Data) {
    |                 |- warning: main actor-isolated instance method 'clipboardCopy(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'clipboardCopy(source:content:)' to make this instance method not isolated to the actor
108 |         if let str = String (bytes: content, encoding: .utf8) {
109 |             let pasteBoard = NSPasteboard.general
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:72:10: note: mark the protocol requirement 'clipboardCopy(source:content:)' 'async' to allow actor-isolated conformances
70 |      * The default implementation does nothing.
71 |      */
72 |     func clipboardCopy(source: TerminalView, content: Data)
   |          `- note: mark the protocol requirement 'clipboardCopy(source:content:)' 'async' to allow actor-isolated conformances
73 |
74 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:149:15: warning: main actor-isolated instance method 'rangeChanged(source:startY:endY:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
147 |     }
148 |
149 |     open func rangeChanged(source: TerminalView, startY: Int, endY: Int) {
    |               |- warning: main actor-isolated instance method 'rangeChanged(source:startY:endY:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'rangeChanged(source:startY:endY:)' to make this instance method not isolated to the actor
150 |         //
151 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:86:10: note: mark the protocol requirement 'rangeChanged(source:startY:endY:)' 'async' to allow actor-isolated conformances
84 |      * the `notifyUpdateChanges` variable is set to true.
85 |      */
86 |     func rangeChanged (source: TerminalView, startY: Int, endY: Int)
   |          `- note: mark the protocol requirement 'rangeChanged(source:startY:endY:)' 'async' to allow actor-isolated conformances
87 |
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:168:15: warning: main actor-isolated instance method 'processTerminated(_:exitCode:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
 65 |  * subclass this and override the methods
 66 |  */
 67 | open class LocalProcessTerminalView: TerminalView, TerminalViewDelegate, LocalProcessDelegate {
    |                                                                          `- note: add '@preconcurrency' to the 'LocalProcessDelegate' conformance to defer isolation checking to run time
 68 |
 69 |     var process: LocalProcess!
    :
166 |      * Implements the LocalProcessDelegate method.
167 |      */
168 |     open func processTerminated(_ source: LocalProcess, exitCode: Int32?) {
    |               |- warning: main actor-isolated instance method 'processTerminated(_:exitCode:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'processTerminated(_:exitCode:)' to make this instance method not isolated to the actor
169 |         processDelegate?.processTerminated(source: self, exitCode: exitCode)
170 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:19:10: note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
 17 |     /// - Parameter source: the local process that terminated
 18 |     /// - Parameter exitCode: the exit code returned by the process, or nil if this was an error caused during the IO reading/writing
 19 |     func processTerminated (_ source: LocalProcess, exitCode: Int32?)
    |          `- note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
 20 |
 21 |     /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:175:15: warning: main actor-isolated instance method 'dataReceived(slice:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
173 |      * Implements the LocalProcessDelegate.dataReceived method
174 |      */
175 |     open func dataReceived(slice: ArraySlice<UInt8>) {
    |               |- warning: main actor-isolated instance method 'dataReceived(slice:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'dataReceived(slice:)' to make this instance method not isolated to the actor
176 |         feed (byteArray: slice)
177 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:22:10: note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
 20 |
 21 |     /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
 22 |     func dataReceived (slice: ArraySlice<UInt8>)
    |          `- note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
 23 |
 24 |     /// This method should return the window size to report to the local process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:182:15: warning: main actor-isolated instance method 'getWindowSize()' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
180 |      * Implements the LocalProcessDelegate.getWindowSize method
181 |      */
182 |     open func getWindowSize () -> winsize
    |               |- warning: main actor-isolated instance method 'getWindowSize()' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'getWindowSize()' to make this instance method not isolated to the actor
183 |     {
184 |         let f: CGRect = self.frame
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:25:10: note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
 23 |
 24 |     /// This method should return the window size to report to the local process.
 25 |     func getWindowSize () -> winsize
    |          `- note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:728:15: warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
  36 |  * defaults, otherwise, this uses its own set of defaults colors.
  37 |  */
  38 | open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, TerminalDelegate {
     |                                  `- note: add '@preconcurrency' to the 'NSTextInputClient' conformance to defer isolation checking to run time
  39 |     struct FontSet {
  40 |         public let normal: NSFont
     :
 726 |
 727 |     // NSTextInputClient protocol implementation
 728 |     open func insertText(_ string: Any, replacementRange: NSRange) {
     |               |- warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'insertText(_:replacementRange:)' to make this instance method not isolated to the actor
 729 |         if let str = string as? NSString {
 730 |             send (txt: str as String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:671:26: warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 669 |     }
 670 |
 671 |     public override func doCommand(by selector: Selector) {
     |                          |- warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |                          `- note: add 'nonisolated' to 'doCommand(by:)' to make this instance method not isolated to the actor
 672 |         switch selector {
 673 |         case #selector(insertNewline(_:)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:737:15: warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 735 |
 736 |     // NSTextInputClient protocol implementation
 737 |     open func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange) {
     |               |- warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'setMarkedText(_:selectedRange:replacementRange:)' to make this instance method not isolated to the actor
 738 |         // nothing
 739 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:742:15: warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 740 |
 741 |     // NSTextInputClient protocol implementation
 742 |     open func unmarkText() {
     |               |- warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'unmarkText()' to make this instance method not isolated to the actor
 743 |         // nothing
 744 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:747:15: warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 745 |
 746 |     // NSTextInputClient protocol implementation
 747 |     open func selectedRange() -> NSRange {
     |               |- warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'selectedRange()' to make this instance method not isolated to the actor
 748 |         guard let selection = self.selection, selection.active else {
 749 |             // This means "no selection":
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:766:15: warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 764 |
 765 |     // NSTextInputClient protocol implementation
 766 |     open func markedRange() -> NSRange {
     |               |- warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'markedRange()' to make this instance method not isolated to the actor
 767 |         print ("markedRange: This should return the actual range from the selection")
 768 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:774:15: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 772 |
 773 |     // NSTextInputClient protocol implementation
 774 |     open func hasMarkedText() -> Bool {
     |               |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
 775 |         // print ("hasMarkedText: This should return the actual range from the selection")
 776 |         // TODO
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:781:15: warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 779 |
 780 |     // NSTextInputClient protocol implementation
 781 |     open func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? {
     |               |- warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'attributedSubstring(forProposedRange:actualRange:)' to make this instance method not isolated to the actor
 782 |         print ("Attribuetd string")
 783 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:787:15: warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 785 |
 786 |     // NSTextInputClient Protocol implementation
 787 |     open func validAttributesForMarkedText() -> [NSAttributedString.Key] {
     |               |- warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'validAttributesForMarkedText()' to make this instance method not isolated to the actor
 788 |         // TODO print ("validAttributesForMarkedText: This should return the actual range from the selection")
 789 |         return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:793:15: warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 791 |
 792 |     // NSTextInputClient protocol implementation
 793 |     open func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect {
     |               |- warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'firstRect(forCharacterRange:actualRange:)' to make this instance method not isolated to the actor
 794 |         actualRange?.pointee = range
 795 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:804:15: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
 802 |
 803 |     // NSTextInputClient protocol implementation
 804 |     open func characterIndex(for point: NSPoint) -> Int {
     |               |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
 805 |         print ("characterIndex:for point: This should return the actual range from the selection")
 806 |         return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1176:15: warning: main actor-isolated instance method 'showCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
  36 |  * defaults, otherwise, this uses its own set of defaults colors.
  37 |  */
  38 | open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, TerminalDelegate {
     |                                                                                 `- note: add '@preconcurrency' to the 'TerminalDelegate' conformance to defer isolation checking to run time
  39 |     struct FontSet {
  40 |         public let normal: NSFont
     :
1174 |     }
1175 |
1176 |     open func showCursor(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'showCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'showCursor(source:)' to make this instance method not isolated to the actor
1177 |         if caretView.superview == nil {
1178 |             addSubview(caretView)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:22:10: note: mark the protocol requirement 'showCursor(source:)' 'async' to allow actor-isolated conformances
  20 |      * Invoked to request that the cursor be shown
  21 |      */
  22 |     func showCursor (source: Terminal)
     |          `- note: mark the protocol requirement 'showCursor(source:)' 'async' to allow actor-isolated conformances
  23 |
  24 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1182:15: warning: main actor-isolated instance method 'hideCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1180 |     }
1181 |
1182 |     open func hideCursor(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'hideCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'hideCursor(source:)' to make this instance method not isolated to the actor
1183 |         caretView.removeFromSuperview()
1184 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:27:10: note: mark the protocol requirement 'hideCursor(source:)' 'async' to allow actor-isolated conformances
  25 |      * Invoked to request that the cursor be shown
  26 |      */
  27 |     func hideCursor (source: Terminal)
     |          `- note: mark the protocol requirement 'hideCursor(source:)' 'async' to allow actor-isolated conformances
  28 |
  29 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1209:17: warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1207 |     }
1208 |
1209 |     public func setTerminalTitle(source: Terminal, title: String) {
     |                 |- warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setTerminalTitle(source:title:)' to make this instance method not isolated to the actor
1210 |         terminalDelegate?.setTerminalTitle(source: self, title: title)
1211 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:36:10: note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
  34 |      * The default implementation does nothing.
  35 |      */
  36 |     func setTerminalTitle (source: Terminal, title: String)
     |          `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
  37 |
  38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1228:17: warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1226 |     }
1227 |
1228 |     public func setTerminalIconTitle(source: Terminal, title: String) {
     |                 |- warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setTerminalIconTitle(source:title:)' to make this instance method not isolated to the actor
1229 |         //
1230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:45:10: note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
  43 |      * The default implementation does nothing.
  44 |      */
  45 |     func setTerminalIconTitle (source: Terminal, title: String)
     |          `- note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
  46 |
  47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1233:17: warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1231 |
1232 |     // Terminal.Delegate method implementation
1233 |     public func windowCommand(source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]? {
     |                 |- warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'windowCommand(source:command:)' to make this instance method not isolated to the actor
1234 |         return nil
1235 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:58:10: note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
  56 |      */
  57 |     @discardableResult
  58 |     func windowCommand (source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]?
     |          `- note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
  59 |
  60 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1213:17: warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1211 |     }
1212 |
1213 |     public func sizeChanged(source: Terminal) {
     |                 |- warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'sizeChanged(source:)' to make this instance method not isolated to the actor
1214 |         terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1215 |         updateScroller ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:69:10: note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
  67 |      * The default implementation does nothing.
  68 |      */
  69 |     func sizeChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
  70 |
  71 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:336:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 334 |     }
 335 |
 336 |     open func send(source: Terminal, data: ArraySlice<UInt8>) {
     |               |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
 337 |         terminalDelegate?.send (source: self, data: data)
 338 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:75:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
  73 |      * documentation, this is the "host")
  74 |      */
  75 |     func send (source: Terminal, data: ArraySlice<UInt8>)
     |          `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
  76 |
  77 |     // callbacks
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:353:15: warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 351 |     }
 352 |
 353 |     open func scrolled(source terminal: Terminal, yDisp: Int) {
     |               |- warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'scrolled(source:yDisp:)' to make this instance method not isolated to the actor
 354 |         //selectionView.notifyScrolled(source: terminal)
 355 |         updateScroller()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:81:10: note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
  79 |     /// Callback - the window was scrolled, new yDisplay passed
  80 |     /// The default implementation does nothing.
  81 |     func scrolled (source: Terminal, yDisp: Int)
     |          `- note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
  82 |
  83 |     /// Callback a newline was generated
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:359:15: warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 357 |     }
 358 |
 359 |     open func linefeed(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'linefeed(source:)' to make this instance method not isolated to the actor
 360 |         selection.selectNone()
 361 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:85:10: note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
  83 |     /// Callback a newline was generated
  84 |     /// The default implementation does nothing.
  85 |     func linefeed (source: Terminal)
     |          `- note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
  86 |
  87 |     /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:332:15: warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 330 |     }
 331 |
 332 |     open func bufferActivated(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'bufferActivated(source:)' to make this instance method not isolated to the actor
 333 |         updateScroller ()
 334 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:89:10: note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
  87 |     /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
  88 |     /// The default implementation does nothing.
  89 |     func bufferActivated (source: Terminal)
     |          `- note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
  90 |
  91 |     /// Should raise the bell
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1191:15: warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1189 |     }
1190 |
1191 |     open func bell(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'bell(source:)' to make this instance method not isolated to the actor
1192 |         terminalDelegate?.bell (source: self)
1193 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:93:10: note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
  91 |     /// Should raise the bell
  92 |     /// The default implementation does nothing.
  93 |     func bell (source: Terminal)
     |          `- note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
  94 |
  95 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:838:15: warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 836 |     }
 837 |
 838 |     open func selectionChanged(source: Terminal) {
     |               |- warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'selectionChanged(source:)' to make this instance method not isolated to the actor
 839 |         needsDisplay = true
 840 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:102:10: note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
 100 |      * The default implementation does nothing.
 101 |      */
 102 |     func selectionChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
 103 |
 104 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1195:17: warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1193 |     }
1194 |
1195 |     public func isProcessTrusted(source: Terminal) -> Bool {
     |                 |- warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'isProcessTrusted(source:)' to make this instance method not isolated to the actor
1196 |         true
1197 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:111:10: note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
 109 |      * The default implementation returns `true`
 110 |      */
 111 |     func isProcessTrusted (source: Terminal) -> Bool
     |          `- note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
 112 |
 113 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1199:17: warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1197 |     }
1198 |
1199 |     public func mouseModeChanged(source: Terminal) {
     |                 |- warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'mouseModeChanged(source:)' to make this instance method not isolated to the actor
1200 |         if source.mouseMode == .anyEvent {
1201 |             startTracking()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:120:10: note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
 118 |      * The default implementation ignores the mouse change
 119 |      */
 120 |     func mouseModeChanged (source: Terminal)
     |          `- note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
 121 |
 122 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1186:15: warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1184 |     }
1185 |
1186 |     open func cursorStyleChanged (source: Terminal, newStyle: CursorStyle) {
     |               |- warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'cursorStyleChanged(source:newStyle:)' to make this instance method not isolated to the actor
1187 |         caretView.style = newStyle
1188 |         updateCaretView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:126:10: note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
 124 |      * by client application.
 125 |      */
 126 |     func cursorStyleChanged (source: Terminal, newStyle: CursorStyle)
     |          `- note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
 127 |
 128 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:224:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 222 |     }
 223 |
 224 |     public func hostCurrentDirectoryUpdated (source: Terminal)
     |                 |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdated(source:)' to make this instance method not isolated to the actor
 225 |     {
 226 |         terminalDelegate?.hostCurrentDirectoryUpdate(source: self, directory: terminal.hostCurrentDirectory)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:135:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
 133 |      * The default implementaiton does nothing.
 134 |      */
 135 |     func hostCurrentDirectoryUpdated (source: Terminal)
     |          `- note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
 136 |
 137 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:243:17: warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 241 |     }
 242 |
 243 |     public func colorChanged (source: Terminal, idx: Int?)
     |                 |- warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'colorChanged(source:idx:)' to make this instance method not isolated to the actor
 244 |     {
 245 |         if let index = idx {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:151:10: note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
 149 |      * with the new values.   If the value of idx is nil, this means all the ansi colors changed
 150 |      */
 151 |     func colorChanged (source: Terminal, idx: Int?)
     |          `- note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
 152 |
 153 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:259:17: warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 257 |     }
 258 |
 259 |     public func setForegroundColor(source: Terminal, color: Color) {
     |                 |- warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setForegroundColor(source:color:)' to make this instance method not isolated to the actor
 260 |         nativeForegroundColor = TTColor.make (color: color)
 261 |         colorsChanged()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:156:10: note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
 154 |      * The view should try to set the foreground color to the provided color
 155 |      */
 156 |     func setForegroundColor (source: Terminal, color: Color)
     |          `- note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
 157 |
 158 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:253:17: warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
 251 |     }
 252 |
 253 |     public func setBackgroundColor(source: Terminal, color: Color) {
     |                 |- warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'setBackgroundColor(source:color:)' to make this instance method not isolated to the actor
 254 |         // Can not implement this until I change the color to not be this struct
 255 |         nativeBackgroundColor = TTColor.make (color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:161:10: note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
 159 |      * The view should try to set the background color to the provided color
 160 |      */
 161 |     func setBackgroundColor (source: Terminal, color: Color)
     |          `- note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
 162 |
 163 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1237:17: warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1235 |     }
1236 |
1237 |     public func iTermContent (source: Terminal, content: ArraySlice<UInt8>) {
     |                 |- warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'iTermContent(source:content:)' to make this instance method not isolated to the actor
1238 |         terminalDelegate?.iTermContent(source: self, content: content)
1239 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:180:10: note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
 178 |      * The default implementaiton does nothing.
 179 |      */
 180 |     func iTermContent (source: Terminal, content: ArraySlice<UInt8>)
     |          `- note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
 181 |
 182 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1204:17: warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1202 |     }
1203 |
1204 |     public func createImageFromBitmap(source: Terminal, bytes: inout [UInt8], width: Int, height: Int) {
     |                 |- warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'createImageFromBitmap(source:bytes:width:height:)' to make this instance method not isolated to the actor
1205 |         let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1206 |         let bitmapInfo: CGBitmapInfo = CGBitmapInfo(rawValue: CGImageAlphaInfo.premultipliedLast.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:214:10: note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
 212 |      *  - height: the height in pixels of the image
 213 |      */
 214 |     func createImageFromBitmap (source: Terminal, bytes: inout [UInt8], width: Int, height: Int)
     |          `- note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
 215 |
 216 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1223:17: warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1221 |     }
1222 |
1223 |     public func createImage (source: Terminal, data: Data, width widthRequest: ImageSizeRequest, height heightRequest: ImageSizeRequest, preserveAspectRatio: Bool)
     |                 |- warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
     |                 `- note: add 'nonisolated' to 'createImage(source:data:width:height:preserveAspectRatio:)' to make this instance method not isolated to the actor
1224 |     {
1225 |         guard let img = TTImage(data: data) else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:227:10: note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
 225 |      *  - preserveAspectRatio: if set, one of the dimensions will track the hardcoded setting set for the other.
 226 |      */
 227 |     func createImage (source: Terminal, data: Data, width: ImageSizeRequest, height: ImageSizeRequest, preserveAspectRatio: Bool)
     |          `- note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
 228 | }
 229 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:195:28: warning: call to main actor-isolated instance method 'updateCursorStyle()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 193 |     func setupFocusNotification() {
 194 |         becomeMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidBecomeMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 195 |             self.caretView.updateCursorStyle()
     |                            `- warning: call to main actor-isolated instance method 'updateCursorStyle()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:54:10: note: calls to instance method 'updateCursorStyle()' from outside of its actor context are implicitly asynchronous
 52 |     }
 53 |
 54 |     func updateCursorStyle () {
    |          |- note: calls to instance method 'updateCursorStyle()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 55 |         switch style {
 56 |         case .blinkUnderline, .blinkBlock, .blinkBar:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:195:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 193 |     func setupFocusNotification() {
 194 |         becomeMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidBecomeMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 195 |             self.caretView.updateCursorStyle()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:198:28: warning: call to main actor-isolated instance method 'disableAnimations()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
     |                            `- warning: call to main actor-isolated instance method 'disableAnimations()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 199 |             self.caretView.updateView()
 200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:79:10: note: calls to instance method 'disableAnimations()' from outside of its actor context are implicitly asynchronous
 77 |     }
 78 |
 79 |     func disableAnimations () {
    |          |- note: calls to instance method 'disableAnimations()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 80 |         layer?.removeAllAnimations()
 81 |         layer?.opacity = 1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:198:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 196 |         }
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 199 |             self.caretView.updateView()
 200 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:199:28: warning: call to main actor-isolated instance method 'updateView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
 199 |             self.caretView.updateView()
     |                            `- warning: call to main actor-isolated instance method 'updateView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 200 |         }
 201 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:106:10: note: calls to instance method 'updateView()' from outside of its actor context are implicitly asynchronous
104 |     }
105 |
106 |     func updateView() {
    |          |- note: calls to instance method 'updateView()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
107 |         setNeedsDisplay(bounds)
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:199:18: warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  93 |
  94 |     var cellDimension: CellDimension!
  95 |     var caretView: CaretView!
     |         `- note: property declared here
  96 |     public var terminal: Terminal!
  97 |
     :
 197 |         resignMainObserver = NotificationCenter.default.addObserver(forName: .init("NSWindowDidResignMainNotification"), object: nil, queue: nil) { [unowned self] notification in
 198 |             self.caretView.disableAnimations()
 199 |             self.caretView.updateView()
     |                  `- warning: main actor-isolated property 'caretView' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 200 |         }
 201 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:185:9: warning: cannot access property 'becomeMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 183 |
 184 |     deinit {
 185 |         if let becomeMainObserver {
     |         `- warning: cannot access property 'becomeMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 186 |             NotificationCenter.default.removeObserver (becomeMainObserver)
 187 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 13 | @class NSString, NSMethodSignature, NSInvocation;
 14 |
 15 | @protocol NSObject
    |           `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 16 |
 17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
  11 |
  12 | #if os(macOS)
  13 | import Foundation
     | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
  14 | import AppKit
  15 | import CoreText
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:188:9: warning: cannot access property 'resignMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 186 |             NotificationCenter.default.removeObserver (becomeMainObserver)
 187 |         }
 188 |         if let resignMainObserver {
     |         `- warning: cannot access property 'resignMainObserver' with a non-sendable type '(any NSObjectProtocol)?' from nonisolated deinit; this is an error in the Swift 6 language mode
 189 |             NotificationCenter.default.removeObserver (resignMainObserver)
 190 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:15:11: note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 13 | @class NSString, NSMethodSignature, NSInvocation;
 14 |
 15 | @protocol NSObject
    |           `- note: protocol 'NSObjectProtocol' does not conform to the 'Sendable' protocol
 16 |
 17 | - (BOOL)isEqual:(id)object;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5044:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5042 |     }
5043 |
5044 |     static var matchColorCache : [Int:Int] = [:]
     |                |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5045 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5046 |     {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// Configuration options for the terminal at startup, these values are only read at startup
42 | public struct TerminalOptions {
   |               `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
43 |     /// Desired number of columns at startup (default 80)
44 |     public var cols: Int
   :
61 |
62 |     /// Default options
63 |     public static let `default` = TerminalOptions.init(cols: 80,
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |                                                        rows: 25,
65 |                                                        convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     static let s7: UInt8 = 0x44 // accept 4, size 4
 38 |
 39 |     private static var first : [UInt8] =  [
    |                        |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         //   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F
 41 |         a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5044:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5042 |     }
5043 |
5044 |     static var matchColorCache : [Int:Int] = [:]
     |                |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5045 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5046 |     {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// Configuration options for the terminal at startup, these values are only read at startup
42 | public struct TerminalOptions {
   |               `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
43 |     /// Desired number of columns at startup (default 80)
44 |     public var cols: Int
   :
61 |
62 |     /// Default options
63 |     public static let `default` = TerminalOptions.init(cols: 80,
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |                                                        rows: 25,
65 |                                                        convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     static let s7: UInt8 = 0x44 // accept 4, size 4
 38 |
 39 |     private static var first : [UInt8] =  [
    |                        |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         //   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F
 41 |         a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5044:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5042 |     }
5043 |
5044 |     static var matchColorCache : [Int:Int] = [:]
     |                |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5045 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5046 |     {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// Configuration options for the terminal at startup, these values are only read at startup
42 | public struct TerminalOptions {
   |               `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
43 |     /// Desired number of columns at startup (default 80)
44 |     public var cols: Int
   :
61 |
62 |     /// Default options
63 |     public static let `default` = TerminalOptions.init(cols: 80,
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |                                                        rows: 25,
65 |                                                        convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     static let s7: UInt8 = 0x44 // accept 4, size 4
 38 |
 39 |     private static var first : [UInt8] =  [
    |                        |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         //   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F
 41 |         a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5044:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5042 |     }
5043 |
5044 |     static var matchColorCache : [Int:Int] = [:]
     |                |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5045 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5046 |     {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// Configuration options for the terminal at startup, these values are only read at startup
42 | public struct TerminalOptions {
   |               `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
43 |     /// Desired number of columns at startup (default 80)
44 |     public var cols: Int
   :
61 |
62 |     /// Default options
63 |     public static let `default` = TerminalOptions.init(cols: 80,
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |                                                        rows: 25,
65 |                                                        convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     static let s7: UInt8 = 0x44 // accept 4, size 4
 38 |
 39 |     private static var first : [UInt8] =  [
    |                        |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |         //   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F
 41 |         a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
[104/116] Compiling SwiftTermFuzz main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTermFuzz/main.swift:23:38: error: main actor-isolated var 'queue' can not be referenced from a nonisolated context
16 | import SwiftTerm
17 |
18 | var queue = DispatchQueue(label: "Runner", qos: .userInteractive, attributes: .concurrent, autoreleaseFrequency: .inherit, target: nil)
   |     `- note: var declared here
19 |
20 | // Fuzzer entry point
21 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<UInt8>, length: CInt) -> CInt{
   |                                               `- note: add '@MainActor' to make global function 'fuzzMe(data:length:)' part of global actor 'MainActor'
22 |
23 |     let h = HeadlessTerminal (queue: queue) { exitCode in }
   |                                      `- error: main actor-isolated var 'queue' can not be referenced from a nonisolated context
24 |
25 |     let t = h.terminal!
[105/116] Emitting module SwiftTermFuzz
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/README.md
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-2F0A5646E1D333AE.txt
[4/48] Emitting module ArgumentParserToolInfo
[5/48] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/94] Compiling ArgumentParser SequenceExtensions.swift
[7/94] Compiling ArgumentParser StringExtensions.swift
[8/94] Compiling ArgumentParser SwiftExtensions.swift
[9/94] Compiling ArgumentParser Tree.swift
[10/94] Compiling ArgumentParser CodingKeyValidator.swift
[11/98] Emitting module ArgumentParser
[12/98] Emitting module SwiftTerm
[13/102] Compiling ArgumentParser MessageInfo.swift
[14/102] Compiling SwiftTerm iOSKeyboardView.swift
[15/102] Compiling SwiftTerm iOSTerminalView.swift
[16/102] Compiling SwiftTerm iOSTextInput.swift
[17/102] Compiling SwiftTerm iOSTextStorage.swift
[18/102] Compiling ArgumentParser NonsenseFlagsValidator.swift
[19/102] Compiling ArgumentParser ParsableArgumentsValidation.swift
[20/102] Compiling ArgumentParser PositionalArgumentsValidator.swift
[21/102] Compiling ArgumentParser UniqueNamesValidator.swift
[22/102] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/102] Compiling ArgumentParser CompletionsGenerator.swift
[24/102] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/102] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/102] Compiling ArgumentParser Argument.swift
[35/102] Compiling ArgumentParser InputKey.swift
[36/102] Compiling ArgumentParser InputOrigin.swift
[37/102] Compiling ArgumentParser Name.swift
[38/102] Compiling ArgumentParser Parsed.swift
[39/102] Compiling ArgumentParser ParsedValues.swift
[40/102] Compiling ArgumentParser ParserError.swift
[41/102] Compiling ArgumentParser SplitArguments.swift
[42/102] Compiling ArgumentParser DumpHelpGenerator.swift
[43/102] Compiling ArgumentParser HelpCommand.swift
[44/102] Compiling ArgumentParser HelpGenerator.swift
[45/102] Compiling ArgumentParser CommandConfiguration.swift
[46/102] Compiling ArgumentParser CommandGroup.swift
[47/102] Compiling ArgumentParser EnumerableFlag.swift
[48/102] Compiling ArgumentParser ExpressibleByArgument.swift
[49/102] Compiling ArgumentParser ParsableArguments.swift
[50/102] Compiling ArgumentParser Flag.swift
[51/102] Compiling ArgumentParser NameSpecification.swift
[52/102] Compiling ArgumentParser Option.swift
[53/102] Compiling ArgumentParser OptionGroup.swift
[54/102] Compiling ArgumentParser AsyncParsableCommand.swift
[55/102] Compiling ArgumentParser ArgumentDiscussion.swift
[56/102] Compiling ArgumentParser ArgumentHelp.swift
[57/102] Compiling ArgumentParser ArgumentVisibility.swift
[58/102] Compiling ArgumentParser CompletionKind.swift
[59/102] Compiling ArgumentParser Errors.swift
[60/102] Compiling ArgumentParser ParsableCommand.swift
[61/102] Compiling ArgumentParser ArgumentDecoder.swift
[62/102] Compiling ArgumentParser ArgumentDefinition.swift
[63/102] Compiling ArgumentParser ArgumentSet.swift
[64/102] Compiling ArgumentParser CommandParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:473:21: warning: variable 'extra' was never mutated; consider changing to 'let' constant
 471 |             // last row
 472 |             if startRow < row && endRow == row {
 473 |                 var extra = endCol == terminal.cols-1 ? 1 : 0
     |                     `- warning: variable 'extra' was never mutated; consider changing to 'let' constant
 474 |                 selectionRange = NSRange(location: 0, length: endCol + extra)
 475 |             }
[97/109] Emitting module SwiftTermFuzz
[98/109] Compiling SwiftTermFuzz main.swift
[98/109] Write Objects.LinkFileList
[100/109] Compiling Termcast main.swift
[101/109] Compiling Termcast AsciicastFormat.swift
[102/109] Compiling Termcast TermcastRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termcast/TermcastRecorder.swift:265:17: warning: result of call to 'fcntl' is unused
263 |                 // Use blocking read with a timeout by setting stdin to non-blocking temporarily
264 |                 let originalFlags = fcntl(STDIN_FILENO, F_GETFL)
265 |                 fcntl(STDIN_FILENO, F_SETFL, originalFlags | O_NONBLOCK)
    |                 `- warning: result of call to 'fcntl' is unused
266 |
267 |                 var buffer = [UInt8](repeating: 0, count: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Termcast/TermcastRecorder.swift:271:17: warning: result of call to 'fcntl' is unused
269 |
270 |                 // Restore blocking mode
271 |                 fcntl(STDIN_FILENO, F_SETFL, originalFlags)
    |                 `- warning: result of call to 'fcntl' is unused
272 |
273 |                 if bytesRead > 0 {
[103/109] Emitting module Termcast
[104/109] Compiling Termcast TermcastPlayer.swift
[104/109] Write Objects.LinkFileList
[105/109] Linking SwiftTermFuzz
[106/109] Applying SwiftTermFuzz
[107/109] Linking termcast
[108/109] Applying termcast
Build complete! (7.13s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/README.md
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "SwiftTerm",
  "name" : "SwiftTerm",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftTermFuzz",
      "targets" : [
        "SwiftTermFuzz"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "termcast",
      "targets" : [
        "Termcast"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftTerm",
      "targets" : [
        "SwiftTerm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Termcast",
      "module_type" : "SwiftTarget",
      "name" : "Termcast",
      "path" : "Sources/Termcast",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "termcast"
      ],
      "sources" : [
        "AsciicastFormat.swift",
        "TermcastPlayer.swift",
        "TermcastRecorder.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftTerm"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTermTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTermTests",
      "path" : "Tests/SwiftTermTests",
      "sources" : [
        "ColorTests.swift",
        "FuzzerTests.swift",
        "ImageTests.swift",
        "MeanTests.swift",
        "Memory.swift",
        "OscTests.swift",
        "PerformanceTest.swift",
        "ReflowTests.swift",
        "SelectionTests.swift",
        "SwiftTermTests.swift",
        "UnicodeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftTerm"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftTermFuzz",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTermFuzz",
      "path" : "Sources/SwiftTermFuzz",
      "product_memberships" : [
        "SwiftTermFuzz"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftTerm"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftTerm",
      "module_type" : "SwiftTarget",
      "name" : "SwiftTerm",
      "path" : "Sources/SwiftTerm",
      "product_memberships" : [
        "SwiftTermFuzz",
        "termcast",
        "SwiftTerm"
      ],
      "sources" : [
        "Apple/AppleTerminalView.swift",
        "Apple/CaretView.swift",
        "Apple/Extensions.swift",
        "Apple/TerminalViewDelegate.swift",
        "Buffer.swift",
        "BufferLine.swift",
        "BufferSet.swift",
        "CharData.swift",
        "CharSets.swift",
        "CircularList.swift",
        "Colors.swift",
        "EscapeSequenceParser.swift",
        "EscapeSequences.swift",
        "ExternsionsTerminal.swift",
        "File.swift",
        "HeadlessTerminal.swift",
        "Line.swift",
        "LocalProcess.swift",
        "Mac/MacAccessibilityService.swift",
        "Mac/MacCaretView.swift",
        "Mac/MacDebugView.swift",
        "Mac/MacExtensions.swift",
        "Mac/MacLocalTerminalView.swift",
        "Mac/MacTerminalView.swift",
        "Position.swift",
        "Pty.swift",
        "SearchService.swift",
        "SelectionService.swift",
        "SixelDcsHandler.swift",
        "Terminal.swift",
        "TerminalOptions.swift",
        "Utilities.swift",
        "iOS/iOSAccessoryView.swift",
        "iOS/iOSCaretView.swift",
        "iOS/iOSDoubleButton.swift",
        "iOS/iOSExtensions.swift",
        "iOS/iOSKeyboardView.swift",
        "iOS/iOSTerminalView.swift",
        "iOS/iOSTextInput.swift",
        "iOS/iOSTextStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.