Build Information
Failed to build Dflat, reference unstable (73925e
), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 22:03:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/dflat.git
Reference: unstable
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/liuliu/dflat
* branch unstable -> FETCH_HEAD
* [new branch] unstable -> origin/unstable
HEAD is now at 73925e5 Turn trusted schema off.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
73925e51e4f44add842177a229f9990cb13711ff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at unstable
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/liuliu/dflat.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/google/flatbuffers.git
[1/88916] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (8.47s)
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-docc-plugin
[1/119] Fetching swift-sqlite3-support
[67/2213] Fetching swift-sqlite3-support, swift-docc-plugin
[130/4027] Fetching swift-sqlite3-support, swift-docc-plugin, swift-atomics
[129/2213] Fetching swift-sqlite3-support, swift-docc-plugin
[181/4027] Fetching swift-sqlite3-support, swift-docc-plugin, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.89s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.98s)
[112/119] Fetching swift-sqlite3-support
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.72s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (2.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
Creating working copy for https://github.com/liuliu/swift-sqlite3-support.git
Working copy of https://github.com/liuliu/swift-sqlite3-support.git resolved at 3.47.1
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.0
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at c92e78a9f841a6110ec27180d68d1f7f2afda21d
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
[6/20] Compiling _AtomicsShims.c
[7/20] Compiling _SQLiteDflatOSShim os.c
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43769:15: error: use of undeclared identifier 'PROT_READ'
43769 | int flags = PROT_READ; /* Flags to pass to mmap() */
| ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43800:45: error: use of undeclared identifier 'MAP_SHARED'
43800 | pNew = osMmap(pReq, nNew-nReuse, flags, MAP_SHARED, h, nReuse);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43801:15: error: use of undeclared identifier 'MAP_FAILED'
43801 | if( pNew!=MAP_FAILED ){
| ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43812:15: error: use of undeclared identifier 'MAP_FAILED'
43812 | if( pNew==MAP_FAILED || pNew==0 ){
| ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43819:35: error: use of undeclared identifier 'MAP_SHARED'
43819 | pNew = osMmap(0, nNew, flags, MAP_SHARED, h, 0);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-sqlite3-support/Sources/sqlite3.c:43822:13: error: use of undeclared identifier 'MAP_FAILED'
43822 | if( pNew==MAP_FAILED ){
| ^
6 errors generated.
[8/20] Compiling SQLite3 sqlite3.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm