Build Information
Failed to build Inotify, reference main (10943f), with Swift 6.1 for Android on 23 Mar 2026 22:47:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/astzweig/swift-inotify.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/astzweig/swift-inotify
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 10943f9 Make events property of Inotify nonisolated
Cloned https://github.com/astzweig/swift-inotify.git
Revision (git rev-parse @):
10943f9ce328786faef1cae2f680601b33d5a5ab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/astzweig/swift-inotify.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/astzweig/swift-inotify.git
https://github.com/astzweig/swift-inotify.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.95.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-subprocess",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-subprocess.git"
},
{
"identity" : "noora",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Noora"
}
],
"manifest_display_name" : "Inotify",
"name" : "Inotify",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "Linux",
"version" : "4.4.302"
}
],
"products" : [
{
"name" : "Inotify",
"targets" : [
"Inotify"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InotifyTaskCLI",
"targets" : [
"InotifyTaskCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "InotifyTaskCLI",
"module_type" : "SwiftTarget",
"name" : "InotifyTaskCLI",
"path" : "Sources/TaskCLI",
"product_dependencies" : [
"ArgumentParser",
"Logging",
"_NIOFileSystem",
"Subprocess",
"Noora"
],
"product_memberships" : [
"InotifyTaskCLI"
],
"sources" : [
"Command.swift",
"DoccFinder.swift",
"Docker.swift",
"GenerateDocumentation Command.swift",
"Global Options.swift",
"Test Command.swift"
],
"type" : "executable"
},
{
"c99name" : "InotifyIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "InotifyIntegrationTests",
"path" : "Tests/InotifyIntegrationTests",
"product_dependencies" : [
"SystemPackage"
],
"sources" : [
"DirectoryResolverTests.swift",
"EventTests.swift",
"InitialisationTests.swift",
"InotifyLimitTests.swift",
"RecursiveEventTests.swift",
"Utilities/createFile.swift",
"Utilities/createSubdirectorytree.swift",
"Utilities/getEventsForTrigger.swift",
"Utilities/withLowInotifyWatchLimit.swift",
"Utilities/withTempDir.swift",
"WatchTests.swift"
],
"target_dependencies" : [
"Inotify"
],
"type" : "test"
},
{
"c99name" : "Inotify",
"module_type" : "SwiftTarget",
"name" : "Inotify",
"path" : "Sources/Inotify",
"product_dependencies" : [
"Logging",
"_NIOFileSystem",
"SystemPackage"
],
"product_memberships" : [
"Inotify"
],
"sources" : [
"DirectoryResolver.swift",
"DirectoryResolverErrror.swift",
"Inotify.swift",
"InotifyError.swift",
"InotifyEvent.swift",
"InotifyEventMask.swift",
"InotifyEventParser.swift",
"InotifyWatchManager.swift",
"RawInotifyEvent.swift"
],
"target_dependencies" : [
"CInotify"
],
"type" : "library"
},
{
"c99name" : "CInotify",
"module_type" : "SystemLibraryTarget",
"name" : "CInotify",
"path" : "Sources/CInotify",
"product_memberships" : [
"Inotify"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/tuist/Noora
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-system
[1/18760] Fetching noora
[377/36174] Fetching noora, swift-argument-parser
[739/42435] Fetching noora, swift-argument-parser, swift-log
[1289/48036] Fetching noora, swift-argument-parser, swift-log, swift-system
[2762/50722] Fetching noora, swift-argument-parser, swift-log, swift-system, swift-subprocess
[39280/133627] Fetching noora, swift-argument-parser, swift-log, swift-system, swift-subprocess, swift-nio
Fetched https://github.com/apple/swift-system from cache (0.66s)
Fetched https://github.com/apple/swift-log from cache (0.68s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.68s)
[24919/119079] Fetching noora, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (5.64s)
Fetched https://github.com/apple/swift-nio from cache (5.74s)
Fetched https://github.com/tuist/Noora from cache (5.76s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (7.44s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.76s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.61s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.51s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/395] Fetching path
[396/1822] Fetching path, rainbow
Fetched https://github.com/tuist/path from cache (0.25s)
Fetched https://github.com/onevcat/Rainbow from cache (0.25s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.44s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.22s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.0 (0.95s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[893/24448] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.19s)
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.77s)
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.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.7.1
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/61] Write sources
[20/61] Compiling CNIOWASI CNIOWASI.c
[21/61] Compiling CNIOWindows shim.c
[21/61] Compiling CNIOWindows WSAStartup.c
[23/61] Compiling _AtomicsShims.c
[23/61] Compiling CNIOPosix event_loop_id.c
[25/61] Compiling CNIOOpenBSD shim.c
[26/61] Compiling CNIODarwin shim.c
[26/61] Compiling CNIOLinux liburing_shims.c
[28/61] Write sources
[31/61] Compiling CSystem shims.c
[32/61] Compiling _SubprocessCShims process_shims.c
[33/61] Compiling CNIOLinux shim.c
[34/61] Write swift-version-24593BA9C3E375BF.txt
[35/120] Compiling c-nioatomics.c
[37/121] Emitting module _NIOBase64
[38/121] Compiling _NIOBase64 Base64.swift
[39/121] Emitting module Path
[40/121] Compiling Path Path.swift
[41/136] Compiling _NIODataStructures _TinyArray.swift
[44/140] Compiling InternalCollectionsUtilities UInt+reversed.swift
[45/140] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[46/140] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[47/140] Compiling InternalCollectionsUtilities Span+Extras.swift
[48/144] Compiling _NIODataStructures PriorityQueue.swift
[49/144] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[50/144] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[51/146] Emitting module _NIODataStructures
[52/146] Compiling _NIODataStructures Heap.swift
[53/147] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[54/147] Compiling InternalCollectionsUtilities Integer rank.swift
[55/148] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[57/160] Compiling InternalCollectionsUtilities _SortedCollection.swift
[58/160] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[60/168] Compiling Atomics AtomicInteger.swift
[61/168] Compiling Atomics AtomicOptionalWrappable.swift
[62/168] Compiling Atomics AtomicReference.swift
[63/168] Compiling Atomics AtomicStorage.swift
[64/168] Compiling Atomics AtomicValue.swift
[65/168] Compiling Atomics AtomicMemoryOrderings.swift
[66/168] Compiling Atomics DoubleWord.swift
[67/168] Compiling Atomics ManagedAtomic.swift
[68/168] Compiling Atomics OptionalRawRepresentable.swift
[69/168] Compiling Atomics RawRepresentable.swift
[70/168] Compiling Atomics AtomicBool.swift
[71/168] Compiling Atomics IntegerConformances.swift
[72/168] Compiling Atomics PointerConformances.swift
[73/168] Emitting module SystemPackage
[79/168] Compiling Atomics Primitives.native.swift
[79/168] Wrapping AST for _NIOBase64 for debugging
[81/168] Compiling Atomics UnsafeAtomic.swift
[82/168] Compiling Atomics UnsafeAtomicLazyReference.swift
[82/168] Compiling c-atomics.c
[89/170] Wrapping AST for _NIODataStructures for debugging
[92/170] Compiling Atomics ManagedAtomicLazyReference.swift
[94/177] Wrapping AST for Path for debugging
[96/177] Emitting module InternalCollectionsUtilities
[97/177] Compiling Atomics IntegerOperations.swift
[98/177] Compiling Atomics Unmanaged extensions.swift
[106/178] Compiling NIOConcurrencyHelpers NIOLock.swift
[107/178] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[109/178] Compiling NIOConcurrencyHelpers lock.swift
[109/178] Wrapping AST for InternalCollectionsUtilities for debugging
[111/178] Compiling SystemPackage SystemString.swift
[112/178] Compiling SystemPackage Util+StringArray.swift
[113/178] Compiling SystemPackage Util.swift
[114/178] Compiling SystemPackage UtilConsumers.swift
[115/199] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[116/199] Emitting module NIOConcurrencyHelpers
[117/207] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[118/211] Compiling NIOConcurrencyHelpers atomics.swift
[120/212] Compiling ContainersPreview Producer+Map.swift
[121/212] Compiling ContainersPreview Producer+Reduce.swift
[122/212] Compiling ContainersPreview Producer.swift
[123/212] Compiling ContainersPreview Borrow.swift
[124/212] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[125/212] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[126/212] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[127/212] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[128/212] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[129/212] Compiling ContainersPreview Drain+Reduce.swift
[130/212] Compiling ContainersPreview Drain.swift
[131/212] Compiling ContainersPreview Producer+Collect.swift
[132/212] Compiling ContainersPreview Producer+Filter.swift
[133/212] Compiling ContainersPreview RandomAccessContainer.swift
[134/212] Compiling ContainersPreview RangeExpression2.swift
[135/212] Compiling ContainersPreview RangeReplaceableContainer.swift
[136/212] Compiling ContainersPreview Drain+Map.swift
[137/212] Emitting module ContainersPreview
[138/212] Compiling ContainersPreview OutputSpan+Extras.swift
[139/212] Compiling ContainersPreview TemporaryAllocation.swift
[140/212] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[141/212] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[142/212] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[143/212] Emitting module ArgumentParserToolInfo
[144/212] Compiling ArgumentParserToolInfo ToolInfo.swift
[145/217] Compiling ContainersPreview Container.swift
[146/217] Compiling ContainersPreview ContainerIterator.swift
[147/217] Compiling ContainersPreview DynamicContainer.swift
[148/217] Compiling ContainersPreview MutableContainer.swift
[149/217] Compiling ContainersPreview PermutableContainer.swift
[150/217] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[151/217] Compiling ContainersPreview BorrowingSequence.swift
[152/217] Compiling ContainersPreview BidirectionalContainer.swift
[153/217] Compiling ContainersPreview Container+Filter.swift
[154/217] Compiling ContainersPreview Container+SpanwiseZip.swift
[154/217] Wrapping AST for NIOConcurrencyHelpers for debugging
[157/217] Compiling ContainersPreview Box.swift
[158/217] Compiling ContainersPreview Inout.swift
[159/217] Compiling ContainersPreview InputSpan.swift
[160/217] Compiling ContainersPreview Shared.swift
[161/218] Wrapping AST for ArgumentParserToolInfo for debugging
[162/236] Wrapping AST for ContainersPreview for debugging
[164/264] Compiling Logging MetadataProvider.swift
[165/264] Emitting module Logging
[166/283] Compiling Logging Locks.swift
[167/283] Compiling Logging Logging.swift
[168/283] Compiling Logging LogHandler.swift
[169/294] Emitting module Atomics
[170/305] Compiling DequeModule RigidDeque+Equatable.swift
[171/305] Compiling DequeModule RigidDeque+Experimental.swift
[172/305] Compiling DequeModule RigidDeque+Hashable.swift
[173/305] Compiling DequeModule RigidDeque+Initializers.swift
[174/305] Compiling DequeModule RigidDeque+Testing.swift
[175/305] Compiling DequeModule RigidDeque.swift
[176/305] Compiling DequeModule UniqueDeque+Append.swift
[177/305] Compiling DequeModule UniqueDeque+Consumption.swift
[179/305] Compiling DequeModule RigidDeque+Append.swift
[180/305] Compiling DequeModule RigidDeque+Consumption.swift
[181/305] Compiling DequeModule RigidDeque+Container.swift
[182/305] Compiling DequeModule RigidDeque+Descriptions.swift
[183/305] Compiling DequeModule RigidDeque+Insertions.swift
[184/305] Compiling DequeModule RigidDeque+Prepend.swift
[185/305] Compiling DequeModule RigidDeque+Removals.swift
[186/305] Compiling DequeModule RigidDeque+Replacements.swift
[187/305] Compiling DequeModule UniqueDeque+Hashable.swift
[188/305] Compiling DequeModule UniqueDeque+Initializers.swift
[189/305] Compiling DequeModule UniqueDeque+Insertions.swift
[190/305] Compiling DequeModule UniqueDeque+Prepend.swift
[191/305] Compiling DequeModule UniqueDeque+Removals.swift
[198/311] Compiling DequeModule UniqueDeque+Container.swift
[199/311] Compiling DequeModule UniqueDeque+Descriptions.swift
[200/311] Compiling DequeModule UniqueDeque+Equatable.swift
[201/311] Compiling DequeModule UniqueDeque+Experimental.swift
[207/311] Wrapping AST for Logging for debugging
[209/311] Compiling DequeModule _DequeBuffer.swift
[210/311] Compiling DequeModule _DequeBufferHeader.swift
[216/311] Compiling Rainbow StyledStringBuilder.swift
[217/311] Compiling DequeModule Deque+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[218/311] Compiling DequeModule Deque+Collection.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[219/311] Compiling DequeModule Deque+CustomReflectable.swift
[220/311] Compiling DequeModule Deque+Descriptions.swift
[221/311] Compiling DequeModule Deque+Extras.swift
[222/311] Compiling DequeModule Deque+Hashable.swift
[223/311] Compiling DequeModule Deque+Testing.swift
[224/311] Compiling DequeModule Deque._Storage.swift
[225/311] Compiling DequeModule Deque._UnsafeHandle.swift
[226/311] Compiling DequeModule Deque.swift
[226/312] Wrapping AST for SystemPackage for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[228/331] Compiling Subprocess Configuration.swift
[229/331] Compiling Subprocess Error.swift
[230/331] Compiling Subprocess AsyncBufferSequence.swift
[231/331] Compiling Subprocess Buffer.swift
[232/331] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/27] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/107] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[5/112] Emitting module Path
[6/112] Compiling SystemPackage RawIORequest.swift
[7/112] Compiling SystemPackage Backcompat.swift
[8/114] Compiling InternalCollectionsUtilities _SortedCollection.swift
[9/114] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[10/114] Compiling Logging MetadataProvider.swift
[11/114] Compiling NIOConcurrencyHelpers NIOLock.swift
[12/114] Compiling SystemPackage FilePathComponentView.swift
[13/114] Compiling SystemPackage FilePathComponents.swift
[14/114] Compiling SystemPackage FilePathParsing.swift
[15/114] Compiling SystemPackage FilePathWindows.swift
[16/114] Compiling SystemPackage FilePermissions.swift
[17/114] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[18/114] Compiling Logging Locks.swift
[19/114] Compiling Rainbow StyledStringBuilder.swift
[20/114] Compiling SystemPackage FileOperations.swift
[21/114] Compiling SystemPackage FilePath.swift
[24/114] Compiling SystemPackage IORequest.swift
[25/114] Compiling SystemPackage IORing.swift
[26/114] Emitting module Logging
[27/114] Compiling SystemPackage Errno.swift
[28/114] Compiling SystemPackage ErrnoWindows.swift
[29/114] Compiling SystemPackage FileDescriptor.swift
[30/114] Compiling SystemPackage FileHelpers.swift
[33/114] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[34/114] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[35/114] Compiling SystemPackage Syscalls.swift
[36/114] Compiling SystemPackage WindowsSyscallAdapters.swift
[37/114] Compiling SystemPackage MachPort.swift
[38/114] Compiling SystemPackage PlatformString.swift
[39/118] Compiling _NIODataStructures Heap.swift
[40/118] Compiling _NIODataStructures PriorityQueue.swift
[41/118] Emitting module _NIODataStructures
[42/118] Compiling _NIODataStructures _TinyArray.swift
[43/119] Compiling NIOConcurrencyHelpers atomics.swift
[44/119] Compiling NIOConcurrencyHelpers lock.swift
[45/119] Emitting module _NIOBase64
[46/119] Compiling _NIOBase64 Base64.swift
[52/120] Compiling SystemPackage IOCompletion.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[55/120] Compiling SystemPackage FilePathString.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[57/120] Emitting module NIOConcurrencyHelpers
[58/121] Emitting module SystemPackage
[72/121] Compiling SystemPackage Constants.swift
[73/121] Compiling SystemPackage Exports.swift
[74/121] Compiling SystemPackage Mocking.swift
[75/121] Compiling SystemPackage RawBuffer.swift
[77/121] Compiling SystemPackage FilePathTemp.swift
[78/121] Compiling SystemPackage FilePathTempPosix.swift
[79/121] Compiling SystemPackage FilePathTempWindows.swift
[80/121] Compiling Path Path.swift
[81/121] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android