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, reference main (163afa), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:00:49 UTC.

Swift 6 data race errors: 72

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

    |                |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:99:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
    |                |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
    |                |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     static var initialized: Bool = false
102 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:101:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
    |                |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
    |                `- 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/Application.swift:147:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
    |                |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:148:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
148 |     static var pipeReader: DispatchSourceRead?
    |                |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:150:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
    |                |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
    |                `- 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/Application.swift:272:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
270 |     }
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
    |                |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     static var lastMouseOwnerView: View? = nil
274 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:273:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
273 |     static var lastMouseOwnerView: View? = nil
    |                |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:275:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 |     static var lastMouseOwnerView: View? = nil
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
    |                |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |     static var lastMouseToken = 0
277 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:276:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
276 |     static var lastMouseToken = 0
    |                |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 |
278 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:359:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
357 |     }
358 |
359 |     static var screen: Layer = Layer.empty
    |                |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |     static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
   |                       `- 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/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |     }
105 |
106 |     static var zeroMargin = DimFill (0)
    |                |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |     /**
[179/203] Compiling TermKit AttributedString.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:14:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | import os
 13 |
 14 | var fd: Int32 = -1
    |     |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | @available(OSX 11.0, *)
 16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:16:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | var fd: Int32 = -1
 15 | @available(OSX 11.0, *)
 16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
    |     |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:39:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 | #endif
 38 |
 39 | class SizeError: Error {
    |       `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:97:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 | public class Application {
 96 |     /// Points to the global application
 97 |     static var _top: Toplevel? = nil
    |                |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:98:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |     /// Points to the global application
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
    |                |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:99:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
    |                |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
    |                |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     static var initialized: Bool = false
102 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:101:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
    |                |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
    |                `- 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/Application.swift:147:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
    |                |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:148:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
148 |     static var pipeReader: DispatchSourceRead?
    |                |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:150:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
    |                |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
    |                `- 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/Application.swift:272:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
270 |     }
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
    |                |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     static var lastMouseOwnerView: View? = nil
274 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:273:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
273 |     static var lastMouseOwnerView: View? = nil
    |                |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:275:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 |     static var lastMouseOwnerView: View? = nil
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
    |                |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |     static var lastMouseToken = 0
277 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:276:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
276 |     static var lastMouseToken = 0
    |                |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 |
278 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:359:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
357 |     }
358 |
359 |     static var screen: Layer = Layer.empty
    |                |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |     static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
   |                       `- 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/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |     }
105 |
106 |     static var zeroMargin = DimFill (0)
    |                |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |     /**
[180/203] Compiling TermKit Clipboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:14:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | import os
 13 |
 14 | var fd: Int32 = -1
    |     |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | @available(OSX 11.0, *)
 16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:16:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | var fd: Int32 = -1
 15 | @available(OSX 11.0, *)
 16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
    |     |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:39:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 | #endif
 38 |
 39 | class SizeError: Error {
    |       `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:97:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 | public class Application {
 96 |     /// Points to the global application
 97 |     static var _top: Toplevel? = nil
    |                |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:98:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |     /// Points to the global application
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
    |                |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:99:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
    |                |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
    |                |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     static var initialized: Bool = false
102 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:101:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
    |                |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
    |                `- 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/Application.swift:147:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
    |                |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:148:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
148 |     static var pipeReader: DispatchSourceRead?
    |                |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:150:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
    |                |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
    |                `- 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/Application.swift:272:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
270 |     }
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
    |                |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     static var lastMouseOwnerView: View? = nil
274 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:273:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
273 |     static var lastMouseOwnerView: View? = nil
    |                |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:275:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 |     static var lastMouseOwnerView: View? = nil
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
    |                |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |     static var lastMouseToken = 0
277 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:276:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
276 |     static var lastMouseToken = 0
    |                |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 |
278 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:359:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
357 |     }
358 |
359 |     static var screen: Layer = Layer.empty
    |                |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |     static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
   |                       `- 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/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |     }
105 |
106 |     static var zeroMargin = DimFill (0)
    |                |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |     /**
[181/203] Compiling TermKit Dim.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:14:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | import os
 13 |
 14 | var fd: Int32 = -1
    |     |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | @available(OSX 11.0, *)
 16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:16:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | var fd: Int32 = -1
 15 | @available(OSX 11.0, *)
 16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
    |     |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:39:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 | #endif
 38 |
 39 | class SizeError: Error {
    |       `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 40 | }
 41 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:97:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 | public class Application {
 96 |     /// Points to the global application
 97 |     static var _top: Toplevel? = nil
    |                |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:98:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 |     /// Points to the global application
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
    |                |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:99:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 |     static var _top: Toplevel? = nil
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
    |                |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     static var _current: Toplevel? = nil
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
    |                |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |     static var initialized: Bool = false
102 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:101:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 99 |     static var toplevels: [Toplevel] = []
100 |     static var debugDrawBounds: Bool = false
101 |     static var initialized: Bool = false
    |                |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
    |                `- 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/Application.swift:147:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
    |                |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:148:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 |     /// We use this pipe to trigger a call to postProcessEvent
147 |     static var pipePostProcessEvent: [Int32] = [0, 0]
148 |     static var pipeReader: DispatchSourceRead?
    |                |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:150:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 |     static var pipeReader: DispatchSourceRead?
149 |     static let bufferSize = 128
150 |     static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
    |                |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
    |                `- 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/Application.swift:272:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
270 |     }
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
    |                |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     static var lastMouseOwnerView: View? = nil
274 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:273:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 |
272 |     static var wantContinuousButtonPressedView: View? = nil
273 |     static var lastMouseOwnerView: View? = nil
    |                |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:275:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 |     static var lastMouseOwnerView: View? = nil
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
    |                |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |     static var lastMouseToken = 0
277 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:276:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
274 |
275 |     static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
276 |     static var lastMouseToken = 0
    |                |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 |
278 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:359:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
357 |     }
358 |
359 |     static var screen: Layer = Layer.empty
    |                |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |     static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
   |                       `- 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/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 |     }
105 |
106 |     static var zeroMargin = DimFill (0)
    |                |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 |     /**
[182/203] Compiling TermKit Label.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 |     {
209 |         if let callback = action {
210 |             DispatchQueue.main.async(execute: callback)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 |         }
212 |     }
[183/203] Compiling TermKit ListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 |     {
209 |         if let callback = action {
210 |             DispatchQueue.main.async(execute: callback)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 |         }
212 |     }
[184/203] Compiling TermKit Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 |     {
209 |         if let callback = action {
210 |             DispatchQueue.main.async(execute: callback)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 |         }
212 |     }
[185/203] Compiling TermKit ProgressBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 |     {
209 |         if let callback = action {
210 |             DispatchQueue.main.async(execute: callback)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 |         }
212 |     }
[186/203] Compiling TermKit StandardToplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 24 |
 25 |     /// The view representing the desktop
 26 |     public private (set) var desk: View
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
 29 |     public private (set) var windows: [Window] = []
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |
 31 |     public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  97 |     var needDisplay: Rect = Rect.zero
  98 |     var _canFocus: Bool = false
  99 |     static var globalId: Int = 0
     |                |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 100 |     var _layoutStyle: LayoutStyle = .computed
 101 |
[187/203] Compiling TermKit Toplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 24 |
 25 |     /// The view representing the desktop
 26 |     public private (set) var desk: View
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
 29 |     public private (set) var windows: [Window] = []
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |
 31 |     public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  97 |     var needDisplay: Rect = Rect.zero
  98 |     var _canFocus: Bool = false
  99 |     static var globalId: Int = 0
     |                |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 100 |     var _layoutStyle: LayoutStyle = .computed
 101 |
[188/203] Compiling TermKit View.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 24 |
 25 |     /// The view representing the desktop
 26 |     public private (set) var desk: View
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
 29 |     public private (set) var windows: [Window] = []
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |
 31 |     public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  97 |     var needDisplay: Rect = Rect.zero
  98 |     var _canFocus: Bool = false
  99 |     static var globalId: Int = 0
     |                |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 100 |     var _layoutStyle: LayoutStyle = .computed
 101 |
[189/203] Compiling TermKit Window.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 24 |
 25 |     /// The view representing the desktop
 26 |     public private (set) var desk: View
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Windows currently managed by this toplevel
 29 |     public private (set) var windows: [Window] = []
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 30 |
 31 |     public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  97 |     var needDisplay: Rect = Rect.zero
  98 |     var _canFocus: Bool = false
  99 |     static var globalId: Int = 0
     |                |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 100 |     var _layoutStyle: LayoutStyle = .computed
 101 |
[190/203] Compiling TermKit Pos.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     static var emptyAnchorEnd = PosAnchorEnd (0)
    |                |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |     }
133 |
134 |     static var _center = PosCenter ()
    |                |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     public var size: Size
 14 |
 15 |     static public var zero = Rect (origin: Point.zero, size: Size.empty)
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
[191/203] Compiling TermKit Rect.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     static var emptyAnchorEnd = PosAnchorEnd (0)
    |                |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |     }
133 |
134 |     static var _center = PosCenter ()
    |                |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     public var size: Size
 14 |
 15 |     static public var zero = Rect (origin: Point.zero, size: Size.empty)
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
[192/203] Compiling TermKit Responder.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     static var emptyAnchorEnd = PosAnchorEnd (0)
    |                |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |     }
133 |
134 |     static var _center = PosCenter ()
    |                |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     public var size: Size
 14 |
 15 |     static public var zero = Rect (origin: Point.zero, size: Size.empty)
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public var IsEmpty: Bool {
16 |         get {
[193/203] Compiling TermKit Size.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     static var emptyAnchorEnd = PosAnchorEnd (0)
    |                |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |     }
133 |
134 |     static var _center = PosCenter ()
    |                |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |     public var size: Size
 14 |
 15 |     static public var zero = Rect (origin: Point.zero, size: Size.empty)
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 |     public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
    |                       `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
    |                                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
    |                                       `- 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/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'sync' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'lastColorPair' part of global actor 'MainActor'
    |                `- 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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/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/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: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
    |                       `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
    |                                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
    |                                       `- 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/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'sync' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'lastColorPair' part of global actor 'MainActor'
    |                `- 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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/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/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: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
    |                       `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
    |                                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
    |                                       `- 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/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'sync' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'lastColorPair' part of global actor 'MainActor'
    |                `- 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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/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/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: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
    |                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
    |                       `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
    |                                `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
    |                                       `- 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/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'sync' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'lastColorPair' part of global actor 'MainActor'
    |                `- 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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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 ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/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/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
[199/203] Compiling TermKit TextField.swift
[200/203] Compiling TermKit TextView.swift
[201/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'e' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'maybe' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 | func Assorted () -> Window {
 15 |     let win = Window ()
[202/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 nonisolated 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 nonisolated 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),
[203/210] Compiling Example DemoDialogs.swift
[204/210] Compiling Example DemoDataTable.swift
[205/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'e' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'maybe' part of global actor 'MainActor'
    |     `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'untitledCount' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     var filename: String?
 34 |     var textView: TextView
[206/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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'untitledCount' part of global actor 'MainActor'
    |                `- 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/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
[207/210] Compiling Example DemoTerminal.swift
[207/210] Write Objects.LinkFileList
[208/210] Linking Example
[209/210] Applying Example
Build complete! (14.16s)
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.