Build Information
Failed to build tui-fuzzy-finder, reference main (389e78
), with Swift 6.2 (beta) for Android on 22 Jun 2025 20:45:05 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/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 389e789 Use release 2.6.3 of swift-service-lifecycle
Cloned https://github.com/juri/tui-fuzzy-finder.git
Revision (git rev-parse @):
389e789ffaf6ef1e68091b4fe886cf94ee819587
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-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-async-algorithms
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-argument-parser
[1/2426] Fetching swift-service-lifecycle
[50/7411] Fetching swift-service-lifecycle, swift-async-algorithms
[5867/22791] Fetching swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.80s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.80s)
[3076/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.31s)
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 (0.83s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.69s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.68s)
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.0
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/24] Write sources
[11/24] Write swift-version-8C5A4AE7A8CE2BA.txt
[13/43] Compiling InternalCollectionsUtilities Descriptions.swift
[14/43] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/44] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[16/44] Compiling InternalCollectionsUtilities UInt+reversed.swift
[17/44] Emitting module InternalCollectionsUtilities
[18/44] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/44] Compiling InternalCollectionsUtilities Integer rank.swift
[20/44] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/44] Compiling ConcurrencyHelpers LockedValueBox.swift
[22/44] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/44] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/44] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/44] Compiling InternalCollectionsUtilities Debugging.swift
[26/44] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/44] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/44] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/45] Wrapping AST for InternalCollectionsUtilities for debugging
[31/115] Compiling OrderedCollections _HashTable+Constants.swift
[32/115] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[33/115] Emitting module ArgumentParserToolInfo
[34/115] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/118] Compiling DequeModule _DequeBuffer.swift
[37/118] Compiling DequeModule _DequeBufferHeader.swift
[37/146] Wrapping AST for ArgumentParserToolInfo for debugging
[39/156] Compiling ArgumentParser NameSpecification.swift
[40/156] Compiling ArgumentParser Option.swift
[41/156] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/156] Compiling ArgumentParser CompletionsGenerator.swift
[43/156] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[44/156] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[45/156] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[46/156] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[47/156] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[48/156] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[49/156] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[50/163] Compiling ArgumentParser CommandConfiguration.swift
[51/163] Compiling ArgumentParser CommandGroup.swift
[52/163] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/163] Compiling ArgumentParser ZshCompletionsGenerator.swift
[54/163] Compiling ArgumentParser OptionGroup.swift
[55/163] Compiling ArgumentParser AsyncParsableCommand.swift
[56/163] Compiling ArgumentParser ParsedValues.swift
[57/163] Compiling ArgumentParser ParserError.swift
[58/163] Compiling ArgumentParser SplitArguments.swift
[59/163] Compiling ArgumentParser ArgumentDefinition.swift
[60/163] Compiling ArgumentParser ArgumentSet.swift
[61/163] Compiling ArgumentParser CommandParser.swift
[62/163] Compiling ArgumentParser InputKey.swift
[63/163] Compiling ArgumentParser InputOrigin.swift
[64/163] Compiling ArgumentParser EnumerableFlag.swift
[65/163] Compiling ArgumentParser ExpressibleByArgument.swift
[66/163] Compiling ArgumentParser ParsableArguments.swift
[67/163] Compiling ArgumentParser ParsableArgumentsValidation.swift
[68/163] Compiling ArgumentParser ParsableCommand.swift
[69/163] Compiling ArgumentParser ArgumentDecoder.swift
[70/163] Compiling ArgumentParser Name.swift
[71/163] Compiling ArgumentParser Parsed.swift
[72/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[73/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[74/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[75/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[76/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[77/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[78/163] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[81/163] Compiling ArgumentParser Argument.swift
[82/163] Compiling ArgumentParser ArgumentHelp.swift
[87/163] Compiling ArgumentParser DumpHelpGenerator.swift
[88/163] Compiling ArgumentParser HelpCommand.swift
[89/163] Compiling ArgumentParser HelpGenerator.swift
[90/163] Compiling ArgumentParser MessageInfo.swift
[91/163] Compiling ArgumentParser UsageGenerator.swift
[92/163] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[93/163] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[94/163] Compiling OrderedCollections OrderedDictionary+Values.swift
[95/163] Compiling ArgumentParser ArgumentVisibility.swift
[96/163] Compiling ArgumentParser CompletionKind.swift
[97/163] Emitting module DequeModule
[98/164] Wrapping AST for DequeModule for debugging
[100/164] Emitting module ConcurrencyHelpers
[101/164] Compiling ConcurrencyHelpers Lock.swift
[102/165] Wrapping AST for ConcurrencyHelpers for debugging
[104/168] Compiling OrderedCollections OrderedSet+Sendable.swift
[105/168] Compiling OrderedCollections OrderedSet+SubSequence.swift
[106/168] Compiling OrderedCollections OrderedSet+Testing.swift
[107/168] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[108/168] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[109/168] Compiling OrderedCollections OrderedSet.swift
[110/168] Compiling OrderedCollections _UnsafeBitset.swift
[113/168] Compiling ArgumentParser Errors.swift
[114/168] Compiling ArgumentParser Flag.swift
[119/168] Emitting module OrderedCollections
[121/169] Compiling UnixSignals UnixSignal.swift
[122/169] Emitting module UnixSignals
[123/169] Compiling UnixSignals UnixSignalsSequence.swift
[124/170] Wrapping AST for OrderedCollections for debugging
[126/215] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[127/215] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[128/215] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[129/215] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[130/215] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[130/220] Wrapping AST for UnixSignals for debugging
[132/220] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[133/220] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[134/220] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[135/220] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[136/220] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[137/220] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[141/220] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[142/220] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[143/220] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[144/226] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[145/226] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[146/226] Compiling AsyncAlgorithms AsyncChannel.swift
[147/226] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[148/226] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[149/226] Compiling ArgumentParser CollectionExtensions.swift
[150/226] Compiling ArgumentParser Platform.swift
[151/226] Compiling ArgumentParser SequenceExtensions.swift
[152/226] Compiling ArgumentParser StringExtensions.swift
[153/226] Compiling ArgumentParser Tree.swift
[158/226] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[159/226] Compiling AsyncAlgorithms Rethrow.swift
[160/226] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[161/226] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[162/226] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[163/226] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[164/226] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[165/226] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[166/226] Emitting module ArgumentParser
[174/226] Emitting module AsyncAlgorithms
[183/226] Compiling AsyncAlgorithms DebounceStateMachine.swift
[184/226] Compiling AsyncAlgorithms DebounceStorage.swift
[185/226] Compiling AsyncAlgorithms Dictionary.swift
[186/226] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[187/226] Compiling AsyncAlgorithms Locking.swift
[191/226] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[192/226] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[199/226] Compiling AsyncAlgorithms ChannelStateMachine.swift
[200/226] Compiling AsyncAlgorithms ChannelStorage.swift
[201/226] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[202/226] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[203/226] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[205/226] Compiling AsyncAlgorithms SetAlgebra.swift
[206/226] Compiling AsyncAlgorithms UnsafeTransfer.swift
[207/226] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[208/226] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[209/226] Compiling AsyncAlgorithms ZipStateMachine.swift
[210/226] Compiling AsyncAlgorithms ZipStorage.swift
[211/227] Wrapping AST for AsyncAlgorithms for debugging
[223/237] Wrapping AST for ArgumentParser for debugging
[225/237] 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 | }
[226/238] Compiling FuzzyTUI TerminalKey.swift
[227/238] Compiling FuzzyTUI AsyncArray.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[228/238] 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) {
[229/238] Compiling FuzzyTUI ANSIControlCode.swift
[230/238] Compiling FuzzyTUI Appearance.swift
[231/238] Compiling FuzzyTUI ViewState.swift
[232/238] 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 | }
[233/238] 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 {
[234/238] 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)
BUILD FAILURE 6.2 android