Build Information
Successful build of SwiftTerm, reference v1.13.0 (8e7a1e), with Swift 6.1 for Linux on 27 Mar 2026 21:38:27 UTC.
Swift 6 data race errors: 44
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
41 | public static let inverse = CharacterStyle (rawValue: 8)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
44 | public static let invisible = CharacterStyle (rawValue: 16)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
44 | public static let invisible = CharacterStyle (rawValue: 16)
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
46 | public static let dim = CharacterStyle (rawValue: 32)
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
48 | public static let italic = CharacterStyle (rawValue: 64)
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
| |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:106:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
65 | /// should be drawn as.
66 | ///
67 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
68 | /// The various ways in which the color was expressed
69 | public enum Color: Equatable, Hashable {
:
104 | /// The empty attribute is configured to be use the defaultColor for the foreground, and the
105 | /// defaultInvertedColor for the background and an emptu style
106 | public static let empty = Attribute (fg: .defaultColor, bg: .defaultInvertedColor, style: .none)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /// Foreground and background colors
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:193:16: warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
191 | public struct TinyAtom {
192 | var code: UInt16
193 | static var map: [UInt16:Any] = [:]
| |- warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'map' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | static var lastUsed: Int = 0
195 | static var lastCollected: Int = 0
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:194:16: warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
192 | var code: UInt16
193 | static var map: [UInt16:Any] = [:]
194 | static var lastUsed: Int = 0
| |- warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastUsed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastUsed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | static var lastCollected: Int = 0
196 | static let empty = TinyAtom (code: 0)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:195:16: warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
193 | static var map: [UInt16:Any] = [:]
194 | static var lastUsed: Int = 0
195 | static var lastCollected: Int = 0
| |- warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCollected' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCollected' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | static let empty = TinyAtom (code: 0)
197 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:196:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
189 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
190 | /// it could in theory be changed to be 24 bits without much trouble
191 | public struct TinyAtom {
| `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
192 | var code: UInt16
193 | static var map: [UInt16:Any] = [:]
194 | static var lastUsed: Int = 0
195 | static var lastCollected: Int = 0
196 | static let empty = TinyAtom (code: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | private init(code: UInt16)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:254:16: warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
65 | /// should be drawn as.
66 | ///
67 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
68 | /// The various ways in which the color was expressed
69 | public enum Color: Equatable, Hashable {
:
252 | static let maxRune = 1 << 22
253 |
254 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
| |- warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultAttr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
256 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:255:16: warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
65 | /// should be drawn as.
66 | ///
67 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
68 | /// The various ways in which the color was expressed
69 | public enum Color: Equatable, Hashable {
:
253 |
254 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
255 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
| |- warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invertedAttr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | // Contains a rune, or a pointer into a Grapheme Cluster
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:319:23: warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
317 |
318 | /// The `Null` character can be used when filling up parts of the screeb
319 | public static var Null : CharData = CharData (attribute: defaultAttr)
| |- warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Null' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 |
321 | /// Updates the contents of this CharData with a new code.
[158/233] Emitting module SwiftTerm
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1094:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1092 | }
1093 |
1094 | static var n = 0
| |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1095 |
1096 | func dump ()
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
31 |
32 | /// Empty style
33 | public static let none = CharacterStyle ([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
33 | public static let none = CharacterStyle ([])
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
35 | public static let bold = CharacterStyle (rawValue: 1)
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
37 | public static let underline = CharacterStyle (rawValue: 2)
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
39 | public static let blink = CharacterStyle (rawValue: 4)
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
44 | public static let invisible = CharacterStyle (rawValue: 16)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
44 | public static let invisible = CharacterStyle (rawValue: 16)
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
46 | public static let dim = CharacterStyle (rawValue: 32)
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
48 | public static let italic = CharacterStyle (rawValue: 64)
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
| |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:106:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
65 | /// should be drawn as.
66 | ///
67 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
68 | /// The various ways in which the color was expressed
69 | public enum Color: Equatable, Hashable {
:
104 | /// The empty attribute is configured to be use the defaultColor for the foreground, and the
105 | /// defaultInvertedColor for the background and an emptu style
106 | public static let empty = Attribute (fg: .defaultColor, bg: .defaultInvertedColor, style: .none)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | /// Foreground and background colors
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:193:16: warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
191 | public struct TinyAtom {
192 | var code: UInt16
193 | static var map: [UInt16:Any] = [:]
| |- warning: static property 'map' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'map' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'map' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | static var lastUsed: Int = 0
195 | static var lastCollected: Int = 0
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:194:16: warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
192 | var code: UInt16
193 | static var map: [UInt16:Any] = [:]
194 | static var lastUsed: Int = 0
| |- warning: static property 'lastUsed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastUsed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastUsed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | static var lastCollected: Int = 0
196 | static let empty = TinyAtom (code: 0)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:195:16: warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
193 | static var map: [UInt16:Any] = [:]
194 | static var lastUsed: Int = 0
195 | static var lastCollected: Int = 0
| |- warning: static property 'lastCollected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCollected' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCollected' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | static let empty = TinyAtom (code: 0)
197 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:196:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
189 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
190 | /// it could in theory be changed to be 24 bits without much trouble
191 | public struct TinyAtom {
| `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
192 | var code: UInt16
193 | static var map: [UInt16:Any] = [:]
194 | static var lastUsed: Int = 0
195 | static var lastCollected: Int = 0
196 | static let empty = TinyAtom (code: 0)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TinyAtom' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | private init(code: UInt16)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:254:16: warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
65 | /// should be drawn as.
66 | ///
67 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
68 | /// The various ways in which the color was expressed
69 | public enum Color: Equatable, Hashable {
:
252 | static let maxRune = 1 << 22
253 |
254 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
| |- warning: static property 'defaultAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultAttr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
256 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:255:16: warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
65 | /// should be drawn as.
66 | ///
67 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
68 | /// The various ways in which the color was expressed
69 | public enum Color: Equatable, Hashable {
:
253 |
254 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
255 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
| |- warning: static property 'invertedAttr' is not concurrency-safe because non-'Sendable' type 'Attribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invertedAttr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | // Contains a rune, or a pointer into a Grapheme Cluster
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:319:23: warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
317 |
318 | /// The `Null` character can be used when filling up parts of the screeb
319 | public static var Null : CharData = CharData (attribute: defaultAttr)
| |- warning: static property 'Null' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Null' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Null' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 |
321 | /// Updates the contents of this CharData with a new code.
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:31:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public var blue: UInt16
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
| |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
33 |
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:32:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
| |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static func == (lhs: Color, rhs: Color) -> Bool {
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:44:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
42 | }
43 |
44 | static let paleColors: [Color] = [
| |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | // dark colors
46 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:66:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
64 | ]
65 |
66 | static let vgaColors: [Color] = [
| |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | // dark colors
68 | Color (red8: 0, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:86:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
84 | ]
85 |
86 | static let terminalAppColors: [Color] = [
| |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | Color (red8: 0, green8: 0, blue8: 0),
88 | Color (red8: 194, green8: 54, blue8: 33),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:105:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
103 | ]
104 |
105 | static let xtermColors: [Color] = [
| |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | Color (red8: 0, green8: 0, blue8: 0),
107 | Color (red8: 205, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:124:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
122 | ]
123 |
124 | static let defaultInstalledColors: [Color] = [
| |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | Color (red8: 0, green8: 0, blue8: 0),
126 | Color (red8: 153, green8: 0, blue8: 1),
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:17:23: warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
15 | }
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
| |- warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disambiguate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:18:23: warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
| |- warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:19:23: warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
| |- warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAlternates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:20:23: warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
| |- warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAllKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
22 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:21:23: warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
| |- warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let knownMask: Int = [
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:45:23: warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
43 | }
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
| |- warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:46:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:47:23: warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
| |- warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ctrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:48:23: warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
| |- warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'super' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:49:23: warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
| |- warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hyper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:50:23: warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
| |- warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:51:23: warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
| |- warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:52:23: warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
| |- warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5680:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5678 | }
5679 |
5680 | static var matchColorCache : [Int:Int] = [:]
| |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5681 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5682 | {
/host/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:67:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// Configuration options for the terminal at startup, these values are only read at startup
42 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
43 | /// Desired number of columns at startup (default 80)
44 | public var cols: Int
:
65 |
66 | /// Default options
67 | public static let `default` = TerminalOptions.init(cols: 80,
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | rows: 25,
69 | convertEol: false,
/host/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static let s7: UInt8 = 0x44 // accept 4, size 4
38 |
39 | private static var first : [UInt8] = [
| |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // 1 2 3 4 5 6 7 8 9 A B C D E F
41 | a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
[158/233] Wrapping AST for Atomics for debugging
[160/233] Compiling ArgumentParser ArgumentDefinition.swift
[161/233] Compiling ArgumentParser ArgumentSet.swift
[162/233] Compiling ArgumentParser CommandParser.swift
[163/233] Compiling ArgumentParser InputKey.swift
[164/233] Compiling ArgumentParser InputOrigin.swift
[165/233] Emitting module ArgumentParser
[166/233] Compiling ArgumentParser BashCompletionsGenerator.swift
[167/233] Compiling ArgumentParser CompletionsGenerator.swift
[168/233] Compiling ArgumentParser FishCompletionsGenerator.swift
[169/233] Compiling ArgumentParser ZshCompletionsGenerator.swift
[170/233] Compiling ArgumentParser Argument.swift
[171/233] Wrapping AST for Numerics for debugging
[171/233] Linking BenchmarkBoilerplateGenerator-tool
[173/233] Generating plugin support files
[174/233] Write sources
[181/235] Compiling ArgumentParser OptionGroup.swift
[182/235] Compiling ArgumentParser AsyncParsableCommand.swift
[183/235] Compiling ArgumentParser CommandConfiguration.swift
[184/235] Compiling ArgumentParser CommandGroup.swift
[185/235] Compiling ArgumentParser EnumerableFlag.swift
[186/235] Compiling ArgumentParser Name.swift
[193/235] Compiling ArgumentParser HelpGenerator.swift
[194/235] Compiling ArgumentParser MessageInfo.swift
[195/235] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:31:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public var blue: UInt16
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
| |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
33 |
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:32:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
| |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static func == (lhs: Color, rhs: Color) -> Bool {
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:44:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
42 | }
43 |
44 | static let paleColors: [Color] = [
| |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | // dark colors
46 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:66:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
64 | ]
65 |
66 | static let vgaColors: [Color] = [
| |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | // dark colors
68 | Color (red8: 0, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:86:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
84 | ]
85 |
86 | static let terminalAppColors: [Color] = [
| |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | Color (red8: 0, green8: 0, blue8: 0),
88 | Color (red8: 194, green8: 54, blue8: 33),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:105:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
103 | ]
104 |
105 | static let xtermColors: [Color] = [
| |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | Color (red8: 0, green8: 0, blue8: 0),
107 | Color (red8: 205, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:124:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
122 | ]
123 |
124 | static let defaultInstalledColors: [Color] = [
| |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | Color (red8: 0, green8: 0, blue8: 0),
126 | Color (red8: 153, green8: 0, blue8: 1),
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:31:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public var blue: UInt16
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
| |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
33 |
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:32:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
| |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static func == (lhs: Color, rhs: Color) -> Bool {
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:44:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
42 | }
43 |
44 | static let paleColors: [Color] = [
| |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | // dark colors
46 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:66:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
64 | ]
65 |
66 | static let vgaColors: [Color] = [
| |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | // dark colors
68 | Color (red8: 0, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:86:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
84 | ]
85 |
86 | static let terminalAppColors: [Color] = [
| |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | Color (red8: 0, green8: 0, blue8: 0),
88 | Color (red8: 194, green8: 54, blue8: 33),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:105:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
103 | ]
104 |
105 | static let xtermColors: [Color] = [
| |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | Color (red8: 0, green8: 0, blue8: 0),
107 | Color (red8: 205, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:124:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
122 | ]
123 |
124 | static let defaultInstalledColors: [Color] = [
| |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | Color (red8: 0, green8: 0, blue8: 0),
126 | Color (red8: 153, green8: 0, blue8: 1),
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:31:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public var blue: UInt16
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
| |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
33 |
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:32:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
| |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static func == (lhs: Color, rhs: Color) -> Bool {
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:44:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
42 | }
43 |
44 | static let paleColors: [Color] = [
| |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | // dark colors
46 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:66:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
64 | ]
65 |
66 | static let vgaColors: [Color] = [
| |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | // dark colors
68 | Color (red8: 0, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:86:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
84 | ]
85 |
86 | static let terminalAppColors: [Color] = [
| |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | Color (red8: 0, green8: 0, blue8: 0),
88 | Color (red8: 194, green8: 54, blue8: 33),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:105:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
103 | ]
104 |
105 | static let xtermColors: [Color] = [
| |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | Color (red8: 0, green8: 0, blue8: 0),
107 | Color (red8: 205, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:124:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
122 | ]
123 |
124 | static let defaultInstalledColors: [Color] = [
| |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | Color (red8: 0, green8: 0, blue8: 0),
126 | Color (red8: 153, green8: 0, blue8: 1),
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:31:16: warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public var blue: UInt16
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
| |- warning: static property 'defaultForeground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultForeground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultForeground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
33 |
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:32:16: warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
32 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
| |- warning: static property 'defaultBackground' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBackground' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultBackground' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static func == (lhs: Color, rhs: Color) -> Bool {
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:44:16: warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
42 | }
43 |
44 | static let paleColors: [Color] = [
| |- warning: static property 'paleColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paleColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | // dark colors
46 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:66:16: warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
64 | ]
65 |
66 | static let vgaColors: [Color] = [
| |- warning: static property 'vgaColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vgaColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | // dark colors
68 | Color (red8: 0, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:86:16: warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
84 | ]
85 |
86 | static let terminalAppColors: [Color] = [
| |- warning: static property 'terminalAppColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'terminalAppColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | Color (red8: 0, green8: 0, blue8: 0),
88 | Color (red8: 194, green8: 54, blue8: 33),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:105:16: warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
103 | ]
104 |
105 | static let xtermColors: [Color] = [
| |- warning: static property 'xtermColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xtermColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | Color (red8: 0, green8: 0, blue8: 0),
107 | Color (red8: 205, green8: 0, blue8: 0),
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:124:16: warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | * in 16-bit RGB mode
22 | */
23 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
24 | /// Red component 0..65535
25 | public var red: UInt16
:
122 | ]
123 |
124 | static let defaultInstalledColors: [Color] = [
| |- warning: static property 'defaultInstalledColors' is not concurrency-safe because non-'Sendable' type '[Color]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstalledColors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | Color (red8: 0, green8: 0, blue8: 0),
126 | Color (red8: 153, green8: 0, blue8: 1),
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:17:23: warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
15 | }
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
| |- warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disambiguate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:18:23: warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
| |- warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:19:23: warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
| |- warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAlternates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:20:23: warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
| |- warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAllKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
22 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:21:23: warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
| |- warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let knownMask: Int = [
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:45:23: warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
43 | }
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
| |- warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:46:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:47:23: warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
| |- warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ctrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:48:23: warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
| |- warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'super' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:49:23: warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
| |- warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hyper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:50:23: warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
| |- warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:51:23: warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
| |- warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:52:23: warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
| |- warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:17:23: warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
15 | }
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
| |- warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disambiguate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:18:23: warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
| |- warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:19:23: warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
| |- warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAlternates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:20:23: warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
| |- warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAllKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
22 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:21:23: warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
| |- warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let knownMask: Int = [
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:45:23: warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
43 | }
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
| |- warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:46:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:47:23: warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
| |- warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ctrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:48:23: warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
| |- warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'super' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:49:23: warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
| |- warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hyper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:50:23: warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
| |- warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:51:23: warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
| |- warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:52:23: warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
| |- warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:17:23: warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
15 | }
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
| |- warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disambiguate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:18:23: warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
| |- warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:19:23: warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
| |- warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAlternates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:20:23: warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
| |- warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAllKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
22 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:21:23: warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
| |- warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let knownMask: Int = [
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:45:23: warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
43 | }
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
| |- warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:46:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:47:23: warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
| |- warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ctrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:48:23: warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
| |- warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'super' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:49:23: warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
| |- warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hyper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:50:23: warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
| |- warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:51:23: warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
| |- warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:52:23: warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
| |- warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:17:23: warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
15 | }
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
| |- warning: static property 'disambiguate' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'disambiguate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:18:23: warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
16 |
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
| |- warning: static property 'reportEvents' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:19:23: warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
17 | public static let disambiguate = KittyKeyboardFlags(rawValue: 1 << 0)
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
| |- warning: static property 'reportAlternates' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAlternates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:20:23: warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
18 | public static let reportEvents = KittyKeyboardFlags(rawValue: 1 << 1)
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
| |- warning: static property 'reportAllKeys' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportAllKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
22 |
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:21:23: warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct KittyKeyboardFlags: OptionSet {
| `- note: consider making struct 'KittyKeyboardFlags' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 |
:
19 | public static let reportAlternates = KittyKeyboardFlags(rawValue: 1 << 2)
20 | public static let reportAllKeys = KittyKeyboardFlags(rawValue: 1 << 3)
21 | public static let reportText = KittyKeyboardFlags(rawValue: 1 << 4)
| |- warning: static property 'reportText' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'reportText' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let knownMask: Int = [
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:45:23: warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
43 | }
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
| |- warning: static property 'shift' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shift' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:46:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
44 |
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:47:23: warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
45 | public static let shift = KittyKeyboardModifiers(rawValue: 1 << 0)
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
| |- warning: static property 'ctrl' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ctrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:48:23: warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
46 | public static let alt = KittyKeyboardModifiers(rawValue: 1 << 1)
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
| |- warning: static property 'super' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'super' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:49:23: warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
47 | public static let ctrl = KittyKeyboardModifiers(rawValue: 1 << 2)
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
| |- warning: static property 'hyper' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hyper' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:50:23: warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
48 | public static let `super` = KittyKeyboardModifiers(rawValue: 1 << 3)
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
| |- warning: static property 'meta' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:51:23: warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
49 | public static let hyper = KittyKeyboardModifiers(rawValue: 1 << 4)
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
| |- warning: static property 'capsLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/KittyKeyboardProtocol.swift:52:23: warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
36 | }
37 |
38 | public struct KittyKeyboardModifiers: OptionSet {
| `- note: consider making struct 'KittyKeyboardModifiers' conform to the 'Sendable' protocol
39 | public let rawValue: Int
40 |
:
50 | public static let meta = KittyKeyboardModifiers(rawValue: 1 << 5)
51 | public static let capsLock = KittyKeyboardModifiers(rawValue: 1 << 6)
52 | public static let numLock = KittyKeyboardModifiers(rawValue: 1 << 7)
| |- warning: static property 'numLock' is not concurrency-safe because non-'Sendable' type 'KittyKeyboardModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | }
54 |
[208/235] Compiling ArgumentParser CollectionExtensions.swift
[209/235] Compiling ArgumentParser Platform.swift
[210/235] Compiling ArgumentParser SequenceExtensions.swift
[211/235] Compiling ArgumentParser StringExtensions.swift
[212/235] Compiling ArgumentParser Tree.swift
[213/236] Wrapping AST for ArgumentParser for debugging
[215/236] Emitting module Histogram
[216/236] Compiling Histogram Histogram.swift
[217/237] Wrapping AST for Histogram for debugging
[219/265] Emitting module Benchmark
[220/268] Compiling Benchmark ARCStats.swift
[221/268] Compiling Benchmark ARCStatsProducer.swift
[222/268] Compiling Benchmark Benchmark+ConvenienceInitializers.swift
[223/268] Compiling Benchmark Benchmark.swift
[224/268] Compiling Benchmark ProgressElements.swift
[225/268] Compiling Benchmark Utilities.swift
[226/268] Compiling Benchmark Statistics.swift
[227/268] Compiling Benchmark BenchmarkMetric+Defaults.swift
[228/268] Compiling Benchmark BenchmarkMetric.swift
[229/268] Compiling Benchmark BenchmarkResult.swift
[230/268] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
[231/268] Compiling Benchmark NIOLock.swift
[232/268] Compiling Benchmark lock.swift
[233/268] Compiling Benchmark OperatingSystemStats.swift
[234/268] Compiling Benchmark OperatingSystemStatsProducer+Darwin.swift
[235/268] Compiling Benchmark BenchmarkClock.swift
[236/268] Compiling Benchmark BenchmarkExecutor+Extensions.swift
[237/268] Compiling Benchmark BenchmarkExecutor.swift
[238/268] Compiling Benchmark BenchmarkInternals.swift
[239/268] Compiling Benchmark BenchmarkRunner.swift
[240/268] Compiling Benchmark BenchmarkThresholds+Defaults.swift
[241/268] Compiling Benchmark BenchmarkThresholds.swift
[242/268] Compiling Benchmark Blackhole.swift
[243/268] Compiling Benchmark OperatingSystemStatsProducer+Linux.swift
[244/268] Compiling Benchmark OutputSuppressor.swift
[245/268] Compiling Benchmark Progress.swift
[246/268] Compiling Benchmark Int+Extensions.swift
[247/268] Compiling Benchmark MallocStats+jemalloc-support.swift
[248/268] Compiling Benchmark MallocStats.swift
[249/268] Compiling Benchmark MallocStatsProducer+jemalloc.swift
[250/269] Wrapping AST for Benchmark for debugging
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5680:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5678 | }
5679 |
5680 | static var matchColorCache : [Int:Int] = [:]
| |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5681 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5682 | {
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5680:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5678 | }
5679 |
5680 | static var matchColorCache : [Int:Int] = [:]
| |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5681 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5682 | {
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5680:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5678 | }
5679 |
5680 | static var matchColorCache : [Int:Int] = [:]
| |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5681 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5682 | {
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5680:16: warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5678 | }
5679 |
5680 | static var matchColorCache : [Int:Int] = [:]
| |- warning: static property 'matchColorCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'matchColorCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'matchColorCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5681 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5682 | {
[260/270] Wrapping AST for SwiftTerm for debugging
[262/280] Emitting module SwiftTermFuzz
[263/280] Compiling SwiftTermFuzz main.swift
[264/281] Compiling SwiftTermBenchmarks __BenchmarkBoilerplate.swift
[265/281] Compiling SwiftTermBenchmarks SwiftTermBenchmarks.swift
[266/281] Emitting module SwiftTermBenchmarks
[268/282] Wrapping AST for SwiftTermFuzz for debugging
[269/282] Write Objects.LinkFileList
[271/282] Compiling Termcast main.swift
[271/282] Wrapping AST for SwiftTermBenchmarks for debugging
[272/282] Write Objects.LinkFileList
[273/282] Linking SwiftTermFuzz
[275/282] Compiling Termcast TermcastPlayer.swift
/host/spi-builder-workspace/Sources/Termcast/TermcastPlayer.swift:39:24: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | case .output:
38 | print(event.eventData, terminator: "")
39 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | case .resize:
41 | handleResize(event.eventData)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Termcast/TermcastPlayer.swift:58:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | // This may not work in all terminals, but it's worth trying
57 | print("\u{001B}[8;\(height);\(width)t", terminator: "")
58 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
[276/282] Compiling Termcast AsciicastFormat.swift
[277/282] Emitting module Termcast
[278/282] Compiling Termcast TermcastRecorder.swift
/host/spi-builder-workspace/Sources/Termcast/TermcastRecorder.swift:13:18: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
11 | fileprivate func debugMessage(_ x: String) {
12 | if debugMessages {
13 | fputs(x, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Termcast/TermcastRecorder.swift:35:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
33 |
34 | // Create the file and get handle
35 | FileManager.default.createFile(atPath: filePath, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
36 | fileHandle = try FileHandle(forWritingTo: url)
37 | debugMessage("[DEBUG] File handle created\n")
/host/spi-builder-workspace/Sources/Termcast/TermcastRecorder.swift:280:21: warning: capture of 'self' with non-sendable type 'TermcastRecorder?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class TermcastRecorder {
| `- note: class 'TermcastRecorder' does not conform to the 'Sendable' protocol
18 | private var fileHandle: FileHandle?
19 | private var startTime: TimeInterval = 0
:
278 |
279 | // Send to process
280 | self?.process?.send(data: data[...])
| `- warning: capture of 'self' with non-sendable type 'TermcastRecorder?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
281 | debugMessage("[DEBUG] Sent \(data.count) bytes to process\n")
282 |
/host/spi-builder-workspace/Sources/Termcast/TermcastRecorder.swift:359:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
357 | // Also write to stdout for live display
358 | print(outputString, terminator: "")
359 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
360 | }
361 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
[279/283] Wrapping AST for Termcast for debugging
[280/283] Write Objects.LinkFileList
[281/283] Linking SwiftTermBenchmarks
[282/283] Linking termcast
Build complete! (79.72s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "package-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "1.29.11",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-benchmark"
}
],
"manifest_display_name" : "SwiftTerm",
"name" : "SwiftTerm",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftTermFuzz",
"targets" : [
"SwiftTermFuzz"
],
"type" : {
"executable" : null
}
},
{
"name" : "termcast",
"targets" : [
"Termcast"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftTerm",
"targets" : [
"SwiftTerm"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTermBenchmarks",
"targets" : [
"SwiftTermBenchmarks"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Termcast",
"module_type" : "SwiftTarget",
"name" : "Termcast",
"path" : "Sources/Termcast",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"termcast"
],
"sources" : [
"AsciicastFormat.swift",
"TermcastPlayer.swift",
"TermcastRecorder.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftTerm"
],
"type" : "executable"
},
{
"c99name" : "SwiftTermTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTermTests",
"path" : "Tests/SwiftTermTests",
"sources" : [
"BufferTests.swift",
"ColorQueryTests.swift",
"ColorTests.swift",
"CsiParameterParsingTests.swift",
"DcsTests.swift",
"FuzzerTests.swift",
"GhosttyImplicitLinkDetectionTests.swift",
"HistoryTests.swift",
"ImageTests.swift",
"KittyCursorTests.swift",
"KittyGraphicsLifecycleTests.swift",
"KittyKeyboardEncoderTests.swift",
"KittyKeyboardProtocolTests.swift",
"KittyRelativePlacementTests.swift",
"KittyTransmissionTests.swift",
"KittyUnicodeTests.swift",
"LinkLookupTests.swift",
"MeanTests.swift",
"Memory.swift",
"OscTests.swift",
"ParserTests.swift",
"PerformanceTest.swift",
"ReflowPortedTests.swift",
"ReflowTests.swift",
"ScreenTests.swift",
"SearchTests.swift",
"SelectionTests.swift",
"SgrTests.swift",
"SwiftTermTests.swift",
"SynchronizedOutputTests.swift",
"TerminalCoreTests.swift",
"TerminalTestHarness.swift",
"UnicodeTests.swift"
],
"target_dependencies" : [
"SwiftTerm"
],
"type" : "test"
},
{
"c99name" : "SwiftTermFuzz",
"module_type" : "SwiftTarget",
"name" : "SwiftTermFuzz",
"path" : "Sources/SwiftTermFuzz",
"product_memberships" : [
"SwiftTermFuzz"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftTerm"
],
"type" : "executable"
},
{
"c99name" : "SwiftTermBenchmarks",
"module_type" : "SwiftTarget",
"name" : "SwiftTermBenchmarks",
"path" : "Benchmarks/SwiftTermBenchmarks",
"product_dependencies" : [
"Benchmark",
"BenchmarkPlugin"
],
"product_memberships" : [
"SwiftTermBenchmarks"
],
"sources" : [
"SwiftTermBenchmarks.swift"
],
"target_dependencies" : [
"SwiftTerm"
],
"type" : "executable"
},
{
"c99name" : "SwiftTerm",
"module_type" : "SwiftTarget",
"name" : "SwiftTerm",
"path" : "Sources/SwiftTerm",
"product_memberships" : [
"SwiftTermFuzz",
"termcast",
"SwiftTerm",
"SwiftTermBenchmarks"
],
"sources" : [
"Buffer.swift",
"BufferLine.swift",
"BufferSet.swift",
"CharData.swift",
"CharSets.swift",
"CircularList.swift",
"Colors.swift",
"EscapeSequenceParser.swift",
"EscapeSequences.swift",
"ExtensionsTerminal.swift",
"File.swift",
"HeadlessTerminal.swift",
"KittyGraphics.swift",
"KittyKeyboardEncoder.swift",
"KittyKeyboardProtocol.swift",
"KittyPlaceholder.swift",
"Line.swift",
"LocalProcess.swift",
"Position.swift",
"Pty.swift",
"SearchEngine.swift",
"SearchLineCache.swift",
"SearchOptions.swift",
"SearchService.swift",
"SearchState.swift",
"SelectionService.swift",
"SixelDcsHandler.swift",
"Terminal.swift",
"TerminalOptions.swift",
"TerminalViewSearch.swift",
"UnicodeWidthData.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.