Build Information
Failed to build tui-fuzzy-finder, reference main (065d7e
), with Swift 6.2 (beta) for Android on 20 Aug 2025 21:27:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juri/tui-fuzzy-finder.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/juri/tui-fuzzy-finder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 065d7e0 Fix typo
Cloned https://github.com/juri/tui-fuzzy-finder.git
Revision (git rev-parse @):
065d7e03fd42230808caf8dbbb2830770759b652
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/juri/tui-fuzzy-finder.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/juri/tui-fuzzy-finder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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-argument-parser
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms
[1/2433] Fetching swift-service-lifecycle
[2289/7566] Fetching swift-service-lifecycle, swift-async-algorithms
[7567/23255] Fetching swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.56s)
[5290/20822] Fetching swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms from cache (0.66s)
[2040/15689] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.42s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.21s)
Fetching https://github.com/apple/swift-log.git
[1/3897] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.52s)
Fetching https://github.com/apple/swift-collections.git
[1/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (2.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (14.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.98s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/25] Write sources
[12/25] Write swift-version-8C5A4AE7A8CE2BA.txt
[14/44] Emitting module ArgumentParserToolInfo
[15/44] Emitting module ConcurrencyHelpers
[16/44] Compiling InternalCollectionsUtilities Descriptions.swift
[17/44] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/45] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/45] Compiling ConcurrencyHelpers LockedValueBox.swift
[20/45] Emitting module InternalCollectionsUtilities
[21/45] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/45] Compiling InternalCollectionsUtilities Debugging.swift
[23/45] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/45] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[25/45] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/45] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/45] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/45] Compiling InternalCollectionsUtilities Integer rank.swift
[29/45] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/45] Compiling InternalCollectionsUtilities UInt+reversed.swift
[31/45] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[32/46] Wrapping AST for InternalCollectionsUtilities for debugging
[34/116] Compiling OrderedCollections _HashTable+Constants.swift
[35/116] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[36/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[37/118] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[38/118] Compiling ArgumentParserToolInfo ToolInfo.swift
[39/119] Compiling OrderedCollections _HashTable+Testing.swift
[40/119] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[42/119] Compiling OrderedCollections _HashTable.swift
[43/119] Compiling OrderedCollections _Hashtable+Header.swift
[43/119] Wrapping AST for ArgumentParserToolInfo for debugging
[45/163] Compiling ArgumentParser AsyncParsableCommand.swift
[46/163] Compiling ArgumentParser CommandConfiguration.swift
[47/163] Compiling ArgumentParser CompletionKind.swift
[48/163] Compiling ArgumentParser Errors.swift
[49/163] Compiling ArgumentParser Flag.swift
[50/163] Compiling ArgumentParser NameSpecification.swift
[51/163] Compiling ArgumentParser Option.swift
[52/163] Compiling ArgumentParser OptionGroup.swift
[54/170] Compiling ArgumentParser ArgumentSet.swift
[55/170] Compiling ArgumentParser CommandParser.swift
[56/170] Compiling ArgumentParser InputKey.swift
[57/170] Compiling ArgumentParser InputOrigin.swift
[58/170] Compiling ArgumentParser Name.swift
[59/170] Compiling ArgumentParser Parsed.swift
[60/170] Compiling ArgumentParser ParsedValues.swift
[65/170] Compiling ArgumentParser BashCompletionsGenerator.swift
[66/170] Compiling ArgumentParser CompletionsGenerator.swift
[67/170] Compiling ArgumentParser ParserError.swift
[68/170] Compiling ArgumentParser SplitArguments.swift
[69/170] Compiling ArgumentParser DumpHelpGenerator.swift
[70/170] Compiling ArgumentParser HelpCommand.swift
[71/170] Compiling ArgumentParser HelpGenerator.swift
[72/170] Compiling ArgumentParser MessageInfo.swift
[73/170] Compiling ArgumentParser UsageGenerator.swift
[74/170] Compiling ArgumentParser CollectionExtensions.swift
[76/170] Compiling ArgumentParser CommandGroup.swift
[77/170] Compiling ArgumentParser EnumerableFlag.swift
[78/170] Compiling ArgumentParser ExpressibleByArgument.swift
[79/170] Compiling ArgumentParser ParsableArguments.swift
[80/170] Compiling ArgumentParser ParsableCommand.swift
[81/170] Compiling ArgumentParser ArgumentDecoder.swift
[82/170] Compiling ArgumentParser ArgumentDefinition.swift
[83/170] Compiling OrderedCollections OrderedDictionary+Codable.swift
[84/170] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[85/170] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[86/170] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[87/170] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[88/170] Compiling OrderedCollections OrderedDictionary+Elements.swift
[89/170] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[90/170] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[91/170] Compiling ArgumentParser Mutex.swift
[92/170] Compiling ArgumentParser Platform.swift
[93/170] Compiling ArgumentParser SequenceExtensions.swift
[94/170] Compiling ArgumentParser StringExtensions.swift
[95/170] Compiling ArgumentParser SwiftExtensions.swift
[96/170] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[97/170] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[98/170] Compiling OrderedCollections OrderedDictionary+Values.swift
[99/170] Emitting module DequeModule
[101/171] Compiling ConcurrencyHelpers Lock.swift
[102/172] Wrapping AST for DequeModule for debugging
[103/175] Wrapping AST for ConcurrencyHelpers for debugging
[107/175] Compiling ArgumentParser FishCompletionsGenerator.swift
[108/175] Compiling ArgumentParser ZshCompletionsGenerator.swift
[109/175] Compiling ArgumentParser Argument.swift
[110/175] Compiling ArgumentParser ArgumentDiscussion.swift
[111/175] Compiling ArgumentParser ArgumentHelp.swift
[112/175] Compiling ArgumentParser ArgumentVisibility.swift
[113/175] Compiling OrderedCollections OrderedSet+Sendable.swift
[114/175] Compiling OrderedCollections OrderedSet+SubSequence.swift
[115/175] Compiling OrderedCollections OrderedSet+Testing.swift
[116/175] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[117/175] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[118/175] Compiling OrderedCollections OrderedSet.swift
[119/175] Compiling OrderedCollections _UnsafeBitset.swift
[120/175] Compiling UnixSignals UnixSignalsSequence.swift
[121/175] Compiling UnixSignals UnixSignal.swift
[122/175] Emitting module UnixSignals
[123/176] Wrapping AST for UnixSignals for debugging
[125/176] Emitting module OrderedCollections
[126/177] Wrapping AST for OrderedCollections for debugging
[128/222] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[129/222] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[130/222] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[131/222] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[132/222] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[133/222] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[134/228] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[135/228] Compiling AsyncAlgorithms ChannelStateMachine.swift
[136/228] Compiling AsyncAlgorithms ChannelStorage.swift
[137/228] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[138/228] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[139/228] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[140/228] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[141/228] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[142/228] Compiling AsyncAlgorithms MergeStateMachine.swift
[143/228] Compiling AsyncAlgorithms MergeStorage.swift
[144/228] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[145/228] Compiling ArgumentParser Tree.swift
[146/234] Emitting module AsyncAlgorithms
[147/234] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[148/234] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[149/234] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[150/234] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[151/234] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[152/234] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[154/234] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[155/234] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[156/234] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[157/234] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[158/234] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[159/234] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[160/234] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[162/234] Compiling AsyncAlgorithms SetAlgebra.swift
[163/234] Compiling AsyncAlgorithms UnsafeTransfer.swift
[164/234] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[165/234] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[166/234] Compiling AsyncAlgorithms ZipStateMachine.swift
[173/234] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[174/234] Compiling AsyncAlgorithms DebounceStateMachine.swift
[175/234] Compiling AsyncAlgorithms DebounceStorage.swift
[176/234] Compiling AsyncAlgorithms Dictionary.swift
[177/234] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[178/234] Compiling AsyncAlgorithms Locking.swift
[179/234] Emitting module ArgumentParser
[193/234] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[194/234] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[195/234] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[196/234] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[197/234] Compiling AsyncAlgorithms AsyncChannel.swift
[204/234] Compiling AsyncAlgorithms CombineLatestStorage.swift
[210/234] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[216/234] Compiling AsyncAlgorithms ZipStorage.swift
[223/235] Wrapping AST for AsyncAlgorithms for debugging
[231/245] Wrapping AST for ArgumentParser for debugging
[233/245] Compiling FuzzyTUI TerminalKey.swift
[234/245] Compiling FuzzyTUI TerminalSize.swift
/host/spi-builder-workspace/Sources/FuzzyTUI/TerminalSize.swift:14:17: error: cannot find 'winsize' in scope
12 | /// Return the current terminal size.
13 | public static func current() -> Self? {
14 | var w = winsize()
| `- error: cannot find 'winsize' in scope
15 | guard let tty = FileHandle.init(forReadingAtPath: "/dev/tty") else { return nil }
16 | _ = ioctl(tty.fileDescriptor, UInt(TIOCGWINSZ), &w)
/host/spi-builder-workspace/Sources/FuzzyTUI/TerminalSize.swift:16:13: error: cannot find 'ioctl' in scope
14 | var w = winsize()
15 | guard let tty = FileHandle.init(forReadingAtPath: "/dev/tty") else { return nil }
16 | _ = ioctl(tty.fileDescriptor, UInt(TIOCGWINSZ), &w)
| `- error: cannot find 'ioctl' in scope
17 | return TerminalSize(height: Int(w.ws_row), width: Int(w.ws_col))
18 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TerminalSize.swift:16:44: error: cannot find 'TIOCGWINSZ' in scope
14 | var w = winsize()
15 | guard let tty = FileHandle.init(forReadingAtPath: "/dev/tty") else { return nil }
16 | _ = ioctl(tty.fileDescriptor, UInt(TIOCGWINSZ), &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
17 | return TerminalSize(height: Int(w.ws_row), width: Int(w.ws_col))
18 | }
[235/246] Compiling FuzzyTUI FuzzySelector.swift
/host/spi-builder-workspace/Sources/FuzzyTUI/FuzzySelector.swift:604:28: error: cannot find 'getpgid' in scope
602 | ])
603 | let pid = ProcessInfo.processInfo.processIdentifier
604 | let pgid = getpgid(pid)
| `- error: cannot find 'getpgid' in scope
605 | let target = pgid * -1
606 | kill(target, SIGTSTP)
[236/246] Compiling FuzzyTUI ANSIControlCode.swift
[237/246] Compiling FuzzyTUI Appearance.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[238/246] Emitting module FuzzyTUI
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:6:34: error: cannot find type 'termios' in scope
4 | final class TTY {
5 | let fileHandle: FileHandle
6 | private var originalTermios: termios?
| `- error: cannot find type 'termios' in scope
7 |
8 | init?(fileHandle: FileHandle) {
[239/246] Compiling FuzzyTUI ViewState.swift
[240/246] Compiling FuzzyTUI TTY.swift
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:6:34: error: cannot find type 'termios' in scope
4 | final class TTY {
5 | let fileHandle: FileHandle
6 | private var originalTermios: termios?
| `- error: cannot find type 'termios' in scope
7 |
8 | init?(fileHandle: FileHandle) {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:9:15: error: cannot find 'isatty' in scope
7 |
8 | init?(fileHandle: FileHandle) {
9 | guard isatty(fileHandle.fileDescriptor) == 1 else { return nil }
| `- error: cannot find 'isatty' in scope
10 | self.fileHandle = fileHandle
11 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:14:31: error: cannot find 'termios' in scope
12 |
13 | func setRaw() throws {
14 | var originalTermios = termios()
| `- error: cannot find 'termios' in scope
15 |
16 | if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:16:12: error: cannot find 'tcgetattr' in scope
14 | var originalTermios = termios()
15 |
16 | if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
| `- error: cannot find 'tcgetattr' in scope
17 | throw Failure.getAttributes
18 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:23:25: error: cannot find 'tcflag_t' in scope
21 | var raw = originalTermios
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
| `- error: cannot find 'tcflag_t' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:23:34: error: cannot find 'BRKINT' in scope
21 | var raw = originalTermios
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
| `- error: cannot find 'BRKINT' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:23:43: error: cannot find 'ICRNL' in scope
21 | var raw = originalTermios
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
| `- error: cannot find 'ICRNL' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:23:51: error: cannot find 'INPCK' in scope
21 | var raw = originalTermios
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
| `- error: cannot find 'INPCK' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:23:59: error: cannot find 'ISTRIP' in scope
21 | var raw = originalTermios
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
| `- error: cannot find 'ISTRIP' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:23:68: error: cannot find 'IXON' in scope
21 | var raw = originalTermios
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
| `- error: cannot find 'IXON' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:24:25: error: cannot find 'tcflag_t' in scope
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
24 | raw.c_oflag &= ~tcflag_t(OPOST)
| `- error: cannot find 'tcflag_t' in scope
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:24:34: error: cannot find 'OPOST' in scope
22 |
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
24 | raw.c_oflag &= ~tcflag_t(OPOST)
| `- error: cannot find 'OPOST' in scope
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:25:24: error: cannot find 'tcflag_t' in scope
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
| `- error: cannot find 'tcflag_t' in scope
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
27 |
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:25:33: error: cannot find 'CS8' in scope
23 | raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
| `- error: cannot find 'CS8' in scope
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
27 |
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:26:25: error: cannot find 'tcflag_t' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
| `- error: cannot find 'tcflag_t' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:26:34: error: cannot find 'ECHO' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
| `- error: cannot find 'ECHO' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:26:41: error: cannot find 'ICANON' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
| `- error: cannot find 'ICANON' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:26:50: error: cannot find 'IEXTEN' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
| `- error: cannot find 'IEXTEN' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:26:59: error: cannot find 'ISIG' in scope
24 | raw.c_oflag &= ~tcflag_t(OPOST)
25 | raw.c_cflag |= tcflag_t(CS8)
26 | raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
| `- error: cannot find 'ISIG' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:29:38: error: cannot find 'cc_t' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
29 | $0.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { $0[Int(VMIN)] = 1 }
| `- error: cannot find 'cc_t' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:29:63: error: cannot find 'NCCS' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
29 | $0.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { $0[Int(VMIN)] = 1 }
| `- error: cannot find 'NCCS' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:29:79: error: cannot find 'VMIN' in scope
27 |
28 | withUnsafeMutablePointer(to: &raw.c_cc) {
29 | $0.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { $0[Int(VMIN)] = 1 }
| `- error: cannot find 'VMIN' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:32:12: error: cannot find 'tcsetattr' in scope
30 | }
31 |
32 | if tcsetattr(self.fileHandle.fileDescriptor, TCSAFLUSH, &raw) < 0 {
| `- error: cannot find 'tcsetattr' in scope
33 | throw Failure.setAttributes
34 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:32:54: error: cannot find 'TCSAFLUSH' in scope
30 | }
31 |
32 | if tcsetattr(self.fileHandle.fileDescriptor, TCSAFLUSH, &raw) < 0 {
| `- error: cannot find 'TCSAFLUSH' in scope
33 | throw Failure.setAttributes
34 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:39:12: error: cannot find 'tcsetattr' in scope
37 | func unsetRaw() throws {
38 | guard var originalTermios = self.originalTermios else { return }
39 | if tcsetattr(self.fileHandle.fileDescriptor, TCSAFLUSH, &originalTermios) < 0 {
| `- error: cannot find 'tcsetattr' in scope
40 | throw Failure.setAttributes
41 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:39:54: error: cannot find 'TCSAFLUSH' in scope
37 | func unsetRaw() throws {
38 | guard var originalTermios = self.originalTermios else { return }
39 | if tcsetattr(self.fileHandle.fileDescriptor, TCSAFLUSH, &originalTermios) < 0 {
| `- error: cannot find 'TCSAFLUSH' in scope
40 | throw Failure.setAttributes
41 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:57:15: error: cannot find 'isatty' in scope
55 |
56 | init?(fileHandle: FileHandle) {
57 | guard isatty(fileHandle.fileDescriptor) == 1 else { return nil }
| `- error: cannot find 'isatty' in scope
58 | self.fileHandle = fileHandle
59 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:63:9: error: cannot find 'tcflush' in scope
61 | func close() throws {
62 | try self.fileHandle.synchronize()
63 | tcflush(self.fileHandle.fileDescriptor, TCOFLUSH)
| `- error: cannot find 'tcflush' in scope
64 | try self.fileHandle.close()
65 | }
/host/spi-builder-workspace/Sources/FuzzyTUI/TTY.swift:63:49: error: cannot find 'TCOFLUSH' in scope
61 | func close() throws {
62 | try self.fileHandle.synchronize()
63 | tcflush(self.fileHandle.fileDescriptor, TCOFLUSH)
| `- error: cannot find 'TCOFLUSH' in scope
64 | try self.fileHandle.close()
65 | }
[241/246] Compiling FuzzyTUI AsyncArray.swift
[242/246] Compiling FuzzyTUI KeyReader.swift
/host/spi-builder-workspace/Sources/FuzzyTUI/KeyReader.swift:20:37: error: cannot find 'read' in scope
18 | let key = { () -> TerminalKey? in
19 | var buffer = [UInt8](repeating: 0, count: 4)
20 | let bytesRead = read(self.tty.fileHandle.fileDescriptor, &buffer, 4)
| `- error: cannot find 'read' in scope
21 | guard bytesRead > 0 else { return nil }
22 | if bytesRead == 1 {
BUILD FAILURE 6.2 android