This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of TermKit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 72

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

21 |     /// The point at the origin (0, 0)
22 |     public static var zero = Point(x: 0, y: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |     /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     var width = 0
13 |     var height = 0
14 |     static public var empty: Size = Size (width: 0, height: 0)
   |                       |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
[194/203] Compiling TermKit ConsoleDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                |- warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_base' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                       |- warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate '_dialog' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                |- warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate '_menu' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                       |- warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                       |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
    |                                       |- note: annotate '_error' with '@MainActor' if property should only be accessed from the main actor
    |                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     var width = 0
13 |     var height = 0
14 |     static public var empty: Size = Size (width: 0, height: 0)
   |                       |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | /// Turn this on to debug rendering problems, makes screen updates sync
 20 | var sync: Bool = false
    |     |- warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'sync' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:389:16: warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
387 |     }
388 |
389 |     static var lastColorPair: Int16 = 16
    |                |- warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastColorPair' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'lastColorPair' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 |     func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:111:17: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 |         curs_set (1)
110 |         init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
111 |         keypad (stdscr, true)
    |                 `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:43: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:75: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:20: warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                    `- warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.LINES:1:12: note: var declared here
1 | public var LINES: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:44: warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                                            `- warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.COLS:1:12: note: var declared here
1 | public var COLS: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
203 |     }
204 |
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
    |                |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               `- warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:280:15: note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
278 |  * The `view` property, if set, indicates on which view the event took place.
279 |  */
280 | public struct MouseEvent: CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
281 |     /// The X (column) location for the mouse event
282 |     public var pos: Point
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:310:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
308 |     {
309 |         timeout (-1)
310 |         FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
    |                                                     `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
311 |     }
312 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               |- warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
    |                                                               `- note: task-isolated 'me' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
304 |         }
305 |     }
[195/203] Compiling TermKit CursesDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                |- warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_base' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                       |- warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate '_dialog' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                |- warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate '_menu' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                       |- warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                       |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
    |                                       |- note: annotate '_error' with '@MainActor' if property should only be accessed from the main actor
    |                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     var width = 0
13 |     var height = 0
14 |     static public var empty: Size = Size (width: 0, height: 0)
   |                       |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | /// Turn this on to debug rendering problems, makes screen updates sync
 20 | var sync: Bool = false
    |     |- warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'sync' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:389:16: warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
387 |     }
388 |
389 |     static var lastColorPair: Int16 = 16
    |                |- warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastColorPair' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'lastColorPair' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 |     func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:111:17: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 |         curs_set (1)
110 |         init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
111 |         keypad (stdscr, true)
    |                 `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:43: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:75: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:20: warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                    `- warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.LINES:1:12: note: var declared here
1 | public var LINES: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:44: warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                                            `- warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.COLS:1:12: note: var declared here
1 | public var COLS: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
203 |     }
204 |
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
    |                |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               `- warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:280:15: note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
278 |  * The `view` property, if set, indicates on which view the event took place.
279 |  */
280 | public struct MouseEvent: CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
281 |     /// The X (column) location for the mouse event
282 |     public var pos: Point
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:310:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
308 |     {
309 |         timeout (-1)
310 |         FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
    |                                                     `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
311 |     }
312 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               |- warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
    |                                                               `- note: task-isolated 'me' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
304 |         }
305 |     }
[196/203] Compiling TermKit StringChar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                |- warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_base' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                       |- warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate '_dialog' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                |- warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate '_menu' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                       |- warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                       |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
    |                                       |- note: annotate '_error' with '@MainActor' if property should only be accessed from the main actor
    |                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     var width = 0
13 |     var height = 0
14 |     static public var empty: Size = Size (width: 0, height: 0)
   |                       |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | /// Turn this on to debug rendering problems, makes screen updates sync
 20 | var sync: Bool = false
    |     |- warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'sync' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:389:16: warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
387 |     }
388 |
389 |     static var lastColorPair: Int16 = 16
    |                |- warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastColorPair' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'lastColorPair' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 |     func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:111:17: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 |         curs_set (1)
110 |         init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
111 |         keypad (stdscr, true)
    |                 `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:43: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:75: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:20: warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                    `- warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.LINES:1:12: note: var declared here
1 | public var LINES: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:44: warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                                            `- warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.COLS:1:12: note: var declared here
1 | public var COLS: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
203 |     }
204 |
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
    |                |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               `- warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:280:15: note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
278 |  * The `view` property, if set, indicates on which view the event took place.
279 |  */
280 | public struct MouseEvent: CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
281 |     /// The X (column) location for the mouse event
282 |     public var pos: Point
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:310:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
308 |     {
309 |         timeout (-1)
310 |         FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
    |                                                     `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
311 |     }
312 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               |- warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
    |                                                               `- note: task-isolated 'me' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
304 |         }
305 |     }
[197/203] Compiling TermKit Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                |- warning: static property '_base' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate '_base' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                       |- warning: static property '_dialog' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate '_dialog' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                |- warning: static property '_menu' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
    |                                |- note: annotate '_menu' with '@MainActor' if property should only be accessed from the main actor
    |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |  */
172 | public class Colors {
173 |     static var _base, _dialog, _menu, _error: ColorScheme?
    |                                       |- warning: static property '_error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                       |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
    |                                       |- note: annotate '_error' with '@MainActor' if property should only be accessed from the main actor
    |                                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 |     /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     var width = 0
13 |     var height = 0
14 |     static public var empty: Size = Size (width: 0, height: 0)
   |                       |- warning: static property 'empty' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | /// Turn this on to debug rendering problems, makes screen updates sync
 20 | var sync: Bool = false
    |     |- warning: var 'sync' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'sync' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:389:16: warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
387 |     }
388 |
389 |     static var lastColorPair: Int16 = 16
    |                |- warning: static property 'lastColorPair' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastColorPair' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'lastColorPair' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 |     func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:111:17: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 |         curs_set (1)
110 |         init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
111 |         keypad (stdscr, true)
    |                 `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:43: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:114:75: warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 |         setupInput ()
113 |
114 |         size = Size (width: Int (getmaxx (stdscr)), height: Int (getmaxy (stdscr)))
    |                                                                           `- warning: reference to var 'stdscr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
115 |
116 |         clear ();
Darwin.stdscr:1:12: note: var declared here
1 | public var stdscr: OpaquePointer!
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:20: warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                    `- warning: reference to var 'LINES' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.LINES:1:12: note: var declared here
1 | public var LINES: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:223:44: warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
221 |         if status == KEY_CODE_YES {
222 |             if result == KEY_RESIZE {
223 |                 if LINES != size.height || COLS != size.width {
    |                                            `- warning: reference to var 'COLS' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
224 |                     DispatchQueue.main.async {
225 |                         Application.terminalResized()
Darwin.COLS:1:12: note: var declared here
1 | public var COLS: Int32
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
203 |     }
204 |
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
    |                |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               `- warning: capture of 'me' with non-sendable type 'MouseEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:280:15: note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
278 |  * The `view` property, if set, indicates on which view the event took place.
279 |  */
280 | public struct MouseEvent: CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseEvent' conform to the 'Sendable' protocol
281 |     /// The X (column) location for the mouse event
282 |     public var pos: Point
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: capture of 'ke' with non-sendable type 'KeyEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:166:15: note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
164 |  * Describes a key event, this includes the key value, and there are two convenience properties isAlt and isControl
165 |  */
166 | public struct KeyEvent {
    |               `- note: consider making struct 'KeyEvent' conform to the 'Sendable' protocol
167 |     /// Symbolic definition of the key
168 |     public var key: Key
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                `- warning: reference to captured var 'ke' in concurrently-executing code; this is an error in the Swift 6 language mode
304 |         }
305 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:310:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
308 |     {
309 |         timeout (-1)
310 |         FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
    |                                                     `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
311 |     }
312 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:238:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
236 |                 let me = toAppMouseEvent (mouseEvent)
237 |                 DispatchQueue.main.async {
238 |                     Application.processMouseEvent(mouseEvent: me)
    |                                                               |- warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
    |                                                               `- note: task-isolated 'me' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
239 |                 }
240 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:244:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
242 |             let ke = KeyEvent(key: toAppKeyEvent (result))
243 |             DispatchQueue.main.async {
244 |                 Application.processKeyEvent(event: ke)
    |                                                    |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                    `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
245 |             }
246 |             return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:303:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
301 |         }
302 |         DispatchQueue.main.async {
303 |             Application.processKeyEvent(event: ke)
    |                                                |- warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
    |                                                `- note: task-isolated 'ke' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
304 |         }
305 |     }
[198/203] Compiling TermKit Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/.build/checkouts/SwiftTerm/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'inverse' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'crossedOut' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 |     // Tracks the view that has grabbed the mouse
255 |     static var mouseGrabView: View? = nil
    |                |- warning: static property 'mouseGrabView' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 |     /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 |     /// Contents of the clipboard
16 |     public static var contents : String = ""
   |                       |- warning: static property 'contents' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
[199/203] Compiling TermKit TextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/.build/checkouts/SwiftTerm/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'inverse' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'crossedOut' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 |     // Tracks the view that has grabbed the mouse
255 |     static var mouseGrabView: View? = nil
    |                |- warning: static property 'mouseGrabView' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 |     /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 |     /// Contents of the clipboard
16 |     public static var contents : String = ""
   |                       |- warning: static property 'contents' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
[200/203] Compiling TermKit TextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 |     /// The current Console Driver in use.
122 |     static var driver: ConsoleDriver = CursesDriver()
    |                |- warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |     /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/.build/checkouts/SwiftTerm/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
    |                |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
    |                |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
    |                |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
 91 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'inverse' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
    |                |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                       `- 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/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
 85 |     static let bold      = CellFlags (rawValue: 1 << 0)
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
    |                |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTerm/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: annotate 'crossedOut' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 | }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
 80 |
 81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
 82 | public struct CellFlags: OptionSet, Hashable {
    |               `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
 83 |     public let rawValue: Int8
 84 |     public init (rawValue: Int8) { self.rawValue = rawValue }
    :
 86 |     static let underline = CellFlags (rawValue: 1 << 1)
 87 |     static let dim       = CellFlags (rawValue: 1 << 2)
 88 |     static let standout  = CellFlags (rawValue: 1 << 3)
    |                |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |     static let blink     = CellFlags (rawValue: 1 << 4)
 90 |     static let invert    = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 |     // Tracks the view that has grabbed the mouse
255 |     static var mouseGrabView: View? = nil
    |                |- warning: static property 'mouseGrabView' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 |     /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 |     /// Contents of the clipboard
16 |     public static var contents : String = ""
   |                       |- warning: static property 'contents' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
205 |     static let button1Pressed        = MouseFlags(rawValue: 0x2)
206 |     static let button1Released       = MouseFlags(rawValue: 0x1)
207 |     static let button1Clicked        = MouseFlags(rawValue: 0x4)
    |                |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
[201/210] Compiling Example DemoTerminal.swift
[202/210] Compiling Example DemoDialogs.swift
[203/210] Compiling Example main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/main.swift:63:71: warning: main actor-isolated let 'win' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 15 |
 16 | Application.prepare()
 17 | let win = Window()
    |     `- note: let declared here
 18 | win.x = Pos.at (0)
 19 | win.y = Pos.at (1)
    :
 61 |         MenuBarItem(title: "_File", children: [
 62 |             MenuItem(title: "Text _Editor Demo", action: showEditor),
 63 |             MenuItem(title: "Open _Terminal", action: { openTerminal (win) } ),
    |                                                                       `- warning: main actor-isolated let 'win' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 64 |             MenuItem(title: "_New", help: "Creates new file", action: newFile),
 65 |             MenuItem(title: "_Open", action: openFile),
[204/210] Emitting module Example
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:12:5: warning: var 'e' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | import OpenCombine
 11 |
 12 | var e: AnyCancellable? = nil
    |     |- warning: var 'e' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'e' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 | var maybe = false
 14 | func Assorted () -> Window {
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:13:5: warning: var 'maybe' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | var e: AnyCancellable? = nil
 13 | var maybe = false
    |     |- warning: var 'maybe' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maybe' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'maybe' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 | func Assorted () -> Window {
 15 |     let win = Window ()
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:32:16: warning: static property 'untitledCount' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 30 | // Convenient place to track the open files - we have a 1:1 mapping, an open window is an open file
 31 | class FileWindow: Window {
 32 |     static var untitledCount = 0
    |                |- warning: static property 'untitledCount' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'untitledCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'untitledCount' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     var filename: String?
 34 |     var textView: TextView
[205/210] Compiling Example DemoStandardToplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:32:16: warning: static property 'untitledCount' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 30 | // Convenient place to track the open files - we have a 1:1 mapping, an open window is an open file
 31 | class FileWindow: Window {
 32 |     static var untitledCount = 0
    |                |- warning: static property 'untitledCount' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'untitledCount' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'untitledCount' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     var filename: String?
 34 |     var textView: TextView
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22:23: warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 |     /// The point at the origin (0, 0)
22 |     public static var zero = Point(x: 0, y: 0)
   |                       |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |     /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:104:44: warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |
103 |     func place (window: FileWindow) {
104 |         window.frame = Rect (origin: Point.zero, size: desk.bounds.size)
    |                                            `- warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |         manage (window: window)
106 |         window.closeClicked = handleClose
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22:23: note: static property declared here
20 |
21 |     /// The point at the origin (0, 0)
22 |     public static var zero = Point(x: 0, y: 0)
   |                       `- note: static property declared here
23 |
24 |     /// Initializes a new Point with the specified x and y coordinates
[206/210] Compiling Example DemoDataTable.swift
[207/210] Compiling Example DemoAssorted.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:12:5: warning: var 'e' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | import OpenCombine
 11 |
 12 | var e: AnyCancellable? = nil
    |     |- warning: var 'e' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'e' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 | var maybe = false
 14 | func Assorted () -> Window {
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:13:5: warning: var 'maybe' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | var e: AnyCancellable? = nil
 13 | var maybe = false
    |     |- warning: var 'maybe' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'maybe' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'maybe' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 | func Assorted () -> Window {
 15 |     let win = Window ()
[207/210] Write Objects.LinkFileList
[208/210] Linking Example
[209/210] Applying Example
Build complete! (41.40s)
Fetching https://github.com/migueldeicaza/SwiftTerm.git
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/migueldeicaza/TextBufferKit.git
[1/240] Fetching textbufferkit
[57/6637] Fetching textbufferkit, swiftterm
[58/14905] Fetching textbufferkit, swiftterm, opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.34s)
Fetched https://github.com/migueldeicaza/TextBufferKit.git from cache (1.34s)
Fetched https://github.com/migueldeicaza/SwiftTerm.git from cache (1.34s)
Computing version for https://github.com/migueldeicaza/SwiftTerm.git
Computed https://github.com/migueldeicaza/SwiftTerm.git at 1.2.5 (0.68s)
Computing version for https://github.com/migueldeicaza/TextBufferKit.git
Computed https://github.com/migueldeicaza/TextBufferKit.git at 0.3.0 (0.68s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.73s)
Creating working copy for https://github.com/migueldeicaza/SwiftTerm.git
Working copy of https://github.com/migueldeicaza/SwiftTerm.git resolved at 1.2.5
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/migueldeicaza/TextBufferKit.git
Working copy of https://github.com/migueldeicaza/TextBufferKit.git resolved at 0.3.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "opencombine",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/OpenCombine/OpenCombine.git"
    },
    {
      "identity" : "textbufferkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/migueldeicaza/TextBufferKit.git"
    },
    {
      "identity" : "swiftterm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/migueldeicaza/SwiftTerm.git"
    }
  ],
  "manifest_display_name" : "TermKit",
  "name" : "TermKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "TermKit",
      "targets" : [
        "TermKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TermKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TermKitTests",
      "path" : "Tests/TermKitTests",
      "sources" : [
        "TermKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TermKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TermKit",
      "module_type" : "SwiftTarget",
      "name" : "TermKit",
      "path" : "Sources/TermKit",
      "product_dependencies" : [
        "OpenCombine",
        "TextBufferKit",
        "SwiftTerm"
      ],
      "product_memberships" : [
        "TermKit",
        "Example"
      ],
      "sources" : [
        "Core/Application.swift",
        "Core/AttributedString.swift",
        "Core/Clipboard.swift",
        "Core/Dim.swift",
        "Core/Events.swift",
        "Core/Layer.swift",
        "Core/Painter.swift",
        "Core/Point.swift",
        "Core/Pos.swift",
        "Core/Rect.swift",
        "Core/Responder.swift",
        "Core/Size.swift",
        "Core/StandardToplevel.swift",
        "Core/Toplevel.swift",
        "Core/View.swift",
        "Core/Window.swift",
        "Dialogs/Dialog.swift",
        "Dialogs/FileDialog.swift",
        "Dialogs/InputBox.swift",
        "Dialogs/MessageBox.swift",
        "Drivers/ConsoleDriver.swift",
        "Drivers/CursesDriver.swift",
        "Extensions/StringChar.swift",
        "Views/Button.swift",
        "Views/Checkbox.swift",
        "Views/DataTable.swift",
        "Views/Desktop.swift",
        "Views/Frame.swift",
        "Views/Label.swift",
        "Views/ListView.swift",
        "Views/Menu.swift",
        "Views/ProgressBar.swift",
        "Views/RadioGroup.swift",
        "Views/ScrollView.swift",
        "Views/StatusBar.swift",
        "Views/Terminal.swift",
        "Views/TextField.swift",
        "Views/TextView.swift"
      ],
      "target_dependencies" : [
        "DarwinCurses",
        "LinuxCurses"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LinuxCurses",
      "module_type" : "SystemLibraryTarget",
      "name" : "LinuxCurses",
      "path" : "Sources/LinuxCurses",
      "product_memberships" : [
        "TermKit",
        "Example"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_dependencies" : [
        "SwiftTerm"
      ],
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "DemoAssorted.swift",
        "DemoDataTable.swift",
        "DemoDialogs.swift",
        "DemoStandardToplevel.swift",
        "DemoTerminal.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "TermKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DarwinCurses",
      "module_type" : "SystemLibraryTarget",
      "name" : "DarwinCurses",
      "path" : "Sources/DarwinCurses",
      "product_memberships" : [
        "TermKit",
        "Example"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.