Build Information
Failed to build Inotify, reference 2.2.0 (10943f), with Swift 6.1 for Android on 23 Mar 2026 22:45:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 2.2.0
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
* tag 2.2.0 -> FETCH_HEAD
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 2.2.0
========================================
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-3":/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-nio
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/tuist/Noora
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-log
[1/18760] Fetching noora
[2440/24361] Fetching noora, swift-system
[3729/27047] Fetching noora, swift-system, swift-subprocess
[9568/44461] Fetching noora, swift-system, swift-subprocess, swift-argument-parser
[33582/50722] Fetching noora, swift-system, swift-subprocess, swift-argument-parser, swift-log
[38201/133627] Fetching noora, swift-system, swift-subprocess, swift-argument-parser, swift-log, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (1.33s)
[22853/116213] Fetching noora, swift-system, swift-subprocess, swift-log, swift-nio
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.97s)
Fetched https://github.com/apple/swift-log from cache (1.98s)
[37948/107266] Fetching noora, swift-system, swift-nio
Fetched https://github.com/apple/swift-system from cache (7.27s)
Fetched https://github.com/tuist/Noora from cache (7.74s)
Fetched https://github.com/apple/swift-nio from cache (8.92s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (9.58s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.69s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (1.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.57s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (0.55s)
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.30s)
Fetched https://github.com/onevcat/Rainbow from cache (0.30s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.25s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.47s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.0 (1.17s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[1203/24448] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.47s)
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.93s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.0
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/61] Write sources
[20/61] Compiling CNIOWindows WSAStartup.c
[21/61] Compiling _AtomicsShims.c
[22/61] Compiling CNIOWindows shim.c
[22/61] Compiling CNIOWASI CNIOWASI.c
[24/61] Compiling CNIOOpenBSD shim.c
[25/61] Compiling CNIOPosix event_loop_id.c
[26/61] Compiling CSystem shims.c
[26/61] Write sources
[30/61] Compiling CNIOLinux liburing_shims.c
[31/61] Compiling CNIODarwin shim.c
[32/61] Compiling _SubprocessCShims process_shims.c
[33/61] Compiling CNIOLinux shim.c
[34/61] Write swift-version-24593BA9C3E375BF.txt
[36/120] Emitting module _NIOBase64
[37/120] Compiling _NIOBase64 Base64.swift
[38/121] Compiling _NIODataStructures PriorityQueue.swift
[39/121] Compiling _NIODataStructures _TinyArray.swift
[40/121] Compiling SystemPackage FilePathSyntax.swift
[41/121] Compiling SystemPackage FilePathTemp.swift
[42/121] Compiling SystemPackage FilePathTempPosix.swift
[43/121] Compiling SystemPackage FilePathTempWindows.swift
[44/125] Emitting module Path
[45/125] Compiling Path Path.swift
[46/126] Emitting module SystemPackage
[47/126] Compiling _NIODataStructures Heap.swift
[49/126] Emitting module _NIODataStructures
[52/127] Compiling SystemPackage FilePath.swift
[53/127] Compiling SystemPackage FilePathComponentView.swift
[54/127] Compiling SystemPackage FilePathComponents.swift
[55/127] Compiling SystemPackage FilePathParsing.swift
[56/127] Compiling SystemPackage FilePathString.swift
[57/127] Compiling SystemPackage Errno.swift
[58/127] Compiling SystemPackage ErrnoWindows.swift
[59/127] Compiling SystemPackage FileDescriptor.swift
[60/127] Compiling SystemPackage FileHelpers.swift
[61/127] Compiling SystemPackage FileOperations.swift
[62/127] Compiling SystemPackage FilePathWindows.swift
[63/127] Compiling SystemPackage FilePermissions.swift
[64/127] Compiling SystemPackage IOCompletion.swift
[65/127] Compiling SystemPackage IORequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/127] 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 | }
[71/166] Emitting module ArgumentParserToolInfo
[71/166] Compiling c-nioatomics.c
[73/166] Compiling Atomics AtomicStorage.swift
[74/166] Compiling Atomics AtomicValue.swift
[75/166] Compiling Atomics ManagedAtomic.swift
[76/166] Compiling Atomics ManagedAtomicLazyReference.swift
[77/166] Compiling Atomics AtomicMemoryOrderings.swift
[78/166] Compiling Atomics DoubleWord.swift
[79/168] Compiling Atomics UnsafeAtomic.swift
[80/168] Compiling Atomics UnsafeAtomicLazyReference.swift
[80/168] Wrapping AST for _NIODataStructures for debugging
[82/168] Compiling Atomics OptionalRawRepresentable.swift
[83/168] Compiling Atomics RawRepresentable.swift
[84/168] Compiling Atomics AtomicBool.swift
[87/170] Wrapping AST for _NIOBase64 for debugging
[92/170] Wrapping AST for Path for debugging
[94/170] Compiling InternalCollectionsUtilities _SortedCollection.swift
[95/170] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[98/170] Compiling Atomics AtomicInteger.swift
[99/170] Compiling Atomics AtomicOptionalWrappable.swift
[100/170] Compiling Atomics AtomicReference.swift
[101/170] Compiling SystemPackage SystemString.swift
[102/170] Compiling SystemPackage Util+StringArray.swift
[103/170] Compiling SystemPackage Util.swift
[104/170] Compiling SystemPackage UtilConsumers.swift
[105/170] Emitting module InternalCollectionsUtilities
[106/170] Compiling Atomics IntegerConformances.swift
[107/170] Compiling Atomics PointerConformances.swift
[108/170] Compiling Atomics Primitives.native.swift
[116/171] Compiling c-atomics.c
[117/171] Wrapping AST for InternalCollectionsUtilities for debugging
[119/171] Compiling ArgumentParserToolInfo ToolInfo.swift
[120/179] Emitting module Atomics
[122/212] Compiling Logging MetadataProvider.swift
[123/212] Emitting module Logging
[124/212] Compiling Logging Locks.swift
[125/212] Compiling ContainersPreview RangeReplaceableContainer.swift
[126/212] Compiling ContainersPreview Drain+Map.swift
[127/212] Compiling ContainersPreview Drain+Reduce.swift
[128/212] Compiling ContainersPreview Drain.swift
[129/212] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[130/212] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[131/212] Compiling ContainersPreview Producer+Map.swift
[132/212] Compiling ContainersPreview Producer+Reduce.swift
[133/212] Compiling ContainersPreview Producer.swift
[134/212] Compiling ContainersPreview Borrow.swift
[135/212] Compiling ContainersPreview RandomAccessContainer.swift
[136/212] Compiling ContainersPreview RangeExpression2.swift
[137/213] Compiling Logging LogHandler.swift
[138/213] Compiling Logging Logging.swift
[138/214] Wrapping AST for ArgumentParserToolInfo for debugging
[141/214] Emitting module ContainersPreview
[146/214] Compiling ContainersPreview OutputSpan+Extras.swift
[147/214] Compiling ContainersPreview TemporaryAllocation.swift
[148/214] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[151/214] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[152/214] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[153/214] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[154/214] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[155/214] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[158/214] Compiling ContainersPreview Producer+Collect.swift
[159/214] Compiling ContainersPreview Producer+Filter.swift
[164/225] Compiling ArgumentParser Option.swift
[165/225] Compiling ArgumentParser OptionGroup.swift
[166/225] Compiling ContainersPreview BidirectionalContainer.swift
[167/225] Compiling ContainersPreview Container+Filter.swift
[168/225] Compiling ContainersPreview Container+SpanwiseZip.swift
[169/230] Compiling ArgumentParser ArgumentVisibility.swift
[170/230] Compiling ArgumentParser CompletionKind.swift
[171/230] Compiling ArgumentParser Errors.swift
[172/230] Compiling ArgumentParser Flag.swift
[173/230] Compiling ArgumentParser NameSpecification.swift
[175/264] Compiling NIOConcurrencyHelpers NIOLock.swift
[179/265] Compiling NIOConcurrencyHelpers lock.swift
[179/265] Wrapping AST for Logging for debugging
[180/265] Wrapping AST for SystemPackage for debugging
[182/265] Compiling ArgumentParser CollectionExtensions.swift
[183/265] Compiling ArgumentParser ParsableCommand.swift
[184/265] Compiling ArgumentParser ArgumentDecoder.swift
[185/265] Compiling ArgumentParser ArgumentDefinition.swift
[187/266] Compiling Rainbow StyledStringBuilder.swift
[189/266] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[190/273] Compiling Subprocess API.swift
[191/273] Compiling Subprocess AsyncBufferSequence.swift
[192/282] Compiling Subprocess Buffer.swift
[193/282] Compiling Subprocess Configuration.swift
[193/288] Wrapping AST for Atomics for debugging
[195/288] Compiling Subprocess Input.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 | }
[196/288] Compiling Subprocess Output.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 | }
[197/288] Compiling Subprocess Error.swift
[198/288] Compiling Subprocess Execution.swift
[199/288] Compiling Subprocess Subprocess+BSD.swift
[200/288] Compiling Subprocess AsyncIO+Dispatch.swift
[200/288] Wrapping AST for ContainersPreview for debugging
[202/288] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[203/288] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[204/288] Compiling NIOConcurrencyHelpers atomics.swift
[205/288] Emitting module NIOConcurrencyHelpers
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[4/122] Compiling SystemPackage FilePermissions.swift
[5/122] Compiling SystemPackage IOCompletion.swift
[6/124] Compiling SystemPackage FilePathComponents.swift
[7/124] Compiling SystemPackage FilePathParsing.swift
[8/124] Compiling SystemPackage FilePath.swift
[9/124] Compiling SystemPackage FilePathComponentView.swift
[10/124] Compiling SystemPackage FilePathString.swift
[11/124] Compiling SystemPackage FilePathWindows.swift
[14/126] Compiling Logging MetadataProvider.swift
[15/126] Compiling SystemPackage Errno.swift
[16/126] Compiling SystemPackage ErrnoWindows.swift
[17/126] Compiling SystemPackage FileDescriptor.swift
[18/126] Compiling Atomics IntegerOperations.swift
[19/126] Compiling Atomics Unmanaged extensions.swift
[22/127] Compiling SystemPackage FileOperations.swift
[23/127] Compiling SystemPackage FilePathSyntax.swift
[24/127] Compiling SystemPackage FileHelpers.swift
[27/127] Compiling Logging Locks.swift
[31/127] Compiling SystemPackage Syscalls.swift
[32/127] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/127] Compiling SystemPackage MachPort.swift
[34/127] Compiling SystemPackage PlatformString.swift
[35/131] Compiling _NIODataStructures PriorityQueue.swift
[36/131] Compiling _NIODataStructures _TinyArray.swift
[37/131] Compiling _NIODataStructures Heap.swift
[41/131] Emitting module Logging
[42/131] Emitting module _NIODataStructures
[45/132] Emitting module Path
[46/132] Compiling Path Path.swift
[47/132] Emitting module _NIOBase64
[48/132] Compiling _NIOBase64 Base64.swift
[52/134] Compiling Rainbow StyledStringBuilder.swift
[53/134] Compiling SystemPackage FilePathTemp.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 | }
[54/134] Compiling SystemPackage FilePathTempPosix.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/134] Compiling SystemPackage FilePathTempWindows.swift
[59/134] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/134] 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 | }
[65/134] Emitting module SystemPackage
[72/134] Compiling SystemPackage IORing.swift
[73/134] Compiling SystemPackage RawIORequest.swift
[74/134] Compiling SystemPackage Backcompat.swift
[75/134] Compiling SystemPackage CInterop.swift
[81/134] Compiling SystemPackage Exports.swift
[82/134] Compiling SystemPackage Mocking.swift
[83/134] Compiling SystemPackage RawBuffer.swift
[92/135] Compiling Logging LogHandler.swift
[93/135] Compiling Logging Logging.swift
BUILD FAILURE 6.1 android