Build Information
Successful build of TermKit, reference main (3bce85
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 07:23:54 UTC.
Swift 6 data race errors: 72
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
15 | public var IsEmpty: Bool {
16 | get {
[175/203] Compiling TermKit Rect.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | }
99 |
100 | static var emptyAnchorEnd = PosAnchorEnd (0)
| |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | }
133 |
134 | static var _center = PosCenter ()
| |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public var size: Size
14 |
15 | static public var zero = Rect (origin: Point.zero, size: Size.empty)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | var width = 0
13 | var height = 0
14 | static public var empty: Size = Size (width: 0, height: 0)
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var IsEmpty: Bool {
16 | get {
[176/203] Compiling TermKit Responder.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | }
99 |
100 | static var emptyAnchorEnd = PosAnchorEnd (0)
| |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | }
133 |
134 | static var _center = PosCenter ()
| |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public var size: Size
14 |
15 | static public var zero = Rect (origin: Point.zero, size: Size.empty)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | var width = 0
13 | var height = 0
14 | static public var empty: Size = Size (width: 0, height: 0)
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var IsEmpty: Bool {
16 | get {
[177/203] Compiling TermKit Size.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:100:16: warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | }
99 |
100 | static var emptyAnchorEnd = PosAnchorEnd (0)
| |- warning: static property 'emptyAnchorEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyAnchorEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'emptyAnchorEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Pos.swift:134:16: warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | }
133 |
134 | static var _center = PosCenter ()
| |- warning: static property '_center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Rect.swift:15:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public var size: Size
14 |
15 | static public var zero = Rect (origin: Point.zero, size: Size.empty)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Size.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | var width = 0
13 | var height = 0
14 | static public var empty: Size = Size (width: 0, height: 0)
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var IsEmpty: Bool {
16 | get {
[178/203] Compiling TermKit Dialog.swift
[179/203] Compiling TermKit FileDialog.swift
[180/203] Compiling TermKit InputBox.swift
[181/203] Compiling TermKit MessageBox.swift
[182/203] Compiling TermKit Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:13:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import os
12 |
13 | var fd: Int32 = -1
| |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:15:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | var fd: Int32 = -1
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
| |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:32:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | class SizeError: Error {
| `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:90:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public class Application {
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
| |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:91:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:92:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
| |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:93:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | static var initialized: Bool = false
95 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:94:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:115:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// The current Console Driver in use.
115 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:140:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
| |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:141:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
141 | static var pipeReader: DispatchSourceRead?
| |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:143:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
| |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:248:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 |
247 | // Tracks the view that has grabbed the mouse
248 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:265:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
| |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | static var lastMouseOwnerView: View? = nil
267 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:266:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
266 | static var lastMouseOwnerView: View? = nil
| |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:268:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
266 | static var lastMouseOwnerView: View? = nil
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
| |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | static var lastMouseToken = 0
270 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:269:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
269 | static var lastMouseToken = 0
| |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:352:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | }
351 |
352 | static var screen: Layer = Layer.empty
| |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 |
354 | static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 | /// Contents of the clipboard
16 | public static var contents : String = ""
| |- warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | }
105 |
106 | static var zeroMargin = DimFill (0)
| |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
[183/203] Compiling TermKit AttributedString.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:13:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import os
12 |
13 | var fd: Int32 = -1
| |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:15:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | var fd: Int32 = -1
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
| |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:32:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | class SizeError: Error {
| `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:90:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public class Application {
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
| |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:91:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:92:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
| |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:93:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | static var initialized: Bool = false
95 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:94:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:115:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// The current Console Driver in use.
115 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:140:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
| |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:141:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
141 | static var pipeReader: DispatchSourceRead?
| |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:143:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
| |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:248:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 |
247 | // Tracks the view that has grabbed the mouse
248 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:265:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
| |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | static var lastMouseOwnerView: View? = nil
267 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:266:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
266 | static var lastMouseOwnerView: View? = nil
| |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:268:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
266 | static var lastMouseOwnerView: View? = nil
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
| |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | static var lastMouseToken = 0
270 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:269:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
269 | static var lastMouseToken = 0
| |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:352:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | }
351 |
352 | static var screen: Layer = Layer.empty
| |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 |
354 | static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 | /// Contents of the clipboard
16 | public static var contents : String = ""
| |- warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | }
105 |
106 | static var zeroMargin = DimFill (0)
| |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
[184/203] Compiling TermKit Clipboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:13:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import os
12 |
13 | var fd: Int32 = -1
| |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:15:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | var fd: Int32 = -1
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
| |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:32:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | class SizeError: Error {
| `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:90:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public class Application {
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
| |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:91:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:92:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
| |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:93:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | static var initialized: Bool = false
95 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:94:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:115:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// The current Console Driver in use.
115 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:140:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
| |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:141:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
141 | static var pipeReader: DispatchSourceRead?
| |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:143:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
| |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:248:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 |
247 | // Tracks the view that has grabbed the mouse
248 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:265:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
| |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | static var lastMouseOwnerView: View? = nil
267 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:266:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
266 | static var lastMouseOwnerView: View? = nil
| |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:268:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
266 | static var lastMouseOwnerView: View? = nil
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
| |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | static var lastMouseToken = 0
270 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:269:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
269 | static var lastMouseToken = 0
| |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:352:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | }
351 |
352 | static var screen: Layer = Layer.empty
| |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 |
354 | static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 | /// Contents of the clipboard
16 | public static var contents : String = ""
| |- warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | }
105 |
106 | static var zeroMargin = DimFill (0)
| |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
[185/203] Compiling TermKit Dim.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:13:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import os
12 |
13 | var fd: Int32 = -1
| |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'fd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:15:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | var fd: Int32 = -1
14 | @available(OSX 11.0, *)
15 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
| |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:32:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | class SizeError: Error {
| `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:90:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | public class Application {
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
| |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:91:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
89 | /// Points to the global application
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:92:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | static var _top: Toplevel? = nil
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
| |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toplevels' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:93:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | static var _current: Toplevel? = nil
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'debugDrawBounds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | static var initialized: Bool = false
95 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:94:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | static var toplevels: [Toplevel] = []
93 | static var debugDrawBounds: Bool = false
94 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'initialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:115:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// The current Console Driver in use.
115 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'driver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:140:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
138 |
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
| |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipePostProcessEvent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:141:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | /// We use this pipe to trigger a call to postProcessEvent
140 | static var pipePostProcessEvent: [Int32] = [0, 0]
141 | static var pipeReader: DispatchSourceRead?
| |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'pipeReader' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:143:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
141 | static var pipeReader: DispatchSourceRead?
142 | static let bufferSize = 128
143 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
| |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'buffer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:248:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
246 |
247 | // Tracks the view that has grabbed the mouse
248 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mouseGrabView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:265:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
263 | }
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
| |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'wantContinuousButtonPressedView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | static var lastMouseOwnerView: View? = nil
267 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:266:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
264 |
265 | static var wantContinuousButtonPressedView: View? = nil
266 | static var lastMouseOwnerView: View? = nil
| |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseOwnerView' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:268:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
266 | static var lastMouseOwnerView: View? = nil
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
| |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rootMouseHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | static var lastMouseToken = 0
270 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:269:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 |
268 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
269 | static var lastMouseToken = 0
| |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastMouseToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:352:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | }
351 |
352 | static var screen: Layer = Layer.empty
| |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'screen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 |
354 | static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public class Clipboard {
15 | /// Contents of the clipboard
16 | public static var contents : String = ""
| |- warning: static property 'contents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contents' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Dim.swift:106:16: warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | }
105 |
106 | static var zeroMargin = DimFill (0)
| |- warning: static property 'zeroMargin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zeroMargin' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zeroMargin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
[186/203] Compiling TermKit Label.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 | {
209 | if let callback = action {
210 | DispatchQueue.main.async(execute: callback)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 | }
212 | }
[187/203] Compiling TermKit ListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 | {
209 | if let callback = action {
210 | DispatchQueue.main.async(execute: callback)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 | }
212 | }
[188/203] Compiling TermKit Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 | {
209 | if let callback = action {
210 | DispatchQueue.main.async(execute: callback)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 | }
212 | }
[189/203] Compiling TermKit ProgressBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/Menu.swift:210:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
208 | {
209 | if let callback = action {
210 | DispatchQueue.main.async(execute: callback)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
211 | }
212 | }
[190/203] Compiling TermKit StandardToplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 |
25 | /// The view representing the desktop
26 | public private (set) var desk: View
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
29 | public private (set) var windows: [Window] = []
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 |
31 | public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | var needDisplay: Rect = Rect.zero
98 | var _canFocus: Bool = false
99 | static var globalId: Int = 0
| |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
[191/203] Compiling TermKit Toplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 |
25 | /// The view representing the desktop
26 | public private (set) var desk: View
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
29 | public private (set) var windows: [Window] = []
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 |
31 | public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | var needDisplay: Rect = Rect.zero
98 | var _canFocus: Bool = false
99 | static var globalId: Int = 0
| |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
[192/203] Compiling TermKit View.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 |
25 | /// The view representing the desktop
26 | public private (set) var desk: View
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
29 | public private (set) var windows: [Window] = []
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 |
31 | public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | var needDisplay: Rect = Rect.zero
98 | var _canFocus: Bool = false
99 | static var globalId: Int = 0
| |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
[193/203] Compiling TermKit Window.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 |
25 | /// The view representing the desktop
26 | public private (set) var desk: View
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:29:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
27 |
28 | /// Windows currently managed by this toplevel
29 | public private (set) var windows: [Window] = []
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 |
31 | public override init ()
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/View.swift:99:16: warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | var needDisplay: Rect = Rect.zero
98 | var _canFocus: Bool = false
99 | static var globalId: Int = 0
| |- warning: static property 'globalId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'globalId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
[194/203] Compiling TermKit ConsoleDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:13: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
11 |
12 | /// Turn this on to debug rendering problems, makes screen updates sync
13 | 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
14 |
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:372: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
370 | }
371 |
372 | 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
373 |
374 | func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:103: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
101 | curs_set (1)
102 | init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
103 | 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
104 | setupInput ()
105 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
| `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
| `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:293:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
291 | {
292 | timeout (-1)
293 | FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
| `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:225:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
223 | let me = toAppMouseEvent (mouseEvent)
224 | DispatchQueue.main.async {
225 | 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
226 | }
227 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:231:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
229 | let ke = KeyEvent(key: toAppKeyEvent (result))
230 | DispatchQueue.main.async {
231 | 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
232 | }
233 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:286:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
284 | }
285 | DispatchQueue.main.async {
286 | 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
287 | }
288 | }
[195/203] Compiling TermKit CursesDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:13: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
11 |
12 | /// Turn this on to debug rendering problems, makes screen updates sync
13 | 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
14 |
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:372: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
370 | }
371 |
372 | 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
373 |
374 | func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:103: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
101 | curs_set (1)
102 | init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
103 | 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
104 | setupInput ()
105 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
| `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
| `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:293:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
291 | {
292 | timeout (-1)
293 | FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
| `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:225:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
223 | let me = toAppMouseEvent (mouseEvent)
224 | DispatchQueue.main.async {
225 | 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
226 | }
227 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:231:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
229 | let ke = KeyEvent(key: toAppKeyEvent (result))
230 | DispatchQueue.main.async {
231 | 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
232 | }
233 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:286:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
284 | }
285 | DispatchQueue.main.async {
286 | 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
287 | }
288 | }
[196/203] Compiling TermKit StringChar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:13: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
11 |
12 | /// Turn this on to debug rendering problems, makes screen updates sync
13 | 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
14 |
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:372: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
370 | }
371 |
372 | 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
373 |
374 | func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:103: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
101 | curs_set (1)
102 | init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
103 | 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
104 | setupInput ()
105 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
| `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
| `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:293:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
291 | {
292 | timeout (-1)
293 | FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
| `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:225:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
223 | let me = toAppMouseEvent (mouseEvent)
224 | DispatchQueue.main.async {
225 | 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
226 | }
227 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:231:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
229 | let ke = KeyEvent(key: toAppKeyEvent (result))
230 | DispatchQueue.main.async {
231 | 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
232 | }
233 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:286:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
284 | }
285 | DispatchQueue.main.async {
286 | 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
287 | }
288 | }
[197/203] Compiling TermKit Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_base' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_base' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_dialog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_dialog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_dialog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_menu' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_menu' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_menu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | */
172 | public class Colors {
173 | static var _base, _dialog, _menu, _error: ColorScheme?
| |- warning: static property '_error' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_error' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:13: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
11 |
12 | /// Turn this on to debug rendering problems, makes screen updates sync
13 | 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
14 |
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:372: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
370 | }
371 |
372 | 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
373 |
374 | func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:103: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
101 | curs_set (1)
102 | init_pair (0, Int16(COLOR_BLACK), Int16(COLOR_GREEN))
103 | 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
104 | setupInput ()
105 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:106: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
104 | setupInput ()
105 |
106 | 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
107 |
108 | clear ();
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2302:37: note: var declared here
2300 | extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
2301 | extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
2302 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
| `- note: var declared here
2303 | extern NCURSES_EXPORT_VAR(char) ttytype[];
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2308:32: note: var declared here
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
| `- note: var declared here
2309 | extern NCURSES_EXPORT_VAR(int) TABSIZE;
2310 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:210: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
208 | if status == KEY_CODE_YES {
209 | if result == KEY_RESIZE {
210 | 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
211 | DispatchQueue.main.async {
212 | Application.terminalResized()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/curses.h:2306:32: note: var declared here
2304 | extern NCURSES_EXPORT_VAR(int) COLORS;
2305 | extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
2306 | extern NCURSES_EXPORT_VAR(int) COLS;
| `- note: var declared here
2307 | extern NCURSES_EXPORT_VAR(int) ESCDELAY;
2308 | extern NCURSES_EXPORT_VAR(int) LINES;
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:293:53: warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
291 | {
292 | timeout (-1)
293 | FileHandle.standardInput.readabilityHandler = inputReadCallback(input:)
| `- warning: converting non-sendable function value to '@Sendable (FileHandle) -> Void' may introduce data races
294 | }
295 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:225:63: warning: sending 'me' risks causing data races; this is an error in the Swift 6 language mode
223 | let me = toAppMouseEvent (mouseEvent)
224 | DispatchQueue.main.async {
225 | 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
226 | }
227 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:231:52: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
229 | let ke = KeyEvent(key: toAppKeyEvent (result))
230 | DispatchQueue.main.async {
231 | 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
232 | }
233 | return
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:286:48: warning: sending 'ke' risks causing data races; this is an error in the Swift 6 language mode
284 | }
285 | DispatchQueue.main.async {
286 | 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
287 | }
288 | }
[198/203] Compiling TermKit Terminal.swift
[199/203] Compiling TermKit TextField.swift
[200/203] Compiling TermKit TextView.swift
[201/210] Compiling Example DemoTerminal.swift
[202/210] Compiling Example main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/main.swift:63:71: warning: main actor-isolated let 'win' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 |
16 | Application.prepare()
17 | let win = Window()
| `- note: let declared here
18 | win.x = Pos.at (0)
19 | win.y = Pos.at (1)
:
61 | MenuBarItem(title: "_File", children: [
62 | MenuItem(title: "Text _Editor Demo", action: showEditor),
63 | MenuItem(title: "Open _Terminal", action: { openTerminal (win) } ),
| `- warning: main actor-isolated let 'win' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | MenuItem(title: "_New", help: "Creates new file", action: newFile),
65 | MenuItem(title: "_Open", action: openFile),
[203/210] Compiling Example DemoAssorted.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:12:5: warning: var 'e' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | import OpenCombine
11 |
12 | var e: AnyCancellable? = nil
| |- warning: var 'e' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'e' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var maybe = false
14 | func Assorted () -> Window {
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:13:5: warning: var 'maybe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | var e: AnyCancellable? = nil
13 | var maybe = false
| |- warning: var 'maybe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maybe' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maybe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | func Assorted () -> Window {
15 | let win = Window ()
[204/210] Compiling Example DemoDialogs.swift
[205/210] Emitting module Example
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:12:5: warning: var 'e' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | import OpenCombine
11 |
12 | var e: AnyCancellable? = nil
| |- warning: var 'e' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'e' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var maybe = false
14 | func Assorted () -> Window {
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:13:5: warning: var 'maybe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | var e: AnyCancellable? = nil
13 | var maybe = false
| |- warning: var 'maybe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maybe' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'maybe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | func Assorted () -> Window {
15 | let win = Window ()
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:32:16: warning: static property 'untitledCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | // Convenient place to track the open files - we have a 1:1 mapping, an open window is an open file
31 | class FileWindow: Window {
32 | static var untitledCount = 0
| |- warning: static property 'untitledCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'untitledCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'untitledCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | var filename: String?
34 | var textView: TextView
[206/210] Compiling Example DemoStandardToplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:32:16: warning: static property 'untitledCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | // Convenient place to track the open files - we have a 1:1 mapping, an open window is an open file
31 | class FileWindow: Window {
32 | static var untitledCount = 0
| |- warning: static property 'untitledCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'untitledCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'untitledCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | var filename: String?
34 | var textView: TextView
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:104:44: warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | func place (window: FileWindow) {
104 | window.frame = Rect (origin: Point.zero, size: desk.bounds.size)
| `- warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | manage (window: window)
106 | window.closeClicked = handleClose
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22:23: note: static property declared here
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| `- note: static property declared here
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
[207/210] Compiling Example DemoDataTable.swift
[207/210] Write Objects.LinkFileList
[208/210] Linking Example
[209/210] Applying Example
Build complete! (15.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "opencombine",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OpenCombine/OpenCombine.git"
},
{
"identity" : "textbufferkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/migueldeicaza/TextBufferKit.git"
},
{
"identity" : "swiftterm",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/migueldeicaza/SwiftTerm.git"
}
],
"manifest_display_name" : "TermKit",
"name" : "TermKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "TermKit",
"targets" : [
"TermKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TermKitTests",
"module_type" : "SwiftTarget",
"name" : "TermKitTests",
"path" : "Tests/TermKitTests",
"sources" : [
"TermKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TermKit"
],
"type" : "test"
},
{
"c99name" : "TermKit",
"module_type" : "SwiftTarget",
"name" : "TermKit",
"path" : "Sources/TermKit",
"product_dependencies" : [
"OpenCombine",
"TextBufferKit",
"SwiftTerm"
],
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
"Core/Application.swift",
"Core/AttributedString.swift",
"Core/Clipboard.swift",
"Core/Dim.swift",
"Core/Events.swift",
"Core/Layer.swift",
"Core/Painter.swift",
"Core/Point.swift",
"Core/Pos.swift",
"Core/Rect.swift",
"Core/Responder.swift",
"Core/Size.swift",
"Core/StandardToplevel.swift",
"Core/Toplevel.swift",
"Core/View.swift",
"Core/Window.swift",
"Dialogs/Dialog.swift",
"Dialogs/FileDialog.swift",
"Dialogs/InputBox.swift",
"Dialogs/MessageBox.swift",
"Drivers/ConsoleDriver.swift",
"Drivers/CursesDriver.swift",
"Extensions/StringChar.swift",
"Views/Button.swift",
"Views/Checkbox.swift",
"Views/DataTable.swift",
"Views/Desktop.swift",
"Views/Frame.swift",
"Views/Label.swift",
"Views/ListView.swift",
"Views/Menu.swift",
"Views/ProgressBar.swift",
"Views/RadioGroup.swift",
"Views/ScrollView.swift",
"Views/StatusBar.swift",
"Views/Terminal.swift",
"Views/TextField.swift",
"Views/TextView.swift"
],
"target_dependencies" : [
"Curses"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_dependencies" : [
"SwiftTerm"
],
"product_memberships" : [
"Example"
],
"sources" : [
"DemoAssorted.swift",
"DemoDataTable.swift",
"DemoDialogs.swift",
"DemoStandardToplevel.swift",
"DemoTerminal.swift",
"main.swift"
],
"target_dependencies" : [
"TermKit"
],
"type" : "executable"
},
{
"c99name" : "Curses",
"module_type" : "SystemLibraryTarget",
"name" : "Curses",
"path" : "Sources/Curses",
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.3"
}
Done.