Build Information
Failed to build Dflat, reference unstable (ac2de5
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 23:28:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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 ac2de5f To always link swift-atomics.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
ac2de5fd27842acb5d723e913a35e4ebb15812f9
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-4609320-2":/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 (7.91s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/liuliu/swift-sqlite3-support.git
[1/119] Fetching swift-sqlite3-support
[67/2201] Fetching swift-sqlite3-support, swift-docc-plugin
[234/3998] Fetching swift-sqlite3-support, swift-docc-plugin, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.32s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.51s)
Fetched https://github.com/liuliu/swift-sqlite3-support.git from cache (1.51s)
Computing version for https://github.com/liuliu/swift-sqlite3-support.git
Computed https://github.com/liuliu/swift-sqlite3-support.git at 3.47.1 (1.95s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.35s)
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.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.30s)
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/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/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
[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
[10/57] Emitting module Atomics
BUILD FAILURE 6.2 wasm