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

Failed to build TermKit, reference main (163afa), with Swift 6.1 for Linux on 28 Apr 2025 17:54:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
208 |     static let button1DoubleClicked  = MouseFlags(rawValue: 0x8)
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
210 |     static let button2Pressed        = MouseFlags(rawValue: 0x80)
    |                |- warning: static property 'button2Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button2Pressed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |     static let button2Released       = MouseFlags(rawValue: 0x40)
212 |     static let button2Clicked        = MouseFlags(rawValue: 0x100)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:211:16: warning: static property 'button2Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
209 |     static let button1TripleClicked  = MouseFlags(rawValue: 0x10)
210 |     static let button2Pressed        = MouseFlags(rawValue: 0x80)
211 |     static let button2Released       = MouseFlags(rawValue: 0x40)
    |                |- warning: static property 'button2Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button2Released' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |     static let button2Clicked        = MouseFlags(rawValue: 0x100)
213 |     static let button2DoubleClicked  = MouseFlags(rawValue: 0x200)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:212:16: warning: static property 'button2Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
210 |     static let button2Pressed        = MouseFlags(rawValue: 0x80)
211 |     static let button2Released       = MouseFlags(rawValue: 0x40)
212 |     static let button2Clicked        = MouseFlags(rawValue: 0x100)
    |                |- warning: static property 'button2Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button2Clicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |     static let button2DoubleClicked  = MouseFlags(rawValue: 0x200)
214 |     static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:213:16: warning: static property 'button2DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
211 |     static let button2Released       = MouseFlags(rawValue: 0x40)
212 |     static let button2Clicked        = MouseFlags(rawValue: 0x100)
213 |     static let button2DoubleClicked  = MouseFlags(rawValue: 0x200)
    |                |- warning: static property 'button2DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button2DoubleClicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |     static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 |     static let button3Pressed        = MouseFlags(rawValue: 0x2000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:214:16: warning: static property 'button2TrippleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
212 |     static let button2Clicked        = MouseFlags(rawValue: 0x100)
213 |     static let button2DoubleClicked  = MouseFlags(rawValue: 0x200)
214 |     static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
    |                |- warning: static property 'button2TrippleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button2TrippleClicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |     static let button3Pressed        = MouseFlags(rawValue: 0x2000)
216 |     static let button3Released       = MouseFlags(rawValue: 0x1000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:215:16: warning: static property 'button3Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
213 |     static let button2DoubleClicked  = MouseFlags(rawValue: 0x200)
214 |     static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 |     static let button3Pressed        = MouseFlags(rawValue: 0x2000)
    |                |- warning: static property 'button3Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button3Pressed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |     static let button3Released       = MouseFlags(rawValue: 0x1000)
217 |     static let button3Clicked        = MouseFlags(rawValue: 0x4000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:216:16: warning: static property 'button3Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
214 |     static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 |     static let button3Pressed        = MouseFlags(rawValue: 0x2000)
216 |     static let button3Released       = MouseFlags(rawValue: 0x1000)
    |                |- warning: static property 'button3Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button3Released' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |     static let button3Clicked        = MouseFlags(rawValue: 0x4000)
218 |     static let button3DoubleClicked  = MouseFlags(rawValue: 0x8000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:217:16: warning: static property 'button3Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
215 |     static let button3Pressed        = MouseFlags(rawValue: 0x2000)
216 |     static let button3Released       = MouseFlags(rawValue: 0x1000)
217 |     static let button3Clicked        = MouseFlags(rawValue: 0x4000)
    |                |- warning: static property 'button3Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button3Clicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |     static let button3DoubleClicked  = MouseFlags(rawValue: 0x8000)
219 |     static let button3TripleClicked  = MouseFlags(rawValue: 0x10000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:218:16: warning: static property 'button3DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
216 |     static let button3Released       = MouseFlags(rawValue: 0x1000)
217 |     static let button3Clicked        = MouseFlags(rawValue: 0x4000)
218 |     static let button3DoubleClicked  = MouseFlags(rawValue: 0x8000)
    |                |- warning: static property 'button3DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button3DoubleClicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |     static let button3TripleClicked  = MouseFlags(rawValue: 0x10000)
220 |     static let button4Pressed        = MouseFlags(rawValue: 0x80000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:219:16: warning: static property 'button3TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
217 |     static let button3Clicked        = MouseFlags(rawValue: 0x4000)
218 |     static let button3DoubleClicked  = MouseFlags(rawValue: 0x8000)
219 |     static let button3TripleClicked  = MouseFlags(rawValue: 0x10000)
    |                |- warning: static property 'button3TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button3TripleClicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |     static let button4Pressed        = MouseFlags(rawValue: 0x80000)
221 |     static let button4Released       = MouseFlags(rawValue: 0x40000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
218 |     static let button3DoubleClicked  = MouseFlags(rawValue: 0x8000)
219 |     static let button3TripleClicked  = MouseFlags(rawValue: 0x10000)
220 |     static let button4Pressed        = MouseFlags(rawValue: 0x80000)
    |                |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button4Pressed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |     static let button4Released       = MouseFlags(rawValue: 0x40000)
222 |     static let button4Clicked        = MouseFlags(rawValue: 0x100000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
219 |     static let button3TripleClicked  = MouseFlags(rawValue: 0x10000)
220 |     static let button4Pressed        = MouseFlags(rawValue: 0x80000)
221 |     static let button4Released       = MouseFlags(rawValue: 0x40000)
    |                |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button4Released' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |     static let button4Clicked        = MouseFlags(rawValue: 0x100000)
223 |     static let button4DoubleClicked  = MouseFlags(rawValue: 0x200000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:222:16: warning: static property 'button4Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
220 |     static let button4Pressed        = MouseFlags(rawValue: 0x80000)
221 |     static let button4Released       = MouseFlags(rawValue: 0x40000)
222 |     static let button4Clicked        = MouseFlags(rawValue: 0x100000)
    |                |- warning: static property 'button4Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button4Clicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 |     static let button4DoubleClicked  = MouseFlags(rawValue: 0x200000)
224 |     static let button4TripleClicked = MouseFlags(rawValue:  0x400000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:223:16: warning: static property 'button4DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
221 |     static let button4Released       = MouseFlags(rawValue: 0x40000)
222 |     static let button4Clicked        = MouseFlags(rawValue: 0x100000)
223 |     static let button4DoubleClicked  = MouseFlags(rawValue: 0x200000)
    |                |- warning: static property 'button4DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button4DoubleClicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |     static let button4TripleClicked = MouseFlags(rawValue:  0x400000)
225 |
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:224:16: warning: static property 'button4TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
222 |     static let button4Clicked        = MouseFlags(rawValue: 0x100000)
223 |     static let button4DoubleClicked  = MouseFlags(rawValue: 0x200000)
224 |     static let button4TripleClicked = MouseFlags(rawValue:  0x400000)
    |                |- warning: static property 'button4TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'button4TripleClicked' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 |     /// The shift key was pressed when the mouse event was produced
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:227:16: warning: static property 'buttonShift' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
225 |
226 |     /// The shift key was pressed when the mouse event was produced
227 |     static let buttonShift = MouseFlags(rawValue: 0x2000000)
    |                |- warning: static property 'buttonShift' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'buttonShift' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |     /// The control key was pressed when the mouse event was produced
229 |     static let buttonCtrl  = MouseFlags(rawValue: 0x1000000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:229:16: warning: static property 'buttonCtrl' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
227 |     static let buttonShift = MouseFlags(rawValue: 0x2000000)
228 |     /// The control key was pressed when the mouse event was produced
229 |     static let buttonCtrl  = MouseFlags(rawValue: 0x1000000)
    |                |- warning: static property 'buttonCtrl' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'buttonCtrl' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |     /// The alt key was pressed when the mouse event was produced
231 |     static let buttonAlt   = MouseFlags(rawValue: 0x4000000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:231:16: warning: static property 'buttonAlt' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
229 |     static let buttonCtrl  = MouseFlags(rawValue: 0x1000000)
230 |     /// The alt key was pressed when the mouse event was produced
231 |     static let buttonAlt   = MouseFlags(rawValue: 0x4000000)
    |                |- warning: static property 'buttonAlt' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'buttonAlt' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |
233 |     static let mousePosition = MouseFlags (rawValue: 0x8000000)
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:233:16: warning: static property 'mousePosition' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 |  * Flags for a mouse event
196 |  */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
    |               `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 |     public let rawValue: UInt
199 |
    :
231 |     static let buttonAlt   = MouseFlags(rawValue: 0x4000000)
232 |
233 |     static let mousePosition = MouseFlags (rawValue: 0x8000000)
    |                |- warning: static property 'mousePosition' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'mousePosition' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 |     static var debugDescriptions: [(Self, String)] = [
/host/spi-builder-workspace/Sources/TermKit/Core/Events.swift:235:16: warning: static property 'debugDescriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 |     static let mousePosition = MouseFlags (rawValue: 0x8000000)
234 |
235 |     static var debugDescriptions: [(Self, String)] = [
    |                |- warning: static property 'debugDescriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'debugDescriptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'debugDescriptions' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |         (.button1Pressed, "button1Pressed"),
237 |         (.button1Released, "button1Released"),
[166/208] Compiling TermKit Window.swift
[167/208] Compiling TermKit Dialog.swift
[168/208] Compiling TermKit FileDialog.swift
[169/208] Compiling TermKit InputBox.swift
[170/208] Compiling TermKit MessageBox.swift
[171/208] Compiling TermKit Menu.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
/host/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 |     }
[172/208] Compiling TermKit ProgressBar.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
/host/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 |     }
[173/208] Compiling TermKit RadioGroup.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
/host/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 |     }
[174/208] Compiling TermKit ScrollView.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
/host/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 |     }
[175/208] Compiling TermKit Responder.swift
/host/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
/host/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 ()
/host/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 {
/host/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 |
[176/208] Compiling TermKit Size.swift
/host/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
/host/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 ()
/host/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 {
/host/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 |
[177/208] Compiling TermKit StandardToplevel.swift
/host/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
/host/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 ()
/host/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 {
/host/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 |
[178/208] Compiling TermKit Toplevel.swift
/host/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
/host/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 ()
/host/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 {
/host/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 |
[179/208] Compiling TermKit View.swift
/host/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
/host/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 ()
/host/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 {
/host/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 |
[180/208] Compiling TermKit DataTable.swift
[181/208] Compiling TermKit Desktop.swift
[182/208] Compiling TermKit Frame.swift
[183/208] Compiling TermKit Label.swift
[184/208] Compiling TermKit ListView.swift
[185/208] Compiling TermKit ConsoleDriver.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 | }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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 |
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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()
/usr/include/curses.h:1485:32: note: var declared here
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
1486 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
1487 |
/host/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()
/usr/include/curses.h:1483:32: note: var declared here
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
1482 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
/host/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 |
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:568:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
566 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
567 |             print ("\u{1b}[?1003l")
568 |             fflush(stdout)
    |                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |         }
570 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:576:21: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
574 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
575 |             print ("\u{1b}[?1003h")
576 |             fflush (stdout)
    |                     `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
577 |         }
578 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/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
/host/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
/host/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 |     }
[186/208] Compiling TermKit CursesDriver.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 | }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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 |
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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()
/usr/include/curses.h:1485:32: note: var declared here
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
1486 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
1487 |
/host/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()
/usr/include/curses.h:1483:32: note: var declared here
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
1482 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
/host/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 |
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:568:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
566 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
567 |             print ("\u{1b}[?1003l")
568 |             fflush(stdout)
    |                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |         }
570 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:576:21: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
574 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
575 |             print ("\u{1b}[?1003h")
576 |             fflush (stdout)
    |                     `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
577 |         }
578 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/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
/host/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
/host/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 |     }
[187/208] Compiling TermKit StringChar.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 | }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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 |
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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()
/usr/include/curses.h:1485:32: note: var declared here
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
1486 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
1487 |
/host/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()
/usr/include/curses.h:1483:32: note: var declared here
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
1482 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
/host/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 |
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:568:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
566 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
567 |             print ("\u{1b}[?1003l")
568 |             fflush(stdout)
    |                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |         }
570 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:576:21: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
574 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
575 |             print ("\u{1b}[?1003h")
576 |             fflush (stdout)
    |                     `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
577 |         }
578 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/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
/host/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
/host/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 |     }
[188/208] Compiling TermKit Button.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 | }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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 |
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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()
/usr/include/curses.h:1485:32: note: var declared here
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
1486 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
1487 |
/host/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()
/usr/include/curses.h:1483:32: note: var declared here
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
1482 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
/host/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 |
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:568:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
566 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
567 |             print ("\u{1b}[?1003l")
568 |             fflush(stdout)
    |                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |         }
570 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:576:21: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
574 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
575 |             print ("\u{1b}[?1003h")
576 |             fflush (stdout)
    |                     `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
577 |         }
578 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/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
/host/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
/host/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 |     }
[189/208] Compiling TermKit Checkbox.swift
/host/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)
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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 | }
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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
/host/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 |
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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 ();
/usr/include/curses.h:1479:37: note: var declared here
1477 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
1478 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
     |                                     `- note: var declared here
1480 | extern NCURSES_EXPORT_VAR(char) ttytype[];
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
/host/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()
/usr/include/curses.h:1485:32: note: var declared here
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
     |                                `- note: var declared here
1486 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
1487 |
/host/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()
/usr/include/curses.h:1483:32: note: var declared here
1481 | extern NCURSES_EXPORT_VAR(int) COLORS;
1482 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
1483 | extern NCURSES_EXPORT_VAR(int) COLS;
     |                                `- note: var declared here
1484 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
1485 | extern NCURSES_EXPORT_VAR(int) LINES;
/host/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 |
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:568:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
566 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
567 |             print ("\u{1b}[?1003l")
568 |             fflush(stdout)
    |                    `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |         }
570 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:576:21: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
574 |         if (mouseEvents & mmask_t(cursesReportMousePosition)) != 0 {
575 |             print ("\u{1b}[?1003h")
576 |             fflush (stdout)
    |                     `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
577 |         }
578 |     }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/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
/host/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
/host/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 |     }
[190/208] Compiling TermKit StatusBar.swift
[191/208] Compiling TermKit Terminal.swift
[192/208] Compiling TermKit TextField.swift
[193/208] Compiling TermKit TextView.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/144] Compiling TextBufferKit SearchData.swift
[3/145] Compiling TextBufferKit Position.swift
[4/145] Compiling TextBufferKit Range.swift
[5/145] Compiling OpenCombine CustomCombineIdentifierConvertible.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[6/145] Compiling OpenCombine Future.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[7/145] Compiling OpenCombine GENERATED-RootProtocols.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[8/145] Compiling OpenCombine ConduitBase.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[9/145] Compiling OpenCombine ConduitList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[10/149] Compiling SwiftTerm iOSExtensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[11/149] Compiling SwiftTerm iOSKeyboardView.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[12/149] Compiling SwiftTerm iOSTerminalView.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[13/149] Compiling SwiftTerm iOSTextInput.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[14/149] Compiling TextBufferKit PieceTreeBuilder.swift
[15/149] Compiling TextBufferKit PieceTreeTextBuffer.swift
[16/149] Compiling OpenCombine DebugHook.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[17/149] Compiling OpenCombine FilterProducer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[18/149] Compiling OpenCombine Locking.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[19/149] Compiling OpenCombine PartialCompletion.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[20/149] Compiling OpenCombine PublishedSubject.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
[21/149] Compiling TextBufferKit TreeBase.swift
[29/149] Compiling OpenCombine PublishedSubscriber.swift
[30/149] Compiling OpenCombine ReduceProducer.swift
[31/149] Compiling OpenCombine SubjectSubscriber.swift
[32/149] Compiling OpenCombine SubscriberTap.swift
[33/149] Compiling OpenCombine SubscriptionStatus.swift
[34/149] Compiling OpenCombine SubscriptionTap.swift
[35/161] Compiling TextBufferKit FindMatch.swift
[36/161] Emitting module TextBufferKit
[37/161] Compiling TextBufferKit PieceTreeBase.swift
[38/162] Compiling OpenCombine AnyCancellable.swift
[39/162] Compiling OpenCombine AnyPublisher.swift
[40/162] Compiling OpenCombine AnySubscriber.swift
[41/162] Compiling OpenCombine Cancellable.swift
[42/162] Compiling OpenCombine Codable.swift
[43/162] Compiling OpenCombine CombineIdentifier.swift
[44/162] Compiling OpenCombine ConcurrencyHelpers.swift
[45/162] Compiling OpenCombine Future+Concurrency.swift
[46/162] Compiling OpenCombine GENERATED-Publisher+Concurrency.swift
[47/162] Compiling OpenCombine CurrentValueSubject.swift
[51/162] Emitting module OpenCombine
[53/162] Compiling OpenCombine Utils.swift
[54/162] Compiling OpenCombine Violations.swift
[55/162] Compiling OpenCombine ImmediateScheduler.swift
[56/162] Compiling OpenCombine ObservableObject.swift
[57/162] Compiling OpenCombine PassthroughSubject.swift
[58/162] Compiling OpenCombine Published.swift
[59/162] Compiling OpenCombine Publisher+Subscribe.swift
[60/162] Compiling OpenCombine Deferred.swift
[61/162] Compiling OpenCombine Empty.swift
[66/161] Compiling OpenCombine Just.swift
[67/161] Compiling OpenCombine Optional.Publisher.swift
[68/161] Compiling OpenCombine Publishers.AllSatisfy.swift
[69/161] Compiling OpenCombine Publishers.AssertNoFailure.swift
[70/161] Compiling OpenCombine Publishers.Autoconnect.swift
[71/161] Compiling OpenCombine Publishers.Breakpoint.swift
[72/161] Compiling OpenCombine Publishers.Buffer.swift
[73/161] Compiling OpenCombine Publishers.Collect.swift
[74/161] Compiling OpenCombine Publishers.CollectByCount.swift
[75/161] Compiling OpenCombine Publishers.CompactMap.swift
[76/161] Compiling OpenCombine Publishers.Comparison.swift
[77/161] Compiling OpenCombine Publishers.Concatenate.swift
[78/161] Compiling OpenCombine Publishers.Contains.swift
[79/161] Compiling OpenCombine Result.swift
[80/161] Compiling OpenCombine Scheduler.swift
[81/161] Compiling OpenCombine Subject+Void.swift
[82/161] Compiling OpenCombine Subscriber+Void.swift
[83/161] Compiling OpenCombine Subscribers.Assign.swift
[84/161] Compiling OpenCombine Subscribers.Completion.swift
[85/161] Compiling OpenCombine Subscribers.Demand.swift
[86/161] Compiling OpenCombine Subscribers.Sink.swift
[87/161] Compiling OpenCombine Subscribers.swift
[88/161] Compiling OpenCombine Subscription.swift
[89/161] Compiling OpenCombine Subscriptions.swift
[90/161] Compiling OpenCombine _Introspection.swift
[91/161] Compiling OpenCombine Publishers.Map.swift
[92/161] Compiling OpenCombine Publishers.MapError.swift
[93/161] Compiling OpenCombine Publishers.MeasureInterval.swift
[94/161] Compiling OpenCombine Publishers.Multicast.swift
[95/161] Compiling OpenCombine Publishers.Output.swift
[96/161] Compiling OpenCombine Publishers.PrefixUntilOutput.swift
[97/161] Compiling OpenCombine Publishers.PrefixWhile.swift
[98/161] Compiling OpenCombine Publishers.Print.swift
[99/161] Compiling OpenCombine Publishers.ReceiveOn.swift
[100/161] Compiling OpenCombine Publishers.Reduce.swift
[101/161] Compiling OpenCombine Publishers.RemoveDuplicates.swift
[102/161] Compiling OpenCombine Publishers.ReplaceEmpty.swift
[103/161] Compiling OpenCombine Publishers.ReplaceError.swift
[104/161] Compiling OpenCombine Publishers.Retry.swift
[105/161] Compiling OpenCombine Publishers.Scan.swift
[106/161] Compiling OpenCombine Publishers.Sequence.swift
[107/161] Compiling OpenCombine Publishers.SetFailureType.swift
[108/161] Compiling OpenCombine Publishers.Share.swift
[109/161] Compiling OpenCombine Publishers.SubscribeOn.swift
[110/161] Compiling OpenCombine Publishers.SwitchToLatest.swift
[111/161] Compiling OpenCombine Publishers.Throttle.swift
[112/161] Compiling OpenCombine Publishers.Timeout.swift
[113/161] Compiling OpenCombine Publishers.Zip.swift
[114/161] Compiling OpenCombine Publishers.swift
[115/161] Compiling OpenCombine Record.swift
[116/161] Compiling OpenCombine Result.Publisher.swift
[117/161] Compiling OpenCombine Publishers.Count.swift
[118/161] Compiling OpenCombine Publishers.Debounce.swift
[119/161] Compiling OpenCombine Publishers.Delay.swift
[120/161] Compiling OpenCombine Publishers.Drop.swift
[121/161] Compiling OpenCombine Publishers.DropUntilOutput.swift
[122/161] Compiling OpenCombine Publishers.DropWhile.swift
[123/161] Compiling OpenCombine Publishers.Filter.swift
[124/161] Compiling OpenCombine Publishers.First.swift
[125/161] Compiling OpenCombine Publishers.FlatMap.swift
[126/161] Compiling OpenCombine Publishers.HandleEvents.swift
[127/161] Compiling OpenCombine Publishers.IgnoreOutput.swift
[128/161] Compiling OpenCombine Publishers.Last.swift
[129/161] Compiling OpenCombine Publishers.MakeConnectable.swift
[130/162] Wrapping AST for OpenCombine for debugging
[132/197] Compiling TermKit Layer.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:146:55: error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
144 |         let value = rune.value
145 |         #endif
146 |         let len = Int32 (wcwidth(wchar_t (bitPattern: value)))
    |                                                       `- error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
147 |         let npos = pos.x + Int (len)
148 |
[133/197] Compiling TermKit Painter.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:146:55: error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
144 |         let value = rune.value
145 |         #endif
146 |         let len = Int32 (wcwidth(wchar_t (bitPattern: value)))
    |                                                       `- error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
147 |         let npos = pos.x + Int (len)
148 |
[134/197] Compiling TermKit Point.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:146:55: error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
144 |         let value = rune.value
145 |         #endif
146 |         let len = Int32 (wcwidth(wchar_t (bitPattern: value)))
    |                                                       `- error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
147 |         let npos = pos.x + Int (len)
148 |
[135/197] Compiling TermKit Pos.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:146:55: error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
144 |         let value = rune.value
145 |         #endif
146 |         let len = Int32 (wcwidth(wchar_t (bitPattern: value)))
    |                                                       `- error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
147 |         let npos = pos.x + Int (len)
148 |
[136/197] Compiling TermKit Rect.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:146:55: error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
144 |         let value = rune.value
145 |         #endif
146 |         let len = Int32 (wcwidth(wchar_t (bitPattern: value)))
    |                                                       `- error: cannot convert value of type 'Int32' to expected argument type 'UInt32'
147 |         let npos = pos.x + Int (len)
148 |
[137/201] Emitting module TermKit
/host/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
/host/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 ()
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
[138/201] Compiling TermKit Application.swift
[139/201] Compiling TermKit AttributedString.swift
[140/201] Compiling TermKit Clipboard.swift
[141/201] Compiling TermKit Dim.swift
[142/201] Compiling TermKit Events.swift
[143/201] Compiling TermKit Menu.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
[144/201] Compiling TermKit ProgressBar.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
[145/201] Compiling TermKit RadioGroup.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
[146/201] Compiling TermKit ScrollView.swift
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 58 |
 59 |     /// The labels displayed for this radio group
 60 |     public private (set) var radioLabels: [String]
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
/host/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 60 |     public private (set) var radioLabels: [String]
 61 |     /// The orientation in which this radio group is shown
 62 |     public private (set) var orientation: Orientation
    |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 63 |
 64 |     /// Callback invoked when the selection has changed, it passes the previous
[147/201] Compiling TermKit Responder.swift
/host/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
/host/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 ()
[148/201] Compiling TermKit Size.swift
/host/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
/host/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 ()
[149/201] Compiling TermKit StandardToplevel.swift
/host/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
/host/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 ()
[150/201] Compiling TermKit Toplevel.swift
/host/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
/host/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 ()
[151/201] Compiling TermKit View.swift
/host/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
/host/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 ()
[152/201] Compiling TermKit StatusBar.swift
[153/201] Compiling TermKit Terminal.swift
[154/201] Compiling TermKit TextField.swift
[155/201] Compiling TermKit TextView.swift
[156/201] Compiling TermKit Window.swift
[157/201] Compiling TermKit Dialog.swift
[158/201] Compiling TermKit FileDialog.swift
[159/201] Compiling TermKit InputBox.swift
[160/201] Compiling TermKit MessageBox.swift
[161/201] Compiling TermKit ConsoleDriver.swift
/host/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 |
[162/201] Compiling TermKit CursesDriver.swift
/host/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 |
[163/201] Compiling TermKit StringChar.swift
/host/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 |
[164/201] Compiling TermKit Button.swift
/host/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 |
[165/201] Compiling TermKit Checkbox.swift
/host/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 |
[166/201] Compiling TermKit DataTable.swift
[167/201] Compiling TermKit Desktop.swift
[168/201] Compiling TermKit Frame.swift
[169/201] Compiling TermKit Label.swift
[170/201] Compiling TermKit ListView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[171/201] Emitting module SwiftTerm
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/Apple/CaretView.swift:9:8: error: no such module 'CoreText'
 7 |
 8 | import Foundation
 9 | import CoreText
   |        `- error: no such module 'CoreText'
10 |
11 | extension CaretView {
BUILD FAILURE 6.1 linux