The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-peg, reference 0.7.0 (948a4e), with Swift 6.4 for Android on 21 Sep 2026 17:54:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/swift-peg.git
Reference: 0.7.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/LuizZak/swift-peg
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 948a4e2 Updating comments
Cloned https://github.com/LuizZak/swift-peg.git
Revision (git rev-parse @):
948a4e2f816e46a3c8c85ccc1effa343335f0dae
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LuizZak/swift-peg.git at 0.7.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/LuizZak/swift-peg.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/LuizZak/MiniDigraph.git
Fetching https://github.com/LuizZak/SwiftAST.git
Fetching https://github.com/LuizZak/Console.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/352] Fetching console
[58/1417] Fetching console, swiftast
[1418/1661] Fetching console, swiftast, minidigraph
[1662/20579] Fetching console, swiftast, minidigraph, swift-argument-parser
[20580/100578] Fetching console, swiftast, minidigraph, swift-argument-parser, swift-syntax
Fetched https://github.com/LuizZak/MiniDigraph.git (2.98s)
Fetched https://github.com/LuizZak/Console.git (2.98s)
Fetched https://github.com/LuizZak/SwiftAST.git (2.98s)
Fetched https://github.com/apple/swift-argument-parser.git (2.98s)
Fetched https://github.com/apple/swift-syntax.git (3.00s)
Computing version for https://github.com/LuizZak/SwiftAST.git
Computed https://github.com/LuizZak/SwiftAST.git at 0.14.0 (3.19s)
Fetching https://github.com/LuizZak/MiniGraphviz.git
Fetching https://github.com/LuizZak/MiniLexer.git
[1/41] Fetching minigraphviz
[29/821] Fetching minigraphviz, minilexer
Fetched https://github.com/LuizZak/MiniGraphviz.git (0.44s)
Fetched https://github.com/LuizZak/MiniLexer.git (0.44s)
Computing version for https://github.com/LuizZak/MiniDigraph.git
Computed https://github.com/LuizZak/MiniDigraph.git at 0.8.0 (0.61s)
Computing version for https://github.com/LuizZak/Console.git
Computed https://github.com/LuizZak/Console.git at 0.14.1 (1.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.18s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.0 (0.31s)
Computing version for https://github.com/LuizZak/MiniGraphviz.git
Computed https://github.com/LuizZak/MiniGraphviz.git at 0.1.0 (0.16s)
Computing version for https://github.com/LuizZak/MiniLexer.git
Computed https://github.com/LuizZak/MiniLexer.git at 0.10.0 (0.20s)
Creating working copy for https://github.com/LuizZak/MiniLexer.git
Working copy of https://github.com/LuizZak/MiniLexer.git resolved at 0.10.0
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.4.0
Creating working copy for https://github.com/LuizZak/MiniGraphviz.git
Working copy of https://github.com/LuizZak/MiniGraphviz.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.0
Creating working copy for https://github.com/LuizZak/Console.git
Working copy of https://github.com/LuizZak/Console.git resolved at 0.14.1
Creating working copy for https://github.com/LuizZak/MiniDigraph.git
Working copy of https://github.com/LuizZak/MiniDigraph.git resolved at 0.8.0
Creating working copy for https://github.com/LuizZak/SwiftAST.git
Working copy of https://github.com/LuizZak/SwiftAST.git resolved at 0.14.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 949]
[Planning deferred tasks]
[194 / 401] MiniLexer
[223 / 430] SwiftSyntax510
[224 / 430] MiniDigraph
[235 / 430] SwiftSyntax
[236 / 430] MiniLexer
[247 / 430] MiniLexer-product
[249 / 431] SwiftSyntax600
[258 / 433] MiniLexer
[259 / 434] _SwiftSyntaxGenericTestSupport
[266 / 434] MiniDigraph-product
[270 / 434] Console
[272 / 434] Console-product
[274 / 434] Console-product
[275 / 434] MiniDigraph
[277 / 435] MiniDigraph
[282 / 435] SwiftSyntax510
[286 / 436] SwiftSyntax510
[288 / 445] SwiftSyntax
[289 / 446] SwiftSyntax
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Static.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Console+Static.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Console.swift
/host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Static.swift:23:9: error: cannot find 'isatty' in scope
21 |     /// terminal.
22 |     static func isTerminalStandardInput() -> Bool {
23 |         isatty(fileno(stdin)) == 1
   |         `- error: cannot find 'isatty' in scope
24 |     }
25 |
/host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Static.swift:29:9: error: cannot find 'isatty' in scope
27 |     /// terminal.
28 |     static func isTerminalStandardOutput() -> Bool {
29 |         isatty(fileno(stdout)) == 1
   |         `- error: cannot find 'isatty' in scope
30 |     }
31 |
/host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Static.swift:35:9: error: cannot find 'isatty' in scope
33 |     /// terminal.
34 |     static func isTerminalStandardError() -> Bool {
35 |         isatty(fileno(stderr)) == 1
   |         `- error: cannot find 'isatty' in scope
36 |     }
37 | }
/host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console.swift:247:9: error: cannot find 'errno' in scope
245 |
246 |     open func recordExitCode(_ code: Int) {
247 |         errno = Int32(code)
    |         `- error: cannot find 'errno' in scope
248 |     }
249 |
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/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
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Command.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Paging.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console+Static.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Console.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/ConsoleDataProvider.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/ConsoleMenuController.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/ConsoleOutputStream.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/ConsoleString.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/ConsoleType.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Formatting/ConsoleColor.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Formatting/ConsoleFormat.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Formatting/String+ConsoleFormatting.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/LinuxSupport.swift /host/spi-builder-workspace/.build/checkouts/Console/Sources/Console/Platform/FileHandle+Ext.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console+Static.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console+Static.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console+Static.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console+Static.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Console -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console+Static.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console.o -index-unit-output-path /Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console+Static.o -index-unit-output-path /Console.build/Debug-android-aarch64/Console-t.build/Objects-normal/aarch64/Console.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android