Build Information
Failed to build SwiftTUI, reference 0.1.0 (75ae35
), with Swift 6.2 (beta) for Android on 19 Jun 2025 16:10:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.1.0
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
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 75ae35a Add Flags example
Cloned https://github.com/rensbreur/SwiftTUI.git
Revision (git rev-parse @):
75ae35af4115f87601657957e3332fc9eb5829d5
SUCCESS checkout https://github.com/rensbreur/SwiftTUI.git at 0.1.0
========================================
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-4606859-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/40] Compiling SwiftTUI Control.swift
[4/40] Compiling SwiftTUI Window.swift
[5/40] Compiling SwiftTUI Node+logTree.swift
[6/40] Compiling SwiftTUI log.swift
[7/40] Compiling SwiftTUI Cell.swift
[8/40] Compiling SwiftTUI Color.swift
[9/40] Compiling SwiftTUI Position.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[10/40] Compiling SwiftTUI Rect.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[11/40] Compiling SwiftTUI Layer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[12/40] Compiling SwiftTUI LayerDrawing.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[13/40] Compiling SwiftTUI Renderer.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[14/40] Compiling SwiftTUI Size.swift
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:17: error: cannot find 'Darwin' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'Darwin' in scope
142 | #endif
143 | }
/host/spi-builder-workspace/Sources/SwiftTUI/Drawing/Rendering/Renderer.swift:141:30: error: cannot find 'STDOUT_FILENO' in scope
139 | _ = Glibc.write(STDOUT_FILENO, $0, strlen($0))
140 | #else
141 | _ = Darwin.write(STDOUT_FILENO, $0, strlen($0))
| `- error: cannot find 'STDOUT_FILENO' in scope
142 | #endif
143 | }
[15/45] Compiling SwiftTUI FixedFrame.swift
[16/45] Compiling SwiftTUI Padding.swift
[17/45] Compiling SwiftTUI EmptyView.swift
[18/45] Compiling SwiftTUI ForEach.swift
[19/45] Compiling SwiftTUI Group.swift
[20/45] Compiling SwiftTUI ControlMapper.swift
[21/45] Compiling SwiftTUI PrimitiveView.swift
[22/45] Compiling SwiftTUI View.swift
[23/45] Compiling SwiftTUI ViewContainer.swift
[24/45] Compiling SwiftTUI ViewWrapper.swift
[25/45] Compiling SwiftTUI Alignment.swift
[26/45] Compiling SwiftTUI HStack.swift
[27/45] Compiling SwiftTUI VStack.swift
[28/45] Compiling SwiftTUI Background.swift
[29/45] Compiling SwiftTUI Border.swift
[30/45] Emitting module SwiftTUI
[31/45] Compiling SwiftTUI Optional+View.swift
[32/45] Compiling SwiftTUI TupleView.swift
[33/45] Compiling SwiftTUI ViewBuilder.swift
[34/45] Compiling SwiftTUI _ConditionalView.swift
[35/45] Compiling SwiftTUI Button.swift
[36/45] Compiling SwiftTUI Binding.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[37/45] Compiling SwiftTUI State.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[38/45] Compiling SwiftTUI Application.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[39/45] Compiling SwiftTUI ArrowKeyParser.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[40/45] Compiling SwiftTUI SwiftTUI.swift
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:39:73: error: cannot find 'STDIN_FILENO' in scope
37 | renderer.draw()
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
| `- error: cannot find 'STDIN_FILENO' in scope
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
41 | stdInSource.resume()
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:40:43: error: cannot infer contextual base in reference to member 'default'
38 |
39 | let stdInSource = DispatchSource.makeReadSource(fileDescriptor: STDIN_FILENO, queue: .main)
40 | stdInSource.setEventHandler(qos: .default, flags: [], handler: self.handleInput)
| `- error: cannot infer contextual base in reference to member 'default'
41 | stdInSource.resume()
42 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:52:21: error: cannot find 'termios' in scope
50 |
51 | private func setInputMode() {
52 | var tattr = termios()
| `- error: cannot find 'termios' in scope
53 | tcgetattr(STDIN_FILENO, &tattr)
54 | #if os(Linux)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:9: error: cannot find 'tcgetattr' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'tcgetattr' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:53:19: error: cannot find 'STDIN_FILENO' in scope
51 | private func setInputMode() {
52 | var tattr = termios()
53 | tcgetattr(STDIN_FILENO, &tattr)
| `- error: cannot find 'STDIN_FILENO' in scope
54 | #if os(Linux)
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:32: error: cannot find 'ECHO' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:57:39: error: cannot find 'ICANON' in scope
55 | tattr.c_lflag &= ~UInt32(ECHO | ICANON)
56 | #else
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:9: error: cannot find 'tcsetattr' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'tcsetattr' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:19: error: cannot find 'STDIN_FILENO' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'STDIN_FILENO' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:59:33: error: cannot find 'TCSAFLUSH' in scope
57 | tattr.c_lflag &= ~UInt(ECHO | ICANON)
58 | #endif
59 | tcsetattr(STDIN_FILENO, TCSAFLUSH, &tattr);
| `- error: cannot find 'TCSAFLUSH' in scope
60 | }
61 |
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:13: error: cannot find 'read' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'read' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:64:18: error: cannot find 'STDIN_FILENO' in scope
62 | private func handleInput() {
63 | var char: UInt8 = 0
64 | _ = read(STDIN_FILENO, &char, 1)
| `- error: cannot find 'STDIN_FILENO' in scope
65 |
66 | if arrowKeyParser.parse(character: char) {
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:133:20: error: cannot find 'winsize' in scope
131 |
132 | private func updateWindowSize() {
133 | var size = winsize()
| `- error: cannot find 'winsize' in scope
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
135 | assertionFailure("Could not get window size")
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:15: error: cannot find 'ioctl' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'ioctl' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:21: error: cannot find 'STDOUT_FILENO' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'STDOUT_FILENO' in scope
135 | assertionFailure("Could not get window size")
136 | return
/host/spi-builder-workspace/Sources/SwiftTUI/RunLoop/Application.swift:134:41: error: cannot find 'TIOCGWINSZ' in scope
132 | private func updateWindowSize() {
133 | var size = winsize()
134 | guard ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &size) == 0 else {
| `- error: cannot find 'TIOCGWINSZ' in scope
135 | assertionFailure("Could not get window size")
136 | return
[41/45] Compiling SwiftTUI Color+View.swift
[42/45] Compiling SwiftTUI Spacer.swift
[43/45] Compiling SwiftTUI Text.swift
[44/45] Compiling SwiftTUI TextField.swift
[45/45] Compiling SwiftTUI Node.swift
BUILD FAILURE 6.2 android