The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectSession, reference main (0b3bf3), with Swift 6.4 for Android on 16 Oct 2026 17:16:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-session.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/perfectlysoft/perfect-session
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0b3bf33 Merge pull request #17 from PerfectlySoft/release-prep
Cloned https://github.com/perfectlysoft/perfect-session.git
Revision (git rev-parse @):
0b3bf3314ea6bab1500ad5f3010565ba39849272
SUCCESS checkout https://github.com/perfectlysoft/perfect-session.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-session.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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/PerfectlySoft/Perfect-Redis.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
Fetching https://github.com/PerfectlySoft/Perfect-SQLite.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
[1/842] Fetching perfect-redis
[170/2504] Fetching perfect-redis, perfect-postgresql
[678/3821] Fetching perfect-redis, perfect-postgresql, perfect-mysql
[1577/12126] Fetching perfect-redis, perfect-postgresql, perfect-mysql, swift-log
[1972/13355] Fetching perfect-redis, perfect-postgresql, perfect-mysql, swift-log, perfect-mongodb
Fetched https://github.com/PerfectlySoft/Perfect-Redis.git (0.53s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (0.53s)
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git (0.53s)
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (0.53s)
Fetched https://github.com/apple/swift-log.git (0.53s)
[1/813] Fetching perfect-sqlite
Fetched https://github.com/PerfectlySoft/Perfect-SQLite.git (0.74s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 4.0.3 (0.88s)
Computing version for https://github.com/PerfectlySoft/Perfect-SQLite.git
Computed https://github.com/PerfectlySoft/Perfect-SQLite.git at 6.0.0 (0.13s)
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/1723] Fetching perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git (0.48s)
Computing version for https://github.com/PerfectlySoft/Perfect-Redis.git
Computed https://github.com/PerfectlySoft/Perfect-Redis.git at 4.0.0 (0.62s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/RediStack.git
[1/4814] Fetching redistack
Fetched https://github.com/swift-server/RediStack.git (0.77s)
[1/86518] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.07s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 5.0.0 (3.22s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.13s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (0.13s)
Computing version for https://github.com/swift-server/RediStack.git
Computed https://github.com/swift-server/RediStack.git at 1.6.3 (0.14s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
[1/16889] Fetching swift-nio-ssl
[16890/18778] Fetching swift-nio-ssl, swift-atomics
[18779/22341] Fetching swift-nio-ssl, swift-atomics, swift-metrics
Fetched https://github.com/apple/swift-atomics.git (1.85s)
[16898/20452] Fetching swift-nio-ssl, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (3.71s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.72s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.89s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.14s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.24s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/28859] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.40s)
[1/7288] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (1.70s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.22s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.13s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-Redis.git
Working copy of https://github.com/PerfectlySoft/Perfect-Redis.git resolved at 4.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Working copy of https://github.com/PerfectlySoft/Perfect-MongoDB.git resolved at 4.0.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 4.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 3.1.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
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/PerfectlySoft/Perfect-SQLite.git
Working copy of https://github.com/PerfectlySoft/Perfect-SQLite.git resolved at 6.0.0
Creating working copy for https://github.com/swift-server/RediStack.git
Working copy of https://github.com/swift-server/RediStack.git resolved at 1.6.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-PostgreSQL.git resolved at 5.0.0
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.1
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
warning: 'perfect-mongodb': couldn't find pc file for mongoc2
warning: 'perfect-mongodb': couldn't find pc file for bson2
warning: 'perfect-mysql': you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
warning: 'perfect-postgresql': you may be able to install libpq using your system-packager:
    apt-get install libpq-dev
warning: 'perfect-sqlite': you may be able to install sqlite3 using your system-packager:
    apt-get install libsqlite3-dev
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1404]
[Planning 1354 / 1404]
[Planning deferred tasks]
[Starting]
[42 / 868] PerfectSessionSQLite
/host/spi-builder-workspace/.build/checkouts/Perfect-SQLite/Sources/PerfectSQLiteShim/PerfectSQLiteShim.c:1:10: fatal error: 'sqlite3.h' file not found
    1 | #include <sqlite3.h>
      |          ^~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-android-aarch64/PerfectSQLiteShim-t.build/Objects-normal/aarch64/PerfectSQLiteShim.o /host/spi-builder-workspace/.build/checkouts/Perfect-SQLite/Sources/PerfectSQLiteShim/PerfectSQLiteShim.c normal aarch64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-android-aarch64/PerfectSQLiteShim-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.0/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-android-aarch64/PerfectSQLiteShim-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-android-aarch64/PerfectSQLiteShim-t.build/Objects-normal/aarch64/PerfectSQLiteShim.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-android-aarch64/PerfectSQLiteShim-t.build/Objects-normal/aarch64/PerfectSQLiteShim.dia -c /host/spi-builder-workspace/.build/checkouts/Perfect-SQLite/Sources/PerfectSQLiteShim/PerfectSQLiteShim.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-android-aarch64/PerfectSQLiteShim-t.build/Objects-normal/aarch64/PerfectSQLiteShim.o
error: Build failed
BUILD FAILURE 6.4 android