Build Information
Failed to build SwiftTUI, reference main (537133
), with Swift 6.2 (beta) for Android on 19 Jun 2025 16:10:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rensbreur/SwiftTUI.git
Reference: main
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/rensbreur/SwiftTUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5371330 Fix build on linux
Cloned https://github.com/rensbreur/SwiftTUI.git
Revision (git rev-parse @):
537133031bc2b2731048d00748c69700e1b48185
SUCCESS checkout https://github.com/rensbreur/SwiftTUI.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/rensbreur/SwiftTUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.78s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[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-8C5A4AE7A8CE2BA.txt
[5/67] Compiling SwiftTUI ArrowKeyParser.swift
[6/67] Compiling SwiftTUI SwiftTUI.swift
[7/67] Compiling SwiftTUI ComposedView.swift
[8/67] Compiling SwiftTUI GenericView.swift
[9/67] Compiling SwiftTUI LayoutRootView.swift
[10/67] Compiling SwiftTUI ModifierView.swift
[11/67] Compiling SwiftTUI Node.swift
[12/67] Compiling SwiftTUI PrimitiveView.swift
[13/67] Compiling SwiftTUI View.swift
[14/75] Emitting module SwiftTUI
[15/75] Compiling SwiftTUI Control.swift
[16/75] Compiling SwiftTUI Window.swift
[17/75] Compiling SwiftTUI Control+logTree.swift
[18/75] Compiling SwiftTUI Node+logTree.swift
[19/75] Compiling SwiftTUI log.swift
[20/75] Compiling SwiftTUI AttributeScopes+SwiftTUIAttributes.swift
[21/75] Compiling SwiftTUI Cell.swift
[22/75] Compiling SwiftTUI CellAttributes.swift
[23/75] Compiling SwiftTUI Color.swift
[24/75] Compiling SwiftTUI Weak.swift
[25/75] Compiling SwiftTUI WeakSet.swift
[26/75] Compiling SwiftTUI Button.swift
[27/75] Compiling SwiftTUI Color+View.swift
[28/75] Compiling SwiftTUI Divider.swift
[29/75] Compiling SwiftTUI GeometryReader.swift
[30/75] Compiling SwiftTUI ScrollView.swift
[31/75] Compiling SwiftTUI Spacer.swift
[32/75] Compiling SwiftTUI Text.swift
[33/75] Compiling SwiftTUI ForegroundColor.swift
[34/75] Compiling SwiftTUI Italic.swift
[35/75] Compiling SwiftTUI OnAppear.swift
[36/75] Compiling SwiftTUI Padding.swift
[37/75] Compiling SwiftTUI SetEnvironment.swift
[38/75] Compiling SwiftTUI Strikethrough.swift
[39/75] Compiling SwiftTUI Underline.swift
[40/75] Compiling SwiftTUI Optional+View.swift
[41/75] Compiling SwiftTUI TextField.swift
[42/75] Compiling SwiftTUI EmptyView.swift
[43/75] Compiling SwiftTUI ForEach.swift
[44/75] Compiling SwiftTUI Group.swift
[45/75] Compiling SwiftTUI Background.swift
[46/75] Compiling SwiftTUI Bold.swift
[47/75] Compiling SwiftTUI Border.swift
[48/75] Compiling SwiftTUI FixedFrame.swift
[49/75] Compiling SwiftTUI FlexibleFrame.swift
[50/75] Compiling SwiftTUI Edges.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[51/75] Compiling SwiftTUI Extended.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[52/75] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[53/75] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[54/75] Compiling SwiftTUI EscapeSequence.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[55/75] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[56/75] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[57/75] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[58/75] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:33: error: cannot find 'STDOUT_FILENO' in scope
121 |
122 | private func write(_ str: String) {
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: cannot find 'STDOUT_FILENO' in scope
124 | }
125 |
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:123:32: error: extra arguments at positions #2, #3 in call
120 | }
121 |
122 | private func write(_ str: String) {
| `- note: 'write' declared here
123 | str.withCString { _ = write(STDOUT_FILENO, $0, strlen($0)) }
| `- error: extra arguments at positions #2, #3 in call
124 | }
125 |
[59/75] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[60/75] Compiling SwiftTUI Environment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[61/75] Compiling SwiftTUI ObservedObject.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[62/75] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[63/75] Compiling SwiftTUI View+Environment.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[64/75] Compiling SwiftTUI View+ObservableObject.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[65/75] Compiling SwiftTUI View+State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[66/75] Compiling SwiftTUI ASCII.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[67/75] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:60:73: error: cannot find 'STDIN_FILENO' in scope
58 | renderer.draw()
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
62 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:61:43: error: cannot infer contextual base in reference to member 'default'
59 |
60 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
61 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
62 | stdInSource.resume()
63 | self.stdInSource = stdInSource
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:69:24: error: cannot find 'SIG_IGN' in scope
67 | sigWinChSource.resume()
68 |
69 | signal(SIGINT, SIG_IGN)
| `- error: cannot find 'SIG_IGN' in scope
70 | let sigIntSource = DispatchSource.makeSignalSource(signal: SIGINT, queue: .main)
71 | sigIntSource.setEventHandler(qos: .default, flags: [], handler: self.stop)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:86:21: error: cannot find 'termios' in scope
84 |
85 | private func setInputMode() {
86 | var tattr = termios()
| `- error: cannot find 'termios' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:9: error: cannot find 'tcgetattr' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:87:19: error: cannot find 'STDIN_FILENO' in scope
85 | private func setInputMode() {
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:27: error: cannot find 'tcflag_t' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:36: error: cannot find 'ECHO' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:88:43: error: cannot find 'ICANON' in scope
86 | var tattr = termios()
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
90 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:9: error: cannot find 'tcsetattr' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:19: error: cannot find 'STDIN_FILENO' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:89:33: error: cannot find 'TCSAFLUSH' in scope
87 | tcgetattr(STDIN_FILENO, &tattr)
88 | tattr.c_lflag &= ~tcflag_t(ECHO | ICANON)
89 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
90 | }
91 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:167:20: error: cannot find 'winsize' in scope
165 |
166 | private func updateWindowSize() {
167 | var size = winsize()
| `- error: cannot find 'winsize' in scope
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
169 | size.ws_col > 0, size.ws_row > 0 else {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:15: error: cannot find 'ioctl' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'ioctl' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:21: error: cannot find 'STDOUT_FILENO' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'STDOUT_FILENO' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:168:41: error: cannot find 'TIOCGWINSZ' in scope
166 | private func updateWindowSize() {
167 | var size = winsize()
168 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0,
| `- error: cannot find 'TIOCGWINSZ' in scope
169 | size.ws_col > 0, size.ws_row > 0 else {
170 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:186:21: error: cannot find 'termios' in scope
184 | private func resetInputMode() {
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
| `- error: cannot find 'termios' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:9: error: cannot find 'tcgetattr' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:187:19: error: cannot find 'STDIN_FILENO' in scope
185 | // Reset ECHO and ICANON values:
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:26: error: cannot find 'tcflag_t' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'tcflag_t' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:35: error: cannot find 'ECHO' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:188:42: error: cannot find 'ICANON' in scope
186 | var tattr = termios()
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
190 | }
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:9: error: cannot find 'tcsetattr' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:19: error: cannot find 'STDIN_FILENO' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
190 | }
191 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:189:33: error: cannot find 'TCSAFLUSH' in scope
187 | tcgetattr(STDIN_FILENO, &tattr)
188 | tattr.c_lflag |= tcflag_t(ECHO | ICANON)
189 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
190 | }
191 |
[68/75] Compiling SwiftTUI Alignment.swift
[69/75] Compiling SwiftTUI Axis.swift
[70/75] Compiling SwiftTUI HStack.swift
[71/75] Compiling SwiftTUI VStack.swift
[72/75] Compiling SwiftTUI ZStack.swift
[73/75] Compiling SwiftTUI TupleView.swift
[74/75] Compiling SwiftTUI ViewBuilder.swift
[75/75] Compiling SwiftTUI _ConditionalView.swift
BUILD FAILURE 6.2 android