Build Information
Failed to build Kineo, reference master (6c00ac), with Swift 6.1 for Wasm on 19 Aug 2026 08:06:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/kineo.git
Reference: master
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/kasei/kineo
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6c00acd Change SPARQLLexer instances from let to var.
Submodule path 'rdf-tests': checked out 'e24f243f79087a61a1b1aa72f5c7c27470155c33'
Submodule path 'rdf-tests-12': checked out 'e0ed971a1e8bc5f4658d014d16362ad6cd15ddb5'
Submodule 'rdf-tests' (https://github.com/w3c/rdf-tests.git) registered for path 'rdf-tests'
Submodule 'rdf-tests-12' (https://github.com/kasei/sparql-12.git) registered for path 'rdf-tests-12'
Cloning into '/host/spi-builder-workspace/rdf-tests'...
Cloning into '/host/spi-builder-workspace/rdf-tests-12'...
Cloned https://github.com/kasei/kineo.git
Revision (git rev-parse @):
6c00acd0fbef1d8169f6417ff9b2707a4872efd1
SUCCESS checkout https://github.com/kasei/kineo.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kasei/kineo.git
https://github.com/kasei/kineo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/kasei/diomede.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/URITemplate.swift.git
Fetching https://github.com/kasei/IDPPlanner.git
[1/788] Fetching diomede
[17/1600] Fetching diomede, uritemplate.swift
[1601/1647] Fetching diomede, uritemplate.swift, idpplanner
[1648/7745] Fetching diomede, uritemplate.swift, idpplanner, swift-algorithms
Fetched https://github.com/kasei/IDPPlanner.git from cache (0.44s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1722/7698] Fetching diomede, uritemplate.swift, swift-algorithms
[5077/18960] Fetching diomede, uritemplate.swift, swift-algorithms, sqlite.swift
[7804/37264] Fetching diomede, uritemplate.swift, swift-algorithms, sqlite.swift, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms from cache (0.54s)
Fetching https://github.com/kasei/swift-serd.git
[4290/31166] Fetching diomede, uritemplate.swift, sqlite.swift, swift-argument-parser
Fetched https://github.com/kasei/diomede.git from cache (0.75s)
Fetching https://github.com/kasei/swift-sparql-syntax.git
Fetched https://github.com/apple/swift-argument-parser from cache (0.76s)
Fetched https://github.com/kylef/URITemplate.swift.git from cache (0.81s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (0.81s)
[1/68] Fetching swift-serd
[34/13505] Fetching swift-serd, cryptoswift
Fetched https://github.com/kasei/swift-serd.git from cache (0.43s)
[269/13437] Fetching cryptoswift
[3495/16005] Fetching cryptoswift, swift-sparql-syntax
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (0.55s)
[5107/13437] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.22s)
Computing version for https://github.com/kasei/IDPPlanner.git
Computed https://github.com/kasei/IDPPlanner.git at 0.0.5 (1.91s)
Computing version for https://github.com/kylef/URITemplate.swift.git
Computed https://github.com/kylef/URITemplate.swift.git at 3.0.1 (0.92s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1460] Fetching pathkit
[907/2481] Fetching pathkit, spectre
Fetched https://github.com/kylef/PathKit.git from cache (0.42s)
Fetched https://github.com/kylef/Spectre.git from cache (0.42s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.67s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.24s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 0.1.1 (0.24s)
Fetching https://github.com/apple/swift-numerics
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/kasei/diomede.git
Computed https://github.com/kasei/diomede.git at 0.0.66 (0.84s)
Fetching https://github.com/agisboye/CLMDB.git
[1/45] Fetching clmdb
Fetched https://github.com/agisboye/CLMDB.git from cache (0.40s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.11.6 (1.33s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/295] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.79s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (1.04s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.24s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.12 (0.23s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.25s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.25s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.22s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.11.6
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 0.1.1
Creating working copy for https://github.com/kasei/IDPPlanner.git
Working copy of https://github.com/kasei/IDPPlanner.git resolved at 0.0.5
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
Creating working copy for https://github.com/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.2.12
Creating working copy for https://github.com/kylef/URITemplate.swift.git
Working copy of https://github.com/kylef/URITemplate.swift.git resolved at 3.0.1
Creating working copy for https://github.com/kasei/diomede.git
Working copy of https://github.com/kasei/diomede.git resolved at 0.0.66
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Kineo/ext/Heap/LICENSE.txt
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/58] Compiling serd string.c
[3/58] Compiling serd env.c
[3/58] Write sources
[9/58] Compiling serd uri.c
[10/58] Write sources
[14/58] Compiling serd reader.c
[15/58] Compiling _NumericsShims _NumericsShims.c
[16/58] Write sources
[24/58] Compiling serd writer.c
[25/58] Compiling serd byte_source.c
[26/58] Compiling LMDB midl.c
[27/58] Compiling serd n3.c
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:137:10: fatal error: 'pthread.h' file not found
137 | #include <pthread.h>
| ^~~~~~~~~~~
2 errors generated.
[28/58] Compiling LMDB mdb.c
[28/58] Compiling serd node.c
[28/58] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/KineoTests/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Kineo/ext/Heap/LICENSE.txt
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:137:10: fatal error: 'pthread.h' file not found
137 | #include <pthread.h>
| ^~~~~~~~~~~
2 errors generated.
[2/32] Compiling LMDB mdb.c
[2/32] Write swift-version-24593BA9C3E375BF.txt
[2/32] Compiling serd node.c
BUILD FAILURE 6.1 wasm