Build Information
Failed to build PerfectLogger, reference 4.0.0 (733b69), with Swift 6.4 for Android on 17 Oct 2026 18:18:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-logger.git
Reference: 4.0.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/perfectlysoft/perfect-logger
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 733b69f Merge pull request #10 from PerfectlySoft/release-4.0.0
Cloned https://github.com/perfectlysoft/perfect-logger.git
Revision (git rev-parse @):
733b69f55fb8e30256ff85f2ffd39af60a41e141
SUCCESS checkout https://github.com/perfectlysoft/perfect-logger.git at 4.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-logger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:d9a84d7647394b4473e054b8d8a8f0e0b43300080afc6972ec459a3a608366e4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-log.git
[1/8305] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.65s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Building for debugging...
[Pre-planning 1 / 96]
[11 / 39]
[34 / 49] Logging
[43 / 57] PerfectLogger
[44 / 57] PerfectLogger
[47 / 57] PerfectLogger
[47 / 57] Logging
[50 / 58] PerfectLogger
[55 / 58] PerfectLogger
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile FileLogHandler.swift
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:31:14: [1;31merror: [1;39mcannot find 'close' in scope[0;0m
[0;36m29 |[0;0m }
[0;36m30 |[0;0m
[0;36m31 |[0;0m deinit { [4;39mclose[0;0m(fd) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'close' in scope[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m func write(_ string: String) {
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:55:36: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m53 |[0;0m if n > 0 {
[0;36m54 |[0;0m offset += n
[0;36m55 |[0;0m } else if n < 0 && [4;39merrno[0;0m == EINTR {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m56 |[0;0m continue
[0;36m57 |[0;0m } else {
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m56 |[0;0m * thread.
[0;36m57 |[0;0m */
[0;36m58 |[0;0m #define errno (*__errno())
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m __END_DECLS
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:95:20: [1;31merror: [1;39mcannot find 'stat' in scope[0;0m
[0;36m93 |[0;0m }
[0;36m94 |[0;0m
[0;36m95 |[0;0m var info = [4;39mstat[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'stat' in scope[0;0m
[0;36m96 |[0;0m if stat(path, &info) == 0 {
[0;36m97 |[0;0m switch info.st_mode & S_IFMT {
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:96:12: [1;31merror: [1;39mcannot find 'stat' in scope[0;0m
[0;36m94 |[0;0m
[0;36m95 |[0;0m var info = stat()
[0;36m96 |[0;0m if [4;39mstat[0;0m(path, &info) == 0 {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'stat' in scope[0;0m
[0;36m97 |[0;0m switch info.st_mode & S_IFMT {
[0;36m98 |[0;0m case S_IFREG, S_IFCHR, S_IFIFO: break
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:97:35: [1;31merror: [1;39mcannot find 'S_IFMT' in scope[0;0m
[0;36m95 |[0;0m var info = stat()
[0;36m96 |[0;0m if stat(path, &info) == 0 {
[0;36m97 |[0;0m switch info.st_mode & [4;39mS_IFMT[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFMT' in scope[0;0m
[0;36m98 |[0;0m case S_IFREG, S_IFCHR, S_IFIFO: break
[0;36m99 |[0;0m case S_IFDIR: return refuse("is a directory")
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:98:18: [1;31merror: [1;39mcannot find 'S_IFREG' in scope[0;0m
[0;36m96 |[0;0m if stat(path, &info) == 0 {
[0;36m97 |[0;0m switch info.st_mode & S_IFMT {
[0;36m98 |[0;0m case [4;39mS_IFREG[0;0m, S_IFCHR, S_IFIFO: break
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFREG' in scope[0;0m
[0;36m99 |[0;0m case S_IFDIR: return refuse("is a directory")
[0;36m100 |[0;0m default: return refuse("not a regular file, character device or FIFO")
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:98:27: [1;31merror: [1;39mcannot find 'S_IFCHR' in scope[0;0m
[0;36m96 |[0;0m if stat(path, &info) == 0 {
[0;36m97 |[0;0m switch info.st_mode & S_IFMT {
[0;36m98 |[0;0m case S_IFREG, [4;39mS_IFCHR[0;0m, S_IFIFO: break
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFCHR' in scope[0;0m
[0;36m99 |[0;0m case S_IFDIR: return refuse("is a directory")
[0;36m100 |[0;0m default: return refuse("not a regular file, character device or FIFO")
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:98:36: [1;31merror: [1;39mcannot find 'S_IFIFO' in scope[0;0m
[0;36m96 |[0;0m if stat(path, &info) == 0 {
[0;36m97 |[0;0m switch info.st_mode & S_IFMT {
[0;36m98 |[0;0m case S_IFREG, S_IFCHR, [4;39mS_IFIFO[0;0m: break
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFIFO' in scope[0;0m
[0;36m99 |[0;0m case S_IFDIR: return refuse("is a directory")
[0;36m100 |[0;0m default: return refuse("not a regular file, character device or FIFO")
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:99:18: [1;31merror: [1;39mcannot find 'S_IFDIR' in scope[0;0m
[0;36m97 |[0;0m switch info.st_mode & S_IFMT {
[0;36m98 |[0;0m case S_IFREG, S_IFCHR, S_IFIFO: break
[0;36m99 |[0;0m case [4;39mS_IFDIR[0;0m: return refuse("is a directory")
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFDIR' in scope[0;0m
[0;36m100 |[0;0m default: return refuse("not a regular file, character device or FIFO")
[0;36m101 |[0;0m }
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:104:18: [1;31merror: [1;39mcannot find 'open' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = [4;39mopen[0;0m(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'open' in scope[0;0m
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
[0;36m106 |[0;0m
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:104:29: [1;31merror: [1;39mcannot find 'O_WRONLY' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = open(path, [4;39mO_WRONLY[0;0m | O_APPEND | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_WRONLY' in scope[0;0m
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
[0;36m106 |[0;0m
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:104:40: [1;31merror: [1;39mcannot find 'O_APPEND' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = open(path, O_WRONLY | [4;39mO_APPEND[0;0m | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_APPEND' in scope[0;0m
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
[0;36m106 |[0;0m
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:104:51: [1;31merror: [1;39mcannot find 'O_CREAT' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = open(path, O_WRONLY | O_APPEND | [4;39mO_CREAT[0;0m | O_CLOEXEC | O_NONBLOCK, 0o644)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_CREAT' in scope[0;0m
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
[0;36m106 |[0;0m
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:104:61: [1;31merror: [1;39mcannot find 'O_CLOEXEC' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = open(path, O_WRONLY | O_APPEND | O_CREAT | [4;39mO_CLOEXEC[0;0m | O_NONBLOCK, 0o644)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_CLOEXEC' in scope[0;0m
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
[0;36m106 |[0;0m
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:104:73: [1;31merror: [1;39mcannot find 'O_NONBLOCK' in scope[0;0m
[0;36m102 |[0;0m }
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC | [4;39mO_NONBLOCK[0;0m, 0o644)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_NONBLOCK' in scope[0;0m
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
[0;36m106 |[0;0m
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:105:69: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m103 |[0;0m
[0;36m104 |[0;0m let fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
[0;36m105 |[0;0m guard fd >= 0 else { return refuse(String(cString: strerror([4;39merrno[0;0m))) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m106 |[0;0m
[0;36m107 |[0;0m // Blocking writes from here on; O_NONBLOCK was only for the open.
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m56 |[0;0m * thread.
[0;36m57 |[0;0m */
[0;36m58 |[0;0m #define errno (*__errno())
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m __END_DECLS
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:108:21: [1;31merror: [1;39mcannot find 'fcntl' in scope[0;0m
[0;36m106 |[0;0m
[0;36m107 |[0;0m // Blocking writes from here on; O_NONBLOCK was only for the open.
[0;36m108 |[0;0m let flags = [4;39mfcntl[0;0m(fd, F_GETFL)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'fcntl' in scope[0;0m
[0;36m109 |[0;0m if flags >= 0 { _ = fcntl(fd, F_SETFL, flags & ~O_NONBLOCK) }
[0;36m110 |[0;0m #if canImport(Darwin)
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:108:31: [1;31merror: [1;39mcannot find 'F_GETFL' in scope[0;0m
[0;36m106 |[0;0m
[0;36m107 |[0;0m // Blocking writes from here on; O_NONBLOCK was only for the open.
[0;36m108 |[0;0m let flags = fcntl(fd, [4;39mF_GETFL[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'F_GETFL' in scope[0;0m
[0;36m109 |[0;0m if flags >= 0 { _ = fcntl(fd, F_SETFL, flags & ~O_NONBLOCK) }
[0;36m110 |[0;0m #if canImport(Darwin)
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:109:29: [1;31merror: [1;39mcannot find 'fcntl' in scope[0;0m
[0;36m107 |[0;0m // Blocking writes from here on; O_NONBLOCK was only for the open.
[0;36m108 |[0;0m let flags = fcntl(fd, F_GETFL)
[0;36m109 |[0;0m if flags >= 0 { _ = [4;39mfcntl[0;0m(fd, F_SETFL, flags & ~O_NONBLOCK) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'fcntl' in scope[0;0m
[0;36m110 |[0;0m #if canImport(Darwin)
[0;36m111 |[0;0m _ = fcntl(fd, F_SETNOSIGPIPE, 1)
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:109:39: [1;31merror: [1;39mcannot find 'F_SETFL' in scope[0;0m
[0;36m107 |[0;0m // Blocking writes from here on; O_NONBLOCK was only for the open.
[0;36m108 |[0;0m let flags = fcntl(fd, F_GETFL)
[0;36m109 |[0;0m if flags >= 0 { _ = fcntl(fd, [4;39mF_SETFL[0;0m, flags & ~O_NONBLOCK) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'F_SETFL' in scope[0;0m
[0;36m110 |[0;0m #if canImport(Darwin)
[0;36m111 |[0;0m _ = fcntl(fd, F_SETNOSIGPIPE, 1)
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:109:57: [1;31merror: [1;39mcannot find 'O_NONBLOCK' in scope[0;0m
[0;36m107 |[0;0m // Blocking writes from here on; O_NONBLOCK was only for the open.
[0;36m108 |[0;0m let flags = fcntl(fd, F_GETFL)
[0;36m109 |[0;0m if flags >= 0 { _ = fcntl(fd, F_SETFL, flags & ~[4;39mO_NONBLOCK[0;0m) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_NONBLOCK' in scope[0;0m
[0;36m110 |[0;0m #if canImport(Darwin)
[0;36m111 |[0;0m _ = fcntl(fd, F_SETNOSIGPIPE, 1)
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:114:22: [1;31merror: [1;39mcannot find 'stat' in scope[0;0m
[0;36m112 |[0;0m #endif
[0;36m113 |[0;0m
[0;36m114 |[0;0m var opened = [4;39mstat[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'stat' in scope[0;0m
[0;36m115 |[0;0m let isRegular = fstat(fd, &opened) == 0 && (opened.st_mode & S_IFMT) == S_IFREG
[0;36m116 |[0;0m let sink = FileSink(fd: fd, isRegularFile: isRegular)
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:115:25: [1;31merror: [1;39mcannot find 'fstat' in scope[0;0m
[0;36m113 |[0;0m
[0;36m114 |[0;0m var opened = stat()
[0;36m115 |[0;0m let isRegular = [4;39mfstat[0;0m(fd, &opened) == 0 && (opened.st_mode & S_IFMT) == S_IFREG
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'fstat' in scope[0;0m
[0;36m116 |[0;0m let sink = FileSink(fd: fd, isRegularFile: isRegular)
[0;36m117 |[0;0m registry.sinks[path] = sink
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:115:70: [1;31merror: [1;39mcannot find 'S_IFMT' in scope[0;0m
[0;36m113 |[0;0m
[0;36m114 |[0;0m var opened = stat()
[0;36m115 |[0;0m let isRegular = fstat(fd, &opened) == 0 && (opened.st_mode & [4;39mS_IFMT[0;0m) == S_IFREG
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFMT' in scope[0;0m
[0;36m116 |[0;0m let sink = FileSink(fd: fd, isRegularFile: isRegular)
[0;36m117 |[0;0m registry.sinks[path] = sink
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:115:81: [1;31merror: [1;39mcannot find 'S_IFREG' in scope[0;0m
[0;36m113 |[0;0m
[0;36m114 |[0;0m var opened = stat()
[0;36m115 |[0;0m let isRegular = fstat(fd, &opened) == 0 && (opened.st_mode & S_IFMT) == [4;39mS_IFREG[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'S_IFREG' in scope[0;0m
[0;36m116 |[0;0m let sink = FileSink(fd: fd, isRegularFile: isRegular)
[0;36m117 |[0;0m registry.sinks[path] = sink
/host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift:159:12: [1;31merror: [1;39mcannot find 'Musl' in scope[0;0m
[0;36m157 |[0;0m return Glibc.write(fd, buf, count)
[0;36m158 |[0;0m #else
[0;36m159 |[0;0m return [4;39mMusl[0;0m.write(fd, buf, count)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'Musl' in scope[0;0m
[0;36m160 |[0;0m #endif
[0;36m161 |[0;0m }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/PerfectLogger/Bootstrap.swift -primary-file /host/spi-builder-workspace/Sources/PerfectLogger/FileLogHandler.swift /host/spi-builder-workspace/Sources/PerfectLogger/LogFile.swift /host/spi-builder-workspace/Sources/PerfectLogger/LogOptions.swift /host/spi-builder-workspace/Sources/PerfectLogger/LogPriority.swift /host/spi-builder-workspace/Sources/PerfectLogger/RemoteLogHandler.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/FileLogHandler.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/FileLogHandler.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/FileLogHandler.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/FileLogHandler.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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 -swift-version 6 -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.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -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/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectLogger -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/PerfectLogger_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/FileLogHandler.o -index-unit-output-path /PerfectLogger.build/Debug-android-aarch64/PerfectLogger-t.build/Objects-normal/aarch64/FileLogHandler.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android