The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TUI, reference main (750e1d), with Swift 6.3 for Android on 18 Nov 2026 14:46:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/TUI.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/wadetregaskis/TUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 750e1de Omit systemImage from ScrollFitBaseline tabView sample so baseline doesn't depend on host SF Symbols font
Cloned https://github.com/wadetregaskis/TUI.git
Revision (git rev-parse @):
750e1de0495967709665ba0930e12e5786fec496
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/TUI.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/wadetregaskis/TUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:41afcdb97864bf5406d0ae8aa5bcfcef33b811a9f32d0153a8ac0739abb37de2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax.git
[1/2359] Fetching swift-docc-plugin
[2360/84568] Fetching swift-docc-plugin, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (3.29s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.30s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (4.28s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/171] Write sources
[21/171] Copying VERSION
[22/171] Copying translations
[23/171] Copying Resources
[24/171] Write sources
[70/171] Compiling _SwiftSyntaxCShims PlatformMutex.c
[71/171] Write sources
[80/171] Write swift-version-272D24FF697CF451.txt
[81/171] Compiling CTestSupport CTestSupport.c
[82/308] Compiling CSTBImage stb_image_impl.c
[84/310] Compiling SwiftSyntax604 Empty.swift
[85/310] Emitting module SwiftSyntax604
[86/311] Emitting module SwiftSyntax602
[87/311] Compiling SwiftSyntax602 Empty.swift
[89/312] Compiling TUIEnvironmentDocs TUIEnvironmentVariables+ManPage.swift
[90/312] Compiling TUIEnvironmentDocs TUIEnvironmentVariables+Markdown.swift
[92/316] Emitting module SwiftSyntax601
[93/316] Compiling SwiftSyntax601 Empty.swift
[94/316] Compiling TUIEnvironmentDocs TUIEnvironmentVariables.swift
[95/316] Compiling SwiftSyntax603 Empty.swift
[96/317] Emitting module SwiftSyntax603
[97/318] Compiling TUIEnvironmentDocs TUIEnvironmentVariable.swift
[98/318] Compiling TUIEnvironmentDocs TUIEnvironmentVariables+EndUser.swift
[99/318] Compiling TUIEnvironmentDocs TUIEnvironmentVariables+Developer.swift
[100/318] Emitting module TUIEnvironmentDocs
[101/319] Compiling SwiftSyntax600 Empty.swift
[104/319] Compiling SwiftSyntax510 Empty.swift
[106/319] Emitting module SwiftSyntax600
[107/320] Emitting module SwiftSyntax510
[108/321] Emitting module TUIWidthCorpus
[109/321] Compiling TUIWidthCorpus TerminalWidthCorpus.swift
[110/324] Wrapping AST for SwiftSyntax604 for debugging
[113/324] Wrapping AST for SwiftSyntax603 for debugging
[114/324] Wrapping AST for SwiftSyntax602 for debugging
[116/326] Emitting module SwiftSyntax509
[117/326] Compiling SwiftSyntax509 Empty.swift
[117/326] Wrapping AST for TUIWidthCorpus for debugging
[118/327] Wrapping AST for SwiftSyntax601 for debugging
[119/327] Wrapping AST for SwiftSyntax600 for debugging
[120/327] Wrapping AST for SwiftSyntax510 for debugging
[122/327] Wrapping AST for TUIEnvironmentDocs for debugging
[123/327] Wrapping AST for SwiftSyntax509 for debugging
[125/391] Emitting module TUIStyling
[126/396] Compiling SwiftSyntax RawSyntax.swift
[127/396] Compiling SwiftSyntax RawSyntaxArena.swift
[128/396] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[129/396] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[130/396] Compiling SwiftSyntax RawSyntaxTokenView.swift
[131/396] Compiling SwiftSyntax SourceEdit.swift
[132/396] Compiling SwiftSyntax SyntaxNodeStructure.swift
[133/396] Compiling SwiftSyntax SyntaxProtocol.swift
[134/396] Compiling SwiftSyntax SyntaxText.swift
[135/396] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[136/396] Compiling SwiftSyntax TokenDiagnostic.swift
[142/407] Compiling SwiftSyntax Keyword.swift
[143/407] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[144/407] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[145/407] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[146/407] Compiling SwiftSyntax SyntaxBaseNodes.swift
[147/407] Compiling SwiftSyntax SyntaxCollections.swift
[148/407] Compiling SwiftSyntax Convenience.swift
[149/407] Compiling SwiftSyntax CustomTraits.swift
[150/407] Compiling SwiftSyntax EditorPlaceholder.swift
[151/407] Compiling SwiftSyntax Identifier.swift
[152/407] Compiling SwiftSyntax MemoryLayout.swift
[153/407] Compiling SwiftSyntax MissingNodeInitializers.swift
[154/407] Compiling TUIEnvironmentDocsTool main.swift
[155/407] Emitting module TUIEnvironmentDocsTool
[156/408] Wrapping AST for TUIEnvironmentDocsTool for debugging
[157/408] Write Objects.LinkFileList
[159/408] Compiling SwiftSyntax SourceLength.swift
[160/408] Compiling SwiftSyntax SourceLocation.swift
[161/408] Compiling SwiftSyntax SourcePresence.swift
[162/408] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[163/408] Compiling TUIStyling RowFills+Sixteen.swift
[164/408] Compiling TUIStyling RowFills.swift
[165/408] Compiling TUIStyling StripeFill.swift
[166/408] Compiling TUIStyling Theme.swift
[167/408] Compiling TUIStyling ThemeManager.swift
[167/408] Linking tui-environment-docs
[178/416] Compiling SwiftSyntax AbsolutePosition.swift
[179/416] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[180/416] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[181/416] Compiling SwiftSyntax Assert.swift
[182/416] Compiling SwiftSyntax BumpPtrAllocator.swift
[183/416] Compiling SwiftSyntax CommonAncestor.swift
[192/416] Compiling SwiftSyntax TokenSequence.swift
[193/416] Compiling SwiftSyntax TokenSyntax.swift
[194/416] Compiling SwiftSyntax Trivia+commentValue.swift
[195/416] Compiling SwiftSyntax Trivia.swift
[213/416] Compiling SwiftSyntax Utils.swift
[214/416] Compiling SwiftSyntax ChildNameForKeyPath.swift
[226/416] Emitting module TUICore
[227/416] Compiling SwiftSyntax SyntaxNodesQRS.swift
[228/416] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[229/416] Compiling TUICore SystemZlib.swift
[230/416] Compiling TUICore TerminalHyperlink.swift
[231/416] Compiling TUICore TerminalImagePlaceholder.swift
[232/416] Compiling TUICore TerminalQuirks.swift
[233/416] Compiling TUICore TerminalWidthTraits.swift
[234/416] Compiling TUICore ASCIIDecimal.swift
[235/416] Compiling TUICore HitTestRegion.swift
[236/416] Compiling TUICore KeyEvent.swift
[237/416] Compiling TUICore KittyKeyMemory.swift
[238/416] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[239/416] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[240/416] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[241/416] Compiling SwiftSyntax RawSyntaxValidation.swift
[242/416] Compiling SwiftSyntax SyntaxNodesAB.swift
[243/416] Compiling SwiftSyntax SyntaxNodesC.swift
[244/416] Compiling SwiftSyntax SyntaxNodesD.swift
[245/416] Compiling SwiftSyntax SyntaxNodesEF.swift
[246/416] Compiling SwiftSyntax SyntaxNodesGHI.swift
[247/416] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[248/416] Compiling SwiftSyntax SyntaxNodesOP.swift
[254/416] Compiling SwiftSyntax SyntaxRewriter.swift
[255/416] Compiling SwiftSyntax SyntaxTraits.swift
[256/416] Compiling SwiftSyntax SyntaxVisitor.swift
[257/416] Compiling SwiftSyntax TokenKind.swift
[258/416] Compiling SwiftSyntax Tokens.swift
[259/416] Compiling SwiftSyntax TriviaPieces.swift
[260/416] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[261/416] Compiling SwiftSyntax RawSyntaxNodesC.swift
[262/416] Compiling SwiftSyntax RawSyntaxNodesD.swift
[263/416] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[264/416] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[265/416] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[266/416] Compiling SwiftSyntax SyntaxEnum.swift
[293/417] Compiling SwiftSyntax SyntaxKind.swift
[294/417] Wrapping AST for TUIStyling for debugging
[296/417] Compiling TUICore IdentityKey.swift
[297/417] Compiling TUICore LayoutTypes.swift
[298/417] Compiling TUICore OpacityRegion.swift
[299/417] Compiling TUICore Overflow.swift
[300/417] Compiling TUICore OverlayLayer.swift
[301/417] Compiling TUICore PrehashedVerdicts.swift
[302/417] Compiling TUICore StatedLength.swift
[303/417] Compiling TUICore TerminalSymbols+ASCII.swift
[304/417] Compiling TUICore TerminalSymbols.swift
[305/417] Compiling TUICore ViewIdentity.swift
[306/417] Compiling TUICore HangBreaker.swift
[307/418] Wrapping AST for TUICore for debugging
[309/618] Emitting module EmojiBenchmark
[310/618] Compiling EmojiBugScanner main.swift
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:44:19: error: cannot find type 'termios' in scope
 42 | #else
 43 | struct RawMode {
 44 |     var original: termios
    |                   `- error: cannot find type 'termios' in scope
 45 |
 46 |     static func enable() -> RawMode {
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:47:24: error: cannot find 'termios' in scope
 45 |
 46 |     static func enable() -> RawMode {
 47 |         var original = termios()
    |                        `- error: cannot find 'termios' in scope
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
 49 |         var raw = original
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:48:16: error: cannot find 'tcgetattr' in scope
 46 |     static func enable() -> RawMode {
 47 |         var original = termios()
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
    |                `- error: cannot find 'tcgetattr' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:48:26: error: cannot find 'STDIN_FILENO' in scope
 46 |     static func enable() -> RawMode {
 47 |         var original = termios()
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
    |                          `- error: cannot find 'STDIN_FILENO' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:50:35: error: cannot find 'ECHO' in scope
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
    |                                   `- error: cannot find 'ECHO' in scope
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
 52 |         let oflagOff: UInt = UInt(OPOST)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:50:42: error: cannot find 'ICANON' in scope
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
    |                                          `- error: cannot find 'ICANON' in scope
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
 52 |         let oflagOff: UInt = UInt(OPOST)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:50:51: error: cannot find 'ISIG' in scope
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
    |                                                   `- error: cannot find 'ISIG' in scope
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
 52 |         let oflagOff: UInt = UInt(OPOST)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:50:58: error: cannot find 'IEXTEN' in scope
 48 |         unsafe tcgetattr(STDIN_FILENO, &original)
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
    |                                                          `- error: cannot find 'IEXTEN' in scope
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
 52 |         let oflagOff: UInt = UInt(OPOST)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:35: error: cannot find 'IXON' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                   `- error: cannot find 'IXON' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:42: error: cannot find 'ICRNL' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                          `- error: cannot find 'ICRNL' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:50: error: cannot find 'INLCR' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                                  `- error: cannot find 'INLCR' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:58: error: cannot find 'IGNCR' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                                          `- error: cannot find 'IGNCR' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:66: error: cannot find 'BRKINT' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                                                  `- error: cannot find 'BRKINT' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:75: error: cannot find 'INPCK' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                                                           `- error: cannot find 'INPCK' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:51:83: error: cannot find 'ISTRIP' in scope
 49 |         var raw = original
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
    |                                                                                   `- error: cannot find 'ISTRIP' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:52:35: error: cannot find 'OPOST' in scope
 50 |         let lflagOff: UInt = UInt(ECHO | ICANON | ISIG | IEXTEN)
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
 52 |         let oflagOff: UInt = UInt(OPOST)
    |                                   `- error: cannot find 'OPOST' in scope
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
 54 |         raw.c_iflag &= ~tcflag_t(iflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:53:25: error: cannot find 'tcflag_t' in scope
 51 |         let iflagOff: UInt = UInt(IXON | ICRNL | INLCR | IGNCR | BRKINT | INPCK | ISTRIP)
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
    |                         `- error: cannot find 'tcflag_t' in scope
 54 |         raw.c_iflag &= ~tcflag_t(iflagOff)
 55 |         raw.c_oflag &= ~tcflag_t(oflagOff)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:54:25: error: cannot find 'tcflag_t' in scope
 52 |         let oflagOff: UInt = UInt(OPOST)
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
 54 |         raw.c_iflag &= ~tcflag_t(iflagOff)
    |                         `- error: cannot find 'tcflag_t' in scope
 55 |         raw.c_oflag &= ~tcflag_t(oflagOff)
 56 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:55:25: error: cannot find 'tcflag_t' in scope
 53 |         raw.c_lflag &= ~tcflag_t(lflagOff)
 54 |         raw.c_iflag &= ~tcflag_t(iflagOff)
 55 |         raw.c_oflag &= ~tcflag_t(oflagOff)
    |                         `- error: cannot find 'tcflag_t' in scope
 56 |         raw.c_cflag |= tcflag_t(CS8)
 57 |         withUnsafeMutablePointer(to: &raw.c_cc) { p in
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:56:24: error: cannot find 'tcflag_t' in scope
 54 |         raw.c_iflag &= ~tcflag_t(iflagOff)
 55 |         raw.c_oflag &= ~tcflag_t(oflagOff)
 56 |         raw.c_cflag |= tcflag_t(CS8)
    |                        `- error: cannot find 'tcflag_t' in scope
 57 |         withUnsafeMutablePointer(to: &raw.c_cc) { p in
 58 |             unsafe p.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { cc in
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:56:33: error: cannot find 'CS8' in scope
 54 |         raw.c_iflag &= ~tcflag_t(iflagOff)
 55 |         raw.c_oflag &= ~tcflag_t(oflagOff)
 56 |         raw.c_cflag |= tcflag_t(CS8)
    |                                 `- error: cannot find 'CS8' in scope
 57 |         withUnsafeMutablePointer(to: &raw.c_cc) { p in
 58 |             unsafe p.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { cc in
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:58:44: error: cannot find 'cc_t' in scope
 56 |         raw.c_cflag |= tcflag_t(CS8)
 57 |         withUnsafeMutablePointer(to: &raw.c_cc) { p in
 58 |             unsafe p.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { cc in
    |                                            `- error: cannot find 'cc_t' in scope
 59 |                 unsafe cc[Int(VMIN)]  = 1   // block until at least 1 byte available
 60 |                 unsafe cc[Int(VTIME)] = 1   // 100ms timeout between bytes once started
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:58:69: error: cannot find 'NCCS' in scope
 56 |         raw.c_cflag |= tcflag_t(CS8)
 57 |         withUnsafeMutablePointer(to: &raw.c_cc) { p in
 58 |             unsafe p.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { cc in
    |                                                                     `- error: cannot find 'NCCS' in scope
 59 |                 unsafe cc[Int(VMIN)]  = 1   // block until at least 1 byte available
 60 |                 unsafe cc[Int(VTIME)] = 1   // 100ms timeout between bytes once started
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:59:31: error: cannot find 'VMIN' in scope
 57 |         withUnsafeMutablePointer(to: &raw.c_cc) { p in
 58 |             unsafe p.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { cc in
 59 |                 unsafe cc[Int(VMIN)]  = 1   // block until at least 1 byte available
    |                               `- error: cannot find 'VMIN' in scope
 60 |                 unsafe cc[Int(VTIME)] = 1   // 100ms timeout between bytes once started
 61 |             }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:60:31: error: cannot find 'VTIME' in scope
 58 |             unsafe p.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { cc in
 59 |                 unsafe cc[Int(VMIN)]  = 1   // block until at least 1 byte available
 60 |                 unsafe cc[Int(VTIME)] = 1   // 100ms timeout between bytes once started
    |                               `- error: cannot find 'VTIME' in scope
 61 |             }
 62 |         }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:63:16: error: cannot find 'tcsetattr' in scope
 61 |             }
 62 |         }
 63 |         unsafe tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
    |                `- error: cannot find 'tcsetattr' in scope
 64 |         return RawMode(original: original)
 65 |     }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:63:26: error: cannot find 'STDIN_FILENO' in scope
 61 |             }
 62 |         }
 63 |         unsafe tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
    |                          `- error: cannot find 'STDIN_FILENO' in scope
 64 |         return RawMode(original: original)
 65 |     }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:63:40: error: cannot find 'TCSAFLUSH' in scope
 61 |             }
 62 |         }
 63 |         unsafe tcsetattr(STDIN_FILENO, TCSAFLUSH, &raw)
    |                                        `- error: cannot find 'TCSAFLUSH' in scope
 64 |         return RawMode(original: original)
 65 |     }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:69:16: error: cannot find 'tcsetattr' in scope
 67 |     func restore() {
 68 |         var orig = original
 69 |         unsafe tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig)
    |                `- error: cannot find 'tcsetattr' in scope
 70 |     }
 71 | }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:69:26: error: cannot find 'STDIN_FILENO' in scope
 67 |     func restore() {
 68 |         var orig = original
 69 |         unsafe tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig)
    |                          `- error: cannot find 'STDIN_FILENO' in scope
 70 |     }
 71 | }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:69:40: error: cannot find 'TCSAFLUSH' in scope
 67 |     func restore() {
 68 |         var orig = original
 69 |         unsafe tcsetattr(STDIN_FILENO, TCSAFLUSH, &orig)
    |                                        `- error: cannot find 'TCSAFLUSH' in scope
 70 |     }
 71 | }
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:77:40: error: cannot find 'write' in scope
 75 |
 76 | func writeBytes(_ bytes: [UInt8]) {
 77 |     _ = bytes.withUnsafeBytes { unsafe write(STDOUT_FILENO, $0.baseAddress, $0.count) }
    |                                        `- error: cannot find 'write' in scope
 78 | }
 79 |
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:77:46: error: cannot find 'STDOUT_FILENO' in scope
 75 |
 76 | func writeBytes(_ bytes: [UInt8]) {
 77 |     _ = bytes.withUnsafeBytes { unsafe write(STDOUT_FILENO, $0.baseAddress, $0.count) }
    |                                              `- error: cannot find 'STDOUT_FILENO' in scope
 78 | }
 79 |
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:91:24: error: cannot find 'read' in scope
 89 |     while buf.count < maxBytes {
 90 |         var b: UInt8 = 0
 91 |         let n = unsafe read(STDIN_FILENO, &b, 1)
    |                        `- error: cannot find 'read' in scope
 92 |         if n <= 0 { return nil }
 93 |         buf.append(b)
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:91:29: error: cannot find 'STDIN_FILENO' in scope
 89 |     while buf.count < maxBytes {
 90 |         var b: UInt8 = 0
 91 |         let n = unsafe read(STDIN_FILENO, &b, 1)
    |                             `- error: cannot find 'STDIN_FILENO' in scope
 92 |         if n <= 0 { return nil }
 93 |         buf.append(b)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[311/618] Emitting module EmojiBugScanner
/host/spi-builder-workspace/Tools/EmojiBugScanner/main.swift:44:19: error: cannot find type 'termios' in scope
 42 | #else
 43 | struct RawMode {
 44 |     var original: termios
    |                   `- error: cannot find type 'termios' in scope
 45 |
 46 |     static func enable() -> RawMode {
BUILD FAILURE 6.3 android