The Swift Package Index logo.Swift Package Index

Build Information

Failed to build tui-fuzzy-finder, reference main (51b1bb), with Swift 6.3 for Android on 17 Apr 2026 08:40:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 51b1bb7 terminal-input: Bump to 0.1.0
Cloned https://github.com/juri/tui-fuzzy-finder.git
Revision (git rev-parse @):
51b1bb71680db1dc3916953d4c50612972d0ea5f
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.3
Building package at path:  $PWD
https://github.com/juri/tui-fuzzy-finder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/juri/terminal-ansi
Fetching https://github.com/juri/terminal-input
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2734] Fetching swift-service-lifecycle
[56/8975] Fetching swift-service-lifecycle, swift-async-algorithms
[1568/9107] Fetching swift-service-lifecycle, swift-async-algorithms, terminal-input
[2054/9691] Fetching swift-service-lifecycle, swift-async-algorithms, terminal-input, terminal-ansi
[3414/27214] Fetching swift-service-lifecycle, swift-async-algorithms, terminal-input, terminal-ansi, swift-argument-parser
Fetched https://github.com/juri/terminal-input from cache (0.74s)
[6341/27082] Fetching swift-service-lifecycle, swift-async-algorithms, terminal-ansi, swift-argument-parser
Fetched https://github.com/juri/terminal-ansi from cache (1.25s)
[20365/26498] Fetching swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms from cache (1.25s)
[14300/20257] Fetching swift-service-lifecycle, swift-argument-parser
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.09s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.12s)
Computing version for https://github.com/juri/terminal-input
Computed https://github.com/juri/terminal-input at 0.1.0 (2.87s)
Computing version for https://github.com/juri/terminal-ansi
Computed https://github.com/juri/terminal-ansi at 0.3.0 (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.07s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.55s)
Fetching https://github.com/apple/swift-log.git
[1/6622] 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.1.3 (1.43s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (4.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.94s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.12.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/juri/terminal-input
Working copy of https://github.com/juri/terminal-input resolved at 0.1.0
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.11.0
Creating working copy for https://github.com/juri/terminal-ansi
Working copy of https://github.com/juri/terminal-ansi resolved at 0.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/32] Write sources
[15/32] Write swift-version--4F562202D5529B1.txt
[16/32] Compiling CSelect select.c
[18/66] Emitting module ArgumentParserToolInfo
[19/66] Emitting module InternalCollectionsUtilities
[20/68] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[21/68] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[22/68] Compiling InternalCollectionsUtilities Debugging.swift
[23/68] Compiling InternalCollectionsUtilities Descriptions.swift
[24/68] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[25/68] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[26/68] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/68] Compiling InternalCollectionsUtilities Span+Extras.swift
[28/68] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/68] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/68] Compiling ConcurrencyHelpers LockedValueBox.swift
[33/68] Compiling TerminalInput TerminalKey.swift
[34/68] Compiling InternalCollectionsUtilities String+Padding.swift
[35/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[36/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[37/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[38/68] Compiling InternalCollectionsUtilities Integer rank.swift
[39/68] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[40/68] Compiling InternalCollectionsUtilities UInt+reversed.swift
[42/69] Emitting module TerminalANSI
[43/69] Compiling TerminalANSI Color.swift
[44/69] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/70] Wrapping AST for InternalCollectionsUtilities for debugging
[46/70] Wrapping AST for ArgumentParserToolInfo for debugging
[48/204] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[49/204] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[50/204] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[51/204] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[52/204] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[53/204] Compiling OrderedCollections OrderedSet+Descriptions.swift
[54/204] Compiling OrderedCollections OrderedSet+Diffing.swift
[55/204] Compiling OrderedCollections OrderedSet+Equatable.swift
[56/204] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[57/204] Compiling OrderedCollections OrderedDictionary+Elements.swift
[58/204] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[59/204] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[60/204] Compiling OrderedCollections _HashTable+Bucket.swift
[61/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[62/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[63/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[64/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[65/204] Compiling OrderedCollections OrderedDictionary+Codable.swift
[66/204] Compiling OrderedCollections OrderedSet+Hashable.swift
[67/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[68/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[69/204] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[70/204] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[71/204] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[72/204] Compiling OrderedCollections OrderedDictionary+Values.swift
[73/204] Compiling OrderedCollections OrderedDictionary.swift
[74/204] Compiling OrderedCollections OrderedSet+Codable.swift
[75/208] Emitting module ContainersPreview
[76/208] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[77/208] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[78/208] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[79/208] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[80/208] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[81/208] Compiling ContainersPreview Box.swift
[82/208] Compiling ContainersPreview Inout.swift
[83/208] Compiling ContainersPreview InputSpan.swift
[84/208] Compiling ContainersPreview Shared.swift
[92/216] Wrapping AST for ContainersPreview for debugging
[102/256] Compiling DequeModule Deque+Codable.swift
[103/256] Compiling DequeModule Deque+Collection.swift
[104/256] Compiling DequeModule Deque+CustomReflectable.swift
[105/256] Compiling DequeModule Deque+Descriptions.swift
[106/256] Compiling DequeModule Deque+Equatable.swift
[107/256] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[108/256] Compiling DequeModule Deque+Extras.swift
[109/256] Compiling DequeModule Deque+Hashable.swift
[110/256] Compiling DequeModule RigidDeque+Experimental.swift
[111/256] Compiling DequeModule RigidDeque+Hashable.swift
[112/256] Compiling DequeModule RigidDeque+Initializers.swift
[113/256] Compiling DequeModule RigidDeque+Insertions.swift
[114/256] Compiling DequeModule RigidDeque+Prepend.swift
[115/256] Compiling DequeModule RigidDeque+Removals.swift
[116/256] Compiling DequeModule RigidDeque+Replacements.swift
[117/256] Compiling DequeModule RigidDeque+Testing.swift
[118/256] Compiling DequeModule _DequeBuffer.swift
[119/256] Compiling DequeModule _DequeBufferHeader.swift
[120/256] Compiling DequeModule RigidDeque+Append.swift
[121/256] Compiling DequeModule RigidDeque+Consumption.swift
[122/256] Compiling DequeModule RigidDeque+Container.swift
[123/256] Compiling DequeModule RigidDeque+Descriptions.swift
[127/256] Compiling DequeModule RigidDeque.swift
[128/256] Compiling DequeModule UniqueDeque+Append.swift
[129/261] Compiling DequeModule UniqueDeque+Consumption.swift
[130/261] Compiling DequeModule UniqueDeque+Container.swift
[131/261] Compiling DequeModule UniqueDeque+Descriptions.swift
[132/261] Compiling DequeModule UniqueDeque+Equatable.swift
[133/261] Compiling DequeModule UniqueDeque+Experimental.swift
[134/261] Compiling DequeModule UniqueDeque+Hashable.swift
[135/261] Compiling DequeModule UniqueDeque+Initializers.swift
[136/261] Compiling DequeModule UniqueDeque+Insertions.swift
[137/261] Compiling DequeModule UniqueDeque+Prepend.swift
[138/261] Compiling DequeModule UniqueDeque+Removals.swift
[139/261] Compiling DequeModule RigidDeque+Equatable.swift
[145/261] Compiling DequeModule UniqueDeque+Replacements.swift
[146/261] Compiling DequeModule UniqueDeque.swift
[147/261] Compiling DequeModule _DequeSlot.swift
[148/261] Compiling DequeModule _UnsafeDequeHandle.swift
[149/261] Compiling DequeModule _UnsafeDequeSegments.swift
[150/261] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[151/261] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[152/261] Compiling OrderedCollections OrderedSet+Initializers.swift
[153/261] Compiling OrderedCollections OrderedSet+Insertions.swift
[154/261] Compiling OrderedCollections OrderedSet+Invariants.swift
[155/261] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[156/261] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[157/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[158/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[159/261] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[174/261] Emitting module OrderedCollections
[175/261] Compiling OrderedCollections OrderedSet+Sendable.swift
[176/261] Compiling OrderedCollections OrderedSet+SubSequence.swift
[177/261] Compiling OrderedCollections OrderedSet+Testing.swift
[178/261] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[179/261] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[180/261] Compiling OrderedCollections OrderedSet.swift
[181/261] Compiling OrderedCollections _UnsafeBitset.swift
[182/262] Wrapping AST for OrderedCollections for debugging
[186/262] Compiling DequeModule Deque+Testing.swift
[187/262] Compiling DequeModule Deque._Storage.swift
[188/262] Compiling DequeModule Deque._UnsafeHandle.swift
[189/262] Compiling DequeModule Deque.swift
[190/262] Emitting module ConcurrencyHelpers
[191/262] Compiling ConcurrencyHelpers Lock.swift
[192/266] Wrapping AST for ConcurrencyHelpers for debugging
[194/266] Compiling TerminalANSI Terminal.swift
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Terminal.swift:34:15: error: cannot find 'isatty' in scope
 32 |         fileHandle: FileHandle
 33 |     ) {
 34 |         guard isatty(fileHandle.fileDescriptor) == 1 else { return nil }
    |               `- error: cannot find 'isatty' in scope
 35 |         self.environment = environment ?? ProcessInfo.processInfo.environment
 36 |         self.fileHandle = fileHandle
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Terminal.swift:41:9: error: cannot find 'tcflush' in scope
 39 |     public func close() throws {
 40 |         try self.fileHandle.synchronize()
 41 |         tcflush(self.fileHandle.fileDescriptor, TCOFLUSH)
    |         `- error: cannot find 'tcflush' in scope
 42 |         try self.fileHandle.close()
 43 |     }
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Terminal.swift:41:49: error: cannot find 'TCOFLUSH' in scope
 39 |     public func close() throws {
 40 |         try self.fileHandle.synchronize()
 41 |         tcflush(self.fileHandle.fileDescriptor, TCOFLUSH)
    |                                                 `- error: cannot find 'TCOFLUSH' in scope
 42 |         try self.fileHandle.close()
 43 |     }
[195/266] Compiling TerminalANSI Inspect.swift
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:159:27: error: cannot find 'termios' in scope
157 |     }
158 |
159 |     var originalTermios = termios()
    |                           `- error: cannot find 'termios' in scope
160 |     if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
161 |         throw .callFailure(.tcgetattr, errno: errno)
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:160:8: error: cannot find 'tcgetattr' in scope
158 |
159 |     var originalTermios = termios()
160 |     if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
    |        `- error: cannot find 'tcgetattr' in scope
161 |         throw .callFailure(.tcgetattr, errno: errno)
162 |     }
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:161:47: error: cannot find 'errno' in scope
159 |     var originalTermios = termios()
160 |     if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
161 |         throw .callFailure(.tcgetattr, errno: errno)
    |                                               `- error: cannot find 'errno' in scope
162 |     }
163 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:165:9: error: cannot find 'tcsetattr' in scope
163 |
164 |     defer {
165 |         tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &originalTermios)
    |         `- error: cannot find 'tcsetattr' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:165:46: error: cannot find 'TCSAFLUSH' in scope
163 |
164 |     defer {
165 |         tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &originalTermios)
    |                                              `- error: cannot find 'TCSAFLUSH' in scope
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:169:23: error: cannot find 'tcflag_t' in scope
167 |
168 |     var noEcho = originalTermios
169 |     noEcho.c_lflag ^= tcflag_t(ECHO)
    |                       `- error: cannot find 'tcflag_t' in scope
170 |     noEcho.c_lflag ^= tcflag_t(ICANON)
171 |
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:169:32: error: cannot find 'ECHO' in scope
167 |
168 |     var noEcho = originalTermios
169 |     noEcho.c_lflag ^= tcflag_t(ECHO)
    |                                `- error: cannot find 'ECHO' in scope
170 |     noEcho.c_lflag ^= tcflag_t(ICANON)
171 |
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:170:23: error: cannot find 'tcflag_t' in scope
168 |     var noEcho = originalTermios
169 |     noEcho.c_lflag ^= tcflag_t(ECHO)
170 |     noEcho.c_lflag ^= tcflag_t(ICANON)
    |                       `- error: cannot find 'tcflag_t' in scope
171 |
172 |     tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &noEcho)
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:170:32: error: cannot find 'ICANON' in scope
168 |     var noEcho = originalTermios
169 |     noEcho.c_lflag ^= tcflag_t(ECHO)
170 |     noEcho.c_lflag ^= tcflag_t(ICANON)
    |                                `- error: cannot find 'ICANON' in scope
171 |
172 |     tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &noEcho)
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:172:5: error: cannot find 'tcsetattr' in scope
170 |     noEcho.c_lflag ^= tcflag_t(ICANON)
171 |
172 |     tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &noEcho)
    |     `- error: cannot find 'tcsetattr' in scope
173 |
174 |     // first, send OSC query, which is ignored by terminal which do not support it
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:172:42: error: cannot find 'TCSAFLUSH' in scope
170 |     noEcho.c_lflag ^= tcflag_t(ICANON)
171 |
172 |     tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &noEcho)
    |                                          `- error: cannot find 'TCSAFLUSH' in scope
173 |
174 |     // first, send OSC query, which is ignored by terminal which do not support it
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:209:25: error: cannot find 'errno' in scope
207 |
208 |         if result == -1 {
209 |             let error = errno
    |                         `- error: cannot find 'errno' in scope
210 |             if error == EINTR {
211 |                 continue  // Interrupted by signal, retry
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:293:11: error: cannot find 'ioctl' in scope
291 | func isForeground(fileHandle: FileHandle) -> Bool {
292 |     var pgrp = pid_t()
293 |     guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGPGRP), &pgrp) > -1 else { return false }
    |           `- error: cannot find 'ioctl' in scope
294 |     return pgrp == getpgrp()
295 | }
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:293:49: error: cannot find 'TIOCGPGRP' in scope
291 | func isForeground(fileHandle: FileHandle) -> Bool {
292 |     var pgrp = pid_t()
293 |     guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGPGRP), &pgrp) > -1 else { return false }
    |                                                 `- error: cannot find 'TIOCGPGRP' in scope
294 |     return pgrp == getpgrp()
295 | }
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Inspect.swift:294:20: error: cannot find 'getpgrp' in scope
292 |     var pgrp = pid_t()
293 |     guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGPGRP), &pgrp) > -1 else { return false }
294 |     return pgrp == getpgrp()
    |                    `- error: cannot find 'getpgrp' in scope
295 | }
296 |
[196/266] Compiling TerminalANSI Size.swift
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Size.swift:19:17: error: cannot find 'winsize' in scope
17 |     @MainActor
18 |     public static func current(fileHandle: FileHandle) throws(TerminalReadFailure) -> Self {
19 |         var w = winsize()
   |                 `- error: cannot find 'winsize' in scope
20 |         guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGWINSZ), &w) >= 0 else {
21 |             throw .callFailure(.ioctl, errno: errno)
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Size.swift:20:15: error: cannot find 'ioctl' in scope
18 |     public static func current(fileHandle: FileHandle) throws(TerminalReadFailure) -> Self {
19 |         var w = winsize()
20 |         guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGWINSZ), &w) >= 0 else {
   |               `- error: cannot find 'ioctl' in scope
21 |             throw .callFailure(.ioctl, errno: errno)
22 |         }
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Size.swift:20:53: error: cannot find 'TIOCGWINSZ' in scope
18 |     public static func current(fileHandle: FileHandle) throws(TerminalReadFailure) -> Self {
19 |         var w = winsize()
20 |         guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGWINSZ), &w) >= 0 else {
   |                                                     `- error: cannot find 'TIOCGWINSZ' in scope
21 |             throw .callFailure(.ioctl, errno: errno)
22 |         }
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/Size.swift:21:47: error: cannot find 'errno' in scope
19 |         var w = winsize()
20 |         guard ioctl(fileHandle.fileDescriptor, UInt(TIOCGWINSZ), &w) >= 0 else {
21 |             throw .callFailure(.ioctl, errno: errno)
   |                                               `- error: cannot find 'errno' in scope
22 |         }
23 |         return TerminalSize(height: Int(w.ws_row), width: Int(w.ws_col))
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[197/266] Compiling TerminalANSI ANSIControlCode.swift
[198/266] Compiling TerminalANSI ColorMode.swift
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/ColorMode.swift:25:15: error: cannot find 'isatty' in scope
23 |         fileHandle: FileHandle,
24 |     ) -> ColorMode {
25 |         guard isatty(fileHandle.fileDescriptor) == 1 else { return .noColor }
   |               `- error: cannot find 'isatty' in scope
26 |         return self.current(environment: environment ?? ProcessInfo.processInfo.environment)
27 |     }
[199/266] Compiling TerminalANSI EnvironmentColorMode.swift
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/EnvironmentColorMode.swift:56:13: error: cannot find 'isatty' in scope
54 |             false
55 |         case .enable:
56 |             isatty(fileHandle.fileDescriptor) == 1
   |             `- error: cannot find 'isatty' in scope
57 |         case .force:
58 |             true
/host/spi-builder-workspace/.build/checkouts/terminal-ansi/Sources/TerminalANSI/EnvironmentColorMode.swift:60:13: error: cannot find 'isatty' in scope
58 |             true
59 |         case .none:
60 |             isatty(fileHandle.fileDescriptor) == 1
   |             `- error: cannot find 'isatty' in scope
61 |         }
62 |     }
[200/266] Compiling UnixSignals UnixSignal.swift
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:186:78: error: cannot find type 'termios' in scope
184 |
185 |     /// Set the terminal represented by `fileHandle` into raw mode.
186 |     public static func setRaw(fileHandle: FileHandle) throws(CallFailure) -> termios {
    |                                                                              `- error: cannot find type 'termios' in scope
187 |         var originalTermios = termios()
188 |
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:214:26: error: cannot find type 'termios' in scope
212 |     public static func unsetRaw(
213 |         fileHandle: FileHandle,
214 |         originalTermios: termios,
    |                          `- error: cannot find type 'termios' in scope
215 |     ) throws(CallFailure) {
216 |         var originalTermios = originalTermios
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:22:37: error: cannot find 'read' in scope
 20 |                 if bufferPoint < bufferSize {
 21 |                     var inputBuffer = [UInt8](repeating: 0, count: bufferSize - bufferPoint)
 22 |                     let bytesRead = read(fileHandle.fileDescriptor, &inputBuffer, bufferSize - bufferPoint)
    |                                     `- error: cannot find 'read' in scope
 23 |                     for byteIndex in 0..<bytesRead {
 24 |                         let byte = inputBuffer[byteIndex]
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:164:30: error: cannot find type 'termios' in scope
162 |         closure: (RawKeyReader) async throws(E) -> T
163 |     ) async throws(FailureInRawMode<E>) -> T {
164 |         let originalTermios: termios
    |                              `- error: cannot find type 'termios' in scope
165 |         do {
166 |             originalTermios = try self.setRaw(fileHandle: fileHandle)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:168:32: error: cannot convert value of type 'any Error' to expected argument type 'KeyReader.CallFailure'
166 |             originalTermios = try self.setRaw(fileHandle: fileHandle)
167 |         } catch {
168 |             throw .callFailure(error)
    |                                `- error: cannot convert value of type 'any Error' to expected argument type 'KeyReader.CallFailure'
169 |         }
170 |         let rawReader = RawKeyReader(fileHandle: fileHandle)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:180:32: error: cannot convert value of type 'any Error' to expected argument type 'KeyReader.CallFailure'
178 |             try self.unsetRaw(fileHandle: fileHandle, originalTermios: originalTermios)
179 |         } catch {
180 |             throw .callFailure(error)
    |                                `- error: cannot convert value of type 'any Error' to expected argument type 'KeyReader.CallFailure'
181 |         }
182 |         return value
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:187:31: error: cannot find 'termios' in scope
185 |     /// Set the terminal represented by `fileHandle` into raw mode.
186 |     public static func setRaw(fileHandle: FileHandle) throws(CallFailure) -> termios {
187 |         var originalTermios = termios()
    |                               `- error: cannot find 'termios' in scope
188 |
189 |         if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:189:12: error: cannot find 'tcgetattr' in scope
187 |         var originalTermios = termios()
188 |
189 |         if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
    |            `- error: cannot find 'tcgetattr' in scope
190 |             throw CallFailure(call: .tcgetattr, errno: errno)
191 |         }
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:190:56: error: cannot find 'errno' in scope
188 |
189 |         if tcgetattr(fileHandle.fileDescriptor, &originalTermios) == -1 {
190 |             throw CallFailure(call: .tcgetattr, errno: errno)
    |                                                        `- error: cannot find 'errno' in scope
191 |         }
192 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:195:25: error: cannot find 'tcflag_t' in scope
193 |         var raw = originalTermios
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                         `- error: cannot find 'tcflag_t' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:195:34: error: cannot find 'BRKINT' in scope
193 |         var raw = originalTermios
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                  `- error: cannot find 'BRKINT' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:195:43: error: cannot find 'ICRNL' in scope
193 |         var raw = originalTermios
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                           `- error: cannot find 'ICRNL' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:195:51: error: cannot find 'INPCK' in scope
193 |         var raw = originalTermios
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                   `- error: cannot find 'INPCK' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:195:59: error: cannot find 'ISTRIP' in scope
193 |         var raw = originalTermios
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                           `- error: cannot find 'ISTRIP' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:195:68: error: cannot find 'IXON' in scope
193 |         var raw = originalTermios
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                                    `- error: cannot find 'IXON' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:196:25: error: cannot find 'tcflag_t' in scope
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
    |                         `- error: cannot find 'tcflag_t' in scope
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:196:34: error: cannot find 'OPOST' in scope
194 |
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
    |                                  `- error: cannot find 'OPOST' in scope
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:197:24: error: cannot find 'tcflag_t' in scope
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
    |                        `- error: cannot find 'tcflag_t' in scope
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
199 |
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:197:33: error: cannot find 'CS8' in scope
195 |         raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
    |                                 `- error: cannot find 'CS8' in scope
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
199 |
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:198:25: error: cannot find 'tcflag_t' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                         `- error: cannot find 'tcflag_t' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:198:34: error: cannot find 'ECHO' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                  `- error: cannot find 'ECHO' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:198:41: error: cannot find 'ICANON' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                         `- error: cannot find 'ICANON' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:198:50: error: cannot find 'IEXTEN' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                                  `- error: cannot find 'IEXTEN' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:198:59: error: cannot find 'ISIG' in scope
196 |         raw.c_oflag &= ~tcflag_t(OPOST)
197 |         raw.c_cflag |= tcflag_t(CS8)
198 |         raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                                           `- error: cannot find 'ISIG' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:201:38: error: cannot find 'cc_t' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
201 |             $0.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { $0[Int(VMIN)] = 1 }
    |                                      `- error: cannot find 'cc_t' in scope
202 |         }
203 |
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:201:63: error: cannot find 'NCCS' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
201 |             $0.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { $0[Int(VMIN)] = 1 }
    |                                                               `- error: cannot find 'NCCS' in scope
202 |         }
203 |
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:201:79: error: cannot find 'VMIN' in scope
199 |
200 |         withUnsafeMutablePointer(to: &raw.c_cc) {
201 |             $0.withMemoryRebound(to: cc_t.self, capacity: Int(NCCS)) { $0[Int(VMIN)] = 1 }
    |                                                                               `- error: cannot find 'VMIN' in scope
202 |         }
203 |
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:204:12: error: cannot find 'tcsetattr' in scope
202 |         }
203 |
204 |         if tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &raw) < 0 {
    |            `- error: cannot find 'tcsetattr' in scope
205 |             throw CallFailure(call: .tcsetattr, errno: errno)
206 |         }
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:204:49: error: cannot find 'TCSAFLUSH' in scope
202 |         }
203 |
204 |         if tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &raw) < 0 {
    |                                                 `- error: cannot find 'TCSAFLUSH' in scope
205 |             throw CallFailure(call: .tcsetattr, errno: errno)
206 |         }
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:205:56: error: cannot find 'errno' in scope
203 |
204 |         if tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &raw) < 0 {
205 |             throw CallFailure(call: .tcsetattr, errno: errno)
    |                                                        `- error: cannot find 'errno' in scope
206 |         }
207 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 |  * thread.
57 |  */
58 | #define errno (*__errno())
   |         `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:217:12: error: cannot find 'tcsetattr' in scope
215 |     ) throws(CallFailure) {
216 |         var originalTermios = originalTermios
217 |         if tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &originalTermios) < 0 {
    |            `- error: cannot find 'tcsetattr' in scope
218 |             throw CallFailure(call: .tcsetattr, errno: errno)
219 |         }
/host/spi-builder-workspace/.build/checkouts/terminal-input/Sources/TerminalInput/TerminalInput.swift:217:49: error: cannot find 'TCSAFLUSH' in scope
215 |     ) throws(CallFailure) {
216 |         var originalTermios = originalTermios
217 |         if tcsetattr(fileHandle.fileDescriptor, TCSAFLUSH, &originalTermios) < 0 {
    |                                                 `- error: cannot find 'TCSAFLUSH' in scope
218 |             throw CallFailure(call: .tcsetattr, errno: errno)
219 |         }
BUILD FAILURE 6.3 android