Build Information
Failed to build Dflat, reference v0.6.0 (2b98a6
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 23:27:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/dflat.git
Reference: v0.6.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/liuliu/dflat
* tag v0.6.0 -> FETCH_HEAD
HEAD is now at 2b98a69 Fix subscription have the wrong type for Int / UInt in WorkspaceDictionary.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
2b98a697b63d44ce96bb9432fb746ef8d1e855be
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at v0.6.0
========================================
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-4609320-3":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
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/87373] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (9.36s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/liuliu/swift-sqlite3-support.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[231/2201] Fetching swift-docc-plugin, swift-sqlite3-support
[297/3998] Fetching swift-docc-plugin, swift-sqlite3-support, swift-atomics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.82s)
[1909/1916] Fetching swift-sqlite3-support, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.49s)
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.49s)
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.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.83s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.93s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.84s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.73s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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
[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
[8/20] Write swift-version-24593BA9C3E375BF.txt
/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.
[9/57] Compiling SQLite3 sqlite3.c
BUILD FAILURE 6.2 wasm