Build Information
Failed to build Inotify, reference main (10943f), with Swift 6.2 for Android on 23 Mar 2026 22:45:20 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.2
Building package at path: $PWD
https://github.com/astzweig/swift-inotify.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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-system
Fetching https://github.com/tuist/Noora
[1/17414] Fetching swift-argument-parser
[176/36174] Fetching swift-argument-parser, noora
[177/42435] Fetching swift-argument-parser, noora, swift-log
[3140/48036] Fetching swift-argument-parser, noora, swift-log, swift-system
[3565/50722] Fetching swift-argument-parser, noora, swift-log, swift-system, swift-subprocess
Fetched https://github.com/apple/swift-system from cache (0.70s)
[27233/45121] Fetching swift-argument-parser, noora, swift-log, swift-subprocess
Fetching https://github.com/apple/swift-nio
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.72s)
[25606/42435] Fetching swift-argument-parser, noora, swift-log
Fetched https://github.com/apple/swift-log from cache (0.72s)
[19867/36174] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser from cache (1.04s)
[8067/18760] Fetching noora
[8305/101665] Fetching noora, swift-nio
Fetched https://github.com/tuist/Noora from cache (8.49s)
Fetched https://github.com/apple/swift-nio from cache (9.55s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (11.19s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.77s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.45s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.56.0 (2.43s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/395] Fetching path
[9/1822] Fetching path, rainbow
Fetched https://github.com/tuist/path from cache (1.41s)
Fetched https://github.com/onevcat/Rainbow from cache (1.41s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.75s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.20s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.97.0 (2.00s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[693/24448] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.28s)
Fetched https://github.com/apple/swift-collections.git from cache (2.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.14s)
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/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/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.56.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-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-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.97.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/61] Write sources
[20/61] Compiling CNIOWindows shim.c
[21/61] Compiling CNIOWindows WSAStartup.c
[22/61] Compiling CNIOWASI CNIOWASI.c
[23/61] Compiling CNIOPosix event_loop_id.c
[24/61] Compiling _AtomicsShims.c
[25/61] Compiling CSystem shims.c
[26/61] Compiling CNIOOpenBSD shim.c
[26/61] Write sources
[30/61] Compiling CNIODarwin shim.c
[31/61] Compiling CNIOLinux liburing_shims.c
[32/61] Write swift-version--11D90AFD9DD3AB2.txt
[33/61] Compiling _SubprocessCShims process_shims.c
[34/61] Compiling CNIOLinux shim.c
[36/120] Emitting module _NIOBase64
[36/120] Compiling c-nioatomics.c
[38/138] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[39/138] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/140] 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 | }
[41/141] Compiling _NIOBase64 Base64.swift
[43/142] Compiling InternalCollectionsUtilities _SortedCollection.swift
[44/142] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[45/142] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[46/142] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/142] Compiling InternalCollectionsUtilities Debugging.swift
[48/142] Compiling InternalCollectionsUtilities Descriptions.swift
[49/142] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[50/142] Compiling InternalCollectionsUtilities Integer rank.swift
[51/142] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[52/142] Compiling InternalCollectionsUtilities UInt+reversed.swift
[52/142] Compiling c-atomics.c
[54/142] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[55/142] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/142] Compiling InternalCollectionsUtilities Span+Extras.swift
[57/142] Compiling InternalCollectionsUtilities String+Padding.swift
[58/142] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[60/142] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[62/142] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[63/165] Compiling SystemPackage Errno.swift
[64/165] Compiling SystemPackage ErrnoWindows.swift
[65/165] Compiling SystemPackage FileDescriptor.swift
[66/165] Compiling SystemPackage FileHelpers.swift
[67/165] Compiling SystemPackage FileOperations.swift
[68/165] Emitting module _NIODataStructures
[69/165] Compiling _NIODataStructures Heap.swift
[70/171] Emitting module InternalCollectionsUtilities
[71/171] Compiling _NIODataStructures PriorityQueue.swift
[72/171] Compiling _NIODataStructures _TinyArray.swift
[73/172] Emitting module Path
[74/172] Compiling Path Path.swift
[75/173] Compiling Atomics Primitives.native.swift
[76/173] Compiling Atomics AtomicStorage.swift
[77/173] Compiling Atomics AtomicValue.swift
[78/173] Compiling Atomics ManagedAtomic.swift
[79/173] Compiling Atomics OptionalRawRepresentable.swift
[80/173] Compiling Atomics RawRepresentable.swift
[81/173] Compiling Atomics AtomicBool.swift
[82/173] Compiling Atomics AtomicInteger.swift
[83/173] Compiling Atomics AtomicOptionalWrappable.swift
[84/173] Compiling Atomics AtomicReference.swift
[85/173] Compiling Atomics IntegerConformances.swift
[86/173] Compiling Atomics PointerConformances.swift
[90/173] Compiling Atomics ManagedAtomicLazyReference.swift
[91/176] Wrapping AST for _NIODataStructures for debugging
[95/176] Compiling Atomics AtomicMemoryOrderings.swift
[96/176] Compiling Atomics DoubleWord.swift
[97/176] Compiling Atomics UnsafeAtomic.swift
[98/176] Compiling Atomics UnsafeAtomicLazyReference.swift
[101/176] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[101/178] Wrapping AST for _NIOBase64 for debugging
[103/178] Compiling NIOConcurrencyHelpers NIOLock.swift
[103/178] Wrapping AST for Path for debugging
[104/199] Wrapping AST for InternalCollectionsUtilities for debugging
[106/211] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[107/211] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[108/211] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[109/211] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[110/211] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[111/215] Compiling ContainersPreview RandomAccessContainer.swift
[112/215] Compiling ContainersPreview RangeExpression2.swift
[113/215] Compiling ContainersPreview RangeReplaceableContainer.swift
[114/215] Compiling ContainersPreview Drain+Map.swift
[115/215] Compiling ContainersPreview DynamicContainer.swift
[116/215] Compiling ContainersPreview MutableContainer.swift
[117/215] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[118/215] Compiling NIOConcurrencyHelpers lock.swift
[119/215] Compiling ContainersPreview Container.swift
[120/215] Compiling ContainersPreview ContainerIterator.swift
[123/215] Compiling ContainersPreview PermutableContainer.swift
[124/215] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[125/215] Compiling ContainersPreview BorrowingSequence.swift
[126/215] Compiling ContainersPreview BidirectionalContainer.swift
[127/215] Compiling ContainersPreview Container+Filter.swift
[128/215] Compiling ContainersPreview Container+SpanwiseZip.swift
[129/215] Compiling ContainersPreview Producer+Map.swift
[130/215] Compiling ContainersPreview Producer+Reduce.swift
[131/215] Compiling ContainersPreview Producer.swift
[132/215] Compiling ContainersPreview Borrow.swift
[133/215] Compiling ContainersPreview Drain+Reduce.swift
[134/215] Compiling ContainersPreview Drain.swift
[135/215] Compiling ContainersPreview Producer+Collect.swift
[136/215] Compiling ContainersPreview Producer+Filter.swift
[137/215] Compiling ContainersPreview OutputSpan+Extras.swift
[138/215] Compiling ContainersPreview TemporaryAllocation.swift
[139/215] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[140/215] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[141/215] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[142/215] Compiling ContainersPreview Box.swift
[143/215] Compiling ContainersPreview Inout.swift
[144/215] Compiling ContainersPreview InputSpan.swift
[145/215] Compiling ContainersPreview Shared.swift
[146/215] Emitting module ContainersPreview
[147/215] Compiling NIOConcurrencyHelpers atomics.swift
[148/215] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[153/216] Emitting module NIOConcurrencyHelpers
[154/217] Wrapping AST for ContainersPreview for debugging
[155/218] Wrapping AST for NIOConcurrencyHelpers for debugging
[157/257] Compiling DequeModule UniqueDeque+Consumption.swift
[158/257] Compiling DequeModule UniqueDeque+Container.swift
[159/257] Compiling DequeModule UniqueDeque+Descriptions.swift
[160/257] Compiling DequeModule UniqueDeque+Equatable.swift
[161/257] Compiling DequeModule UniqueDeque+Experimental.swift
[162/262] Compiling DequeModule RigidDeque+Replacements.swift
[163/262] Compiling DequeModule RigidDeque+Testing.swift
[164/262] Compiling DequeModule RigidDeque.swift
[165/262] Compiling DequeModule UniqueDeque+Append.swift
[166/262] Compiling DequeModule UniqueDeque+Hashable.swift
[167/262] Compiling DequeModule UniqueDeque+Initializers.swift
[168/262] Compiling DequeModule UniqueDeque+Insertions.swift
[169/262] Compiling DequeModule UniqueDeque+Prepend.swift
[170/262] Compiling DequeModule UniqueDeque+Removals.swift
[171/262] Compiling DequeModule _DequeBuffer.swift
[172/262] Compiling DequeModule _DequeBufferHeader.swift
[173/262] Compiling DequeModule RigidDeque+Append.swift
[174/262] Compiling DequeModule RigidDeque+Consumption.swift
[175/262] Compiling DequeModule RigidDeque+Container.swift
[176/262] Compiling DequeModule RigidDeque+Descriptions.swift
[177/262] Compiling DequeModule RigidDeque+Equatable.swift
[178/262] Compiling DequeModule RigidDeque+Experimental.swift
[179/262] Compiling DequeModule RigidDeque+Hashable.swift
[180/262] Compiling DequeModule RigidDeque+Initializers.swift
[181/262] Compiling DequeModule RigidDeque+Insertions.swift
[182/262] Compiling DequeModule RigidDeque+Prepend.swift
[183/262] Compiling DequeModule RigidDeque+Removals.swift
[188/262] Emitting module ArgumentParserToolInfo
[189/262] Compiling ArgumentParserToolInfo ToolInfo.swift
[194/263] Wrapping AST for ArgumentParserToolInfo for debugging
[196/263] Compiling Logging MetadataProvider.swift
[202/263] Emitting module SystemPackage
[208/310] Emitting module Atomics
[208/310] Wrapping AST for SystemPackage for debugging
[210/310] Compiling ArgumentParser BashCompletionsGenerator.swift
[211/310] Compiling ArgumentParser CompletionsGenerator.swift
[212/310] Compiling ArgumentParser FishCompletionsGenerator.swift
[213/310] Compiling ArgumentParser ArgumentHelp.swift
[214/310] Compiling ArgumentParser ArgumentVisibility.swift
[215/310] Compiling ArgumentParser CompletionKind.swift
[217/333] Compiling Subprocess Execution.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/333] 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 | }
[218/333] Wrapping AST for Atomics for debugging
[220/333] Compiling Logging LogHandler.swift
[221/333] Compiling Logging Logging.swift
[222/333] Compiling Logging Locks.swift
[223/333] Emitting module Logging
[225/334] Compiling Subprocess Configuration.swift
[226/334] Compiling Subprocess Error.swift
[227/334] Compiling Subprocess Buffer.swift
[228/334] Compiling Subprocess AsyncIO+Dispatch.swift
[229/334] Compiling Subprocess API.swift
[230/334] Compiling Subprocess AsyncBufferSequence.swift
[231/334] Compiling Subprocess AsyncIO+Linux.swift
[232/334] Compiling Subprocess AsyncIO+Windows.swift
[243/334] Compiling Subprocess Output.swift
[244/334] Compiling Subprocess Subprocess+BSD.swift
[244/334] Wrapping AST for Logging for debugging
[246/334] Compiling Rainbow StyledStringBuilder.swift
BUILD FAILURE 6.2 android