Build Information
Successful build of TermKit, reference main (163afa
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 21:54:23 UTC.
Swift 6 data race errors: 72
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: annotate 'button2TrippleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:215:16: warning: static property 'button3Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
213 | static let button2DoubleClicked = MouseFlags(rawValue: 0x200)
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
| |- warning: static property 'button3Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:216:16: warning: static property 'button3Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
| |- warning: static property 'button3Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:217:16: warning: static property 'button3Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
| |- warning: static property 'button3Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:218:16: warning: static property 'button3DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
| |- warning: static property 'button3DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3DoubleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:219:16: warning: static property 'button3TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
| |- warning: static property 'button3TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3TripleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
| |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
| |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:222:16: warning: static property 'button4Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
| |- warning: static property 'button4Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
224 | static let button4TripleClicked = MouseFlags(rawValue: 0x400000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:223:16: warning: static property 'button4DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
| |- warning: static property 'button4DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4DoubleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 | static let button4TripleClicked = MouseFlags(rawValue: 0x400000)
225 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:224:16: warning: static property 'button4TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
224 | static let button4TripleClicked = MouseFlags(rawValue: 0x400000)
| |- warning: static property 'button4TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4TripleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// The shift key was pressed when the mouse event was produced
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:227:16: warning: static property 'buttonShift' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
225 |
226 | /// The shift key was pressed when the mouse event was produced
227 | static let buttonShift = MouseFlags(rawValue: 0x2000000)
| |- warning: static property 'buttonShift' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'buttonShift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 | /// The control key was pressed when the mouse event was produced
229 | static let buttonCtrl = MouseFlags(rawValue: 0x1000000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:229:16: warning: static property 'buttonCtrl' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
227 | static let buttonShift = MouseFlags(rawValue: 0x2000000)
228 | /// The control key was pressed when the mouse event was produced
229 | static let buttonCtrl = MouseFlags(rawValue: 0x1000000)
| |- warning: static property 'buttonCtrl' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'buttonCtrl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | /// The alt key was pressed when the mouse event was produced
231 | static let buttonAlt = MouseFlags(rawValue: 0x4000000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:231:16: warning: static property 'buttonAlt' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
229 | static let buttonCtrl = MouseFlags(rawValue: 0x1000000)
230 | /// The alt key was pressed when the mouse event was produced
231 | static let buttonAlt = MouseFlags(rawValue: 0x4000000)
| |- warning: static property 'buttonAlt' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'buttonAlt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |
233 | static let mousePosition = MouseFlags (rawValue: 0x8000000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:233:16: warning: static property 'mousePosition' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
231 | static let buttonAlt = MouseFlags(rawValue: 0x4000000)
232 |
233 | static let mousePosition = MouseFlags (rawValue: 0x8000000)
| |- warning: static property 'mousePosition' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mousePosition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | static var debugDescriptions: [(Self, String)] = [
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:235:16: warning: static property 'debugDescriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 | static let mousePosition = MouseFlags (rawValue: 0x8000000)
234 |
235 | static var debugDescriptions: [(Self, String)] = [
| |- warning: static property 'debugDescriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDescriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDescriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | (.button1Pressed, "button1Pressed"),
237 | (.button1Released, "button1Released"),
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Layer.swift:16:16: 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
14 |
15 | public class Layer {
16 | static var empty: Layer = Layer (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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
18 | var store: [Cell]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Layer.swift:17:16: warning: static property 'emptyCell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public class Layer {
16 | static var empty: Layer = Layer (size: Size (width: 0, height: 0))
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
| |- warning: static property 'emptyCell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyCell' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyCell' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | var store: [Cell]
19 | var size: Size
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22: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
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
[189/203] Compiling TermKit StandardToplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:12: 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:12: 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/Layer.swift:16:16: 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
14 |
15 | public class Layer {
16 | static var empty: Layer = Layer (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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
18 | var store: [Cell]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDrawBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static var initialized: Bool = false
102 |
/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/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: annotate 'globalId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22: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
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
| |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
| |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
203 | }
204 |
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
| |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
[190/203] Compiling TermKit Toplevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:12: 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:12: 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/Layer.swift:16:16: 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
14 |
15 | public class Layer {
16 | static var empty: Layer = Layer (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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
18 | var store: [Cell]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDrawBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static var initialized: Bool = false
102 |
/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/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: annotate 'globalId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22: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
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
| |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
| |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
203 | }
204 |
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
| |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
[191/203] Compiling TermKit View.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:12: 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:12: 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/Layer.swift:16:16: 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
14 |
15 | public class Layer {
16 | static var empty: Layer = Layer (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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
18 | var store: [Cell]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDrawBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static var initialized: Bool = false
102 |
/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/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: annotate 'globalId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22: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
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
| |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
| |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
203 | }
204 |
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
| |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
[192/203] Compiling TermKit Window.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:12: 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:12: 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/Layer.swift:16:16: 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
14 |
15 | public class Layer {
16 | static var empty: Layer = Layer (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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
18 | var store: [Cell]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDrawBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static var initialized: Bool = false
102 |
/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init (origin: Point, size: Size)
/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: annotate 'globalId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22: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
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
| |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
| |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
203 | }
204 |
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
| |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
[193/203] Compiling TermKit Dialog.swift
[194/203] Compiling TermKit FileDialog.swift
[195/203] Compiling TermKit InputBox.swift
[196/203] Compiling TermKit MessageBox.swift
[197/203] Emitting module TermKit
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:14:5: warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | import os
13 |
14 | var fd: Int32 = -1
| |- warning: var 'fd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | @available(OSX 11.0, *)
16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:16:5: warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | var fd: Int32 = -1
15 | @available(OSX 11.0, *)
16 | var logger: Logger = Logger(subsystem: "termkit", category: "TermKit")
| |- warning: var 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | func log (_ s: String)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:39:7: warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
37 | #endif
38 |
39 | class SizeError: Error {
| `- warning: non-final class 'SizeError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:97:16: warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
95 | public class Application {
96 | /// Points to the global application
97 | static var _top: Toplevel? = nil
| |- warning: static property '_top' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_top' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_top' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:98:16: warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | /// Points to the global application
97 | static var _top: Toplevel? = nil
98 | static var _current: Toplevel? = nil
| |- warning: static property '_current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:99:16: warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | static var _top: Toplevel? = nil
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
| |- warning: static property 'toplevels' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toplevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'toplevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | static var debugDrawBounds: Bool = false
101 | static var initialized: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:100:16: warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | static var _current: Toplevel? = nil
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
| |- warning: static property 'debugDrawBounds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDrawBounds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDrawBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static var initialized: Bool = false
102 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:101:16: warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 | static var toplevels: [Toplevel] = []
100 | static var debugDrawBounds: Bool = false
101 | static var initialized: Bool = false
| |- warning: static property 'initialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'initialized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// The Toplevel object used for the application on startup.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:147:16: warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
145 |
146 | /// We use this pipe to trigger a call to postProcessEvent
147 | static var pipePostProcessEvent: [Int32] = [0, 0]
| |- warning: static property 'pipePostProcessEvent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipePostProcessEvent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pipePostProcessEvent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static var pipeReader: DispatchSourceRead?
149 | static let bufferSize = 128
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:148:16: warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
146 | /// We use this pipe to trigger a call to postProcessEvent
147 | static var pipePostProcessEvent: [Int32] = [0, 0]
148 | static var pipeReader: DispatchSourceRead?
| |- warning: static property 'pipeReader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pipeReader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pipeReader' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | static let bufferSize = 128
150 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:150:16: warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
148 | static var pipeReader: DispatchSourceRead?
149 | static let bufferSize = 128
150 | static var buffer = UnsafeMutableRawPointer.allocate(byteCount: bufferSize, alignment: 8)
| |- warning: static property 'buffer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'buffer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'buffer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | static func setupPostProcessPipes () {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 | // Tracks the view that has grabbed the mouse
255 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:272:16: warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
270 | }
271 |
272 | static var wantContinuousButtonPressedView: View? = nil
| |- warning: static property 'wantContinuousButtonPressedView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'wantContinuousButtonPressedView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'wantContinuousButtonPressedView' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 | static var lastMouseOwnerView: View? = nil
274 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:273:16: warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
271 |
272 | static var wantContinuousButtonPressedView: View? = nil
273 | static var lastMouseOwnerView: View? = nil
| |- warning: static property 'lastMouseOwnerView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseOwnerView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastMouseOwnerView' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:275:16: warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 | static var lastMouseOwnerView: View? = nil
274 |
275 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
| |- warning: static property 'rootMouseHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rootMouseHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rootMouseHandlers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 | static var lastMouseToken = 0
277 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:276:16: warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
274 |
275 | static var rootMouseHandlers: [Int:(MouseEvent)->()] = [:]
276 | static var lastMouseToken = 0
| |- warning: static property 'lastMouseToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastMouseToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastMouseToken' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 |
278 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:359:16: warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
357 | }
358 |
359 | static var screen: Layer = Layer.empty
| |- warning: static property 'screen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'screen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'screen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 | static func compose () -> Layer
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Layer.swift:16:16: 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
14 |
15 | public class Layer {
16 | static var empty: Layer = Layer (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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
18 | var store: [Cell]
/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: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/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: annotate 'zeroMargin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:205:16: warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
203 | }
204 |
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
| |- warning: static property 'button1Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:206:16: warning: static property 'button1Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
204 |
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
| |- warning: static property 'button1Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:208:16: warning: static property 'button1DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
| |- warning: static property 'button1DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1DoubleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
210 | static let button2Pressed = MouseFlags(rawValue: 0x80)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:209:16: warning: static property 'button1TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
| |- warning: static property 'button1TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1TripleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | static let button2Pressed = MouseFlags(rawValue: 0x80)
211 | static let button2Released = MouseFlags(rawValue: 0x40)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:210:16: warning: static property 'button2Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
210 | static let button2Pressed = MouseFlags(rawValue: 0x80)
| |- warning: static property 'button2Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button2Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | static let button2Released = MouseFlags(rawValue: 0x40)
212 | static let button2Clicked = MouseFlags(rawValue: 0x100)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:211:16: warning: static property 'button2Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
210 | static let button2Pressed = MouseFlags(rawValue: 0x80)
211 | static let button2Released = MouseFlags(rawValue: 0x40)
| |- warning: static property 'button2Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button2Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 | static let button2Clicked = MouseFlags(rawValue: 0x100)
213 | static let button2DoubleClicked = MouseFlags(rawValue: 0x200)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:212:16: warning: static property 'button2Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
210 | static let button2Pressed = MouseFlags(rawValue: 0x80)
211 | static let button2Released = MouseFlags(rawValue: 0x40)
212 | static let button2Clicked = MouseFlags(rawValue: 0x100)
| |- warning: static property 'button2Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button2Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | static let button2DoubleClicked = MouseFlags(rawValue: 0x200)
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:213:16: warning: static property 'button2DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
211 | static let button2Released = MouseFlags(rawValue: 0x40)
212 | static let button2Clicked = MouseFlags(rawValue: 0x100)
213 | static let button2DoubleClicked = MouseFlags(rawValue: 0x200)
| |- warning: static property 'button2DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button2DoubleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:214:16: warning: static property 'button2TrippleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
212 | static let button2Clicked = MouseFlags(rawValue: 0x100)
213 | static let button2DoubleClicked = MouseFlags(rawValue: 0x200)
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
| |- warning: static property 'button2TrippleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button2TrippleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:215:16: warning: static property 'button3Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
213 | static let button2DoubleClicked = MouseFlags(rawValue: 0x200)
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
| |- warning: static property 'button3Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:216:16: warning: static property 'button3Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
214 | static let button2TrippleClicked = MouseFlags(rawValue: 0x400)
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
| |- warning: static property 'button3Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:217:16: warning: static property 'button3Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
215 | static let button3Pressed = MouseFlags(rawValue: 0x2000)
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
| |- warning: static property 'button3Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:218:16: warning: static property 'button3DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
216 | static let button3Released = MouseFlags(rawValue: 0x1000)
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
| |- warning: static property 'button3DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3DoubleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:219:16: warning: static property 'button3TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
217 | static let button3Clicked = MouseFlags(rawValue: 0x4000)
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
| |- warning: static property 'button3TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button3TripleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:220:16: warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
218 | static let button3DoubleClicked = MouseFlags(rawValue: 0x8000)
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
| |- warning: static property 'button4Pressed' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Pressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:221:16: warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
219 | static let button3TripleClicked = MouseFlags(rawValue: 0x10000)
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
| |- warning: static property 'button4Released' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Released' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:222:16: warning: static property 'button4Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
220 | static let button4Pressed = MouseFlags(rawValue: 0x80000)
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
| |- warning: static property 'button4Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
224 | static let button4TripleClicked = MouseFlags(rawValue: 0x400000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:223:16: warning: static property 'button4DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
221 | static let button4Released = MouseFlags(rawValue: 0x40000)
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
| |- warning: static property 'button4DoubleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4DoubleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 | static let button4TripleClicked = MouseFlags(rawValue: 0x400000)
225 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:224:16: warning: static property 'button4TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
222 | static let button4Clicked = MouseFlags(rawValue: 0x100000)
223 | static let button4DoubleClicked = MouseFlags(rawValue: 0x200000)
224 | static let button4TripleClicked = MouseFlags(rawValue: 0x400000)
| |- warning: static property 'button4TripleClicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button4TripleClicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// The shift key was pressed when the mouse event was produced
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:227:16: warning: static property 'buttonShift' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
225 |
226 | /// The shift key was pressed when the mouse event was produced
227 | static let buttonShift = MouseFlags(rawValue: 0x2000000)
| |- warning: static property 'buttonShift' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'buttonShift' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 | /// The control key was pressed when the mouse event was produced
229 | static let buttonCtrl = MouseFlags(rawValue: 0x1000000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:229:16: warning: static property 'buttonCtrl' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
227 | static let buttonShift = MouseFlags(rawValue: 0x2000000)
228 | /// The control key was pressed when the mouse event was produced
229 | static let buttonCtrl = MouseFlags(rawValue: 0x1000000)
| |- warning: static property 'buttonCtrl' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'buttonCtrl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 | /// The alt key was pressed when the mouse event was produced
231 | static let buttonAlt = MouseFlags(rawValue: 0x4000000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:231:16: warning: static property 'buttonAlt' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
229 | static let buttonCtrl = MouseFlags(rawValue: 0x1000000)
230 | /// The alt key was pressed when the mouse event was produced
231 | static let buttonAlt = MouseFlags(rawValue: 0x4000000)
| |- warning: static property 'buttonAlt' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'buttonAlt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |
233 | static let mousePosition = MouseFlags (rawValue: 0x8000000)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:233:16: warning: static property 'mousePosition' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
231 | static let buttonAlt = MouseFlags(rawValue: 0x4000000)
232 |
233 | static let mousePosition = MouseFlags (rawValue: 0x8000000)
| |- warning: static property 'mousePosition' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mousePosition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | static var debugDescriptions: [(Self, String)] = [
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:235:16: warning: static property 'debugDescriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
233 | static let mousePosition = MouseFlags (rawValue: 0x8000000)
234 |
235 | static var debugDescriptions: [(Self, String)] = [
| |- warning: static property 'debugDescriptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugDescriptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugDescriptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | (.button1Pressed, "button1Pressed"),
237 | (.button1Released, "button1Released"),
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Layer.swift:17:16: warning: static property 'emptyCell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public class Layer {
16 | static var empty: Layer = Layer (size: Size (width: 0, height: 0))
17 | static var emptyCell = Cell (ch: " ", attr: Colors.base.normal)
| |- warning: static property 'emptyCell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'emptyCell' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'emptyCell' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | var store: [Cell]
19 | var size: Size
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Point.swift:22: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
20 |
21 | /// The point at the origin (0, 0)
22 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is 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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Initializes a new Point with the specified x and y coordinates
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/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: annotate 'emptyAnchorEnd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate '_center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var IsEmpty: Bool {
16 | get {
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/StandardToplevel.swift:26:12: 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:12: 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: annotate 'globalId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | var _layoutStyle: LayoutStyle = .computed
101 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:16: warning: static property '_base' is not concurrency-safe because it is 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: annotate '_base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:23: warning: static property '_dialog' is not concurrency-safe because it is 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: annotate '_dialog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:32: warning: static property '_menu' is not concurrency-safe because it is 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: annotate '_menu' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:173:39: warning: static property '_error' is not concurrency-safe because it is 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: annotate '_error' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// The base color scheme is used for the main UI elements in the application
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:20:5: warning: var 'sync' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Turn this on to debug rendering problems, makes screen updates sync
20 | var sync: Bool = false
| |- warning: var 'sync' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sync' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/CursesDriver.swift:389:16: warning: static property 'lastColorPair' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
387 | }
388 |
389 | static var lastColorPair: Int16 = 16
| |- warning: static property 'lastColorPair' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastColorPair' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lastColorPair' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |
391 | func encodeCursesAttribute (_ colors: (Int32, Int32), bold: Bool = false) -> Int32
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:60:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
58 |
59 | /// The labels displayed for this radio group
60 | public private (set) var radioLabels: [String]
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
61 | /// The orientation in which this radio group is shown
62 | public private (set) var orientation: Orientation
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Views/RadioGroup.swift:62:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
60 | public private (set) var radioLabels: [String]
61 | /// The orientation in which this radio group is shown
62 | public private (set) var orientation: Orientation
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 |
64 | /// Callback invoked when the selection has changed, it passes the previous
[198/203] Compiling TermKit Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 | // Tracks the view that has grabbed the mouse
255 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is 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: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
[199/203] Compiling TermKit TextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 | // Tracks the view that has grabbed the mouse
255 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is 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: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
[200/203] Compiling TermKit TextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:122:16: warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// The current Console Driver in use.
122 | static var driver: ConsoleDriver = CursesDriver()
| |- warning: static property 'driver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'driver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'driver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | /**
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:85:16: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:86:16: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:89:16: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let invert = CellFlags (rawValue: 1 << 5)
91 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:90:16: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:87:16: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
85 | static let bold = CellFlags (rawValue: 1 << 0)
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | static let standout = CellFlags (rawValue: 1 << 3)
89 | static let blink = CellFlags (rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Drivers/ConsoleDriver.swift:88:16: warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// Describes the flags that can control with additional terminal capabilities for rendering text
82 | public struct CellFlags: OptionSet, Hashable {
| `- note: consider making struct 'CellFlags' conform to the 'Sendable' protocol
83 | public let rawValue: Int8
84 | public init (rawValue: Int8) { self.rawValue = rawValue }
:
86 | static let underline = CellFlags (rawValue: 1 << 1)
87 | static let dim = CellFlags (rawValue: 1 << 2)
88 | static let standout = CellFlags (rawValue: 1 << 3)
| |- warning: static property 'standout' is not concurrency-safe because non-'Sendable' type 'CellFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | static let blink = CellFlags (rawValue: 1 << 4)
90 | static let invert = CellFlags (rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Application.swift:255:16: warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
253 |
254 | // Tracks the view that has grabbed the mouse
255 | static var mouseGrabView: View? = nil
| |- warning: static property 'mouseGrabView' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mouseGrabView' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mouseGrabView' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Grabs the mouse, forcing all mouse events to be routed to the specified view until `ungrabMouse` is called.
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Clipboard.swift:16:23: warning: static property 'contents' is not concurrency-safe because it is 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: annotate 'contents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TermKit/Core/Events.swift:207:16: warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
195 | * Flags for a mouse event
196 | */
197 | public struct MouseFlags: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'MouseFlags' conform to the 'Sendable' protocol
198 | public let rawValue: UInt
199 |
:
205 | static let button1Pressed = MouseFlags(rawValue: 0x2)
206 | static let button1Released = MouseFlags(rawValue: 0x1)
207 | static let button1Clicked = MouseFlags(rawValue: 0x4)
| |- warning: static property 'button1Clicked' is not concurrency-safe because non-'Sendable' type 'MouseFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'button1Clicked' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 | static let button1DoubleClicked = MouseFlags(rawValue: 0x8)
209 | static let button1TripleClicked = MouseFlags(rawValue: 0x10)
[201/210] Compiling Example 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),
[202/210] Compiling Example DemoTerminal.swift
[203/210] Compiling Example DemoDataTable.swift
[204/210] Compiling Example DemoDialogs.swift
[205/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: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var maybe = false
14 | func Assorted () -> Window {
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:13:5: warning: var 'maybe' is not concurrency-safe because it is 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: annotate 'maybe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | func Assorted () -> Window {
15 | let win = Window ()
[206/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: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var maybe = false
14 | func Assorted () -> Window {
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoAssorted.swift:13:5: warning: var 'maybe' is not concurrency-safe because it is 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: annotate 'maybe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | func Assorted () -> Window {
15 | let win = Window ()
/Users/admin/builder/spi-builder-workspace/Sources/Example/DemoStandardToplevel.swift:32:16: warning: static property 'untitledCount' is not concurrency-safe because it is 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: annotate 'untitledCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | var filename: String?
34 | var textView: TextView
[207/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: annotate 'untitledCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | var filename: String?
34 | var textView: TextView
/Users/admin/builder/spi-builder-workspace/Sources/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] Write Objects.LinkFileList
[208/210] Linking Example
[209/210] Applying Example
Build complete! (36.93s)
Build complete.
{
"dependencies" : [
{
"identity" : "opencombine",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OpenCombine/OpenCombine.git"
},
{
"identity" : "textbufferkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/migueldeicaza/TextBufferKit.git"
},
{
"identity" : "swiftterm",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/migueldeicaza/SwiftTerm.git"
}
],
"manifest_display_name" : "TermKit",
"name" : "TermKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "TermKit",
"targets" : [
"TermKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TermKitTests",
"module_type" : "SwiftTarget",
"name" : "TermKitTests",
"path" : "Tests/TermKitTests",
"sources" : [
"TermKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TermKit"
],
"type" : "test"
},
{
"c99name" : "TermKit",
"module_type" : "SwiftTarget",
"name" : "TermKit",
"path" : "Sources/TermKit",
"product_dependencies" : [
"OpenCombine",
"TextBufferKit",
"SwiftTerm"
],
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
"Core/Application.swift",
"Core/AttributedString.swift",
"Core/Clipboard.swift",
"Core/Dim.swift",
"Core/Events.swift",
"Core/Layer.swift",
"Core/Painter.swift",
"Core/Point.swift",
"Core/Pos.swift",
"Core/Rect.swift",
"Core/Responder.swift",
"Core/Size.swift",
"Core/StandardToplevel.swift",
"Core/Toplevel.swift",
"Core/View.swift",
"Core/Window.swift",
"Dialogs/Dialog.swift",
"Dialogs/FileDialog.swift",
"Dialogs/InputBox.swift",
"Dialogs/MessageBox.swift",
"Drivers/ConsoleDriver.swift",
"Drivers/CursesDriver.swift",
"Extensions/StringChar.swift",
"Views/Button.swift",
"Views/Checkbox.swift",
"Views/DataTable.swift",
"Views/Desktop.swift",
"Views/Frame.swift",
"Views/Label.swift",
"Views/ListView.swift",
"Views/Menu.swift",
"Views/ProgressBar.swift",
"Views/RadioGroup.swift",
"Views/ScrollView.swift",
"Views/StatusBar.swift",
"Views/Terminal.swift",
"Views/TextField.swift",
"Views/TextView.swift"
],
"target_dependencies" : [
"DarwinCurses",
"LinuxCurses"
],
"type" : "library"
},
{
"c99name" : "LinuxCurses",
"module_type" : "SystemLibraryTarget",
"name" : "LinuxCurses",
"path" : "Sources/LinuxCurses",
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_dependencies" : [
"SwiftTerm"
],
"product_memberships" : [
"Example"
],
"sources" : [
"DemoAssorted.swift",
"DemoDataTable.swift",
"DemoDialogs.swift",
"DemoStandardToplevel.swift",
"DemoTerminal.swift",
"main.swift"
],
"target_dependencies" : [
"TermKit"
],
"type" : "executable"
},
{
"c99name" : "DarwinCurses",
"module_type" : "SystemLibraryTarget",
"name" : "DarwinCurses",
"path" : "Sources/DarwinCurses",
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.3"
}
Done.