The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftTerm, reference main (4a3459), with Swift 6.1 for macOS (SPM) on 3 Sep 2025 16:47:25 UTC.

Swift 6 data race errors: 79

Build Command

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

Build Log

 181 |
 182 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1214: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
1212 |     }
1213 |
1214 |     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
1215 |         let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1216 |         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:1233: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
1231 |     }
1232 |
1233 |     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
1234 |     {
1235 |         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;
[142/168] Compiling SwiftTerm AppleTerminalView.swift
[143/168] Compiling SwiftTerm CaretView.swift
[144/168] Compiling SwiftTerm Extensions.swift
[145/168] Compiling SwiftTerm TerminalViewDelegate.swift
[146/168] Compiling SwiftTerm Wcwidth.swift
[147/168] Compiling SwiftTerm Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:281:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |
280 |             // Start subprocess with swift-subprocess asynchronously
281 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |                 do {
283 |                     // Start subprocess with swift-subprocess, using the slave side of the pty
    :
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         `- note: closure captures 'self' which is accessible to code in the current task
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:305:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:318:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
316 |                 } catch {
317 |                     await MainActor.run {
318 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
319 |                         self.delegate?.processTerminated(self, exitCode: nil)
320 |                     }
[148/168] Compiling SwiftTerm LocalProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:281:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |
280 |             // Start subprocess with swift-subprocess asynchronously
281 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |                 do {
283 |                     // Start subprocess with swift-subprocess, using the slave side of the pty
    :
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         `- note: closure captures 'self' which is accessible to code in the current task
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:305:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:318:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
316 |                 } catch {
317 |                     await MainActor.run {
318 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
319 |                         self.delegate?.processTerminated(self, exitCode: nil)
320 |                     }
[149/168] Compiling SwiftTerm MacAccessibilityService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:281:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |
280 |             // Start subprocess with swift-subprocess asynchronously
281 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |                 do {
283 |                     // Start subprocess with swift-subprocess, using the slave side of the pty
    :
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         `- note: closure captures 'self' which is accessible to code in the current task
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:305:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:318:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
316 |                 } catch {
317 |                     await MainActor.run {
318 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
319 |                         self.delegate?.processTerminated(self, exitCode: nil)
320 |                     }
[150/168] Compiling SwiftTerm MacCaretView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
 16 |
 17 | // The CaretView is used to show the cursor
 18 | class CaretView: NSView, CALayerDelegate {
    |                          `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
 19 |     weak var terminal: TerminalView?
 20 |     var ctline: CTLine?
    :
108 |     }
109 |
110 |     func draw(_ layer: CALayer, in context: CGContext) {
    |          |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 |         drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:281:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |
280 |             // Start subprocess with swift-subprocess asynchronously
281 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |                 do {
283 |                     // Start subprocess with swift-subprocess, using the slave side of the pty
    :
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         `- note: closure captures 'self' which is accessible to code in the current task
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:305:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
303 |                     // Process completed
304 |                     await MainActor.run {
305 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
306 |                         let exitCode: Int32?
307 |                         switch result.terminationStatus {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:318:25: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
316 |                 } catch {
317 |                     await MainActor.run {
318 |                         self.running = false
    |                         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
319 |                         self.delegate?.processTerminated(self, exitCode: nil)
320 |                     }
[151/168] Compiling SwiftTerm Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1040:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1038 |     }
1039 |
1040 |     static var n = 0
     |                |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1041 |
1042 |     func dump ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 31 |
 32 |     /// Empty style
 33 |     public static let none = CharacterStyle ([])
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 33 |     public static let none = CharacterStyle ([])
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 35 |     public static let bold = CharacterStyle (rawValue: 1)
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
    |                       |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 37 |     public static let underline = CharacterStyle (rawValue: 2)
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 39 |     public static let blink = CharacterStyle (rawValue: 4)
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
    |                       |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 46 |     public static let dim = CharacterStyle (rawValue: 32)
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 48 |     public static let italic = CharacterStyle (rawValue: 64)
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
    |                       |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:97:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
 95 |     /// The empty attribute is configured to be use the defaultColor for the foreground, and the
 96 |     /// defaultInvertedColor for the background and an emptu style
 97 |     public static let empty = Attribute (fg: .defaultColor, bg: .defaultInvertedColor, style: .none)
    |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |
 99 |     /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179:16: warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
177 | public struct TinyAtom {
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
    |                |- warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'map' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180:16: warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
    |                |- warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastUsed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastUsed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181:16: warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
    |                |- warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCollected' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCollected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
    |               `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
    |                |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 |     private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 |     // Contains the character to index mapping
241 |     static var charToIndexMap: [Character:Int32] = [:]
    |                |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 |     // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
    |                |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
    |                |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248:16: warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
246 |
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
    |                |- warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249:16: warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
    |                |- warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'invertedAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 |     // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333:23: warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 |
332 |     /// The `Null` character can be used when filling up parts of the screeb
333 |     public static var Null : CharData = CharData (attribute: defaultAttr)
    |                       |- warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'Null' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'Null' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 |     /// Updates the contents of this CharData with a new character.
[152/168] Compiling SwiftTerm BufferLine.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1040:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1038 |     }
1039 |
1040 |     static var n = 0
     |                |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1041 |
1042 |     func dump ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 31 |
 32 |     /// Empty style
 33 |     public static let none = CharacterStyle ([])
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 33 |     public static let none = CharacterStyle ([])
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 35 |     public static let bold = CharacterStyle (rawValue: 1)
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
    |                       |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 37 |     public static let underline = CharacterStyle (rawValue: 2)
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 39 |     public static let blink = CharacterStyle (rawValue: 4)
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
    |                       |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 46 |     public static let dim = CharacterStyle (rawValue: 32)
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 48 |     public static let italic = CharacterStyle (rawValue: 64)
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
    |                       |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:97:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
 95 |     /// The empty attribute is configured to be use the defaultColor for the foreground, and the
 96 |     /// defaultInvertedColor for the background and an emptu style
 97 |     public static let empty = Attribute (fg: .defaultColor, bg: .defaultInvertedColor, style: .none)
    |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |
 99 |     /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179:16: warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
177 | public struct TinyAtom {
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
    |                |- warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'map' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180:16: warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
    |                |- warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastUsed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastUsed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181:16: warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
    |                |- warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCollected' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCollected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
    |               `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
    |                |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 |     private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 |     // Contains the character to index mapping
241 |     static var charToIndexMap: [Character:Int32] = [:]
    |                |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 |     // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
    |                |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
    |                |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248:16: warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
246 |
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
    |                |- warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249:16: warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
    |                |- warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'invertedAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 |     // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333:23: warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 |
332 |     /// The `Null` character can be used when filling up parts of the screeb
333 |     public static var Null : CharData = CharData (attribute: defaultAttr)
    |                       |- warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'Null' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'Null' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 |     /// Updates the contents of this CharData with a new character.
[153/168] Compiling SwiftTerm BufferSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1040:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1038 |     }
1039 |
1040 |     static var n = 0
     |                |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1041 |
1042 |     func dump ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 31 |
 32 |     /// Empty style
 33 |     public static let none = CharacterStyle ([])
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 33 |     public static let none = CharacterStyle ([])
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 35 |     public static let bold = CharacterStyle (rawValue: 1)
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
    |                       |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 37 |     public static let underline = CharacterStyle (rawValue: 2)
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 39 |     public static let blink = CharacterStyle (rawValue: 4)
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
    |                       |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 46 |     public static let dim = CharacterStyle (rawValue: 32)
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 48 |     public static let italic = CharacterStyle (rawValue: 64)
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
    |                       |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:97:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
 95 |     /// The empty attribute is configured to be use the defaultColor for the foreground, and the
 96 |     /// defaultInvertedColor for the background and an emptu style
 97 |     public static let empty = Attribute (fg: .defaultColor, bg: .defaultInvertedColor, style: .none)
    |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |
 99 |     /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179:16: warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
177 | public struct TinyAtom {
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
    |                |- warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'map' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180:16: warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
    |                |- warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastUsed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastUsed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181:16: warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
    |                |- warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCollected' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCollected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
    |               `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
    |                |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 |     private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 |     // Contains the character to index mapping
241 |     static var charToIndexMap: [Character:Int32] = [:]
    |                |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 |     // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
    |                |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
    |                |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248:16: warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
246 |
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
    |                |- warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249:16: warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
    |                |- warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'invertedAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 |     // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333:23: warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 |
332 |     /// The `Null` character can be used when filling up parts of the screeb
333 |     public static var Null : CharData = CharData (attribute: defaultAttr)
    |                       |- warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'Null' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'Null' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 |     /// Updates the contents of this CharData with a new character.
[154/168] Compiling SwiftTerm CharData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1040:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1038 |     }
1039 |
1040 |     static var n = 0
     |                |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1041 |
1042 |     func dump ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 31 |
 32 |     /// Empty style
 33 |     public static let none = CharacterStyle ([])
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 33 |     public static let none = CharacterStyle ([])
 34 |     /// Use a bold font
 35 |     public static let bold = CharacterStyle (rawValue: 1)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 35 |     public static let bold = CharacterStyle (rawValue: 1)
 36 |     /// Underline the currentlin line
 37 |     public static let underline = CharacterStyle (rawValue: 2)
    |                       |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 37 |     public static let underline = CharacterStyle (rawValue: 2)
 38 |     /// The text should blink
 39 |     public static let blink = CharacterStyle (rawValue: 4)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 39 |     public static let blink = CharacterStyle (rawValue: 4)
 40 |     /// The text should be inverted (background and foreground are swapped)
 41 |     public static let inverse = CharacterStyle (rawValue: 8)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 42 |     /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
 43 |     /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
    |                       |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 44 |     public static let invisible = CharacterStyle (rawValue: 16)
 45 |     /// Font should be rendered more lightly, implementation specific
 46 |     public static let dim = CharacterStyle (rawValue: 32)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 46 |     public static let dim = CharacterStyle (rawValue: 32)
 47 |     /// Use italic fonts
 48 |     public static let italic = CharacterStyle (rawValue: 64)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 11 | /// This option set describes the character style for a cell, this includes
 12 | /// information about the font to use as well as decorations on the text
 13 | public struct CharacterStyle : OptionSet, Hashable {
    |               `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
 14 |     public let rawValue: UInt8
 15 |
    :
 48 |     public static let italic = CharacterStyle (rawValue: 64)
 49 |     /// Cross out the text
 50 |     public static let crossedOut = CharacterStyle (rawValue: 128)
    |                       |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:97:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
 95 |     /// The empty attribute is configured to be use the defaultColor for the foreground, and the
 96 |     /// defaultInvertedColor for the background and an emptu style
 97 |     public static let empty = Attribute (fg: .defaultColor, bg: .defaultInvertedColor, style: .none)
    |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |
 99 |     /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179:16: warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
177 | public struct TinyAtom {
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
    |                |- warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'map' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180:16: warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
    |                |- warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastUsed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastUsed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181:16: warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
    |                |- warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCollected' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCollected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
    |               `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 |     var code: UInt16
179 |     static var map: [UInt16:Any] = [:]
180 |     static var lastUsed: Int = 0
181 |     static var lastCollected: Int = 0
182 |     static let empty = TinyAtom (code: 0)
    |                |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 |     private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 |     // Contains the character to index mapping
241 |     static var charToIndexMap: [Character:Int32] = [:]
    |                |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 |     // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
    |                |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 |     // Contains the index to character mapping, could be a plain array
244 |     static var indexToCharMap: [Int32: Character] = [:]
245 |     static var lastCharIndex: Int32 = (1 << 22)+1
    |                |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248:16: warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
246 |
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
    |                |- warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249:16: warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | /// should be drawn as.
 57 | ///
 58 | public struct Attribute: Equatable, Hashable {
    |               `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
 59 |     /// The various ways in which the color was expressed
 60 |     public enum Color: Equatable, Hashable {
    :
247 |
248 |     static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 |     static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
    |                |- warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'invertedAttr' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 |     // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333:23: warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 |
332 |     /// The `Null` character can be used when filling up parts of the screeb
333 |     public static var Null : CharData = CharData (attribute: defaultAttr)
    |                       |- warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'Null' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'Null' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 |     /// Updates the contents of this CharData with a new character.
[155/168] Compiling SwiftTerm CharSets.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | class CharSets {
 12 |     public static var all: [UInt8:[UInt8:String]] = initAll ()
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     // This is the "B" charset, null
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     // This is the "B" charset, null
 15 |     public static var defaultCharset: [UInt8:String]? = nil
    |                       |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     static func initAll () -> [UInt8:[UInt8:String]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |     public var blue: UInt16
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
    |                |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
    |                |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |     public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 34 |     }
 35 |
 36 |     static let paleColors: [Color] = [
    |                |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         // dark colors
 38 |         Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 56 |     ]
 57 |
 58 |     static let vgaColors: [Color] = [
    |                |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |         // dark colors
 60 |         Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 76 |     ]
 77 |
 78 |     static let terminalAppColors: [Color] = [
    |                |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |         Color (red8: 0, green8: 0, blue8: 0),
 80 |         Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 95 |     ]
 96 |
 97 |     static let xtermColors: [Color] = [
    |                |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |         Color (red8: 0, green8: 0, blue8: 0),
 99 |         Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
114 |     ]
115 |
116 |     static let defaultInstalledColors: [Color] = [
    |                |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |         Color (red8: 0, green8: 0, blue8: 0),
118 |         Color (red8: 153, green8: 0, blue8: 1),
/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 |
[156/168] Compiling SwiftTerm CircularList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | class CharSets {
 12 |     public static var all: [UInt8:[UInt8:String]] = initAll ()
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     // This is the "B" charset, null
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     // This is the "B" charset, null
 15 |     public static var defaultCharset: [UInt8:String]? = nil
    |                       |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     static func initAll () -> [UInt8:[UInt8:String]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |     public var blue: UInt16
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
    |                |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
    |                |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |     public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 34 |     }
 35 |
 36 |     static let paleColors: [Color] = [
    |                |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         // dark colors
 38 |         Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 56 |     ]
 57 |
 58 |     static let vgaColors: [Color] = [
    |                |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |         // dark colors
 60 |         Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 76 |     ]
 77 |
 78 |     static let terminalAppColors: [Color] = [
    |                |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |         Color (red8: 0, green8: 0, blue8: 0),
 80 |         Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 95 |     ]
 96 |
 97 |     static let xtermColors: [Color] = [
    |                |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |         Color (red8: 0, green8: 0, blue8: 0),
 99 |         Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
114 |     ]
115 |
116 |     static let defaultInstalledColors: [Color] = [
    |                |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |         Color (red8: 0, green8: 0, blue8: 0),
118 |         Color (red8: 153, green8: 0, blue8: 1),
/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 |
[157/168] Compiling SwiftTerm Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | class CharSets {
 12 |     public static var all: [UInt8:[UInt8:String]] = initAll ()
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     // This is the "B" charset, null
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     // This is the "B" charset, null
 15 |     public static var defaultCharset: [UInt8:String]? = nil
    |                       |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     static func initAll () -> [UInt8:[UInt8:String]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |     public var blue: UInt16
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
    |                |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
    |                |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |     public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 34 |     }
 35 |
 36 |     static let paleColors: [Color] = [
    |                |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         // dark colors
 38 |         Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 56 |     ]
 57 |
 58 |     static let vgaColors: [Color] = [
    |                |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |         // dark colors
 60 |         Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 76 |     ]
 77 |
 78 |     static let terminalAppColors: [Color] = [
    |                |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |         Color (red8: 0, green8: 0, blue8: 0),
 80 |         Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 95 |     ]
 96 |
 97 |     static let xtermColors: [Color] = [
    |                |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |         Color (red8: 0, green8: 0, blue8: 0),
 99 |         Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
114 |     ]
115 |
116 |     static let defaultInstalledColors: [Color] = [
    |                |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |         Color (red8: 0, green8: 0, blue8: 0),
118 |         Color (red8: 153, green8: 0, blue8: 1),
/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 |
[158/168] Compiling SwiftTerm EscapeSequenceParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | class CharSets {
 12 |     public static var all: [UInt8:[UInt8:String]] = initAll ()
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     // This is the "B" charset, null
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     // This is the "B" charset, null
 15 |     public static var defaultCharset: [UInt8:String]? = nil
    |                       |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     static func initAll () -> [UInt8:[UInt8:String]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |     public var blue: UInt16
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
    |                |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 |     static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
 24 |     static var defaultBackground = Color (red: 0, green: 0, blue: 0)
    |                |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |     public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 34 |     }
 35 |
 36 |     static let paleColors: [Color] = [
    |                |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         // dark colors
 38 |         Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 56 |     ]
 57 |
 58 |     static let vgaColors: [Color] = [
    |                |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |         // dark colors
 60 |         Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 76 |     ]
 77 |
 78 |     static let terminalAppColors: [Color] = [
    |                |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |         Color (red8: 0, green8: 0, blue8: 0),
 80 |         Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
 95 |     ]
 96 |
 97 |     static let xtermColors: [Color] = [
    |                |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |         Color (red8: 0, green8: 0, blue8: 0),
 99 |         Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |  * in 16-bit RGB mode
 14 |  */
 15 | public class Color: Hashable {
    |              `- note: class 'Color' does not conform to the 'Sendable' protocol
 16 |     /// Red component 0..65535
 17 |     public var red: UInt16
    :
114 |     ]
115 |
116 |     static let defaultInstalledColors: [Color] = [
    |                |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |         Color (red8: 0, green8: 0, blue8: 0),
118 |         Color (red8: 153, green8: 0, blue8: 1),
/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 |
[159/168] Compiling SwiftTerm SixelDcsHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 |     }
5068 |
5069 |     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
5070 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 |     {
/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
[160/168] Compiling SwiftTerm Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 |     }
5068 |
5069 |     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
5070 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 |     {
/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
[161/168] Compiling SwiftTerm TerminalOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 |     }
5068 |
5069 |     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
5070 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 |     {
/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
[162/168] Compiling SwiftTerm Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 |     }
5068 |
5069 |     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
5070 |     func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 |     {
/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
[163/175] Emitting module SwiftTermFuzz
[164/175] 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!
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 ArgumentParserToolInfo ToolInfo.swift
[5/39] Emitting module ArgumentParserToolInfo
[6/39] Compiling SystemPackage Errno.swift
[7/39] Compiling SystemPackage ErrnoWindows.swift
[8/39] Compiling SystemPackage FileDescriptor.swift
[9/42] Compiling SystemPackage Constants.swift
[10/42] Compiling SystemPackage Exports.swift
[11/42] Compiling SystemPackage Mocking.swift
[12/63] Compiling SystemPackage FileHelpers.swift
[13/63] Compiling SystemPackage FileOperations.swift
[14/63] Compiling SystemPackage FilePath.swift
[15/88] Compiling ArgumentParser ArgumentVisibility.swift
[16/88] Compiling ArgumentParser CompletionKind.swift
[17/88] Compiling ArgumentParser Errors.swift
[18/88] Compiling ArgumentParser AsyncParsableCommand.swift
[19/88] Compiling ArgumentParser ArgumentDiscussion.swift
[20/88] Compiling ArgumentParser ArgumentHelp.swift
[21/88] Emitting module SystemPackage
[22/88] Compiling ArgumentParser NameSpecification.swift
[23/88] Compiling ArgumentParser Option.swift
[24/88] Compiling ArgumentParser OptionGroup.swift
[25/88] Compiling ArgumentParser ArgumentSet.swift
[26/88] Compiling ArgumentParser CommandParser.swift
[27/88] Compiling ArgumentParser CommandConfiguration.swift
[28/88] Compiling ArgumentParser CommandGroup.swift
[29/88] Compiling ArgumentParser EnumerableFlag.swift
[30/88] Compiling ArgumentParser ExpressibleByArgument.swift
[31/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/88] Compiling ArgumentParser Argument.swift
[33/88] Compiling ArgumentParser Flag.swift
[34/88] Compiling ArgumentParser Name.swift
[35/88] Compiling ArgumentParser Parsed.swift
[36/88] Compiling ArgumentParser ParsedValues.swift
[37/109] Emitting module ArgumentParser
[38/113] Compiling ArgumentParser SequenceExtensions.swift
[39/113] Compiling ArgumentParser StringExtensions.swift
[40/113] Compiling ArgumentParser SwiftExtensions.swift
[41/113] Compiling ArgumentParser Tree.swift
[42/113] Compiling ArgumentParser CodingKeyValidator.swift
[43/113] Compiling Subprocess Result.swift
[44/113] Compiling Subprocess Span+Subprocess.swift
[45/113] Compiling Subprocess Input+Foundation.swift
[46/113] Compiling Subprocess Output+Foundation.swift
[47/115] Compiling ArgumentParser MessageInfo.swift
[48/115] Compiling ArgumentParser UsageGenerator.swift
[49/115] Compiling ArgumentParser CollectionExtensions.swift
[50/115] Compiling ArgumentParser Mutex.swift
[51/115] Compiling ArgumentParser Platform.swift
[52/115] Compiling Subprocess API.swift
[53/115] Compiling Subprocess AsyncBufferSequence.swift
[54/115] Compiling Subprocess Buffer.swift
[55/115] Compiling Subprocess Configuration.swift
[56/115] Compiling Subprocess Error.swift
[57/115] Compiling Subprocess AsyncIO+Dispatch.swift
[58/115] Compiling Subprocess AsyncIO+Linux.swift
[59/115] Compiling ArgumentParser NonsenseFlagsValidator.swift
[60/115] Compiling ArgumentParser ParsableArgumentsValidation.swift
[61/115] Compiling ArgumentParser PositionalArgumentsValidator.swift
[62/115] Compiling ArgumentParser UniqueNamesValidator.swift
[63/115] Compiling Subprocess Subprocess+Unix.swift
[64/115] Compiling Subprocess Subprocess+Windows.swift
[65/115] Compiling Subprocess AsyncIO+Windows.swift
[66/115] Compiling Subprocess Input.swift
[67/115] Compiling Subprocess Output.swift
[68/115] Compiling Subprocess Subprocess+BSD.swift
[69/115] Compiling Subprocess Subprocess+Darwin.swift
[70/115] Compiling Subprocess Subprocess+Linux.swift
[73/115] Compiling Subprocess Execution.swift
[77/115] Emitting module Subprocess
[78/115] Compiling Subprocess Span+SubprocessFoundation.swift
[79/115] Compiling Subprocess Teardown.swift
[80/115] Compiling ArgumentParser InputKey.swift
[81/115] Compiling ArgumentParser InputOrigin.swift
[85/115] Compiling ArgumentParser ParserError.swift
[86/115] Compiling ArgumentParser SplitArguments.swift
[87/115] Compiling ArgumentParser DumpHelpGenerator.swift
[88/115] Compiling ArgumentParser HelpCommand.swift
[89/115] Compiling ArgumentParser HelpGenerator.swift
[90/153] Compiling SwiftTerm MacTerminalView.swift
[91/153] Compiling SwiftTerm Position.swift
[92/153] Compiling SwiftTerm Pty.swift
[93/153] Compiling SwiftTerm SearchService.swift
[94/153] Compiling SwiftTerm SelectionService.swift
[95/153] Compiling SwiftTerm iOSCaretView.swift
[96/153] Compiling SwiftTerm iOSDoubleButton.swift
[97/153] Compiling SwiftTerm iOSExtensions.swift
[98/153] Compiling SwiftTerm CharSets.swift
[99/153] Compiling SwiftTerm CircularList.swift
[100/153] Compiling SwiftTerm Colors.swift
[101/153] Compiling SwiftTerm EscapeSequenceParser.swift
[102/153] Compiling SwiftTerm AppleTerminalView.swift
[103/153] Compiling SwiftTerm CaretView.swift
[104/153] Compiling SwiftTerm Extensions.swift
[105/153] Compiling SwiftTerm TerminalViewDelegate.swift
[106/153] Compiling SwiftTerm Wcwidth.swift
[107/153] Compiling SwiftTerm MacDebugView.swift
[108/153] Compiling SwiftTerm MacExtensions.swift
[109/153] Compiling SwiftTerm MacLocalTerminalView.swift
[110/153] Compiling SwiftTerm iOSAccessoryView.swift
[114/157] Compiling SwiftTerm iOSKeyboardView.swift
[115/157] Compiling SwiftTerm iOSTerminalView.swift
[116/157] Compiling SwiftTerm iOSTextInput.swift
[117/157] Compiling SwiftTerm iOSTextStorage.swift
[118/157] Compiling SwiftTerm Line.swift
[119/157] Compiling SwiftTerm LocalProcess.swift
[120/157] Compiling SwiftTerm MacAccessibilityService.swift
[121/157] Compiling SwiftTerm MacCaretView.swift
[122/157] Compiling SwiftTerm Buffer.swift
[123/157] Compiling SwiftTerm BufferLine.swift
[124/157] Compiling SwiftTerm BufferSet.swift
[125/157] Compiling SwiftTerm CharData.swift
[126/157] Emitting module SwiftTerm
/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 |
/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 |
/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 |
/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 |
[136/157] Compiling SwiftTerm EscapeSequences.swift
[137/157] Compiling SwiftTerm ExtensionsTerminal.swift
[138/157] Compiling SwiftTerm File.swift
[139/157] Compiling SwiftTerm HeadlessTerminal.swift
[144/157] Compiling SwiftTerm SixelDcsHandler.swift
[145/157] Compiling SwiftTerm Terminal.swift
[146/157] Compiling SwiftTerm TerminalOptions.swift
[147/157] Compiling SwiftTerm Utilities.swift
[152/164] Compiling SwiftTermFuzz main.swift
[153/164] Emitting module SwiftTermFuzz
[153/164] Write Objects.LinkFileList
[155/164] Emitting module Termcast
[156/164] Compiling Termcast TermcastPlayer.swift
[157/164] Compiling Termcast main.swift
[158/164] Compiling Termcast AsciicastFormat.swift
[159/164] Compiling Termcast TermcastRecorder.swift
[159/164] Write Objects.LinkFileList
[160/164] Linking SwiftTermFuzz
[161/164] Applying SwiftTermFuzz
[162/164] Linking termcast
[163/164] Applying termcast
Build complete! (8.22s)
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/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.