Build Information
Failed to build QuickLMDB, reference 16.0.0 (588b11), with Swift 6.3 for Wasm on 3 Oct 2026 02:52:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/QuickLMDB.git
Reference: 16.0.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/tannerdsilva/QuickLMDB
* tag 16.0.0 -> FETCH_HEAD
HEAD is now at 588b11d v16 release - macros, concord, LMDBv1 and more
Cloned https://github.com/tannerdsilva/QuickLMDB.git
Revision (git rev-parse @):
588b11d6de70e4a610ae8934d0e293c7301ac28b
SUCCESS checkout https://github.com/tannerdsilva/QuickLMDB.git at 16.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tannerdsilva/QuickLMDB.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/tannerdsilva/CLMDB.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/tannerdsilva/rawdog.git
[1/59] Fetching clmdb
[4/2248] Fetching clmdb, rawdog
[48/9350] Fetching clmdb, rawdog, swift-system
Fetched https://github.com/tannerdsilva/CLMDB.git from cache (0.68s)
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
[1/80202] Fetching swift-syntax
Fetched https://github.com/tannerdsilva/rawdog.git from cache (4.73s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.75s)
Computing version for https://github.com/tannerdsilva/rawdog.git
Computed https://github.com/tannerdsilva/rawdog.git at 22.0.0 (5.00s)
Fetching https://github.com/apple/swift-log.git
[1/8232] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/tannerdsilva/CLMDB.git
Computed https://github.com/tannerdsilva/CLMDB.git at 1.0.2 (0.64s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 603.0.2 (1.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.15s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/tannerdsilva/rawdog.git
Working copy of https://github.com/tannerdsilva/rawdog.git resolved at 22.0.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/tannerdsilva/CLMDB.git
Working copy of https://github.com/tannerdsilva/CLMDB.git resolved at 1.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.24s)
Building for debugging...
[0/86] Write sources
[2/86] Compiling CLMDB module.c
[3/86] Compiling CLMDB midl.c
[4/86] Compiling __crawdog_chachapoly crawdog_chachapoly.c
[5/86] Compiling __crawdog_blake2 crawdog_blake2xs-ref.c
[6/86] Compiling CLMDB midl.c
[7/86] Compiling CLMDB module.c
[8/86] Compiling __crawdog_blake2 crawdog_blake2xb-ref.c
[9/86] Write swift-version-24593BA9C3E375BF.txt
[10/86] Write sources
[15/86] Compiling __crawdog_blake2 crawdog_blake2sp-ref.c
[16/86] Write sources
[17/86] Compiling __crawdog_blake2 crawdog_blake2bp-ref.c
[18/86] Write sources
[20/86] Compiling _SwiftSyntaxCShims PlatformMutex.c
[21/86] Compiling __crawdog_blake2 crawdog_blake2s-ref.c
[22/86] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:107:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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, \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:209:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3124:8: error: call to undeclared function 'msync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3124 | if (MDB_MSYNC(env->me_map, env->me_psize * numpgs, flags))
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:582:36: note: expanded from macro 'MDB_MSYNC'
582 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3124:8: note: did you mean 'fsync'?
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:582:36: note: expanded from macro 'MDB_MSYNC'
582 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)
| ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/unistd.h:88:5: note: 'fsync' declared here
88 | int fsync(int);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3236:11: error: use of undeclared identifier 'F_SETLK'
3236 | Pidset = F_SETLK, Pidcheck = F_GETLK
| ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3236:31: error: use of undeclared identifier 'F_GETLK'
3236 | Pidset = F_SETLK, Pidcheck = F_GETLK
| ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3269:22: error: use of undeclared identifier 'F_WRLCK'
3269 | lock_info.l_type = F_WRLCK;
| ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3274:14: error: use of undeclared identifier 'F_GETLK'
3274 | if (op == F_GETLK && lock_info.l_type != F_UNLCK)
| ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3274:45: error: use of undeclared identifier 'F_UNLCK'
3274 | if (op == F_GETLK && lock_info.l_type != F_UNLCK)
| ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3781:5: error: call to undeclared function 'munmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3781 | munmap(tl[i].mptr, tl[i].mcnt * env->me_psize);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:3794:6: error: call to undeclared function 'munmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3794 | munmap(tl[i].mptr, tl[i].mcnt * env->me_psize);
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:4917:8: error: call to undeclared function 'msync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
4917 | if (MDB_MSYNC(ptr, meta_size, rc)) {
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:582:36: note: expanded from macro 'MDB_MSYNC'
582 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5117:19: error: use of undeclared identifier 'MAP_SHARED'
5117 | int mmap_flags = MAP_SHARED;
| ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5118:13: error: use of undeclared identifier 'PROT_READ'
5118 | int prot = PROT_READ;
| ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5120:11: error: use of undeclared identifier 'PROT_WRITE'
5120 | prot |= PROT_WRITE;
| ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5127:17: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
5127 | env->me_map = mmap(addr, NUM_METAS * env->me_psize, prot, mmap_flags,
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5127:15: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
5127 | env->me_map = mmap(addr, NUM_METAS * env->me_psize, prot, mmap_flags,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5128 | env->me_fd, 0);
| ~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5129:22: error: use of undeclared identifier 'MAP_FAILED'
5129 | if (env->me_map == MAP_FAILED) {
| ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5139:16: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
5139 | env->me_map = mmap(addr, env->me_mapsize, prot, mmap_flags,
| ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:5139:14: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
5139 | env->me_map = mmap(addr, env->me_mapsize, prot, mmap_flags,
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5140 | env->me_fd, 0);
| ~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[24/90] Compiling CLMDB mdb.c
[24/90] Compiling __crawdog_blake2 crawdog_blake2b-ref.c
error: cancelled
error: cancelled
error: cancelled
error: cancelled
[25/92] Emitting module SwiftSyntax510
[26/92] Compiling SwiftSyntax510 Empty.swift
BUILD FAILURE 6.3 wasm