Build Information
Successful build of SwiftTerm, reference v1.6.0 (7f7541), with Swift 6.1 for macOS (SPM) on 12 Dec 2025 18:40:28 UTC.
Swift 6 data race errors: 79
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
97 | 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
98 |
99 | /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179: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
177 | public struct TinyAtom {
178 | var code: UInt16
179 | 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
180 | static var lastUsed: Int = 0
181 | static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180: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
178 | var code: UInt16
179 | static var map: [UInt16:Any] = [:]
180 | 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
181 | static var lastCollected: Int = 0
182 | static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181: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
179 | static var map: [UInt16:Any] = [:]
180 | static var lastUsed: Int = 0
181 | 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
182 | static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182: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
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
| `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 | var code: UInt16
179 | static var map: [UInt16:Any] = [:]
180 | static var lastUsed: Int = 0
181 | static var lastCollected: Int = 0
182 | 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
183 |
184 | private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 | // Contains the character to index mapping
241 | static var charToIndexMap: [Character:Int32] = [:]
| |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 | // Contains the index to character mapping, could be a plain array
244 | static var indexToCharMap: [Int32: Character] = [:]
| |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 | // Contains the index to character mapping, could be a plain array
244 | static var indexToCharMap: [Int32: Character] = [:]
245 | static var lastCharIndex: Int32 = (1 << 22)+1
| |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
246 |
247 |
248 | 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
249 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
247 |
248 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 | 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
250 |
251 | // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333: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
331 |
332 | /// The `Null` character can be used when filling up parts of the screeb
333 | 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
334 |
335 | /// Updates the contents of this CharData with a new character.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class CharSets {
12 | public static var all: [UInt8:[UInt8:String]] = initAll ()
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | // This is the "B" charset, null
/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]]
[146/170] Compiling SwiftTerm CharSets.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1040:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1038 | }
1039 |
1040 | static var n = 0
| |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1041 |
1042 | func dump ()
/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:97: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
95 | /// The empty attribute is configured to be use the defaultColor for the foreground, and the
96 | /// defaultInvertedColor for the background and an emptu style
97 | 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
98 |
99 | /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179: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
177 | public struct TinyAtom {
178 | var code: UInt16
179 | 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
180 | static var lastUsed: Int = 0
181 | static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180: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
178 | var code: UInt16
179 | static var map: [UInt16:Any] = [:]
180 | 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
181 | static var lastCollected: Int = 0
182 | static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181: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
179 | static var map: [UInt16:Any] = [:]
180 | static var lastUsed: Int = 0
181 | 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
182 | static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182: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
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
| `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 | var code: UInt16
179 | static var map: [UInt16:Any] = [:]
180 | static var lastUsed: Int = 0
181 | static var lastCollected: Int = 0
182 | 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
183 |
184 | private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 | // Contains the character to index mapping
241 | static var charToIndexMap: [Character:Int32] = [:]
| |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 | // Contains the index to character mapping, could be a plain array
244 | static var indexToCharMap: [Int32: Character] = [:]
| |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 | // Contains the index to character mapping, could be a plain array
244 | static var indexToCharMap: [Int32: Character] = [:]
245 | static var lastCharIndex: Int32 = (1 << 22)+1
| |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
246 |
247 |
248 | 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
249 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
247 |
248 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 | 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
250 |
251 | // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333: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
331 |
332 | /// The `Null` character can be used when filling up parts of the screeb
333 | 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
334 |
335 | /// Updates the contents of this CharData with a new character.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class CharSets {
12 | public static var all: [UInt8:[UInt8:String]] = initAll ()
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | // This is the "B" charset, null
/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]]
[147/170] Emitting module SwiftTerm
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:1040:16: warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1038 | }
1039 |
1040 | static var n = 0
| |- warning: static property 'n' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'n' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'n' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1041 |
1042 | func dump ()
/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:97: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
95 | /// The empty attribute is configured to be use the defaultColor for the foreground, and the
96 | /// defaultInvertedColor for the background and an emptu style
97 | 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
98 |
99 | /// Foreground and background colors
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:179: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
177 | public struct TinyAtom {
178 | var code: UInt16
179 | 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
180 | static var lastUsed: Int = 0
181 | static var lastCollected: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:180: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
178 | var code: UInt16
179 | static var map: [UInt16:Any] = [:]
180 | 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
181 | static var lastCollected: Int = 0
182 | static let empty = TinyAtom (code: 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:181: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
179 | static var map: [UInt16:Any] = [:]
180 | static var lastUsed: Int = 0
181 | 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
182 | static let empty = TinyAtom (code: 0)
183 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:182: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
175 | /// This is kept to 16 bits for now, so that we keep the CharData to less than 15 bytes
176 | /// it could in theory be changed to be 24 bits without much trouble
177 | public struct TinyAtom {
| `- note: consider making struct 'TinyAtom' conform to the 'Sendable' protocol
178 | var code: UInt16
179 | static var map: [UInt16:Any] = [:]
180 | static var lastUsed: Int = 0
181 | static var lastCollected: Int = 0
182 | 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
183 |
184 | private init(code: UInt16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:241:16: warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 |
240 | // Contains the character to index mapping
241 | static var charToIndexMap: [Character:Int32] = [:]
| |- warning: static property 'charToIndexMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'charToIndexMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'charToIndexMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | // Contains the index to character mapping, could be a plain array
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:244:16: warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
242 |
243 | // Contains the index to character mapping, could be a plain array
244 | static var indexToCharMap: [Int32: Character] = [:]
| |- warning: static property 'indexToCharMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indexToCharMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indexToCharMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 | static var lastCharIndex: Int32 = (1 << 22)+1
246 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:245:16: warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 | // Contains the index to character mapping, could be a plain array
244 | static var indexToCharMap: [Int32: Character] = [:]
245 | static var lastCharIndex: Int32 = (1 << 22)+1
| |- warning: static property 'lastCharIndex' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCharIndex' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCharIndex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:248: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
246 |
247 |
248 | 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
249 | static let invertedAttr = Attribute(fg: .defaultInvertedColor, bg: .defaultInvertedColor, style: .none)
250 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:249: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
56 | /// should be drawn as.
57 | ///
58 | public struct Attribute: Equatable, Hashable {
| `- note: consider making struct 'Attribute' conform to the 'Sendable' protocol
59 | /// The various ways in which the color was expressed
60 | public enum Color: Equatable, Hashable {
:
247 |
248 | static let defaultAttr = Attribute(fg: .defaultColor, bg: .defaultColor, style: .none)
249 | 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
250 |
251 | // Contains a rune, or a pointer into a Grapheme Cluster
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:333: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
331 |
332 | /// The `Null` character can be used when filling up parts of the screeb
333 | 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
334 |
335 | /// Updates the contents of this CharData with a new character.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:12:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class CharSets {
12 | public static var all: [UInt8:[UInt8:String]] = initAll ()
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | // This is the "B" charset, null
/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:23: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
21 | public var blue: UInt16
22 |
23 | 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
24 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24: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
22 |
23 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
24 | 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
25 |
26 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
34 | }
35 |
36 | 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
37 | // dark colors
38 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
56 | ]
57 |
58 | 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
59 | // dark colors
60 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
76 | ]
77 |
78 | 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
79 | Color (red8: 0, green8: 0, blue8: 0),
80 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
95 | ]
96 |
97 | 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
98 | Color (red8: 0, green8: 0, blue8: 0),
99 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
114 | ]
115 |
116 | 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
117 | Color (red8: 0, green8: 0, blue8: 0),
118 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacCaretView.swift:110:10: warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
16 |
17 | // The CaretView is used to show the cursor
18 | class CaretView: NSView, CALayerDelegate {
| `- note: add '@preconcurrency' to the 'CALayerDelegate' conformance to defer isolation checking to run time
19 | weak var terminal: TerminalView?
20 | var ctline: CTLine?
:
108 | }
109 |
110 | func draw(_ layer: CALayer, in context: CGContext) {
| |- warning: main actor-isolated instance method 'draw(_:in:)' cannot be used to satisfy nonisolated requirement from protocol 'CALayerDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'draw(_:in:)' to make this instance method not isolated to the actor
111 | drawCursor (in: context, hasFocus: tracksFocus ? (terminal?.hasFocus ?? true) : true)
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:97:17: warning: main actor-isolated instance method 'sizeChanged(source:newCols:newRows:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
65 | * subclass this and override the methods
66 | */
67 | open class LocalProcessTerminalView: TerminalView, TerminalViewDelegate, LocalProcessDelegate {
| `- note: add '@preconcurrency' to the 'TerminalViewDelegate' conformance to defer isolation checking to run time
68 |
69 | public internal(set) var process: LocalProcess!
:
95 | * This method is invoked to notify the client of the new columsn and rows that have been set by the UI
96 | */
97 | public func sizeChanged(source: TerminalView, newCols: Int, newRows: Int) {
| |- warning: main actor-isolated instance method 'sizeChanged(source:newCols:newRows:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sizeChanged(source:newCols:newRows:)' to make this instance method not isolated to the actor
98 | guard process.running else {
99 | return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:21:10: note: mark the protocol requirement 'sizeChanged(source:newCols:newRows:)' 'async' to allow actor-isolated conformances
19 | * it is a rare feature and you most likely can ignore this request.
20 | */
21 | func sizeChanged (source: TerminalView, newCols: Int, newRows: Int)
| `- note: mark the protocol requirement 'sizeChanged(source:newCols:newRows:)' 'async' to allow actor-isolated conformances
22 |
23 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:118:17: warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
116 | * Invoke this method to notify the processDelegate of the new title for the terminal window
117 | */
118 | public func setTerminalTitle(source: TerminalView, title: String) {
| |- warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setTerminalTitle(source:title:)' to make this instance method not isolated to the actor
119 | processDelegate?.setTerminalTitle (source: self, title: title)
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:26:10: note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
24 | * Request to change the title of the terminal.
25 | */
26 | func setTerminalTitle(source: TerminalView, title: String)
| `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
27 |
28 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:122:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdate(source:directory:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
120 | }
121 |
122 | public func hostCurrentDirectoryUpdate(source: TerminalView, directory: String?) {
| |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdate(source:directory:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdate(source:directory:)' to make this instance method not isolated to the actor
123 | processDelegate?.hostCurrentDirectoryUpdate(source: source, directory: directory)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:31:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdate(source:directory:)' 'async' to allow actor-isolated conformances
29 | * Invoked when the OSC command 7 for "current directory has changed" command is sent
30 | */
31 | func hostCurrentDirectoryUpdate (source: TerminalView, directory: String?)
| `- note: mark the protocol requirement 'hostCurrentDirectoryUpdate(source:directory:)' 'async' to allow actor-isolated conformances
32 |
33 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:131:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
129 | * Implementation of the TerminalViewDelegate method
130 | */
131 | open func send(source: TerminalView, data: ArraySlice<UInt8>)
| |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
132 | {
133 | process.send (data: data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:37:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
35 | * - Parameter data: Slice of data that should be sent
36 | */
37 | func send (source: TerminalView, data: ArraySlice<UInt8>)
| `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:145:15: warning: main actor-isolated instance method 'scrolled(source:position:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
143 |
144 | /// Implementation of the TerminalViewDelegate method
145 | open func scrolled(source: TerminalView, position: Double) {
| |- warning: main actor-isolated instance method 'scrolled(source:position:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'scrolled(source:position:)' to make this instance method not isolated to the actor
146 | // noting
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:43:10: note: mark the protocol requirement 'scrolled(source:position:)' 'async' to allow actor-isolated conformances
41 | * - Parameter position: the relative position that the code was scrolled to, a value between 0 and 1
42 | */
43 | func scrolled (source: TerminalView, position: Double)
| `- note: mark the protocol requirement 'scrolled(source:position:)' 'async' to allow actor-isolated conformances
44 |
45 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:107:17: warning: main actor-isolated instance method 'clipboardCopy(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
105 | }
106 |
107 | public func clipboardCopy(source: TerminalView, content: Data) {
| |- warning: main actor-isolated instance method 'clipboardCopy(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'clipboardCopy(source:content:)' to make this instance method not isolated to the actor
108 | if let str = String (bytes: content, encoding: .utf8) {
109 | let pasteBoard = NSPasteboard.general
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:72:10: note: mark the protocol requirement 'clipboardCopy(source:content:)' 'async' to allow actor-isolated conformances
70 | * The default implementation does nothing.
71 | */
72 | func clipboardCopy(source: TerminalView, content: Data)
| `- note: mark the protocol requirement 'clipboardCopy(source:content:)' 'async' to allow actor-isolated conformances
73 |
74 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:149:15: warning: main actor-isolated instance method 'rangeChanged(source:startY:endY:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
147 | }
148 |
149 | open func rangeChanged(source: TerminalView, startY: Int, endY: Int) {
| |- warning: main actor-isolated instance method 'rangeChanged(source:startY:endY:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'rangeChanged(source:startY:endY:)' to make this instance method not isolated to the actor
150 | //
151 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/TerminalViewDelegate.swift:86:10: note: mark the protocol requirement 'rangeChanged(source:startY:endY:)' 'async' to allow actor-isolated conformances
84 | * the `notifyUpdateChanges` variable is set to true.
85 | */
86 | func rangeChanged (source: TerminalView, startY: Int, endY: Int)
| `- note: mark the protocol requirement 'rangeChanged(source:startY:endY:)' 'async' to allow actor-isolated conformances
87 |
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:175:15: warning: main actor-isolated instance method 'processTerminated(_:exitCode:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
65 | * subclass this and override the methods
66 | */
67 | open class LocalProcessTerminalView: TerminalView, TerminalViewDelegate, LocalProcessDelegate {
| `- note: add '@preconcurrency' to the 'LocalProcessDelegate' conformance to defer isolation checking to run time
68 |
69 | public internal(set) var process: LocalProcess!
:
173 | * Implements the LocalProcessDelegate method.
174 | */
175 | open func processTerminated(_ source: LocalProcess, exitCode: Int32?) {
| |- warning: main actor-isolated instance method 'processTerminated(_:exitCode:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'processTerminated(_:exitCode:)' to make this instance method not isolated to the actor
176 | processDelegate?.processTerminated(source: self, exitCode: exitCode)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:23:10: note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
21 | /// - Parameter source: the local process that terminated
22 | /// - Parameter exitCode: the exit code returned by the process, or nil if this was an error caused during the IO reading/writing
23 | func processTerminated (_ source: LocalProcess, exitCode: Int32?)
| `- note: mark the protocol requirement 'processTerminated(_:exitCode:)' 'async' to allow actor-isolated conformances
24 |
25 | /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:182:15: warning: main actor-isolated instance method 'dataReceived(slice:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
180 | * Implements the LocalProcessDelegate.dataReceived method
181 | */
182 | open func dataReceived(slice: ArraySlice<UInt8>) {
| |- warning: main actor-isolated instance method 'dataReceived(slice:)' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'dataReceived(slice:)' to make this instance method not isolated to the actor
183 | feed (byteArray: slice)
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:26:10: note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
24 |
25 | /// This method is invoked when data has been received from the local process that should be send to the terminal for processing.
26 | func dataReceived (slice: ArraySlice<UInt8>)
| `- note: mark the protocol requirement 'dataReceived(slice:)' 'async' to allow actor-isolated conformances
27 |
28 | /// This method should return the window size to report to the local process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacLocalTerminalView.swift:189:15: warning: main actor-isolated instance method 'getWindowSize()' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
187 | * Implements the LocalProcessDelegate.getWindowSize method
188 | */
189 | open func getWindowSize () -> winsize
| |- warning: main actor-isolated instance method 'getWindowSize()' cannot be used to satisfy nonisolated requirement from protocol 'LocalProcessDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'getWindowSize()' to make this instance method not isolated to the actor
190 | {
191 | let f: CGRect = self.frame
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:10: note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- note: mark the protocol requirement 'getWindowSize()' 'async' to allow actor-isolated conformances
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:730:15: warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
36 | * defaults, otherwise, this uses its own set of defaults colors.
37 | */
38 | open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, TerminalDelegate {
| `- note: add '@preconcurrency' to the 'NSTextInputClient' conformance to defer isolation checking to run time
39 | struct FontSet {
40 | public let normal: NSFont
:
728 |
729 | // NSTextInputClient protocol implementation
730 | open func insertText(_ string: Any, replacementRange: NSRange) {
| |- warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'insertText(_:replacementRange:)' to make this instance method not isolated to the actor
731 | insertText(string, replacementRange: replacementRange, isPaste: false)
732 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:673:26: warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
671 | }
672 |
673 | public override func doCommand(by selector: Selector) {
| |- warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'doCommand(by:)' to make this instance method not isolated to the actor
674 | switch selector {
675 | case #selector(insertNewline(_:)):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:749:15: warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
747 |
748 | // NSTextInputClient protocol implementation
749 | open func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange) {
| |- warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setMarkedText(_:selectedRange:replacementRange:)' to make this instance method not isolated to the actor
750 | // nothing
751 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:754:15: warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
752 |
753 | // NSTextInputClient protocol implementation
754 | open func unmarkText() {
| |- warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'unmarkText()' to make this instance method not isolated to the actor
755 | // nothing
756 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:759:15: warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
757 |
758 | // NSTextInputClient protocol implementation
759 | open func selectedRange() -> NSRange {
| |- warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'selectedRange()' to make this instance method not isolated to the actor
760 | guard let selection = self.selection, selection.active else {
761 | // This means "no selection":
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:778:15: warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
776 |
777 | // NSTextInputClient protocol implementation
778 | open func markedRange() -> NSRange {
| |- warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'markedRange()' to make this instance method not isolated to the actor
779 | print ("markedRange: This should return the actual range from the selection")
780 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:786:15: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
784 |
785 | // NSTextInputClient protocol implementation
786 | open func hasMarkedText() -> Bool {
| |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
787 | // print ("hasMarkedText: This should return the actual range from the selection")
788 | // TODO
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:793:15: warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
791 |
792 | // NSTextInputClient protocol implementation
793 | open func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? {
| |- warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'attributedSubstring(forProposedRange:actualRange:)' to make this instance method not isolated to the actor
794 | print ("Attribuetd string")
795 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:799:15: warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
797 |
798 | // NSTextInputClient Protocol implementation
799 | open func validAttributesForMarkedText() -> [NSAttributedString.Key] {
| |- warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'validAttributesForMarkedText()' to make this instance method not isolated to the actor
800 | // TODO print ("validAttributesForMarkedText: This should return the actual range from the selection")
801 | return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:805:15: warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
803 |
804 | // NSTextInputClient protocol implementation
805 | open func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect {
| |- warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'firstRect(forCharacterRange:actualRange:)' to make this instance method not isolated to the actor
806 | actualRange?.pointee = range
807 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:816:15: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
814 |
815 | // NSTextInputClient protocol implementation
816 | open func characterIndex(for point: NSPoint) -> Int {
| |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
817 | print ("characterIndex:for point: This should return the actual range from the selection")
818 | return NSNotFound
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1188:15: warning: main actor-isolated instance method 'showCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
36 | * defaults, otherwise, this uses its own set of defaults colors.
37 | */
38 | open class TerminalView: NSView, NSTextInputClient, NSUserInterfaceValidations, TerminalDelegate {
| `- note: add '@preconcurrency' to the 'TerminalDelegate' conformance to defer isolation checking to run time
39 | struct FontSet {
40 | public let normal: NSFont
:
1186 | }
1187 |
1188 | open func showCursor(source: Terminal) {
| |- warning: main actor-isolated instance method 'showCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showCursor(source:)' to make this instance method not isolated to the actor
1189 | if caretView.superview == nil {
1190 | addSubview(caretView)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:22:10: note: mark the protocol requirement 'showCursor(source:)' 'async' to allow actor-isolated conformances
20 | * Invoked to request that the cursor be shown
21 | */
22 | func showCursor (source: Terminal)
| `- note: mark the protocol requirement 'showCursor(source:)' 'async' to allow actor-isolated conformances
23 |
24 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1194:15: warning: main actor-isolated instance method 'hideCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1192 | }
1193 |
1194 | open func hideCursor(source: Terminal) {
| |- warning: main actor-isolated instance method 'hideCursor(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hideCursor(source:)' to make this instance method not isolated to the actor
1195 | caretView.removeFromSuperview()
1196 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:27:10: note: mark the protocol requirement 'hideCursor(source:)' 'async' to allow actor-isolated conformances
25 | * Invoked to request that the cursor be shown
26 | */
27 | func hideCursor (source: Terminal)
| `- note: mark the protocol requirement 'hideCursor(source:)' 'async' to allow actor-isolated conformances
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1221:17: warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1219 | }
1220 |
1221 | public func setTerminalTitle(source: Terminal, title: String) {
| |- warning: main actor-isolated instance method 'setTerminalTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setTerminalTitle(source:title:)' to make this instance method not isolated to the actor
1222 | terminalDelegate?.setTerminalTitle(source: self, title: title)
1223 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:36:10: note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
34 | * The default implementation does nothing.
35 | */
36 | func setTerminalTitle (source: Terminal, title: String)
| `- note: mark the protocol requirement 'setTerminalTitle(source:title:)' 'async' to allow actor-isolated conformances
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1240:17: warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1238 | }
1239 |
1240 | public func setTerminalIconTitle(source: Terminal, title: String) {
| |- warning: main actor-isolated instance method 'setTerminalIconTitle(source:title:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setTerminalIconTitle(source:title:)' to make this instance method not isolated to the actor
1241 | //
1242 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:45:10: note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
43 | * The default implementation does nothing.
44 | */
45 | func setTerminalIconTitle (source: Terminal, title: String)
| `- note: mark the protocol requirement 'setTerminalIconTitle(source:title:)' 'async' to allow actor-isolated conformances
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1245:17: warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1243 |
1244 | // Terminal.Delegate method implementation
1245 | public func windowCommand(source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]? {
| |- warning: main actor-isolated instance method 'windowCommand(source:command:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'windowCommand(source:command:)' to make this instance method not isolated to the actor
1246 | return nil
1247 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:58:10: note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
56 | */
57 | @discardableResult
58 | func windowCommand (source: Terminal, command: Terminal.WindowManipulationCommand) -> [UInt8]?
| `- note: mark the protocol requirement 'windowCommand(source:command:)' 'async' to allow actor-isolated conformances
59 |
60 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1225:17: warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1223 | }
1224 |
1225 | public func sizeChanged(source: Terminal) {
| |- warning: main actor-isolated instance method 'sizeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sizeChanged(source:)' to make this instance method not isolated to the actor
1226 | terminalDelegate?.sizeChanged(source: self, newCols: source.cols, newRows: source.rows)
1227 | updateScroller ()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:69:10: note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
67 | * The default implementation does nothing.
68 | */
69 | func sizeChanged (source: Terminal)
| `- note: mark the protocol requirement 'sizeChanged(source:)' 'async' to allow actor-isolated conformances
70 |
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:336:15: warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
334 | }
335 |
336 | open func send(source: Terminal, data: ArraySlice<UInt8>) {
| |- warning: main actor-isolated instance method 'send(source:data:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'send(source:data:)' to make this instance method not isolated to the actor
337 | terminalDelegate?.send (source: self, data: data)
338 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:75:10: note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
73 | * documentation, this is the "host")
74 | */
75 | func send (source: Terminal, data: ArraySlice<UInt8>)
| `- note: mark the protocol requirement 'send(source:data:)' 'async' to allow actor-isolated conformances
76 |
77 | // callbacks
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:353:15: warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
351 | }
352 |
353 | open func scrolled(source terminal: Terminal, yDisp: Int) {
| |- warning: main actor-isolated instance method 'scrolled(source:yDisp:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'scrolled(source:yDisp:)' to make this instance method not isolated to the actor
354 | //selectionView.notifyScrolled(source: terminal)
355 | updateScroller()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:81:10: note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
79 | /// Callback - the window was scrolled, new yDisplay passed
80 | /// The default implementation does nothing.
81 | func scrolled (source: Terminal, yDisp: Int)
| `- note: mark the protocol requirement 'scrolled(source:yDisp:)' 'async' to allow actor-isolated conformances
82 |
83 | /// Callback a newline was generated
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:359:15: warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
357 | }
358 |
359 | open func linefeed(source: Terminal) {
| |- warning: main actor-isolated instance method 'linefeed(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'linefeed(source:)' to make this instance method not isolated to the actor
360 | selection.selectNone()
361 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:85:10: note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
83 | /// Callback a newline was generated
84 | /// The default implementation does nothing.
85 | func linefeed (source: Terminal)
| `- note: mark the protocol requirement 'linefeed(source:)' 'async' to allow actor-isolated conformances
86 |
87 | /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:332:15: warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
330 | }
331 |
332 | open func bufferActivated(source: Terminal) {
| |- warning: main actor-isolated instance method 'bufferActivated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'bufferActivated(source:)' to make this instance method not isolated to the actor
333 | updateScroller ()
334 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:89:10: note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
87 | /// This method is invoked when the buffer changes from Normal to Alternate, or Alternate to Normal
88 | /// The default implementation does nothing.
89 | func bufferActivated (source: Terminal)
| `- note: mark the protocol requirement 'bufferActivated(source:)' 'async' to allow actor-isolated conformances
90 |
91 | /// Should raise the bell
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1203:15: warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1201 | }
1202 |
1203 | open func bell(source: Terminal) {
| |- warning: main actor-isolated instance method 'bell(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'bell(source:)' to make this instance method not isolated to the actor
1204 | terminalDelegate?.bell (source: self)
1205 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:93:10: note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
91 | /// Should raise the bell
92 | /// The default implementation does nothing.
93 | func bell (source: Terminal)
| `- note: mark the protocol requirement 'bell(source:)' 'async' to allow actor-isolated conformances
94 |
95 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:850:15: warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
848 | }
849 |
850 | open func selectionChanged(source: Terminal) {
| |- warning: main actor-isolated instance method 'selectionChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'selectionChanged(source:)' to make this instance method not isolated to the actor
851 | needsDisplay = true
852 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:102:10: note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
100 | * The default implementation does nothing.
101 | */
102 | func selectionChanged (source: Terminal)
| `- note: mark the protocol requirement 'selectionChanged(source:)' 'async' to allow actor-isolated conformances
103 |
104 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1207:17: warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1205 | }
1206 |
1207 | public func isProcessTrusted(source: Terminal) -> Bool {
| |- warning: main actor-isolated instance method 'isProcessTrusted(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'isProcessTrusted(source:)' to make this instance method not isolated to the actor
1208 | true
1209 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:111:10: note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
109 | * The default implementation returns `true`
110 | */
111 | func isProcessTrusted (source: Terminal) -> Bool
| `- note: mark the protocol requirement 'isProcessTrusted(source:)' 'async' to allow actor-isolated conformances
112 |
113 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1211:17: warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1209 | }
1210 |
1211 | public func mouseModeChanged(source: Terminal) {
| |- warning: main actor-isolated instance method 'mouseModeChanged(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mouseModeChanged(source:)' to make this instance method not isolated to the actor
1212 | if source.mouseMode == .anyEvent {
1213 | startTracking()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:120:10: note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
118 | * The default implementation ignores the mouse change
119 | */
120 | func mouseModeChanged (source: Terminal)
| `- note: mark the protocol requirement 'mouseModeChanged(source:)' 'async' to allow actor-isolated conformances
121 |
122 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1198:15: warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1196 | }
1197 |
1198 | open func cursorStyleChanged (source: Terminal, newStyle: CursorStyle) {
| |- warning: main actor-isolated instance method 'cursorStyleChanged(source:newStyle:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cursorStyleChanged(source:newStyle:)' to make this instance method not isolated to the actor
1199 | caretView.style = newStyle
1200 | updateCaretView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:126:10: note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
124 | * by client application.
125 | */
126 | func cursorStyleChanged (source: Terminal, newStyle: CursorStyle)
| `- note: mark the protocol requirement 'cursorStyleChanged(source:newStyle:)' 'async' to allow actor-isolated conformances
127 |
128 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:238:17: warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
236 | }
237 |
238 | public func hostCurrentDirectoryUpdated (source: Terminal)
| |- warning: main actor-isolated instance method 'hostCurrentDirectoryUpdated(source:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hostCurrentDirectoryUpdated(source:)' to make this instance method not isolated to the actor
239 | {
240 | terminalDelegate?.hostCurrentDirectoryUpdate(source: self, directory: terminal.hostCurrentDirectory)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:135:10: note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
133 | * The default implementaiton does nothing.
134 | */
135 | func hostCurrentDirectoryUpdated (source: Terminal)
| `- note: mark the protocol requirement 'hostCurrentDirectoryUpdated(source:)' 'async' to allow actor-isolated conformances
136 |
137 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:257:17: warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
255 | }
256 |
257 | public func colorChanged (source: Terminal, idx: Int?)
| |- warning: main actor-isolated instance method 'colorChanged(source:idx:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'colorChanged(source:idx:)' to make this instance method not isolated to the actor
258 | {
259 | if let index = idx {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:151:10: note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
149 | * with the new values. If the value of idx is nil, this means all the ansi colors changed
150 | */
151 | func colorChanged (source: Terminal, idx: Int?)
| `- note: mark the protocol requirement 'colorChanged(source:idx:)' 'async' to allow actor-isolated conformances
152 |
153 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:273:17: warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
271 | }
272 |
273 | public func setForegroundColor(source: Terminal, color: Color) {
| |- warning: main actor-isolated instance method 'setForegroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setForegroundColor(source:color:)' to make this instance method not isolated to the actor
274 | nativeForegroundColor = TTColor.make (color: color)
275 | colorsChanged()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:156:10: note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
154 | * The view should try to set the foreground color to the provided color
155 | */
156 | func setForegroundColor (source: Terminal, color: Color)
| `- note: mark the protocol requirement 'setForegroundColor(source:color:)' 'async' to allow actor-isolated conformances
157 |
158 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:267:17: warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
265 | }
266 |
267 | public func setBackgroundColor(source: Terminal, color: Color) {
| |- warning: main actor-isolated instance method 'setBackgroundColor(source:color:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setBackgroundColor(source:color:)' to make this instance method not isolated to the actor
268 | // Can not implement this until I change the color to not be this struct
269 | nativeBackgroundColor = TTColor.make (color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:161:10: note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
159 | * The view should try to set the background color to the provided color
160 | */
161 | func setBackgroundColor (source: Terminal, color: Color)
| `- note: mark the protocol requirement 'setBackgroundColor(source:color:)' 'async' to allow actor-isolated conformances
162 |
163 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/MacTerminalView.swift:1249:17: warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1247 | }
1248 |
1249 | public func iTermContent (source: Terminal, content: ArraySlice<UInt8>) {
| |- warning: main actor-isolated instance method 'iTermContent(source:content:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'iTermContent(source:content:)' to make this instance method not isolated to the actor
1250 | terminalDelegate?.iTermContent(source: self, content: content)
1251 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:180:10: note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
178 | * The default implementaiton does nothing.
179 | */
180 | func iTermContent (source: Terminal, content: ArraySlice<UInt8>)
| `- note: mark the protocol requirement 'iTermContent(source:content:)' 'async' to allow actor-isolated conformances
181 |
182 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1279:17: warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1277 | }
1278 |
1279 | public func createImageFromBitmap(source: Terminal, bytes: inout [UInt8], width: Int, height: Int) {
| |- warning: main actor-isolated instance method 'createImageFromBitmap(source:bytes:width:height:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'createImageFromBitmap(source:bytes:width:height:)' to make this instance method not isolated to the actor
1280 | let rgbColorSpace = CGColorSpaceCreateDeviceRGB()
1281 | let bitmapInfo: CGBitmapInfo = CGBitmapInfo(rawValue: CGImageAlphaInfo.premultipliedLast.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:214:10: note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
212 | * - height: the height in pixels of the image
213 | */
214 | func createImageFromBitmap (source: Terminal, bytes: inout [UInt8], width: Int, height: Int)
| `- note: mark the protocol requirement 'createImageFromBitmap(source:bytes:width:height:)' 'async' to allow actor-isolated conformances
215 |
216 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Apple/AppleTerminalView.swift:1298:17: warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
1296 | }
1297 |
1298 | public func createImage (source: Terminal, data: Data, width widthRequest: ImageSizeRequest, height heightRequest: ImageSizeRequest, preserveAspectRatio: Bool)
| |- warning: main actor-isolated instance method 'createImage(source:data:width:height:preserveAspectRatio:)' cannot be used to satisfy nonisolated requirement from protocol 'TerminalDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'createImage(source:data:width:height:preserveAspectRatio:)' to make this instance method not isolated to the actor
1299 | {
1300 | guard let img = TTImage(data: data) else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:227:10: note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
225 | * - preserveAspectRatio: if set, one of the dimensions will track the hardcoded setting set for the other.
226 | */
227 | func createImage (source: Terminal, data: Data, width: ImageSizeRequest, height: ImageSizeRequest, preserveAspectRatio: Bool)
| `- note: mark the protocol requirement 'createImage(source:data:width:height:preserveAspectRatio:)' 'async' to allow actor-isolated conformances
228 | }
229 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5114: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
5112 | }
5113 |
5114 | 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
5115 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5116 | {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/TerminalOptions.swift:63:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TerminalOptions' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | /// Configuration options for the terminal at startup, these values are only read at startup
42 | public struct TerminalOptions {
| `- note: consider making struct 'TerminalOptions' conform to the 'Sendable' protocol
43 | /// Desired number of columns at startup (default 80)
44 | public var cols: Int
:
61 |
62 | /// Default options
63 | 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
64 | rows: 25,
65 | convertEol: false,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static let s7: UInt8 = 0x44 // accept 4, size 4
38 |
39 | private static var first : [UInt8] = [
| |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // 1 2 3 4 5 6 7 8 9 A B C D E F
41 | a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
[148/170] Compiling SwiftTerm CircularList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23: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
21 | public var blue: UInt16
22 |
23 | 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
24 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24: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
22 |
23 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
24 | 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
25 |
26 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
34 | }
35 |
36 | 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
37 | // dark colors
38 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
56 | ]
57 |
58 | 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
59 | // dark colors
60 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
76 | ]
77 |
78 | 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
79 | Color (red8: 0, green8: 0, blue8: 0),
80 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
95 | ]
96 |
97 | 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
98 | Color (red8: 0, green8: 0, blue8: 0),
99 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
114 | ]
115 |
116 | 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
117 | Color (red8: 0, green8: 0, blue8: 0),
118 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[149/170] Compiling SwiftTerm Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23: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
21 | public var blue: UInt16
22 |
23 | 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
24 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24: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
22 |
23 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
24 | 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
25 |
26 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
34 | }
35 |
36 | 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
37 | // dark colors
38 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
56 | ]
57 |
58 | 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
59 | // dark colors
60 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
76 | ]
77 |
78 | 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
79 | Color (red8: 0, green8: 0, blue8: 0),
80 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
95 | ]
96 |
97 | 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
98 | Color (red8: 0, green8: 0, blue8: 0),
99 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
114 | ]
115 |
116 | 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
117 | Color (red8: 0, green8: 0, blue8: 0),
118 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[150/170] Compiling SwiftTerm EscapeSequenceParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23: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
21 | public var blue: UInt16
22 |
23 | 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
24 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24: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
22 |
23 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
24 | 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
25 |
26 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
34 | }
35 |
36 | 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
37 | // dark colors
38 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
56 | ]
57 |
58 | 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
59 | // dark colors
60 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
76 | ]
77 |
78 | 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
79 | Color (red8: 0, green8: 0, blue8: 0),
80 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
95 | ]
96 |
97 | 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
98 | Color (red8: 0, green8: 0, blue8: 0),
99 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
114 | ]
115 |
116 | 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
117 | Color (red8: 0, green8: 0, blue8: 0),
118 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[151/170] Compiling SwiftTerm EscapeSequences.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:23: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
21 | public var blue: UInt16
22 |
23 | 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
24 | static var defaultBackground = Color (red: 0, green: 0, blue: 0)
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:24: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
22 |
23 | static var defaultForeground = Color (red: 35389, green: 35389, blue: 35389)
24 | 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
25 |
26 | public static func == (lhs: Color, rhs: Color) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:36: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
34 | }
35 |
36 | 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
37 | // dark colors
38 | Color (red8: 0x2e, green8: 0x34, blue8: 0x36),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:58: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
56 | ]
57 |
58 | 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
59 | // dark colors
60 | Color (red8: 0, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:78: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
76 | ]
77 |
78 | 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
79 | Color (red8: 0, green8: 0, blue8: 0),
80 | Color (red8: 194, green8: 54, blue8: 33),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:97: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
95 | ]
96 |
97 | 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
98 | Color (red8: 0, green8: 0, blue8: 0),
99 | Color (red8: 205, green8: 0, blue8: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Colors.swift:116: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
13 | * in 16-bit RGB mode
14 | */
15 | public class Color: Hashable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
16 | /// Red component 0..65535
17 | public var red: UInt16
:
114 | ]
115 |
116 | 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
117 | Color (red8: 0, green8: 0, blue8: 0),
118 | Color (red8: 153, green8: 0, blue8: 1),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[152/170] Compiling SwiftTerm iOSKeyboardView.swift
[153/170] Compiling SwiftTerm iOSTerminalView.swift
[154/170] Compiling SwiftTerm iOSTextInput.swift
[155/170] Compiling SwiftTerm iOSTextStorage.swift
[156/170] Compiling SwiftTerm AppleTerminalView.swift
[157/170] Compiling SwiftTerm CaretView.swift
[158/170] Compiling SwiftTerm Extensions.swift
[159/170] Compiling SwiftTerm TerminalViewDelegate.swift
[160/170] Compiling SwiftTerm Wcwidth.swift
[161/170] Compiling SwiftTerm ExtensionsTerminal.swift
[162/170] Compiling SwiftTerm File.swift
[163/170] Compiling SwiftTerm HeadlessTerminal.swift
[164/170] Compiling SwiftTerm Line.swift
[165/177] Emitting module SwiftTermFuzz
[166/177] 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/swiftlang/swift-subprocess
[1/2467] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (1.11s)
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-system from cache (0.99s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.23s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (1.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.50s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at main (ab2072d)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/README.md
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-2F0A5646E1D333AE.txt
[4/39] Emitting module ArgumentParserToolInfo
[5/39] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/39] Compiling SystemPackage Errno.swift
[7/39] Compiling SystemPackage ErrnoWindows.swift
[8/39] Compiling SystemPackage FileDescriptor.swift
[9/42] Compiling SystemPackage FilePathTempPosix.swift
[10/42] Compiling SystemPackage FilePathTempWindows.swift
[11/42] Compiling SystemPackage FilePathWindows.swift
[12/42] Compiling SystemPackage FilePathString.swift
[13/42] Compiling SystemPackage FilePathSyntax.swift
[14/42] Compiling SystemPackage FilePathTemp.swift
[15/58] Emitting module SystemPackage
[16/68] Compiling ArgumentParser SwiftExtensions.swift
[17/68] Compiling ArgumentParser Tree.swift
[18/68] Compiling ArgumentParser CodingKeyValidator.swift
[19/68] Compiling ArgumentParser MessageInfo.swift
[20/68] Compiling ArgumentParser UsageGenerator.swift
[21/68] Compiling ArgumentParser CollectionExtensions.swift
[22/68] Compiling ArgumentParser Mutex.swift
[23/68] Compiling ArgumentParser Platform.swift
[24/68] Compiling ArgumentParser CommandConfiguration.swift
[25/88] Compiling ArgumentParser ArgumentVisibility.swift
[26/88] Compiling ArgumentParser CompletionKind.swift
[27/88] Compiling ArgumentParser Errors.swift
[28/88] Compiling ArgumentParser SplitArguments.swift
[29/88] Compiling ArgumentParser DumpHelpGenerator.swift
[30/88] Compiling ArgumentParser HelpCommand.swift
[31/88] Compiling ArgumentParser HelpGenerator.swift
[32/88] Compiling ArgumentParser SequenceExtensions.swift
[33/88] Compiling ArgumentParser StringExtensions.swift
[34/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/88] Compiling ArgumentParser Argument.swift
[36/88] Compiling ArgumentParser ParserError.swift
[37/88] Emitting module ArgumentParser
[38/114] Compiling Subprocess Subprocess+Windows.swift
[39/114] Compiling Subprocess Result.swift
[40/114] Compiling Subprocess Configuration.swift
[41/114] Compiling Subprocess Error.swift
[42/114] Compiling Subprocess Execution.swift
[43/114] Compiling Subprocess Output+Foundation.swift
[44/114] Compiling Subprocess Span+SubprocessFoundation.swift
[45/116] Compiling ArgumentParser NonsenseFlagsValidator.swift
[46/116] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/116] Compiling ArgumentParser PositionalArgumentsValidator.swift
[48/116] Compiling ArgumentParser UniqueNamesValidator.swift
[49/116] Compiling Subprocess Subprocess+BSD.swift
[50/116] Compiling Subprocess Subprocess+Darwin.swift
[51/116] Compiling Subprocess API.swift
[52/116] Compiling Subprocess AsyncBufferSequence.swift
[53/116] Compiling Subprocess Buffer.swift
[54/116] Compiling Subprocess Span+Subprocess.swift
[55/116] Compiling Subprocess Input+Foundation.swift
[56/116] Compiling Subprocess Subprocess+Linux.swift
[57/116] Compiling Subprocess Subprocess+Unix.swift
[59/116] Emitting module Subprocess
[69/116] Compiling Subprocess Input.swift
[70/116] Compiling Subprocess Output.swift
[71/116] Compiling Subprocess AsyncIO+Dispatch.swift
[72/116] Compiling Subprocess AsyncIO+Linux.swift
[73/116] Compiling Subprocess AsyncIO+Windows.swift
[74/116] Compiling Subprocess Teardown.swift
[75/116] Compiling Subprocess Thread.swift
[86/116] Compiling ArgumentParser Flag.swift
[87/116] Compiling ArgumentParser NameSpecification.swift
[88/116] Compiling ArgumentParser Option.swift
[89/116] Compiling ArgumentParser OptionGroup.swift
[90/116] Compiling ArgumentParser AsyncParsableCommand.swift
[91/116] Compiling ArgumentParser InputKey.swift
[92/116] Compiling ArgumentParser InputOrigin.swift
[93/116] Compiling ArgumentParser Name.swift
[94/116] Compiling ArgumentParser Parsed.swift
[95/116] Compiling ArgumentParser ParsedValues.swift
[96/116] Compiling ArgumentParser ArgumentDiscussion.swift
[97/116] Compiling ArgumentParser ArgumentHelp.swift
[104/116] Compiling ArgumentParser ExpressibleByArgument.swift
[105/116] Compiling ArgumentParser ParsableArguments.swift
[106/116] Compiling ArgumentParser ParsableCommand.swift
[107/116] Compiling ArgumentParser ArgumentDecoder.swift
[108/116] Compiling ArgumentParser ArgumentDefinition.swift
[109/116] Compiling ArgumentParser ArgumentSet.swift
[110/116] Compiling ArgumentParser CommandParser.swift
[111/155] Compiling SwiftTerm iOSAccessoryView.swift
[112/155] Compiling SwiftTerm iOSCaretView.swift
[113/155] Compiling SwiftTerm iOSDoubleButton.swift
[114/155] Compiling SwiftTerm iOSExtensions.swift
[115/159] Compiling SwiftTerm ExtensionsTerminal.swift
[116/159] Compiling SwiftTerm File.swift
[117/159] Compiling SwiftTerm HeadlessTerminal.swift
[118/159] Compiling SwiftTerm Line.swift
[119/159] Compiling SwiftTerm iOSKeyboardView.swift
[120/159] Compiling SwiftTerm iOSTerminalView.swift
[121/159] Compiling SwiftTerm iOSTextInput.swift
[122/159] Compiling SwiftTerm iOSTextStorage.swift
[123/159] Compiling SwiftTerm CircularList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[124/159] Compiling SwiftTerm Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[125/159] Compiling SwiftTerm EscapeSequenceParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[126/159] Compiling SwiftTerm EscapeSequences.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used
333 | }
334 |
[127/159] Compiling SwiftTerm MacExtensions.swift
[128/159] Compiling SwiftTerm MacLocalTerminalView.swift
[129/159] Compiling SwiftTerm MacTerminalView.swift
[130/159] Compiling SwiftTerm Position.swift
[131/159] Compiling SwiftTerm Buffer.swift
[132/159] Compiling SwiftTerm BufferLine.swift
[133/159] Compiling SwiftTerm BufferSet.swift
[134/159] Compiling SwiftTerm CharData.swift
[135/159] Compiling SwiftTerm CharSets.swift
[136/159] Compiling SwiftTerm Pty.swift
[137/159] Compiling SwiftTerm SearchService.swift
[138/159] Compiling SwiftTerm SelectionService.swift
[139/159] Compiling SwiftTerm SixelDcsHandler.swift
[140/159] Compiling SwiftTerm LocalProcess.swift
[141/159] Compiling SwiftTerm MacAccessibilityService.swift
[142/159] Compiling SwiftTerm MacCaretView.swift
[143/159] Compiling SwiftTerm MacDebugView.swift
[144/159] Compiling SwiftTerm Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
[145/159] Compiling SwiftTerm TerminalOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
[146/159] Compiling SwiftTerm Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
[147/159] Compiling SwiftTerm SwiftUITerminalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it
1249 |
1250 | if let newCh = newStr.first {
[148/159] Emitting module SwiftTerm
[149/159] Compiling SwiftTerm AppleTerminalView.swift
[150/159] Compiling SwiftTerm CaretView.swift
[151/159] Compiling SwiftTerm Extensions.swift
[152/159] Compiling SwiftTerm TerminalViewDelegate.swift
[153/159] Compiling SwiftTerm Wcwidth.swift
[154/166] Compiling SwiftTermFuzz main.swift
[155/166] Emitting module SwiftTermFuzz
[155/166] Write Objects.LinkFileList
[157/166] Compiling Termcast AsciicastFormat.swift
[158/166] Compiling Termcast TermcastRecorder.swift
[159/166] Compiling Termcast main.swift
[160/166] Compiling Termcast TermcastPlayer.swift
[161/166] Emitting module Termcast
[161/166] Write Objects.LinkFileList
[162/166] Linking SwiftTermFuzz
[163/166] Applying SwiftTermFuzz
[164/166] Linking termcast
[165/166] Applying termcast
Build complete! (6.65s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTerm/Mac/README.md
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-subprocess",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess"
}
],
"manifest_display_name" : "SwiftTerm",
"name" : "SwiftTerm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftTermFuzz",
"targets" : [
"SwiftTermFuzz"
],
"type" : {
"executable" : null
}
},
{
"name" : "termcast",
"targets" : [
"Termcast"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftTerm",
"targets" : [
"SwiftTerm"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"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" : [
"ColorTests.swift",
"FuzzerTests.swift",
"ImageTests.swift",
"MeanTests.swift",
"Memory.swift",
"OscTests.swift",
"PerformanceTest.swift",
"ReflowTests.swift",
"SelectionTests.swift",
"SwiftTermTests.swift",
"UnicodeTests.swift",
"XCTestManifests.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_dependencies" : [
"Subprocess"
],
"product_memberships" : [
"SwiftTermFuzz",
"termcast",
"SwiftTerm"
],
"sources" : [
"Apple/AppleTerminalView.swift",
"Apple/CaretView.swift",
"Apple/Extensions.swift",
"Apple/TerminalViewDelegate.swift",
"Apple/Wcwidth.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",
"Line.swift",
"LocalProcess.swift",
"Mac/MacAccessibilityService.swift",
"Mac/MacCaretView.swift",
"Mac/MacDebugView.swift",
"Mac/MacExtensions.swift",
"Mac/MacLocalTerminalView.swift",
"Mac/MacTerminalView.swift",
"Position.swift",
"Pty.swift",
"SearchService.swift",
"SelectionService.swift",
"SixelDcsHandler.swift",
"Terminal.swift",
"TerminalOptions.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.