Build Information
Successful build of SwiftTerm, reference main (86456c), with Swift 6.1 for macOS (SPM) on 26 Apr 2026 20:30:38 UTC.
Swift 6 data race errors: 94
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
34 | public var blue: UInt16
35 |
36 | 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
37 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:37: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
35 |
36 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
37 | 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
38 |
39 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:49: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
47 | }
48 |
49 | 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
50 | // dark colors
51 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:71: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
69 | ]
70 |
71 | 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
72 | // dark colors
73 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:91: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
89 | ]
90 |
91 | 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
92 | Color (red8: 0, green8: 0, blue8: 0),
93 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:110: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
108 | ]
109 |
110 | 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
111 | Color (red8: 0, green8: 0, blue8: 0),
112 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:129: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
127 | ]
128 |
129 | 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
130 | Color (red8: 0, green8: 0, blue8: 0),
131 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
34 | public var blue: UInt16
35 |
36 | 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
37 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:37: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
35 |
36 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
37 | 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
38 |
39 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:49: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
47 | }
48 |
49 | 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
50 | // dark colors
51 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:71: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
69 | ]
70 |
71 | 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
72 | // dark colors
73 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:91: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
89 | ]
90 |
91 | 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
92 | Color (red8: 0, green8: 0, blue8: 0),
93 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:110: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
108 | ]
109 |
110 | 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
111 | Color (red8: 0, green8: 0, blue8: 0),
112 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:129: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
127 | ]
128 |
129 | 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
130 | Color (red8: 0, green8: 0, blue8: 0),
131 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
34 | public var blue: UInt16
35 |
36 | 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
37 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:37: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
35 |
36 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
37 | 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
38 |
39 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:49: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
47 | }
48 |
49 | 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
50 | // dark colors
51 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:71: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
69 | ]
70 |
71 | 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
72 | // dark colors
73 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:91: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
89 | ]
90 |
91 | 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
92 | Color (red8: 0, green8: 0, blue8: 0),
93 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:110: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
108 | ]
109 |
110 | 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
111 | Color (red8: 0, green8: 0, blue8: 0),
112 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:129: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
127 | ]
128 |
129 | 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
130 | Color (red8: 0, green8: 0, blue8: 0),
131 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
34 | public var blue: UInt16
35 |
36 | 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
37 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:37: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
35 |
36 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
37 | 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
38 |
39 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:49: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
47 | }
48 |
49 | 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
50 | // dark colors
51 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:71: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
69 | ]
70 |
71 | 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
72 | // dark colors
73 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:91: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
89 | ]
90 |
91 | 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
92 | Color (red8: 0, green8: 0, blue8: 0),
93 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:110: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
108 | ]
109 |
110 | 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
111 | Color (red8: 0, green8: 0, blue8: 0),
112 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:129: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
127 | ]
128 |
129 | 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
130 | Color (red8: 0, green8: 0, blue8: 0),
131 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
34 | public var blue: UInt16
35 |
36 | 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
37 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:37: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
35 |
36 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
37 | 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
38 |
39 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:49: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
47 | }
48 |
49 | 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
50 | // dark colors
51 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:71: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
69 | ]
70 |
71 | 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
72 | // dark colors
73 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:91: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
89 | ]
90 |
91 | 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
92 | Color (red8: 0, green8: 0, blue8: 0),
93 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:110: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
108 | ]
109 |
110 | 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
111 | Color (red8: 0, green8: 0, blue8: 0),
112 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:129: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
127 | ]
128 |
129 | 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
130 | Color (red8: 0, green8: 0, blue8: 0),
131 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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]]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
34 | public var blue: UInt16
35 |
36 | 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
37 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:37: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
35 |
36 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
37 | 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
38 |
39 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:49: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
47 | }
48 |
49 | 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
50 | // dark colors
51 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:71: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
69 | ]
70 |
71 | 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
72 | // dark colors
73 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:91: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
89 | ]
90 |
91 | 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
92 | Color (red8: 0, green8: 0, blue8: 0),
93 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:110: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
108 | ]
109 |
110 | 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
111 | Color (red8: 0, green8: 0, blue8: 0),
112 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:129: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
26 | * in 16-bit RGB mode
27 | */
28 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
29 | /// Red component 0..65535
30 | public var red: UInt16
:
127 | ]
128 |
129 | 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
130 | Color (red8: 0, green8: 0, blue8: 0),
131 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5766: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
5764 | }
5765 |
5766 | 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
5767 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5768 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:82: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
52 |
53 | /// Configuration options for the terminal at startup, these values are only read at startup
54 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
55 | /// Desired number of columns at startup (default 80)
56 | public var cols: Int
:
80 |
81 | /// Default options
82 | 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
83 | rows: 25,
84 | convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5766: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
5764 | }
5765 |
5766 | 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
5767 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5768 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:82: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
52 |
53 | /// Configuration options for the terminal at startup, these values are only read at startup
54 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
55 | /// Desired number of columns at startup (default 80)
56 | public var cols: Int
:
80 |
81 | /// Default options
82 | 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
83 | rows: 25,
84 | convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5766: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
5764 | }
5765 |
5766 | 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
5767 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5768 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:82: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
52 |
53 | /// Configuration options for the terminal at startup, these values are only read at startup
54 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
55 | /// Desired number of columns at startup (default 80)
56 | public var cols: Int
:
80 |
81 | /// Default options
82 | 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
83 | rows: 25,
84 | convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5766: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
5764 | }
5765 |
5766 | 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
5767 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5768 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:82: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
52 |
53 | /// Configuration options for the terminal at startup, these values are only read at startup
54 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
55 | /// Desired number of columns at startup (default 80)
56 | public var cols: Int
:
80 |
81 | /// Default options
82 | 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
83 | rows: 25,
84 | convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5766: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
5764 | }
5765 |
5766 | 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
5767 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5768 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:82: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
52 |
53 | /// Configuration options for the terminal at startup, these values are only read at startup
54 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
55 | /// Desired number of columns at startup (default 80)
56 | public var cols: Int
:
80 |
81 | /// Default options
82 | 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
83 | rows: 25,
84 | convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5766: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
5764 | }
5765 |
5766 | 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
5767 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5768 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:82: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
52 |
53 | /// Configuration options for the terminal at startup, these values are only read at startup
54 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
55 | /// Desired number of columns at startup (default 80)
56 | public var cols: Int
:
80 |
81 | /// Default options
82 | 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
83 | rows: 25,
84 | convertEol: false,
[130/142] Emitting module SwiftTermFuzz
[131/142] Compiling SwiftTermFuzz main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTermFuzz/main.swift:23:38: error: main actor-isolated var 'queue' can not be referenced from a nonisolated context
16 | import SwiftTerm
17 |
18 | var queue = DispatchQueue(label: "Runner", qos: .userInteractive, attributes: .concurrent, autoreleaseFrequency: .inherit, target: nil)
| `- note: var declared here
19 |
20 | // Fuzzer entry point
21 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<UInt8>, length: CInt) -> CInt{
| `- note: add '@MainActor' to make global function 'fuzzMe(data:length:)' part of global actor 'MainActor'
22 |
23 | let h = HeadlessTerminal (queue: queue) { exitCode in }
| `- error: main actor-isolated var 'queue' can not be referenced from a nonisolated context
24 |
25 | let t = h.terminal!
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser from cache
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.21s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (1.93s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.50s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/11] Write swift-version-2F0A5646E1D333AE.txt
[6/69] Emitting module ArgumentParserToolInfo
[7/69] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/116] Compiling ArgumentParser CommandConfiguration.swift
[9/116] Compiling ArgumentParser CommandGroup.swift
[10/116] Compiling ArgumentParser EnumerableFlag.swift
[11/116] Compiling ArgumentParser ExpressibleByArgument.swift
[12/116] Compiling ArgumentParser ParsableArguments.swift
[13/121] Compiling ArgumentParser InputKey.swift
[14/121] Compiling ArgumentParser InputOrigin.swift
[15/121] Compiling ArgumentParser Name.swift
[16/121] Compiling ArgumentParser Parsed.swift
[17/121] Compiling ArgumentParser ParsedValues.swift
[18/121] Emitting module ArgumentParser
[19/121] Compiling ArgumentParser Platform.swift
[20/121] Compiling ArgumentParser SequenceExtensions.swift
[21/121] Compiling ArgumentParser StringExtensions.swift
[22/121] Compiling ArgumentParser SwiftExtensions.swift
[23/121] Compiling ArgumentParser Tree.swift
[24/121] Compiling ArgumentParser ArgumentSet.swift
[25/121] Compiling ArgumentParser CommandParser.swift
[26/121] Compiling ArgumentParser MessageInfo.swift
[27/121] Compiling ArgumentParser UsageGenerator.swift
[28/121] Compiling ArgumentParser CollectionExtensions.swift
[29/121] Compiling ArgumentParser Foundation.swift
[34/127] Compiling ArgumentParser Mutex.swift
[35/127] Compiling ArgumentParser CodingKeyValidator.swift
[36/127] Compiling ArgumentParser NonsenseFlagsValidator.swift
[37/127] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/127] Compiling ArgumentParser PositionalArgumentsValidator.swift
[39/127] Compiling ArgumentParser UniqueNamesValidator.swift
[40/127] Compiling ArgumentParser ArgumentHelp.swift
[41/127] Compiling ArgumentParser ArgumentVisibility.swift
[42/127] Compiling ArgumentParser CompletionKind.swift
[43/127] Compiling ArgumentParser Errors.swift
[44/127] Compiling ArgumentParser Flag.swift
[45/127] Compiling SwiftTerm iOSExtensions.swift
[46/127] Compiling SwiftTerm iOSKeyboardView.swift
[47/127] Compiling SwiftTerm iOSTerminalView.swift
[48/127] Compiling SwiftTerm iOSTextInput.swift
[49/127] Compiling SwiftTerm iOSTextStorage.swift
[50/127] Compiling SwiftTerm resource_bundle_accessor.swift
[51/127] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/127] Compiling ArgumentParser CompletionsGenerator.swift
[53/127] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/127] Compiling ArgumentParser ZshCompletionsGenerator.swift
[55/127] Compiling ArgumentParser Argument.swift
[56/127] Compiling ArgumentParser ArgumentDiscussion.swift
[57/127] Compiling ArgumentParser ParserError.swift
[58/127] Compiling ArgumentParser SplitArguments.swift
[59/127] Compiling ArgumentParser DumpHelpGenerator.swift
[60/127] Compiling ArgumentParser HelpCommand.swift
[61/127] Compiling ArgumentParser HelpGenerator.swift
[64/127] Compiling SwiftTerm KittyPlaceholder.swift
[65/127] Compiling SwiftTerm Line.swift
[66/127] Compiling SwiftTerm LocalProcess.swift
[67/127] Compiling SwiftTerm MacAccessibilityService.swift
[68/127] Emitting module SwiftTerm
[69/127] Compiling ArgumentParser ParsableCommand.swift
[70/127] Compiling ArgumentParser ArgumentDecoder.swift
[71/127] Compiling ArgumentParser ArgumentDefinition.swift
[74/127] Compiling ArgumentParser NameSpecification.swift
[75/127] Compiling ArgumentParser Option.swift
[76/127] Compiling ArgumentParser OptionGroup.swift
[77/127] Compiling ArgumentParser ParentCommand.swift
[78/127] Compiling ArgumentParser AsyncParsableCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1669:22: warning: result of call to 'withUnsafeBytes' is unused
1667 | return nil
1668 | }
1669 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1670 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1671 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1860:18: warning: result of call to 'withUnsafeBytes' is unused
1858 | return (nil, 0)
1859 | }
1860 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1861 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1862 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1669:22: warning: result of call to 'withUnsafeBytes' is unused
1667 | return nil
1668 | }
1669 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1670 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1671 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1860:18: warning: result of call to 'withUnsafeBytes' is unused
1858 | return (nil, 0)
1859 | }
1860 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1861 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1862 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1669:22: warning: result of call to 'withUnsafeBytes' is unused
1667 | return nil
1668 | }
1669 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1670 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1671 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1860:18: warning: result of call to 'withUnsafeBytes' is unused
1858 | return (nil, 0)
1859 | }
1860 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1861 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1862 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1669:22: warning: result of call to 'withUnsafeBytes' is unused
1667 | return nil
1668 | }
1669 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1670 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1671 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1860:18: warning: result of call to 'withUnsafeBytes' is unused
1858 | return (nil, 0)
1859 | }
1860 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1861 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1862 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1669:22: warning: result of call to 'withUnsafeBytes' is unused
1667 | return nil
1668 | }
1669 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1670 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1671 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1860:18: warning: result of call to 'withUnsafeBytes' is unused
1858 | return (nil, 0)
1859 | }
1860 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1861 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1862 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1669:22: warning: result of call to 'withUnsafeBytes' is unused
1667 | return nil
1668 | }
1669 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1670 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1671 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/MetalTerminalRenderer.swift:1860:18: warning: result of call to 'withUnsafeBytes' is unused
1858 | return (nil, 0)
1859 | }
1860 | vertices.withUnsafeBytes { raw in
| `- warning: result of call to 'withUnsafeBytes' is unused
1861 | memcpy(buffer.contents(), raw.baseAddress!, byteCount)
1862 | }
[122/134] Emitting module SwiftTermFuzz
[123/134] Compiling SwiftTermFuzz main.swift
[123/134] Write Objects.LinkFileList
[125/134] Compiling Termcast AsciicastFormat.swift
[126/134] Compiling Termcast main.swift
[127/134] Emitting module Termcast
[128/134] Compiling Termcast TermcastPlayer.swift
[129/134] Compiling Termcast TermcastRecorder.swift
[129/134] Write Objects.LinkFileList
[130/134] Linking SwiftTermFuzz
[131/134] Applying SwiftTermFuzz
[132/134] Linking termcast
[133/134] Applying termcast
Build complete! (8.88s)
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"
}
],
"manifest_display_name" : "SwiftTerm",
"name" : "SwiftTerm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.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"
]
}
}
],
"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",
"MouseTrackingTests.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" : "SwiftTerm",
"module_type" : "SwiftTarget",
"name" : "SwiftTerm",
"path" : "Sources/SwiftTerm",
"product_memberships" : [
"SwiftTermFuzz",
"termcast",
"SwiftTerm"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/Metal/Shaders.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Apple/AppleTerminalView.swift",
"Apple/BlockElementRenderer.swift",
"Apple/BoxDrawingRenderer.swift",
"Apple/CaretView.swift",
"Apple/Extensions.swift",
"Apple/Metal/CoreTextGlyphRasterizer.swift",
"Apple/Metal/GlyphAtlas.swift",
"Apple/Metal/MetalBufferingMode.swift",
"Apple/Metal/MetalError.swift",
"Apple/Metal/MetalTerminalRenderer.swift",
"Apple/TerminalProgressBarView.swift",
"Apple/TerminalViewDelegate.swift",
"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",
"Mac/MacAccessibilityService.swift",
"Mac/MacCaretView.swift",
"Mac/MacDebugView.swift",
"Mac/MacExtensions.swift",
"Mac/MacFindBarView.swift",
"Mac/MacLocalTerminalView.swift",
"Mac/MacTerminalView.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",
"iOS/SwiftUITerminalView.swift",
"iOS/iOSAccessoryView.swift",
"iOS/iOSCaretView.swift",
"iOS/iOSDoubleButton.swift",
"iOS/iOSExtensions.swift",
"iOS/iOSKeyboardView.swift",
"iOS/iOSTerminalView.swift",
"iOS/iOSTextInput.swift",
"iOS/iOSTextStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.