Build Information
Successful build of SwiftTerm, reference main (7f7541), with Swift 6.1 for macOS (SPM) on 12 Dec 2025 18:41:59 UTC.
Swift 6 data race errors: 79
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
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:1245: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
1243 |
1244 | // Terminal.Delegate method implementation
1245 | 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
1246 | return nil
1247 | }
/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:1225: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
1223 | }
1224 |
1225 | 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
1226 | terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1227 | 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:1203: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
1201 | }
1202 |
1203 | 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
1204 | terminalDelegate?.bell (source: self)
1205 | }
/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:850: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
848 | }
849 |
850 | 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
851 | needsDisplay = true
852 | }
/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:1207: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
1205 | }
1206 |
1207 | 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
1208 | true
1209 | }
/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:1211: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
1209 | }
1210 |
1211 | 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
1212 | if source.mouseMode == .anyEvent {
1213 | 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:1198: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
1196 | }
1197 |
1198 | 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
1199 | caretView.style = newStyle
1200 | 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:238: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
236 | }
237 |
238 | 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
239 | {
240 | 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:257: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
255 | }
256 |
257 | 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
258 | {
259 | 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:273: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
271 | }
272 |
273 | 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
274 | nativeForegroundColor = TTColor.make (color: color)
275 | 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:267: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
265 | }
266 |
267 | 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
268 | // Can not implement this until I change the color to not be this struct
269 | 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:1249: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
1247 | }
1248 |
1249 | 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
1250 | terminalDelegate?.iTermContent(source: self, content: content)
1251 | }
/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:1279: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
1277 | }
1278 |
1279 | 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
1280 | let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1281 | 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:1298: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
1296 | }
1297 |
1298 | 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
1299 | {
1300 | 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;
[146/170] Compiling SwiftTerm MacTerminalView.swift
/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 | public internal(set) 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:175: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 | public internal(set) var process: LocalProcess!
:
173 | * Implements the LocalProcessDelegate method.
174 | */
175 | 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
176 | processDelegate?.processTerminated(source: self, exitCode: exitCode)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:23:10: note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
21 | /// - Parameter source: the local process that terminated
22 | /// - Parameter exitCode: the exit code returned by the process, or nil if this was an error caused during the IO reading/writing
23 | func processTerminated (_ source: LocalProcess, exitCode: Int32?)
| `- note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
24 |
25 | /// 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:182: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
180 | * Implements the LocalProcessDelegate.dataReceived method
181 | */
182 | 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
183 | feed (byteArray: slice)
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:26:10: note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
24 |
25 | /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
26 | func dataReceived (slice: ArraySlice<UInt8>)
| `- note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
27 |
28 | /// This method should return the window size to report to the local process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:189: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
187 | * Implements the LocalProcessDelegate.getWindowSize method
188 | */
189 | 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
190 | {
191 | let f: CGRect = self.frame
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:10: note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:730: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
:
728 |
729 | // NSTextInputClient protocol implementation
730 | 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
731 | insertText(string, replacementRange: replacementRange, isPaste: false)
732 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:673: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
671 | }
672 |
673 | 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
674 | switch selector {
675 | case #selector(insertNewline(_:)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:749: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
747 |
748 | // NSTextInputClient protocol implementation
749 | 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
750 | // nothing
751 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:754: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
752 |
753 | // NSTextInputClient protocol implementation
754 | 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
755 | // nothing
756 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:759: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
757 |
758 | // NSTextInputClient protocol implementation
759 | 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
760 | guard let selection = self.selection, selection.active else {
761 | // This means "no selection":
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:778: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
776 |
777 | // NSTextInputClient protocol implementation
778 | 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
779 | print ("markedRange: This should return the actual range from the selection")
780 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:786: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
784 |
785 | // NSTextInputClient protocol implementation
786 | 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
787 | // print ("hasMarkedText: This should return the actual range from the selection")
788 | // TODO
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:793: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
791 |
792 | // NSTextInputClient protocol implementation
793 | 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
794 | print ("Attribuetd string")
795 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:799: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
797 |
798 | // NSTextInputClient Protocol implementation
799 | 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
800 | // TODO print ("validAttributesForMarkedText: This should return the actual range from the selection")
801 | return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:805: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
803 |
804 | // NSTextInputClient protocol implementation
805 | 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
806 | actualRange?.pointee = range
807 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:816: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
814 |
815 | // NSTextInputClient protocol implementation
816 | 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
817 | print ("characterIndex:for point: This should return the actual range from the selection")
818 | return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1188: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
:
1186 | }
1187 |
1188 | 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
1189 | if caretView.superview == nil {
1190 | 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:1194: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
1192 | }
1193 |
1194 | 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
1195 | caretView.removeFromSuperview()
1196 | }
/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:1221: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
1219 | }
1220 |
1221 | 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
1222 | terminalDelegate?.setTerminalTitle(source: self, title: title)
1223 | }
/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:1240: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
1238 | }
1239 |
1240 | 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
1241 | //
1242 | }
/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:1245: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
1243 |
1244 | // Terminal.Delegate method implementation
1245 | 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
1246 | return nil
1247 | }
/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:1225: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
1223 | }
1224 |
1225 | 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
1226 | terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1227 | 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:1203: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
1201 | }
1202 |
1203 | 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
1204 | terminalDelegate?.bell (source: self)
1205 | }
/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:850: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
848 | }
849 |
850 | 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
851 | needsDisplay = true
852 | }
/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:1207: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
1205 | }
1206 |
1207 | 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
1208 | true
1209 | }
/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:1211: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
1209 | }
1210 |
1211 | 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
1212 | if source.mouseMode == .anyEvent {
1213 | 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:1198: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
1196 | }
1197 |
1198 | 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
1199 | caretView.style = newStyle
1200 | 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:238: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
236 | }
237 |
238 | 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
239 | {
240 | 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:257: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
255 | }
256 |
257 | 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
258 | {
259 | 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:273: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
271 | }
272 |
273 | 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
274 | nativeForegroundColor = TTColor.make (color: color)
275 | 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:267: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
265 | }
266 |
267 | 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
268 | // Can not implement this until I change the color to not be this struct
269 | 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:1249: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
1247 | }
1248 |
1249 | 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
1250 | terminalDelegate?.iTermContent(source: self, content: content)
1251 | }
/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:1279: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
1277 | }
1278 |
1279 | 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
1280 | let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1281 | 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:1298: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
1296 | }
1297 |
1298 | 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
1299 | {
1300 | 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;
[147/170] Compiling SwiftTerm Position.swift
/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 | public internal(set) 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:175: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 | public internal(set) var process: LocalProcess!
:
173 | * Implements the LocalProcessDelegate method.
174 | */
175 | 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
176 | processDelegate?.processTerminated(source: self, exitCode: exitCode)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:23:10: note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
21 | /// - Parameter source: the local process that terminated
22 | /// - Parameter exitCode: the exit code returned by the process, or nil if this was an error caused during the IO reading/writing
23 | func processTerminated (_ source: LocalProcess, exitCode: Int32?)
| `- note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
24 |
25 | /// 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:182: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
180 | * Implements the LocalProcessDelegate.dataReceived method
181 | */
182 | 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
183 | feed (byteArray: slice)
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:26:10: note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
24 |
25 | /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
26 | func dataReceived (slice: ArraySlice<UInt8>)
| `- note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
27 |
28 | /// This method should return the window size to report to the local process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:189: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
187 | * Implements the LocalProcessDelegate.getWindowSize method
188 | */
189 | 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
190 | {
191 | let f: CGRect = self.frame
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:10: note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:730: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
:
728 |
729 | // NSTextInputClient protocol implementation
730 | 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
731 | insertText(string, replacementRange: replacementRange, isPaste: false)
732 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:673: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
671 | }
672 |
673 | 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
674 | switch selector {
675 | case #selector(insertNewline(_:)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:749: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
747 |
748 | // NSTextInputClient protocol implementation
749 | 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
750 | // nothing
751 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:754: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
752 |
753 | // NSTextInputClient protocol implementation
754 | 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
755 | // nothing
756 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:759: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
757 |
758 | // NSTextInputClient protocol implementation
759 | 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
760 | guard let selection = self.selection, selection.active else {
761 | // This means "no selection":
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:778: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
776 |
777 | // NSTextInputClient protocol implementation
778 | 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
779 | print ("markedRange: This should return the actual range from the selection")
780 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:786: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
784 |
785 | // NSTextInputClient protocol implementation
786 | 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
787 | // print ("hasMarkedText: This should return the actual range from the selection")
788 | // TODO
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:793: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
791 |
792 | // NSTextInputClient protocol implementation
793 | 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
794 | print ("Attribuetd string")
795 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:799: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
797 |
798 | // NSTextInputClient Protocol implementation
799 | 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
800 | // TODO print ("validAttributesForMarkedText: This should return the actual range from the selection")
801 | return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:805: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
803 |
804 | // NSTextInputClient protocol implementation
805 | 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
806 | actualRange?.pointee = range
807 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:816: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
814 |
815 | // NSTextInputClient protocol implementation
816 | 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
817 | print ("characterIndex:for point: This should return the actual range from the selection")
818 | return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1188: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
:
1186 | }
1187 |
1188 | 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
1189 | if caretView.superview == nil {
1190 | 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:1194: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
1192 | }
1193 |
1194 | 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
1195 | caretView.removeFromSuperview()
1196 | }
/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:1221: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
1219 | }
1220 |
1221 | 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
1222 | terminalDelegate?.setTerminalTitle(source: self, title: title)
1223 | }
/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:1240: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
1238 | }
1239 |
1240 | 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
1241 | //
1242 | }
/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:1245: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
1243 |
1244 | // Terminal.Delegate method implementation
1245 | 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
1246 | return nil
1247 | }
/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:1225: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
1223 | }
1224 |
1225 | 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
1226 | terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1227 | 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:1203: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
1201 | }
1202 |
1203 | 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
1204 | terminalDelegate?.bell (source: self)
1205 | }
/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:850: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
848 | }
849 |
850 | 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
851 | needsDisplay = true
852 | }
/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:1207: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
1205 | }
1206 |
1207 | 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
1208 | true
1209 | }
/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:1211: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
1209 | }
1210 |
1211 | 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
1212 | if source.mouseMode == .anyEvent {
1213 | 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:1198: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
1196 | }
1197 |
1198 | 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
1199 | caretView.style = newStyle
1200 | 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:238: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
236 | }
237 |
238 | 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
239 | {
240 | 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:257: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
255 | }
256 |
257 | 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
258 | {
259 | 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:273: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
271 | }
272 |
273 | 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
274 | nativeForegroundColor = TTColor.make (color: color)
275 | 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:267: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
265 | }
266 |
267 | 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
268 | // Can not implement this until I change the color to not be this struct
269 | 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:1249: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
1247 | }
1248 |
1249 | 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
1250 | terminalDelegate?.iTermContent(source: self, content: content)
1251 | }
/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:1279: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
1277 | }
1278 |
1279 | 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
1280 | let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1281 | 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:1298: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
1296 | }
1297 |
1298 | 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
1299 | {
1300 | 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;
[148/170] Compiling SwiftTerm Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5114: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
5112 | }
5113 |
5114 | 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
5115 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5116 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/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
[149/170] Compiling SwiftTerm TerminalOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5114: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
5112 | }
5113 |
5114 | 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
5115 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5116 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/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
[150/170] Compiling SwiftTerm Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5114: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
5112 | }
5113 |
5114 | 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
5115 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5116 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/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
[151/170] Compiling SwiftTerm SwiftUITerminalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5114: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
5112 | }
5113 |
5114 | 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
5115 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5116 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/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
[152/170] Compiling SwiftTerm ExtensionsTerminal.swift
[153/170] Compiling SwiftTerm File.swift
[154/170] Compiling SwiftTerm HeadlessTerminal.swift
[155/170] Compiling SwiftTerm Line.swift
[156/170] Compiling SwiftTerm Pty.swift
[157/170] Compiling SwiftTerm SearchService.swift
[158/170] Compiling SwiftTerm SelectionService.swift
[159/170] Compiling SwiftTerm SixelDcsHandler.swift
[160/170] Compiling SwiftTerm AppleTerminalView.swift
[161/170] Compiling SwiftTerm CaretView.swift
[162/170] Compiling SwiftTerm Extensions.swift
[163/170] Compiling SwiftTerm TerminalViewDelegate.swift
[164/170] Compiling SwiftTerm Wcwidth.swift
[165/177] Emitting module SwiftTermFuzz
[166/177] 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!
Fetching https://github.com/swiftlang/swift-subprocess
[1/2467] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (1.15s)
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-system from cache (1.00s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.32s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (1.91s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.50s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at main (ab2072d)
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/39] Compiling SystemPackage FilePermissions.swift
[5/39] Compiling SystemPackage Backcompat.swift
[6/39] Compiling SystemPackage CInterop.swift
[7/42] Emitting module ArgumentParserToolInfo
[8/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/42] Compiling SystemPackage Constants.swift
[10/42] Compiling SystemPackage Exports.swift
[11/42] Compiling SystemPackage Mocking.swift
[12/88] Compiling ArgumentParser ArgumentDiscussion.swift
[13/88] Compiling ArgumentParser ArgumentHelp.swift
[14/88] Compiling ArgumentParser ArgumentVisibility.swift
[15/88] Emitting module SystemPackage
[16/88] Compiling ArgumentParser EnumerableFlag.swift
[17/88] Compiling ArgumentParser ExpressibleByArgument.swift
[18/88] Compiling ArgumentParser ParsableArguments.swift
[19/88] Compiling ArgumentParser CompletionsGenerator.swift
[20/88] Compiling ArgumentParser FishCompletionsGenerator.swift
[21/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/88] Compiling ArgumentParser HelpCommand.swift
[23/88] Compiling ArgumentParser HelpGenerator.swift
[24/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/88] Compiling ArgumentParser Argument.swift
[26/88] Compiling ArgumentParser CommandConfiguration.swift
[27/88] Compiling ArgumentParser CommandGroup.swift
[28/88] Compiling ArgumentParser ParsedValues.swift
[29/88] Compiling ArgumentParser Flag.swift
[30/88] Compiling ArgumentParser NameSpecification.swift
[31/88] Compiling ArgumentParser InputOrigin.swift
[32/88] Compiling ArgumentParser Name.swift
[33/88] Compiling ArgumentParser Parsed.swift
[34/88] Compiling ArgumentParser Option.swift
[35/88] Compiling ArgumentParser OptionGroup.swift
[36/88] Compiling ArgumentParser AsyncParsableCommand.swift
[37/110] Compiling Subprocess Subprocess+Windows.swift
[38/110] Compiling Subprocess Result.swift
[39/110] Compiling Subprocess Output+Foundation.swift
[40/110] Compiling Subprocess Span+SubprocessFoundation.swift
[41/112] Compiling Subprocess Span+Subprocess.swift
[42/112] Compiling Subprocess Input+Foundation.swift
[43/112] Compiling Subprocess API.swift
[44/112] Compiling Subprocess AsyncBufferSequence.swift
[45/112] Compiling Subprocess Buffer.swift
[46/112] Compiling Subprocess Configuration.swift
[47/112] Compiling Subprocess Error.swift
[48/112] Emitting module ArgumentParser
[49/116] Compiling Subprocess Subprocess+Linux.swift
[50/116] Compiling Subprocess Subprocess+Unix.swift
[51/116] Compiling ArgumentParser SequenceExtensions.swift
[52/116] Compiling ArgumentParser StringExtensions.swift
[53/116] Compiling ArgumentParser SwiftExtensions.swift
[54/116] Compiling ArgumentParser Tree.swift
[55/116] Compiling ArgumentParser CodingKeyValidator.swift
[56/116] Compiling Subprocess AsyncIO+Dispatch.swift
[57/116] Compiling Subprocess AsyncIO+Linux.swift
[58/116] Compiling Subprocess AsyncIO+Windows.swift
[59/116] Compiling Subprocess Subprocess+BSD.swift
[60/116] Compiling Subprocess Subprocess+Darwin.swift
[61/116] Compiling Subprocess Input.swift
[62/116] Compiling Subprocess Output.swift
[63/116] Emitting module Subprocess
[64/116] Compiling Subprocess Teardown.swift
[65/116] Compiling Subprocess Thread.swift
[71/116] Compiling ArgumentParser NonsenseFlagsValidator.swift
[72/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[73/116] Compiling ArgumentParser PositionalArgumentsValidator.swift
[74/116] Compiling ArgumentParser UniqueNamesValidator.swift
[77/116] Compiling Subprocess Execution.swift
[96/155] Compiling SwiftTerm CharData.swift
[97/155] Compiling SwiftTerm CharSets.swift
[98/155] Compiling SwiftTerm Pty.swift
[99/155] Compiling SwiftTerm SearchService.swift
[100/155] Compiling SwiftTerm SelectionService.swift
[101/155] Compiling SwiftTerm iOSAccessoryView.swift
[102/155] Compiling SwiftTerm iOSCaretView.swift
[103/155] Compiling SwiftTerm iOSDoubleButton.swift
[104/155] Compiling SwiftTerm iOSExtensions.swift
[105/155] Compiling SwiftTerm Terminal.swift
[106/155] Compiling SwiftTerm TerminalOptions.swift
[107/155] Compiling SwiftTerm Utilities.swift
[108/155] Compiling SwiftTerm SwiftUITerminalView.swift
[109/155] Compiling ArgumentParser ArgumentSet.swift
[110/155] Compiling ArgumentParser CommandParser.swift
[111/155] Compiling SwiftTerm LocalProcess.swift
[112/155] Compiling SwiftTerm MacAccessibilityService.swift
[113/155] Compiling SwiftTerm MacCaretView.swift
[114/155] Compiling SwiftTerm MacDebugView.swift
[115/159] Compiling SwiftTerm iOSKeyboardView.swift
[116/159] Compiling SwiftTerm iOSTerminalView.swift
[117/159] Compiling SwiftTerm iOSTextInput.swift
[118/159] Compiling SwiftTerm iOSTextStorage.swift
[119/159] Compiling SwiftTerm Buffer.swift
[120/159] Compiling SwiftTerm BufferLine.swift
[121/159] Compiling SwiftTerm BufferSet.swift
[124/159] Compiling SwiftTerm CircularList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[125/159] Compiling SwiftTerm Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[126/159] Compiling SwiftTerm EscapeSequenceParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[127/159] Compiling SwiftTerm EscapeSequences.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[128/159] Compiling SwiftTerm MacExtensions.swift
[129/159] Compiling SwiftTerm MacLocalTerminalView.swift
[130/159] Compiling SwiftTerm MacTerminalView.swift
[131/159] Compiling SwiftTerm Position.swift
[132/159] Emitting module SwiftTerm
[137/159] Compiling SwiftTerm ExtensionsTerminal.swift
[138/159] Compiling SwiftTerm File.swift
[139/159] Compiling SwiftTerm HeadlessTerminal.swift
[140/159] Compiling SwiftTerm Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
[148/159] Compiling SwiftTerm SixelDcsHandler.swift
[149/159] Compiling SwiftTerm AppleTerminalView.swift
[150/159] Compiling SwiftTerm CaretView.swift
[151/159] Compiling SwiftTerm Extensions.swift
[152/159] Compiling SwiftTerm TerminalViewDelegate.swift
[153/159] Compiling SwiftTerm Wcwidth.swift
[154/166] Compiling SwiftTermFuzz main.swift
[155/166] Emitting module SwiftTermFuzz
[155/166] Write Objects.LinkFileList
[157/166] Compiling Termcast TermcastPlayer.swift
[158/166] Compiling Termcast main.swift
[159/166] Emitting module Termcast
[160/166] Compiling Termcast AsciicastFormat.swift
[161/166] Compiling Termcast TermcastRecorder.swift
[161/166] Write Objects.LinkFileList
[162/166] Linking SwiftTermFuzz
[163/166] Applying SwiftTermFuzz
[164/166] Linking termcast
[165/166] Applying termcast
Build complete! (7.60s)
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"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess"
}
],
"manifest_display_name" : "SwiftTerm",
"name" : "SwiftTerm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"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_dependencies" : [
"Subprocess"
],
"product_memberships" : [
"SwiftTermFuzz",
"termcast",
"SwiftTerm"
],
"sources" : [
"Apple/AppleTerminalView.swift",
"Apple/CaretView.swift",
"Apple/Extensions.swift",
"Apple/TerminalViewDelegate.swift",
"Apple/Wcwidth.swift",
"Buffer.swift",
"BufferLine.swift",
"BufferSet.swift",
"CharData.swift",
"CharSets.swift",
"CircularList.swift",
"Colors.swift",
"EscapeSequenceParser.swift",
"EscapeSequences.swift",
"ExtensionsTerminal.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/SwiftUITerminalView.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.