Build Information
Failed to build SwiftTUI, reference v1.1.1 (b8c087), with Swift 6.3 for Wasm on 19 Apr 2026 00:48:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rxtech-lab/SwiftTUI.git
Reference: v1.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/rxtech-lab/SwiftTUI
* tag v1.1.1 -> FETCH_HEAD
HEAD is now at b8c087b fix: text remaining from last page (#12)
Cloned https://github.com/rxtech-lab/SwiftTUI.git
Revision (git rev-parse @):
b8c087b9d097e667a487899a4988764e684fb0ab
SUCCESS checkout https://github.com/rxtech-lab/SwiftTUI.git at v1.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/rxtech-lab/SwiftTUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.64s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (4.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.55s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/77] Emitting module SwiftTUI
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[6/87] Compiling SwiftTUI View+Environment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[7/87] Compiling SwiftTUI View+ObservableObject.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[8/87] Compiling SwiftTUI View+State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[9/87] Compiling SwiftTUI ASCII.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[10/87] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[11/87] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[12/87] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[13/87] Compiling SwiftTUI ComposedView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[14/87] Compiling SwiftTUI GenericView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[15/87] Compiling SwiftTUI LayoutRootView.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:23: error: cannot find 'DispatchSource' in scope
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:62:91: error: cannot infer contextual base in reference to member 'main'
60 | renderer.draw()
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
64 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:63:39: error: cannot infer contextual base in reference to member 'default'
61 |
62 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
63 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
64 | stdInSource.resume()
65 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:28: error: cannot find 'DispatchSource' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:68: error: cannot find 'SIGWINCH' in scope
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot find 'SIGWINCH' in scope
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:68:86: error: cannot infer contextual base in reference to member 'main'
66 |
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
70 | sigWinChSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:44: error: cannot infer contextual base in reference to member 'default'
67 | #if !os(Windows)
68 | let sigWinChSource = DispatchSource.makeSignalSource(signal: SIGWINCH, queue: .main)
69 | sigWinChSource.setEventHandler(qos: .default, flags: [], handler: self.handleWindowSizeChange)
| `- error: cannot infer contextual base in reference to member 'default'
70 | sigWinChSource.resume()
71 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:7: error: cannot find 'signal' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'signal' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:14: error: cannot find 'SIGINT' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIGINT' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:72:22: error: cannot find 'SIG_IGN' in scope
70 | sigWinChSource.resume()
71 |
72 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:26: error: cannot find 'DispatchSource' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'DispatchSource' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:66: error: cannot find 'SIGINT' in scope
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot find 'SIGINT' in scope
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:73:82: error: cannot infer contextual base in reference to member 'main'
71 |
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
| `- error: cannot infer contextual base in reference to member 'main'
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
75 | sigIntSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:74:42: error: cannot infer contextual base in reference to member 'default'
72 | signal(SIGINT, SIG_IGN)
73 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
74 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
| `- error: cannot infer contextual base in reference to member 'default'
75 | sigIntSource.resume()
76 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:80:7: error: cannot find 'dispatchMain' in scope
78 | switch runLoopType {
79 | case .dispatch:
80 | dispatchMain()
| `- error: cannot find 'dispatchMain' in scope
81 | #if os(macOS)
82 | case .cocoa:
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:103:19: error: cannot find 'termios' in scope
101 | SetConsoleMode(hStdIn, mode)
102 | #else
103 | var tattr = termios()
| `- error: cannot find 'termios' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:104:7: error: cannot find 'tcgetattr' in scope
102 | #else
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:25: error: cannot find 'tcflag_t' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:34: error: cannot find 'ECHO' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:105:41: error: cannot find 'ICANON' in scope
103 | var tattr = termios()
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
107 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:7: error: cannot find 'tcsetattr' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:106:31: error: cannot find 'TCSAFLUSH' in scope
104 | tcgetattr(STDIN_FILENO, &tattr)
105 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
106 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
107 | #endif
108 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:258:18: error: cannot find 'winsize' in scope
256 | width: Extended(cols), height: Extended(rows))
257 | #else
258 | var size = winsize()
| `- error: cannot find 'winsize' in scope
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
260 | size.ws_col > 0, size.ws_row > 0
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:259:39: error: cannot find 'TIOCGWINSZ' in scope
257 | #else
258 | var size = winsize()
259 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
260 | size.ws_col > 0, size.ws_row > 0
261 | else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:283:19: error: cannot find 'termios' in scope
281 | SetConsoleMode(hStdIn, savedConsoleMode)
282 | #else
283 | var tattr = termios()
| `- error: cannot find 'termios' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:284:7: error: cannot find 'tcgetattr' in scope
282 | #else
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:24: error: cannot find 'tcflag_t' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:33: error: cannot find 'ECHO' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:285:40: error: cannot find 'ICANON' in scope
283 | var tattr = termios()
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
287 | #endif
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:7: error: cannot find 'tcsetattr' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'tcsetattr' in scope
287 | #endif
288 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:286:31: error: cannot find 'TCSAFLUSH' in scope
284 | tcgetattr(STDIN_FILENO, &tattr)
285 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
286 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr)
| `- error: cannot find 'TCSAFLUSH' in scope
287 | #endif
288 | }
[16/87] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[17/87] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[18/87] Compiling SwiftTUI EscapeSequence.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[19/87] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[20/87] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[21/87] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[22/87] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[23/87] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[24/87] Compiling SwiftTUI Environment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[25/87] Compiling SwiftTUI ObservedObject.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[26/87] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:29: error: cannot find 'DispatchQueue' in scope
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot find 'DispatchQueue' in scope
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:19:95: error: cannot infer contextual base in reference to member 'main'
17 | private var invalidatedNodes: [Node] = []
18 | private var updateScheduled = false
19 | private let updateQueue = DispatchQueue(label: "SwiftTUI.Application.UpdateQueue", target: .main)
| `- error: cannot infer contextual base in reference to member 'main'
20 |
21 | public init<I: View>(rootView: I, runLoopType: RunLoopType = .dispatch) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:42:20: error: cannot find type 'DispatchSourceRead' in scope
40 | }
41 |
42 | var stdInSource: DispatchSourceRead?
| `- error: cannot find type 'DispatchSourceRead' in scope
43 |
44 | public enum RunLoopType {
[27/87] Compiling SwiftTUI ModifierView.swift
[28/87] Compiling SwiftTUI Node.swift
[29/87] Compiling SwiftTUI PrimitiveView.swift
[30/87] Compiling SwiftTUI View.swift
[31/87] Compiling SwiftTUI Weak.swift
[32/87] Compiling SwiftTUI WeakSet.swift
[33/87] Compiling SwiftTUI Button.swift
[34/87] Compiling SwiftTUI Color+View.swift
[35/87] Compiling SwiftTUI Divider.swift
[36/87] Compiling SwiftTUI GeometryReader.swift
[37/87] Compiling SwiftTUI Border.swift
[38/87] Compiling SwiftTUI FixedFrame.swift
[39/87] Compiling SwiftTUI FlexibleFrame.swift
[40/87] Compiling SwiftTUI Focusable.swift
[41/87] Compiling SwiftTUI ForegroundColor.swift
[42/87] Compiling SwiftTUI Italic.swift
[43/87] Compiling SwiftTUI OnAppear.swift
[44/87] Compiling SwiftTUI Padding.swift
[45/87] Compiling SwiftTUI SetEnvironment.swift
[46/87] Compiling SwiftTUI Strikethrough.swift
[47/87] Compiling SwiftTUI List.swift
[48/87] Compiling SwiftTUI ScrollView.swift
[49/87] Compiling SwiftTUI Spacer.swift
[50/87] Compiling SwiftTUI Text.swift
[51/87] Compiling SwiftTUI TextField.swift
[52/87] Compiling SwiftTUI EmptyView.swift
[53/87] Compiling SwiftTUI ForEach.swift
[54/87] Compiling SwiftTUI Group.swift
[55/87] Compiling SwiftTUI Background.swift
[56/87] Compiling SwiftTUI Bold.swift
[57/87] Compiling SwiftTUI Control.swift
[58/87] Compiling SwiftTUI Window.swift
[59/87] Compiling SwiftTUI Control+logTree.swift
[60/87] Compiling SwiftTUI Node+logTree.swift
[61/87] Compiling SwiftTUI log.swift
[62/87] Compiling SwiftTUI AttributeScopes+SwiftTUIAttributes.swift
[63/87] Compiling SwiftTUI Cell.swift
[64/87] Compiling SwiftTUI CellAttributes.swift
[65/87] Compiling SwiftTUI Color.swift
[66/87] Compiling SwiftTUI Edges.swift
[67/87] Compiling SwiftTUI Extended.swift
[68/87] Compiling SwiftTUI Tag.swift
[69/87] Compiling SwiftTUI Task.swift
[70/87] Compiling SwiftTUI Underline.swift
[71/87] Compiling SwiftTUI NavigationDestinationModifier.swift
[72/87] Compiling SwiftTUI NavigationInternals.swift
[73/87] Compiling SwiftTUI NavigationLink.swift
[74/87] Compiling SwiftTUI NavigationPath.swift
[75/87] Compiling SwiftTUI NavigationSplitView.swift
[76/87] Compiling SwiftTUI NavigationStack.swift
[77/87] Compiling SwiftTUI Optional+View.swift
[78/87] Compiling SwiftTUI Alignment.swift
[79/87] Compiling SwiftTUI Axis.swift
[80/87] Compiling SwiftTUI HStack.swift
[81/87] Compiling SwiftTUI VStack.swift
[82/87] Compiling SwiftTUI ZStack.swift
[83/87] Compiling SwiftTUI Toolbar.swift
[84/87] Compiling SwiftTUI ToolbarHost.swift
[85/87] Compiling SwiftTUI TupleView.swift
[86/87] Compiling SwiftTUI ViewBuilder.swift
[87/87] Compiling SwiftTUI _ConditionalView.swift
BUILD FAILURE 6.3 wasm