The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftTUI, reference main (537133), with Swift 6.1 for Wasm on 28 May 2025 08:58:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[32/75] Compiling SwiftTUI ForegroundColor.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[33/75] Compiling SwiftTUI Italic.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[34/75] Compiling SwiftTUI OnAppear.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[35/75] Compiling SwiftTUI Padding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[36/75] Compiling SwiftTUI SetEnvironment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[37/75] Compiling SwiftTUI Strikethrough.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[38/75] Compiling SwiftTUI Underline.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[39/75] Compiling SwiftTUI Optional+View.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[40/75] Compiling SwiftTUI ArrowKeyParser.swift
[41/75] Compiling SwiftTUI SwiftTUI.swift
[42/75] Compiling SwiftTUI ComposedView.swift
[43/75] Compiling SwiftTUI GenericView.swift
[44/75] Compiling SwiftTUI LayoutRootView.swift
[45/75] Compiling SwiftTUI ModifierView.swift
[46/75] Compiling SwiftTUI Node.swift
[47/75] Compiling SwiftTUI PrimitiveView.swift
[48/75] Compiling SwiftTUI View.swift
[49/75] Compiling SwiftTUI TextField.swift
[50/75] Compiling SwiftTUI EmptyView.swift
[51/75] Compiling SwiftTUI ForEach.swift
[52/75] Compiling SwiftTUI Group.swift
[53/75] Compiling SwiftTUI Background.swift
[54/75] Compiling SwiftTUI Bold.swift
[55/75] Compiling SwiftTUI Border.swift
[56/75] Compiling SwiftTUI FixedFrame.swift
[57/75] Compiling SwiftTUI FlexibleFrame.swift
[58/75] Compiling SwiftTUI Control.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[59/75] Compiling SwiftTUI Window.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[60/75] Compiling SwiftTUI Control+logTree.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[61/75] Compiling SwiftTUI Node+logTree.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[62/75] Compiling SwiftTUI log.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[63/75] Compiling SwiftTUI AttributeScopes+SwiftTUIAttributes.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[64/75] Compiling SwiftTUI Cell.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[65/75] Compiling SwiftTUI CellAttributes.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[66/75] Compiling SwiftTUI Color.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Debug/log.swift:14:5: warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | }
13 |
14 | var logStream = LogStream()
   |     |- warning: var 'logStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'logStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'logStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | struct LogStream: TextOutputStream {
[67/75] Compiling SwiftTUI Edges.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[68/75] Compiling SwiftTUI Extended.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[69/75] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[70/75] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[71/75] Compiling SwiftTUI EscapeSequence.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[72/75] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[73/75] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[74/75] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[75/75] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:10:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 8 |     }
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:11:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
 9 |
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:12:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
10 |     public static let top = Edges(rawValue: 1 << 0)
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let right = Edges(rawValue: 1 << 3)
14 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Edges.swift:13:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct Edges: OptionSet {
   |               `- note: consider making struct 'Edges' conform to the 'Sendable' protocol
 4 |     public let rawValue: UInt8
 5 |
   :
11 |     public static let bottom  = Edges(rawValue: 1 << 1)
12 |     public static let left = Edges(rawValue: 1 << 2)
13 |     public static let right = Edges(rawValue: 1 << 3)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Edges' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static var all: Edges { [.top, .bottom, left, right] }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/66] Compiling SwiftTUI ForegroundColor.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[5/66] Compiling SwiftTUI Italic.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[6/66] Compiling SwiftTUI OnAppear.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[7/66] Compiling SwiftTUI Padding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[8/66] Compiling SwiftTUI SetEnvironment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[9/66] Compiling SwiftTUI Strikethrough.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[10/66] Compiling SwiftTUI Underline.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[11/66] Compiling SwiftTUI Optional+View.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Views/Modifiers/OnAppear.swift:48:17: error: cannot find 'DispatchQueue' in scope
46 |             if !didAppear {
47 |                 didAppear = true
48 |                 DispatchQueue.main.async { [action] in action() }
   |                 `- error: cannot find 'DispatchQueue' in scope
49 |             }
50 |         }
[12/74] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[13/74] Compiling SwiftTUI Environment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[14/74] Compiling SwiftTUI ObservedObject.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[15/74] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[16/74] Compiling SwiftTUI View+Environment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[17/74] Compiling SwiftTUI View+ObservableObject.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[18/74] Compiling SwiftTUI View+State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[19/74] Compiling SwiftTUI ASCII.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
[20/74] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:27: error: cannot find 'DispatchSource' in scope
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                           `- error: cannot find 'DispatchSource' in scope
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:95: error: cannot infer contextual base in reference to member 'main'
 58 |         renderer.draw()
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
    |                                                                                               `- error: cannot infer contextual base in reference to member 'main'
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
 62 |         stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
 59 |
 60 |         let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
 61 |         stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
    |                                           `- error: cannot infer contextual base in reference to member 'default'
 62 |         stdInSource.resume()
 63 |         self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:30: error: cannot find 'DispatchSource' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                              `- error: cannot find 'DispatchSource' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:70: error: cannot find 'SIGWINCH' in scope
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                      `- error: cannot find 'SIGWINCH' in scope
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:65:88: error: cannot infer contextual base in reference to member 'main'
 63 |         self.stdInSource = stdInSource
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
    |                                                                                        `- error: cannot infer contextual base in reference to member 'main'
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
 67 |         sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:66:46: error: cannot infer contextual base in reference to member 'default'
 64 |
 65 |         let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
 66 |         sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
    |                                              `- error: cannot infer contextual base in reference to member 'default'
 67 |         sigWinChSource.resume()
 68 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:9: error: cannot find 'signal' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |         `- error: cannot find 'signal' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:16: error: cannot find 'SIGINT' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                `- error: cannot find 'SIGINT' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
 67 |         sigWinChSource.resume()
 68 |
 69 |         signal(SIGINT, SIG_IGN)
    |                        `- error: cannot find 'SIG_IGN' in scope
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:28: error: cannot find 'DispatchSource' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                            `- error: cannot find 'DispatchSource' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:68: error: cannot find 'SIGINT' in scope
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                    `- error: cannot find 'SIGINT' in scope
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:70:84: error: cannot infer contextual base in reference to member 'main'
 68 |
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'main'
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
 72 |         sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:71:44: error: cannot infer contextual base in reference to member 'default'
 69 |         signal(SIGINT, SIG_IGN)
 70 |         let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
 71 |         sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
    |                                            `- error: cannot infer contextual base in reference to member 'default'
 72 |         sigIntSource.resume()
 73 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:76:13: error: cannot find 'dispatchMain' in scope
 74 |         switch runLoopType {
 75 |         case .dispatch:
 76 |             dispatchMain()
    |             `- error: cannot find 'dispatchMain' in scope
 77 |         #if os(macOS)
 78 |         case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
 84 |
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
 85 |     private func setInputMode() {
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                           `- error: cannot find 'tcflag_t' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                    `- error: cannot find 'ECHO' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
 86 |         var tattr = termios()
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
    |                                           `- error: cannot find 'ICANON' in scope
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
 90 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
 87 |         tcgetattr(STDIN_FILENO, &tattr)
 88 |         tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
 89 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
 90 |     }
 91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:143:13: error: cannot find 'DispatchQueue' in scope
141 |     func scheduleUpdate() {
142 |         if !updateScheduled {
143 |             DispatchQueue.main.async { self.update() }
    |             `- error: cannot find 'DispatchQueue' in scope
144 |             updateScheduled = true
145 |         }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 |     private func updateWindowSize() {
167 |         var size = winsize()
    |                    `- error: cannot find 'winsize' in scope
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 |               size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 |     private func updateWindowSize() {
167 |         var size = winsize()
168 |         guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
    |                                         `- error: cannot find 'TIOCGWINSZ' in scope
169 |               size.ws_col > 0, size.ws_row > 0 else {
170 |             assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 |     private func resetInputMode() {
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
    |                     `- error: cannot find 'termios' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 |         // Reset ECHO and ICANON values:
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
    |         `- error: cannot find 'tcgetattr' in scope
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                          `- error: cannot find 'tcflag_t' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                   `- error: cannot find 'ECHO' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 |         var tattr = termios()
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
    |                                          `- error: cannot find 'ICANON' in scope
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 |     }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |         `- error: cannot find 'tcsetattr' in scope
190 |     }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 |         tcgetattr(STDIN_FILENO, &tattr)
188 |         tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 |         tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
    |                                 `- error: cannot find 'TCSAFLUSH' in scope
190 |     }
191 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/74] Emitting module SwiftTUI
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[22/74] Compiling SwiftTUI ArrowKeyParser.swift
[23/74] Compiling SwiftTUI SwiftTUI.swift
[24/74] Compiling SwiftTUI ComposedView.swift
[25/74] Compiling SwiftTUI GenericView.swift
[26/74] Compiling SwiftTUI LayoutRootView.swift
[27/74] Compiling SwiftTUI ModifierView.swift
[28/74] Compiling SwiftTUI Node.swift
[29/74] Compiling SwiftTUI PrimitiveView.swift
[30/74] Compiling SwiftTUI View.swift
[31/74] Compiling SwiftTUI Control.swift
[32/74] Compiling SwiftTUI Window.swift
[33/74] Compiling SwiftTUI Control+logTree.swift
[34/74] Compiling SwiftTUI Node+logTree.swift
[35/74] Compiling SwiftTUI log.swift
[36/74] Compiling SwiftTUI AttributeScopes+SwiftTUIAttributes.swift
[37/74] Compiling SwiftTUI Cell.swift
[38/74] Compiling SwiftTUI CellAttributes.swift
[39/74] Compiling SwiftTUI Color.swift
[40/74] Compiling SwiftTUI Edges.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[41/74] Compiling SwiftTUI Extended.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[42/74] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[43/74] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[44/74] Compiling SwiftTUI EscapeSequence.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[45/74] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[46/74] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[47/74] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[48/74] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:22: error: cannot find type 'DispatchSourceRead' in scope
 38 |     }
 39 |
 40 |     var stdInSource: DispatchSourceRead?
    |                      `- error: cannot find type 'DispatchSourceRead' in scope
 41 |
 42 |     public enum RunLoopType {
[49/74] Compiling SwiftTUI TextField.swift
[50/74] Compiling SwiftTUI EmptyView.swift
[51/74] Compiling SwiftTUI ForEach.swift
[52/74] Compiling SwiftTUI Group.swift
[53/74] Compiling SwiftTUI Background.swift
[54/74] Compiling SwiftTUI Bold.swift
[55/74] Compiling SwiftTUI Border.swift
[56/74] Compiling SwiftTUI FixedFrame.swift
[57/74] Compiling SwiftTUI FlexibleFrame.swift
[58/74] Compiling SwiftTUI Weak.swift
[59/74] Compiling SwiftTUI WeakSet.swift
[60/74] Compiling SwiftTUI Button.swift
[61/74] Compiling SwiftTUI Color+View.swift
[62/74] Compiling SwiftTUI Divider.swift
[63/74] Compiling SwiftTUI GeometryReader.swift
[64/74] Compiling SwiftTUI ScrollView.swift
[65/74] Compiling SwiftTUI Spacer.swift
[66/74] Compiling SwiftTUI Text.swift
[67/74] Compiling SwiftTUI Alignment.swift
[68/74] Compiling SwiftTUI Axis.swift
[69/74] Compiling SwiftTUI HStack.swift
[70/74] Compiling SwiftTUI VStack.swift
[71/74] Compiling SwiftTUI ZStack.swift
[72/74] Compiling SwiftTUI TupleView.swift
[73/74] Compiling SwiftTUI ViewBuilder.swift
[74/74] Compiling SwiftTUI _ConditionalView.swift
BUILD FAILURE 6.1 wasm