Build Information
Failed to build Kineo, reference 0.0.109 (6c00ac), with Swift 6.4 for Wasm on 27 Sep 2026 05:04:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/kineo.git
Reference: 0.0.109
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
* tag 0.0.109 -> FETCH_HEAD
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 0.0.109
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/kasei/kineo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/kasei/IDPPlanner.git
Fetching https://github.com/kasei/diomede.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/kylef/URITemplate.swift.git
[1/47] Fetching idpplanner
[48/859] Fetching idpplanner, uritemplate.swift
[560/7018] Fetching idpplanner, uritemplate.swift, swift-algorithms
[984/18325] Fetching idpplanner, uritemplate.swift, swift-algorithms, sqlite.swift
Fetched https://github.com/kylef/URITemplate.swift.git (0.49s)
Fetched https://github.com/kasei/IDPPlanner.git (0.49s)
[238/17466] Fetching swift-algorithms, sqlite.swift
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[239/18254] Fetching swift-algorithms, sqlite.swift, diomede
Fetching https://github.com/kasei/swift-serd.git
[12602/37200] Fetching swift-algorithms, sqlite.swift, diomede, swift-argument-parser
Fetched https://github.com/kasei/diomede.git (0.80s)
Fetched https://github.com/apple/swift-algorithms (0.80s)
Fetching https://github.com/kasei/swift-sparql-syntax.git
Fetched https://github.com/apple/swift-argument-parser (0.81s)
Fetched https://github.com/stephencelis/SQLite.swift.git (0.81s)
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git (0.44s)
[1/13439] Fetching cryptoswift
[3496/16007] Fetching cryptoswift, swift-sparql-syntax
Fetched https://github.com/kasei/swift-sparql-syntax.git (0.52s)
[5779/13439] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.08s)
Computing version for https://github.com/kasei/IDPPlanner.git
Computed https://github.com/kasei/IDPPlanner.git at 0.0.5 (1.76s)
Computing version for https://github.com/kylef/URITemplate.swift.git
Computed https://github.com/kylef/URITemplate.swift.git at 3.0.1 (1.05s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1460] Fetching pathkit
[1461/2481] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git (0.90s)
Fetched https://github.com/kylef/PathKit.git (0.90s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (1.08s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.18s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 0.1.1 (0.18s)
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.07s)
Computing version for https://github.com/kasei/diomede.git
Computed https://github.com/kasei/diomede.git at 0.0.66 (1.27s)
Fetching https://github.com/agisboye/CLMDB.git
[1/45] Fetching clmdb
Fetched https://github.com/agisboye/CLMDB.git (0.45s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.11.6 (1.51s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/295] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git (0.84s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (1.02s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.17s)
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.17s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.17s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.17s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
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/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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 0.1.0
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.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/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/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
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/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 632]
[Planning deferred tasks]
[27 / 213] kineo-test-product
[118 / 224] RealModule
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: [0m[0;1;31merror: [0m[1m"WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"[0m
2 | #error [0;32m"WASI lacks a true mmap; to enable minimal mmap emulation, \[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:138:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: [0m[0;1;31merror: [0m[1m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0m
2 | #error [0;32m"wasm lacks signal support; to enable minimal signal emulation, \[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2574:8: [0m[0;1;31merror: [0m[1mcall to undeclared function 'msync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
2574 | [0;34mif[0m (MDB_MSYNC(env->me_map, env->me_mapsize, flags))[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:447:36: [0m[0;1;36mnote: [0mexpanded from macro 'MDB_MSYNC'[0m
447 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2574:8: [0m[0;1;36mnote: [0mdid you mean 'fsync'?[0m
[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:447:36: [0m[0;1;36mnote: [0mexpanded from macro 'MDB_MSYNC'[0m
447 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:108:
[1m/root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/unistd.h:88:5: [0m[0;1;36mnote: [0m'fsync' declared here[0m
88 | [0;34mint[0m fsync([0;34mint[0m);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2679:11: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_SETLK'[0m
2679 | Pidset = F_SETLK, Pidcheck = F_GETLK[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2679:31: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_GETLK'[0m
2679 | Pidset = F_SETLK, Pidcheck = F_GETLK[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2712:22: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_WRLCK'[0m
2712 | lock_info.l_type = F_WRLCK;[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2717:14: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_GETLK'[0m
2717 | [0;34mif[0m (op == F_GETLK && lock_info.l_type != F_UNLCK)[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2717:45: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_UNLCK'[0m
2717 | [0;34mif[0m (op == F_GETLK && lock_info.l_type != F_UNLCK)[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:3934:8: [0m[0;1;31merror: [0m[1mcall to undeclared function 'msync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
3934 | [0;34mif[0m (MDB_MSYNC(ptr, meta_size, rc)) {[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:447:36: [0m[0;1;36mnote: [0mexpanded from macro 'MDB_MSYNC'[0m
447 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4092:19: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_SHARED'[0m
4092 | [0;34mint[0m mmap_flags = MAP_SHARED;[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4093:13: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
4093 | [0;34mint[0m prot = PROT_READ;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4099:11: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_WRITE'[0m
4099 | prot |= PROT_WRITE;[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4103:16: [0m[0;1;31merror: [0m[1mcall to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
4103 | env->me_map = mmap(addr, env->me_mapsize, prot, mmap_flags,[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4105:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_FAILED'[0m
4105 | [0;34mif[0m (env->me_map == MAP_FAILED) {[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4158:3: [0m[0;1;31merror: [0m[1mcall to undeclared function 'munmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
4158 | munmap(env->me_map, env->me_mapsize);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4662:22: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_RDLCK'[0m
4662 | lock_info.l_type = F_RDLCK;[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4666:35: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_SETLK'[0m
4666 | [0;34mwhile[0m ((rc = fcntl(env->me_lfd, F_SETLK, &lock_info)) &&[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4697:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_WRLCK'[0m
4697 | lock_info.l_type = F_WRLCK;[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4701:34: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_SETLK'[0m
4701 | [0;34mwhile[0m ((rc = fcntl(env->me_lfd, F_SETLK, &lock_info)) &&[0m
| [0;1;32m ^~~~~~~
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/LMDB-t.build/Objects-normal/wasm32/mdb.o /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/LMDB-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/LMDB-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/LMDB-t.build/Objects-normal/wasm32/mdb.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/LMDB-t.build/Objects-normal/wasm32/mdb.dia -c /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/LMDB-t.build/Objects-normal/wasm32/mdb.o
error: Build failed
BUILD FAILURE 6.4 wasm