Build Information
Failed to build tui-fuzzy-finder, reference main (065d7e
), with Swift 6.1 for Android on 20 Aug 2025 21:27:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.1
Building package at path: $PWD
https://github.com/juri/tui-fuzzy-finder.git
https://github.com/juri/tui-fuzzy-finder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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
[2143/7566] Fetching swift-service-lifecycle, swift-async-algorithms
[7519/23255] Fetching swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms from cache (0.62s)
[3170/18122] Fetching swift-service-lifecycle, swift-argument-parser
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.62s)
[942/15689] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.38s)
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.29s)
Fetching https://github.com/apple/swift-log.git
[1/3897] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.66s)
Fetching https://github.com/apple/swift-collections.git
[1/17354] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (13.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (14.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.40s)
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-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-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
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/25] Write sources
[12/25] Write swift-version-24593BA9C3E375BF.txt
[14/44] Emitting module ConcurrencyHelpers
[15/44] Compiling ConcurrencyHelpers LockedValueBox.swift
[16/44] Compiling InternalCollectionsUtilities Descriptions.swift
[17/44] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/45] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/45] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/45] Compiling InternalCollectionsUtilities Debugging.swift
[21/45] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/45] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/45] Emitting module ArgumentParserToolInfo
[24/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/46] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[26/46] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[27/46] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[28/46] Compiling InternalCollectionsUtilities UInt+reversed.swift
[30/46] Emitting module InternalCollectionsUtilities
[31/46] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/46] Compiling InternalCollectionsUtilities Integer rank.swift
[33/46] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/48] Wrapping AST for ArgumentParserToolInfo for debugging
[35/161] Wrapping AST for InternalCollectionsUtilities for debugging
[37/161] Compiling DequeModule Deque+CustomReflectable.swift
[38/161] Compiling OrderedCollections _HashTable+BucketIterator.swift
[39/163] Compiling DequeModule Deque+Equatable.swift
[40/163] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[41/163] Compiling DequeModule Deque+Codable.swift
[42/163] Compiling DequeModule Deque+Collection.swift
[43/163] Compiling DequeModule Deque+Extras.swift
[44/163] Compiling DequeModule Deque+Hashable.swift
[45/163] Compiling DequeModule _DequeBuffer.swift
[46/163] Compiling DequeModule _DequeBufferHeader.swift
[47/163] Compiling DequeModule _DequeSlot.swift
[48/163] Compiling DequeModule _UnsafeWrappedBuffer.swift
[51/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[52/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[53/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[54/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[55/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[56/170] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[57/170] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[60/170] Compiling DequeModule Deque._UnsafeHandle.swift
[61/170] Compiling DequeModule Deque.swift
[62/170] Compiling DequeModule Deque+Testing.swift
[63/170] Compiling DequeModule Deque._Storage.swift
[66/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[67/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[68/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[69/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[70/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[71/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[72/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[73/170] Compiling OrderedCollections OrderedSet+Initializers.swift
[74/170] Compiling OrderedCollections OrderedSet+Insertions.swift
[75/170] Compiling OrderedCollections OrderedSet+Invariants.swift
[76/170] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[77/170] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[78/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[79/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[80/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[81/170] Compiling OrderedCollections OrderedDictionary.swift
[82/170] Compiling OrderedCollections OrderedSet+Codable.swift
[83/170] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[84/170] Compiling OrderedCollections OrderedSet+Descriptions.swift
[85/170] Compiling OrderedCollections OrderedSet+Diffing.swift
[86/170] Compiling OrderedCollections OrderedSet+Equatable.swift
[87/170] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[88/170] Compiling OrderedCollections OrderedSet+Hashable.swift
[89/170] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[90/170] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[91/170] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[92/170] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[93/170] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[94/170] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[95/170] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[96/170] Compiling OrderedCollections OrderedDictionary+Values.swift
[99/170] Emitting module DequeModule
[109/171] Compiling ConcurrencyHelpers Lock.swift
[110/172] Compiling OrderedCollections OrderedSet+Sendable.swift
[111/172] Compiling OrderedCollections OrderedSet+SubSequence.swift
[112/172] Compiling OrderedCollections OrderedSet+Testing.swift
[113/172] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[114/172] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[115/172] Compiling OrderedCollections OrderedSet.swift
[116/172] Compiling OrderedCollections _UnsafeBitset.swift
[117/172] Wrapping AST for DequeModule for debugging
[118/172] Wrapping AST for ConcurrencyHelpers for debugging
[120/175] Emitting module OrderedCollections
[128/182] Compiling UnixSignals UnixSignal.swift
[129/182] Emitting module UnixSignals
[130/182] Compiling UnixSignals UnixSignalsSequence.swift
[130/183] Wrapping AST for OrderedCollections for debugging
[132/228] Wrapping AST for UnixSignals for debugging
[134/228] Compiling AsyncAlgorithms Rethrow.swift
[135/228] Compiling ArgumentParser CodingKeyValidator.swift
[136/228] Compiling ArgumentParser NonsenseFlagsValidator.swift
[137/228] Compiling ArgumentParser ParsableArgumentsValidation.swift
[138/228] Compiling ArgumentParser PositionalArgumentsValidator.swift
[139/228] Compiling ArgumentParser UniqueNamesValidator.swift
[140/228] Emitting module AsyncAlgorithms
[141/234] Emitting module ArgumentParser
[142/234] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[143/234] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[144/234] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[145/234] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[146/234] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[147/234] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[148/234] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[149/234] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[150/234] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[151/234] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[152/234] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[153/234] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[154/234] Compiling AsyncAlgorithms AsyncChannel.swift
[155/234] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[156/234] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[157/234] Compiling AsyncAlgorithms MergeStateMachine.swift
[158/234] Compiling AsyncAlgorithms MergeStorage.swift
[159/234] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[168/234] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[169/234] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[170/234] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[171/234] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[172/234] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[173/234] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[175/234] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[176/234] Compiling AsyncAlgorithms DebounceStateMachine.swift
[177/234] Compiling AsyncAlgorithms DebounceStorage.swift
[178/234] Compiling AsyncAlgorithms Dictionary.swift
[179/234] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[180/234] Compiling AsyncAlgorithms Locking.swift
[181/234] Compiling AsyncAlgorithms CombineLatestStorage.swift
[193/234] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[194/234] Compiling AsyncAlgorithms ChannelStateMachine.swift
[195/234] Compiling AsyncAlgorithms ChannelStorage.swift
[196/234] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[197/234] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[198/234] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[199/234] Compiling AsyncAlgorithms SetAlgebra.swift
[200/234] Compiling AsyncAlgorithms UnsafeTransfer.swift
[201/234] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[202/234] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[203/234] Compiling AsyncAlgorithms ZipStateMachine.swift
[204/234] Compiling AsyncAlgorithms ZipStorage.swift
[210/234] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[217/234] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[218/234] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[219/234] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[220/234] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[221/234] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[230/236] Wrapping AST for AsyncAlgorithms for debugging
[231/236] Wrapping AST for ArgumentParser for debugging
[233/245] Compiling FuzzyTUI TerminalKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[234/246] Compiling FuzzyTUI TerminalSize.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[237/246] Compiling FuzzyTUI Appearance.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[238/246] Emitting module FuzzyTUI
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[240/246] Compiling FuzzyTUI KeyReader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
[241/246] Compiling FuzzyTUI AsyncArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[242/246] Compiling FuzzyTUI TTY.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/15] Write swift-version-24593BA9C3E375BF.txt
[4/34] Compiling ConcurrencyHelpers LockedValueBox.swift
[5/34] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/35] Emitting module ArgumentParserToolInfo
[7/35] Compiling InternalCollectionsUtilities Descriptions.swift
[8/35] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/35] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[10/35] Compiling InternalCollectionsUtilities Debugging.swift
[11/35] Emitting module ConcurrencyHelpers
[12/35] Compiling ConcurrencyHelpers Lock.swift
[13/36] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[16/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[17/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[18/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[19/35] Emitting module InternalCollectionsUtilities
[20/35] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/35] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/35] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/35] Compiling InternalCollectionsUtilities Integer rank.swift
[25/39] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/40] Emitting module UnixSignals
[26/40] Wrapping AST for InternalCollectionsUtilities for debugging
[28/40] Compiling UnixSignals UnixSignal.swift
[29/40] Compiling UnixSignals UnixSignalsSequence.swift
[32/109] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[33/109] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[34/112] Compiling OrderedCollections _HashTable+Bucket.swift
[35/112] Compiling OrderedCollections _HashTable+BucketIterator.swift
[36/112] Compiling OrderedCollections _HashTable+Testing.swift
[37/112] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[38/155] Compiling ArgumentParser SequenceExtensions.swift
[39/155] Compiling ArgumentParser StringExtensions.swift
[40/155] Compiling ArgumentParser SwiftExtensions.swift
[41/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[42/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[43/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[44/155] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[45/162] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[46/162] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[47/162] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[48/162] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[49/162] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[50/162] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[51/162] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[52/162] Compiling ArgumentParser DumpHelpGenerator.swift
[53/162] Compiling ArgumentParser HelpCommand.swift
[54/162] Compiling ArgumentParser HelpGenerator.swift
[55/162] Compiling ArgumentParser MessageInfo.swift
[56/162] Compiling ArgumentParser UsageGenerator.swift
[57/162] Compiling ArgumentParser CollectionExtensions.swift
[58/162] Compiling ArgumentParser Mutex.swift
[59/162] Compiling ArgumentParser Platform.swift
[60/162] Compiling ArgumentParser AsyncParsableCommand.swift
[61/162] Compiling ArgumentParser CommandConfiguration.swift
[62/162] Compiling ArgumentParser CommandGroup.swift
[63/162] Compiling ArgumentParser EnumerableFlag.swift
[64/162] Compiling ArgumentParser ExpressibleByArgument.swift
[65/162] Compiling ArgumentParser InputKey.swift
[66/162] Compiling ArgumentParser InputOrigin.swift
[67/162] Compiling ArgumentParser Name.swift
[68/162] Compiling ArgumentParser Parsed.swift
[69/162] Compiling ArgumentParser ParsedValues.swift
[70/162] Compiling ArgumentParser ParserError.swift
[71/162] Compiling ArgumentParser ParsableArguments.swift
[72/162] Compiling ArgumentParser ParsableCommand.swift
[73/162] Compiling ArgumentParser ArgumentDecoder.swift
[74/162] Compiling ArgumentParser ArgumentDefinition.swift
[75/162] Compiling ArgumentParser ArgumentSet.swift
[76/162] Compiling ArgumentParser CommandParser.swift
[77/162] Compiling ArgumentParser SplitArguments.swift
[78/162] Compiling ArgumentParser FishCompletionsGenerator.swift
[79/162] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/162] Compiling ArgumentParser Argument.swift
[81/162] Compiling ArgumentParser ArgumentDiscussion.swift
[82/162] Compiling ArgumentParser ArgumentHelp.swift
[83/162] Compiling ArgumentParser OptionGroup.swift
[88/162] Compiling ArgumentParser BashCompletionsGenerator.swift
[89/162] Compiling ArgumentParser CompletionsGenerator.swift
[92/162] Compiling ArgumentParser Errors.swift
[93/162] Compiling ArgumentParser Flag.swift
[94/162] Emitting module DequeModule
[101/169] Wrapping AST for DequeModule for debugging
[103/169] Compiling ArgumentParser ArgumentVisibility.swift
[104/169] Compiling ArgumentParser CompletionKind.swift
[107/169] Compiling ArgumentParser NameSpecification.swift
[108/169] Compiling ArgumentParser Option.swift
[117/169] Compiling ArgumentParser Tree.swift
[118/169] Compiling ArgumentParser CodingKeyValidator.swift
[119/169] Compiling ArgumentParser NonsenseFlagsValidator.swift
[120/169] Compiling ArgumentParser ParsableArgumentsValidation.swift
[121/169] Compiling ArgumentParser PositionalArgumentsValidator.swift
[122/169] Compiling ArgumentParser UniqueNamesValidator.swift
[123/169] Compiling OrderedCollections OrderedSet+Sendable.swift
[124/169] Compiling OrderedCollections OrderedSet+SubSequence.swift
[125/169] Compiling OrderedCollections OrderedSet+Testing.swift
[126/169] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[127/169] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[128/169] Compiling OrderedCollections OrderedSet.swift
[129/169] Compiling OrderedCollections _UnsafeBitset.swift
[130/169] Emitting module OrderedCollections
[131/170] Wrapping AST for OrderedCollections for debugging
[133/215] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[134/215] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[135/215] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[136/215] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[137/215] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[138/215] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[139/215] Emitting module ArgumentParser
[140/215] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[141/215] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[142/215] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[143/215] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[144/215] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[145/215] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[146/215] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[147/215] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[148/215] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[149/215] Compiling AsyncAlgorithms MergeStateMachine.swift
[150/215] Compiling AsyncAlgorithms MergeStorage.swift
[151/215] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[152/215] Compiling AsyncAlgorithms Rethrow.swift
[166/221] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[167/221] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[168/221] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[169/221] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[170/221] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[171/221] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[172/221] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[173/221] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[174/221] Compiling AsyncAlgorithms DebounceStateMachine.swift
[175/221] Compiling AsyncAlgorithms DebounceStorage.swift
[176/221] Compiling AsyncAlgorithms Dictionary.swift
[177/221] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[178/221] Compiling AsyncAlgorithms Locking.swift
[179/221] Emitting module AsyncAlgorithms
[181/221] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[182/221] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[183/221] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[184/221] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[185/221] Compiling AsyncAlgorithms AsyncChannel.swift
[191/221] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[192/221] Compiling AsyncAlgorithms ChannelStateMachine.swift
[193/221] Compiling AsyncAlgorithms ChannelStorage.swift
[194/221] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[195/221] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[196/221] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[197/221] Compiling AsyncAlgorithms CombineLatestStorage.swift
[211/222] Compiling AsyncAlgorithms SetAlgebra.swift
[212/222] Compiling AsyncAlgorithms UnsafeTransfer.swift
[213/222] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[214/222] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[215/222] Compiling AsyncAlgorithms ZipStateMachine.swift
[216/222] Compiling AsyncAlgorithms ZipStorage.swift
[218/230] 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 | }
[219/231] Compiling FuzzyTUI TerminalKey.swift
[220/231] Compiling FuzzyTUI ANSIControlCode.swift
[221/231] Compiling FuzzyTUI Appearance.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[222/231] 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) {
[223/231] 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)
[224/231] Compiling FuzzyTUI AsyncArray.swift
[225/231] Compiling FuzzyTUI ViewState.swift
[226/231] 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 {
[227/231] 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 | }
BUILD FAILURE 6.1 android