The Swift Package Index logo.Swift Package Index

Build Information

Failed to build chacl, reference main (afe4f7), with Swift 6.4 for Android on 21 Sep 2026 17:20:33 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/Frizlab/chacl.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/Frizlab/chacl
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at afe4f7e Update the Readme
Cloned https://github.com/Frizlab/chacl.git
Revision (git rev-parse @):
afe4f7e8deae9c2dbb162c446a1015cb97669a7f
SUCCESS checkout https://github.com/Frizlab/chacl.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Frizlab/chacl.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/xcode-actions/clt-logger.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
Fetching https://github.com/Frizlab/stream-reader.git
[1/8132] Fetching swift-log
[2/9190] Fetching swift-log, stream-reader
[6915/10059] Fetching swift-log, stream-reader, clt-logger
[9782/28977] Fetching swift-log, stream-reader, clt-logger, swift-argument-parser
Fetched https://github.com/Frizlab/stream-reader.git (0.58s)
Fetched https://github.com/apple/swift-log (0.58s)
[781/19787] Fetching clt-logger, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.91s)
Fetched https://github.com/xcode-actions/clt-logger.git (0.92s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.13s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.17s)
Computing version for https://github.com/xcode-actions/clt-logger.git
Computed https://github.com/xcode-actions/clt-logger.git at 0.9.0 (0.22s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.70s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.23s)
Creating working copy for https://github.com/xcode-actions/clt-logger.git
Working copy of https://github.com/xcode-actions/clt-logger.git resolved at 0.9.0
Creating working copy for https://github.com/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 246]
[Creating build graph]
[64 / 116] StreamReader
[68 / 134] SystemPackage
[68 / 134] Logging
[80 / 134] SystemPackage
[80 / 134] StreamReader
[91 / 134] SystemPackage-product
[93 / 134] SystemPackage-product
[95 / 135] SystemPackage
[96 / 135] StreamReader
[97 / 135] StreamReader-product
[99 / 135] StreamReader-product
[101 / 136] SystemPackage
[106 / 136] StreamReader
[110 / 136] Logging
[111 / 137] StreamReader
[119 / 139] StreamReader
[125 / 153] ArgumentParser
[128 / 153] ArgumentParser
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CLTLogger.swift
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:207:6: error: cannot find 'isatty' in scope
205 | 		/* Is the fd on which we write a tty?
206 | 		 * Most ttys nowadays support colors, with a notable exception: Xcode. */
207 | 		if isatty(fd.rawValue) != 0 {
    |      `- error: cannot find 'isatty' in scope
208 | 			/* Xcode detection: it ain’t trivial.
209 | 			 * I found checking for the existence of the __XCODE_BUILT_PRODUCTS_DIR_PATHS env var to be a possible solution.
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:214:7: error: cannot find 'tcgetpgrp' in scope
212 | 			 * The solution we’re currently using is to check whether the fd on which we write has a foreground process group as Xcode does not set one.
213 | 			 * Note: If Xcode detection is changed here, it should also be changed in defaultConstantsByLogLevelForEmoji. */
214 | 			if tcgetpgrp(fd.rawValue) == -1 && errno == ENOTTY {
    |       `- error: cannot find 'tcgetpgrp' in scope
215 | 				/* We log using emojis in Xcode. */
216 | 				return .emoji
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:214:39: error: cannot find 'errno' in scope
212 | 			 * The solution we’re currently using is to check whether the fd on which we write has a foreground process group as Xcode does not set one.
213 | 			 * Note: If Xcode detection is changed here, it should also be changed in defaultConstantsByLogLevelForEmoji. */
214 | 			if tcgetpgrp(fd.rawValue) == -1 && errno == ENOTTY {
    |                                       `- error: cannot find 'errno' in scope
215 | 				/* We log using emojis in Xcode. */
216 | 				return .emoji
/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
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:270:7: error: cannot find 'isatty' in scope
268 | 		func addMeta(_ str: String, _ padding: String) -> Constants {
269 | 			var str = str
270 | 			if isatty(fd.rawValue) != 0, tcgetpgrp(fd.rawValue) == -1, errno == ENOTTY {
    |       `- error: cannot find 'isatty' in scope
271 | 				/* We’re in Xcode (probably).
272 | 				 * By default we do not do the emoji padding, unless explicitly asked to (`CLTLOGGER_TERMINAL_EMOJI` set to anything but “NO”). */
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:270:33: error: cannot find 'tcgetpgrp' in scope
268 | 		func addMeta(_ str: String, _ padding: String) -> Constants {
269 | 			var str = str
270 | 			if isatty(fd.rawValue) != 0, tcgetpgrp(fd.rawValue) == -1, errno == ENOTTY {
    |                                 `- error: cannot find 'tcgetpgrp' in scope
271 | 				/* We’re in Xcode (probably).
272 | 				 * By default we do not do the emoji padding, unless explicitly asked to (`CLTLOGGER_TERMINAL_EMOJI` set to anything but “NO”). */
/host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift:270:63: error: cannot find 'errno' in scope
268 | 		func addMeta(_ str: String, _ padding: String) -> Constants {
269 | 			var str = str
270 | 			if isatty(fd.rawValue) != 0, tcgetpgrp(fd.rawValue) == -1, errno == ENOTTY {
    |                                                               `- error: cannot find 'errno' in scope
271 | 				/* We’re in Xcode (probably).
272 | 				 * By default we do not do the emoji padding, unless explicitly asked to (`CLTLOGGER_TERMINAL_EMOJI` set to anything but “NO”). */
/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 -primary-file /host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/CLTLogger.swift /host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/NSLock+Linux.swift /host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/SGR.swift /host/spi-builder-workspace/.build/checkouts/clt-logger/Sources/String+Utils.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger.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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -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/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CLTLogger -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger_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/clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger.o -index-unit-output-path /clt-logger.build/Debug-android-aarch64/CLTLogger-t.build/Objects-normal/aarch64/CLTLogger.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android