The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectSession, reference 4.0.0 (0b3bf3), with Swift 6.4 for Wasm on 16 Oct 2026 17:19:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 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: 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-session
 * tag               4.0.0      -> FETCH_HEAD
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 4.0.0
========================================
Build
========================================
Selected platform:         wasm
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-53886769-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/PerfectlySoft/Perfect-MongoDB.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Fetching https://github.com/PerfectlySoft/Perfect-Redis.git
Fetching https://github.com/PerfectlySoft/Perfect-SQLite.git
[1/1662] Fetching perfect-postgresql
[450/2979] Fetching perfect-postgresql, perfect-mysql
[481/4208] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb
[544/5050] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb, perfect-redis
[4314/13355] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb, perfect-redis, swift-log
Fetched https://github.com/PerfectlySoft/Perfect-Redis.git (0.43s)
[3555/12513] Fetching perfect-postgresql, perfect-mysql, perfect-mongodb, swift-log
Fetched https://github.com/PerfectlySoft/Perfect-PostgreSQL.git (0.45s)
[2225/10851] Fetching perfect-mysql, perfect-mongodb, swift-log
Fetched https://github.com/PerfectlySoft/Perfect-MongoDB.git (0.65s)
Fetched https://github.com/apple/swift-log.git (0.65s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git (0.66s)
[1/813] Fetching perfect-sqlite
Fetched https://github.com/PerfectlySoft/Perfect-SQLite.git (0.79s)
Computing version for https://github.com/PerfectlySoft/Perfect-MongoDB.git
Computed https://github.com/PerfectlySoft/Perfect-MongoDB.git at 4.0.3 (0.93s)
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.75s)
Computing version for https://github.com/PerfectlySoft/Perfect-Redis.git
Computed https://github.com/PerfectlySoft/Perfect-Redis.git at 4.0.0 (0.89s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/RediStack.git
[1/4814] Fetching redistack
[4815/91332] Fetching redistack, swift-nio
Fetched https://github.com/swift-server/RediStack.git (5.44s)
Fetched https://github.com/apple/swift-nio.git (5.47s)
Computing version for https://github.com/PerfectlySoft/Perfect-PostgreSQL.git
Computed https://github.com/PerfectlySoft/Perfect-PostgreSQL.git at 5.0.0 (5.61s)
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-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
[1/3563] Fetching swift-metrics
[73/5452] Fetching swift-metrics, swift-atomics
[4377/22341] Fetching swift-metrics, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git (0.48s)
Fetched https://github.com/apple/swift-metrics.git (0.48s)
[1014/16889] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.33s)
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.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/7288] Fetching swift-system
[1240/36147] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.67s)
[6061/28859] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.23s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.14s)
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/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/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/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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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/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-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-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-MongoDB.git
Working copy of https://github.com/PerfectlySoft/Perfect-MongoDB.git resolved at 4.0.3
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1404]
[Planning deferred tasks]
[Starting]
[29 / 827] _NIOBase64
/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-webassembly-wasm32/PerfectSQLiteShim-t.build/Objects-normal/wasm32/PerfectSQLiteShim.o /host/spi-builder-workspace/.build/checkouts/Perfect-SQLite/Sources/PerfectSQLiteShim/PerfectSQLiteShim.c normal wasm32 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-webassembly-wasm32/PerfectSQLiteShim-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-webassembly-wasm32/PerfectSQLiteShim-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-webassembly-wasm32/PerfectSQLiteShim-t.build/Objects-normal/wasm32/PerfectSQLiteShim.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectSQLite.build/Debug-webassembly-wasm32/PerfectSQLiteShim-t.build/Objects-normal/wasm32/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-webassembly-wasm32/PerfectSQLiteShim-t.build/Objects-normal/wasm32/PerfectSQLiteShim.o
error: Build failed
BUILD FAILURE 6.4 wasm