The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WCDBSwift, reference v2.1.16 (df8085), with Swift 6.3 for Linux on 5 Sep 2026 00:40:18 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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tencent/wcdb.git
Reference: v2.1.16
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/Tencent/wcdb
 * tag               v2.1.16    -> FETCH_HEAD
HEAD is now at df80859 Update version
Submodule path 'openssl': checked out '081314d07705aa58912845c213a48414d8f616a9'
Submodule path 'sqlcipher': checked out 'f049bed66ca26741f09a6e4f0603ed3af195ac96'
Submodule path 'zstd': checked out '69036dffe50f385bd3b7b187e3fd230f4b2ef97e'
Submodule 'openssl' (https://github.com/openssl/openssl.git) registered for path 'openssl'
Submodule 'sqlcipher' (https://github.com/Tencent/sqlcipher.git) registered for path 'sqlcipher'
Submodule 'zstd' (https://github.com/facebook/zstd.git) registered for path 'zstd'
Cloning into '/host/spi-builder-workspace/openssl'...
Cloning into '/host/spi-builder-workspace/sqlcipher'...
Cloning into '/host/spi-builder-workspace/zstd'...
Cloned https://github.com/Tencent/wcdb.git
Revision (git rev-parse @):
df808591b9f9a9ab42156006819c3550d5af13a3
SUCCESS checkout https://github.com/Tencent/wcdb.git at v2.1.16
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Tencent/wcdb.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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:b82c9ac2aaad9c671b7a7653c8e6eeaf006cac60f6a8910901b9357c067e0892
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Fetching https://github.com/Tencent/sqlcipher
[1/13318] Fetching sqlcipher
Fetched https://github.com/Tencent/sqlcipher from cache (2.66s)
Computing version for https://github.com/Tencent/sqlcipher
Computed https://github.com/Tencent/sqlcipher at 1.4.7 (2.85s)
Creating working copy for https://github.com/Tencent/sqlcipher
Working copy of https://github.com/Tencent/sqlcipher resolved at 1.4.7
Building for debugging...
[0/410] Compiling BindParameterBridge.cpp
[1/410] Compiling ColumnConstraintBridge.cpp
[2/410] Compiling ColumnDefBridge.cpp
[3/410] Compiling ColumnBridge.cpp
[4/410] Write swift-version-24593BA9C3E375BF.txt
[5/410] Compiling window.c
[6/410] Compiling whereexpr.c
[7/410] Compiling wherecode.c
[8/410] Compiling BindingBridge.cpp
[9/410] Compiling walker.c
[10/410] Compiling vdbetrace.c
[11/410] Compiling where.c
[12/410] Compiling vdbesort.c
[13/410] Compiling vdbemem.c
[14/410] Compiling vtab.c
[15/410] Compiling vdbeblob.c
[16/410] Compiling wal.c
[17/410] Compiling vdbeapi.c
[18/410] Compiling vacuum.c
[19/410] Compiling util.c
[20/410] Compiling vdbe.c
[21/410] Compiling utf.c
[22/410] Compiling vdbeaux.c
[23/410] Compiling treeview.c
[24/410] Compiling trigger.c
[25/410] Compiling CoreBridge.cpp
[26/410] Compiling update.c
[27/410] Compiling upsert.c
[28/410] Compiling threads.c
[29/410] Compiling status.c
[30/410] Compiling tokenize.c
[31/410] Compiling table.c
[32/410] Compiling random.c
[33/410] Compiling resolve.c
[34/410] Compiling rowset.c
[35/410] Compiling printf.c
[36/410] Compiling select.c
[37/410] Compiling FTSBridge.cpp
[38/410] Compiling pragma.c
[39/410] Compiling prepare.c
[40/410] Compiling pcache1.c
[41/410] Compiling pcache.c
[42/410] Compiling notify.c
[43/410] Compiling mutex_noop.c
[44/410] Compiling mutex_unix.c
[45/410] Compiling mutex.c
/host/spi-builder-workspace/.build/checkouts/sqlcipher/src/os_unix.c:6202:17: error: variable has incomplete type 'struct statfs'
 6202 |   struct statfs fsInfo;
      |                 ^
/host/spi-builder-workspace/.build/checkouts/sqlcipher/src/os_unix.c:6202:10: note: forward declaration of 'struct statfs'
 6202 |   struct statfs fsInfo;
      |          ^
/host/spi-builder-workspace/.build/checkouts/sqlcipher/src/os_unix.c:6374:7: error: call to undeclared function 'fstatfs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 6374 |   if( fstatfs(fd, &fsInfo) == -1 ){
      |       ^
/host/spi-builder-workspace/.build/checkouts/sqlcipher/src/os_unix.c:6408:35: error: use of undeclared identifier 'MNT_LOCAL'
 6408 |       useProxy = !(fsInfo.f_flags&MNT_LOCAL);
      |                                   ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/sqlcipher/src/os_unix.c:6413:14: error: call to undeclared function 'proxyTransformUnixFile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 6413 |         rc = proxyTransformUnixFile((unixFile*)pFile, ":auto:");
      |              ^
4 errors generated.
[46/410] Compiling os_unix.c
[46/410] Compiling mem5.c
[46/410] Compiling mem2.c
[46/410] Compiling mem3.c
[46/410] Compiling memjournal.c
[46/410] Compiling DatabaseBridge.cpp
[46/410] Compiling pager.c
[46/410] Compiling os.c
BUILD FAILURE 6.3 linux