Build Information
Failed to build SwiftTerm, reference main (4a3459
), with Swift 6.1 for Android on 3 Sep 2025 16:44:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
48 | public static let italic = CharacterStyle (rawValue: 64)
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
| |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift: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
/host/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
/host/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)
/host/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 |
/host/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)
/host/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
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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.
/host/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
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/Colors.swift: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 |
/host/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 {
/host/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),
/host/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),
/host/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),
/host/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),
/host/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),
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 | }
5068 |
5069 | 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
5070 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 | {
/host/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,
/host/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static let s7: UInt8 = 0x44 // accept 4, size 4
38 |
39 | private static var first : [UInt8] = [
| |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // 1 2 3 4 5 6 7 8 9 A B C D E F
41 | a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
[10/42] Emitting module ArgumentParserToolInfo
[11/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/43] Wrapping AST for ArgumentParserToolInfo for debugging
[14/87] Compiling ArgumentParser OptionGroup.swift
[15/87] Compiling ArgumentParser AsyncParsableCommand.swift
[16/87] Compiling ArgumentParser CommandConfiguration.swift
[17/87] Compiling ArgumentParser CommandGroup.swift
[18/87] Compiling ArgumentParser EnumerableFlag.swift
[19/87] Compiling ArgumentParser ExpressibleByArgument.swift
[20/93] Emitting module ArgumentParser
[21/93] Compiling ArgumentParser ArgumentVisibility.swift
[22/93] Compiling ArgumentParser CompletionKind.swift
[23/93] Compiling ArgumentParser Errors.swift
[24/93] Compiling ArgumentParser Flag.swift
[25/93] Compiling ArgumentParser NameSpecification.swift
[26/93] Compiling ArgumentParser Option.swift
[27/93] Compiling ArgumentParser Tree.swift
[28/93] Compiling ArgumentParser CodingKeyValidator.swift
[29/93] Compiling ArgumentParser NonsenseFlagsValidator.swift
[30/93] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/93] Compiling ArgumentParser PositionalArgumentsValidator.swift
[32/93] Compiling ArgumentParser UniqueNamesValidator.swift
[33/93] Compiling ArgumentParser CollectionExtensions.swift
[34/93] Compiling ArgumentParser Mutex.swift
[35/93] Compiling ArgumentParser Platform.swift
[36/93] Compiling ArgumentParser SequenceExtensions.swift
[37/93] Compiling ArgumentParser StringExtensions.swift
[38/93] Compiling ArgumentParser SwiftExtensions.swift
[39/93] Compiling ArgumentParser ParsableCommand.swift
/host/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,
/host/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static let s7: UInt8 = 0x44 // accept 4, size 4
38 |
39 | private static var first : [UInt8] = [
| |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // 1 2 3 4 5 6 7 8 9 A B C D E F
41 | a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
[40/93] Compiling ArgumentParser ArgumentDecoder.swift
/host/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,
/host/spi-builder-workspace/Sources/SwiftTerm/Utilities.swift:39:24: warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static let s7: UInt8 = 0x44 // accept 4, size 4
38 |
39 | private static var first : [UInt8] = [
| |- warning: static property 'first' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'first' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | // 1 2 3 4 5 6 7 8 9 A B C D E F
41 | a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, a1, // 0x00-0x0F
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:334:50: error: cannot find 'winsize' in scope
332 |
333 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
334 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
335 |
336 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:334:50: error: cannot find 'winsize' in scope
332 |
333 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
334 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
335 |
336 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:334:50: error: cannot find 'winsize' in scope
332 |
333 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
334 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
335 |
336 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
[44/93] Compiling ArgumentParser ArgumentDiscussion.swift
/host/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 |
/host/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 {
/host/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),
/host/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),
/host/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),
/host/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),
/host/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),
/host/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 |
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[45/93] Compiling ArgumentParser ArgumentHelp.swift
/host/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 |
/host/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 {
/host/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),
/host/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),
/host/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),
/host/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),
/host/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),
/host/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 |
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[46/93] Compiling ArgumentParser ParsableArguments.swift
/host/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 |
/host/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 {
/host/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),
/host/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),
/host/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),
/host/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),
/host/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),
/host/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 |
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:132:23: warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | /// Beginning of pasted text when bracketed-paste is enabled (mode 2004)
131 | /// The sequence is `ESC [ 200 ~`
132 | public static var bracketedPasteStart: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x30, 0x7e]
| |- warning: static property 'bracketedPasteStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequences.swift:136:23: warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
134 | /// End of pasted text when bracketed-paste is enabled (mode 2004)
135 | /// /// The sequence is `ESC [ 201 ~`
136 | public static var bracketedPasteEnd: [UInt8] = [0x1b, 0x5b, 0x32, 0x30, 0x31, 0x7e]
| |- warning: static property 'bracketedPasteEnd' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bracketedPasteEnd' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bracketedPasteEnd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 |
138 | /// Contains an array of 12 values, for the sequence that should be sent in response to an F key being
[47/93] Compiling ArgumentParser SplitArguments.swift
[48/93] Compiling ArgumentParser DumpHelpGenerator.swift
[49/93] Compiling ArgumentParser HelpCommand.swift
[50/93] Compiling ArgumentParser HelpGenerator.swift
[51/93] Compiling ArgumentParser MessageInfo.swift
[52/93] Compiling ArgumentParser UsageGenerator.swift
[53/93] Compiling ArgumentParser InputKey.swift
[54/93] Compiling ArgumentParser InputOrigin.swift
[55/93] Compiling ArgumentParser Name.swift
[56/93] Compiling ArgumentParser Parsed.swift
[57/93] Compiling ArgumentParser ParsedValues.swift
[58/93] Compiling ArgumentParser ParserError.swift
[59/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[60/93] Compiling ArgumentParser CompletionsGenerator.swift
[61/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[62/93] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/93] Compiling ArgumentParser Argument.swift
[69/93] Compiling ArgumentParser ArgumentDefinition.swift
[70/93] Compiling ArgumentParser ArgumentSet.swift
[71/93] Compiling ArgumentParser CommandParser.swift
[72/94] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
31 |
32 | /// Empty style
33 | public static let none = CharacterStyle ([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
33 | public static let none = CharacterStyle ([])
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
35 | public static let bold = CharacterStyle (rawValue: 1)
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
37 | public static let underline = CharacterStyle (rawValue: 2)
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
39 | public static let blink = CharacterStyle (rawValue: 4)
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
44 | public static let invisible = CharacterStyle (rawValue: 16)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
44 | public static let invisible = CharacterStyle (rawValue: 16)
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
46 | public static let dim = CharacterStyle (rawValue: 32)
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
48 | public static let italic = CharacterStyle (rawValue: 64)
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
| |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift: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
/host/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
/host/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)
/host/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 |
/host/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)
/host/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
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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.
/host/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
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
31 |
32 | /// Empty style
33 | public static let none = CharacterStyle ([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
33 | public static let none = CharacterStyle ([])
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
35 | public static let bold = CharacterStyle (rawValue: 1)
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
37 | public static let underline = CharacterStyle (rawValue: 2)
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
39 | public static let blink = CharacterStyle (rawValue: 4)
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
44 | public static let invisible = CharacterStyle (rawValue: 16)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
44 | public static let invisible = CharacterStyle (rawValue: 16)
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
46 | public static let dim = CharacterStyle (rawValue: 32)
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
48 | public static let italic = CharacterStyle (rawValue: 64)
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
| |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift: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
/host/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
/host/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)
/host/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 |
/host/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)
/host/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
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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.
/host/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
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:33:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
31 |
32 | /// Empty style
33 | public static let none = CharacterStyle ([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:35:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
33 | public static let none = CharacterStyle ([])
34 | /// Use a bold font
35 | public static let bold = CharacterStyle (rawValue: 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:37:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
35 | public static let bold = CharacterStyle (rawValue: 1)
36 | /// Underline the currentlin line
37 | public static let underline = CharacterStyle (rawValue: 2)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:39:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
37 | public static let underline = CharacterStyle (rawValue: 2)
38 | /// The text should blink
39 | public static let blink = CharacterStyle (rawValue: 4)
| |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:41:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
39 | public static let blink = CharacterStyle (rawValue: 4)
40 | /// The text should be inverted (background and foreground are swapped)
41 | public static let inverse = CharacterStyle (rawValue: 8)
| |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:44:23: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
42 | /// The text should be replaced with white space - there is a debate as to what to do about it when copy/pasting
43 | /// code as different terminal emulators have taken conflicting takes, so your UI driver might have to choose
44 | public static let invisible = CharacterStyle (rawValue: 16)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:46:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
44 | public static let invisible = CharacterStyle (rawValue: 16)
45 | /// Font should be rendered more lightly, implementation specific
46 | public static let dim = CharacterStyle (rawValue: 32)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:48:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
46 | public static let dim = CharacterStyle (rawValue: 32)
47 | /// Use italic fonts
48 | public static let italic = CharacterStyle (rawValue: 64)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift:50:23: warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// This option set describes the character style for a cell, this includes
12 | /// information about the font to use as well as decorations on the text
13 | public struct CharacterStyle : OptionSet, Hashable {
| `- note: consider making struct 'CharacterStyle' conform to the 'Sendable' protocol
14 | public let rawValue: UInt8
15 |
:
48 | public static let italic = CharacterStyle (rawValue: 64)
49 | /// Cross out the text
50 | public static let crossedOut = CharacterStyle (rawValue: 128)
| |- warning: static property 'crossedOut' is not concurrency-safe because non-'Sendable' type 'CharacterStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'crossedOut' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | }
52 |
/host/spi-builder-workspace/Sources/SwiftTerm/CharData.swift: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
/host/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
/host/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)
/host/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 |
/host/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)
/host/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
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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.
/host/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
/host/spi-builder-workspace/Sources/SwiftTerm/CharSets.swift:15:23: warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // This is the "B" charset, null
15 | public static var defaultCharset: [UInt8:String]? = nil
| |- warning: static property 'defaultCharset' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultCharset' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultCharset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func initAll () -> [UInt8:[UInt8:String]]
/host/spi-builder-workspace/Sources/SwiftTerm/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 ()
/host/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 ()
/host/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 ()
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 | }
5068 |
5069 | 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
5070 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 | {
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:5069: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
5067 | }
5068 |
5069 | 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
5070 | func matchColor (_ r1: Int, _ g1: Int, _ b1: Int) -> Int32
5071 | {
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/12] Write swift-version-24593BA9C3E375BF.txt
[4/35] Compiling SwiftTerm ExtensionsTerminal.swift
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
[5/35] Compiling SwiftTerm File.swift
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
[6/35] Compiling SwiftTerm HeadlessTerminal.swift
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
[7/37] Compiling SwiftTerm TerminalOptions.swift
[8/37] Compiling SwiftTerm Utilities.swift
[9/37] Emitting module ArgumentParserToolInfo
[10/37] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/37] Compiling SwiftTerm Buffer.swift
[13/37] Compiling SwiftTerm BufferLine.swift
[14/37] Compiling SwiftTerm BufferSet.swift
[15/37] Emitting module SwiftTerm
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
[16/71] Compiling ArgumentParser ArgumentSet.swift
/host/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 |
[17/71] Compiling ArgumentParser CommandParser.swift
/host/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 |
[18/71] Compiling ArgumentParser SplitArguments.swift
/host/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 |
[19/81] Emitting module ArgumentParser
[20/87] Compiling ArgumentParser OptionGroup.swift
[21/87] Compiling ArgumentParser AsyncParsableCommand.swift
[22/87] Compiling ArgumentParser CommandConfiguration.swift
[23/87] Compiling ArgumentParser CommandGroup.swift
[24/87] Compiling ArgumentParser EnumerableFlag.swift
[25/87] Compiling ArgumentParser ExpressibleByArgument.swift
[26/87] Compiling ArgumentParser CollectionExtensions.swift
[27/87] Compiling ArgumentParser Mutex.swift
[28/87] Compiling ArgumentParser Platform.swift
[29/87] Compiling ArgumentParser SequenceExtensions.swift
[30/87] Compiling ArgumentParser StringExtensions.swift
[31/87] Compiling ArgumentParser SwiftExtensions.swift
[32/87] Compiling ArgumentParser Tree.swift
[33/87] Compiling ArgumentParser CodingKeyValidator.swift
[34/87] Compiling ArgumentParser NonsenseFlagsValidator.swift
[35/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/87] Compiling ArgumentParser PositionalArgumentsValidator.swift
[37/87] Compiling ArgumentParser UniqueNamesValidator.swift
[38/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/87] Compiling ArgumentParser CompletionsGenerator.swift
[40/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/87] Compiling ArgumentParser Argument.swift
[43/87] Compiling ArgumentParser ArgumentDiscussion.swift
[44/87] Compiling ArgumentParser ArgumentHelp.swift
[45/87] Compiling ArgumentParser ArgumentVisibility.swift
[46/87] Compiling ArgumentParser CompletionKind.swift
[47/87] Compiling ArgumentParser Errors.swift
[48/87] Compiling ArgumentParser Flag.swift
[49/87] Compiling ArgumentParser NameSpecification.swift
[50/87] Compiling ArgumentParser Option.swift
[51/87] Compiling ArgumentParser ParsableArguments.swift
[52/87] Compiling ArgumentParser ParsableCommand.swift
[53/87] Compiling ArgumentParser ArgumentDecoder.swift
[54/87] Compiling ArgumentParser ArgumentDefinition.swift
[57/87] Compiling ArgumentParser InputKey.swift
[58/87] Compiling ArgumentParser InputOrigin.swift
[59/87] Compiling ArgumentParser Name.swift
[60/87] Compiling ArgumentParser Parsed.swift
[61/87] Compiling ArgumentParser ParsedValues.swift
[62/87] Compiling ArgumentParser ParserError.swift
[64/87] Compiling ArgumentParser DumpHelpGenerator.swift
[65/87] Compiling ArgumentParser HelpCommand.swift
[66/87] Compiling ArgumentParser HelpGenerator.swift
[67/87] Compiling ArgumentParser MessageInfo.swift
[68/87] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:334:50: error: cannot find 'winsize' in scope
332 |
333 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
334 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
335 |
336 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:334:50: error: cannot find 'winsize' in scope
332 |
333 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
334 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
335 |
336 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:334:50: error: cannot find 'winsize' in scope
332 |
333 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
334 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
335 |
336 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
BUILD FAILURE 6.1 android