The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Loglight, reference 1.0.2 (bb5cb1), with Swift 6.2 for Android on 17 Jul 2026 04:14:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Priyanshu-Singhz/loglight.git
Reference: 1.0.2
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/Priyanshu-Singhz/loglight
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at bb5cb11 docs: document --simulator option in README
Cloned https://github.com/Priyanshu-Singhz/loglight.git
Revision (git rev-parse @):
bb5cb11841e9eba0e2040ea4f0b91fc7f196904b
SUCCESS checkout https://github.com/Priyanshu-Singhz/loglight.git at 1.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Priyanshu-Singhz/loglight.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3f0849bce0d177c252f57ff0847fffe59d625aee973279c71a52a43c740d3c90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/18107] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.83s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version--11D90AFD9DD3AB2.txt
[8/21] Emitting module ArgumentParserToolInfo
[9/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/22] Wrapping AST for ArgumentParserToolInfo for debugging
[12/69] Compiling LoglightCore TerminalRenderer.swift
[13/69] Emitting module LoglightCore
[14/69] Compiling LoglightCore LineFilter.swift
[15/69] Compiling LoglightCore LogStreamProcess.swift
[16/69] Compiling LoglightCore PredicateBuilder.swift
[17/69] Compiling LoglightCore LogEntry.swift
[18/70] Wrapping AST for LoglightCore for debugging
[20/70] Compiling ArgumentParser ParentCommand.swift
[21/70] Compiling ArgumentParser AsyncParsableCommand.swift
[22/70] Compiling ArgumentParser CommandConfiguration.swift
[23/70] Compiling ArgumentParser CommandGroup.swift
[24/70] Compiling ArgumentParser EnumerableFlag.swift
[25/70] Compiling ArgumentParser ExpressibleByArgument.swift
[26/70] Compiling ArgumentParser ParsableArguments.swift
[27/76] Compiling ArgumentParser Mutex.swift
[28/76] Compiling ArgumentParser Platform.swift
[29/76] Compiling ArgumentParser SequenceExtensions.swift
[30/76] Compiling ArgumentParser StringExtensions.swift
[31/76] Compiling ArgumentParser SwiftExtensions.swift
[32/76] Compiling ArgumentParser Tree.swift
[33/76] Compiling ArgumentParser AsyncCompletionsValidator.swift
[34/76] Compiling ArgumentParser CodingKeyValidator.swift
[35/76] Compiling ArgumentParser NonsenseFlagsValidator.swift
[36/76] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/76] Compiling ArgumentParser PositionalArgumentsValidator.swift
[38/76] Compiling ArgumentParser UniqueNamesValidator.swift
[39/76] Compiling ArgumentParser ParsableCommand.swift
[40/76] Compiling ArgumentParser ArgumentDecoder.swift
[41/76] Compiling ArgumentParser ArgumentDefinition.swift
[42/76] Compiling ArgumentParser ArgumentSet.swift
[43/76] Compiling ArgumentParser CommandParser.swift
[44/76] Compiling ArgumentParser InputKey.swift
[45/76] Compiling ArgumentParser InputOrigin.swift
[46/76] Emitting module ArgumentParser
[47/76] Compiling ArgumentParser Name.swift
[48/76] Compiling ArgumentParser Parsed.swift
[49/76] Compiling ArgumentParser ParsedValues.swift
[50/76] Compiling ArgumentParser ParserError.swift
[51/76] Compiling ArgumentParser SplitArguments.swift
[52/76] Compiling ArgumentParser DumpHelpGenerator.swift
[53/76] Compiling ArgumentParser HelpCommand.swift
[54/76] Compiling ArgumentParser HelpGenerator.swift
[55/76] Compiling ArgumentParser MessageInfo.swift
[56/76] Compiling ArgumentParser UsageGenerator.swift
[57/76] Compiling ArgumentParser CollectionExtensions.swift
[58/76] Compiling ArgumentParser Foundation.swift
[59/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[60/76] Compiling ArgumentParser CompletionsGenerator.swift
[61/76] Compiling ArgumentParser FishCompletionsGenerator.swift
[62/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/76] Compiling ArgumentParser Argument.swift
[64/76] Compiling ArgumentParser ArgumentDiscussion.swift
[65/76] Compiling ArgumentParser ArgumentHelp.swift
[66/76] Compiling ArgumentParser ArgumentVisibility.swift
[67/76] Compiling ArgumentParser CompletionKind.swift
[68/76] Compiling ArgumentParser Errors.swift
[69/76] Compiling ArgumentParser Flag.swift
[70/76] Compiling ArgumentParser NameSpecification.swift
[71/76] Compiling ArgumentParser Option.swift
[72/76] Compiling ArgumentParser OptionGroup.swift
[73/77] Wrapping AST for ArgumentParser for debugging
[75/79] Emitting module LoglightCLI
[76/79] Compiling LoglightCLI main.swift
/host/spi-builder-workspace/Sources/LoglightCLI/main.swift:79:21: error: cannot find 'isatty' in scope
 77 |     func run() async throws {
 78 |         // Detect if stdout is a TTY; disable color automatically when piped
 79 |         let isTTY = isatty(STDOUT_FILENO) != 0
    |                     `- error: cannot find 'isatty' in scope
 80 |         let colorEnabled = !noColor && isTTY
 81 |
/host/spi-builder-workspace/Sources/LoglightCLI/main.swift:79:28: error: cannot find 'STDOUT_FILENO' in scope
 77 |     func run() async throws {
 78 |         // Detect if stdout is a TTY; disable color automatically when piped
 79 |         let isTTY = isatty(STDOUT_FILENO) != 0
    |                            `- error: cannot find 'STDOUT_FILENO' in scope
 80 |         let colorEnabled = !noColor && isTTY
 81 |
/host/spi-builder-workspace/Sources/LoglightCLI/main.swift:112:71: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
110 |             stream = try logProcess.start()
111 |         } catch {
112 |             fputs("loglight: failed to start log stream: \(error)\n", stderr)
    |                                                                       `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 |             throw ExitCode.failure
114 |         }
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
/host/spi-builder-workspace/Sources/LoglightCLI/main.swift:172:24: error: cannot find 'SIG_DFL' in scope
170 |         LogStreamProcessHolder.shared?.stop()
171 |         // Restore default handler and re-raise so the process exits normally
172 |         signal(SIGINT, SIG_DFL)
    |                        `- error: cannot find 'SIG_DFL' in scope
173 |         raise(SIGINT)
174 |     }
/host/spi-builder-workspace/Sources/LoglightCLI/main.swift:179:25: error: cannot find 'SIG_DFL' in scope
177 |     signal(SIGTERM) { _ in
178 |         LogStreamProcessHolder.shared?.stop()
179 |         signal(SIGTERM, SIG_DFL)
    |                         `- error: cannot find 'SIG_DFL' in scope
180 |         raise(SIGTERM)
181 |     }
BUILD FAILURE 6.2 android