Build Information
Failed to build SwiftDocC, reference main (a6990a), with Swift 6.4 for Wasm on 24 Sep 2026 07:12:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/DePasqualeOrg/swift-docc.git
Reference: main
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/DePasqualeOrg/swift-docc
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a6990a1 Refine warning about multiple Topics sections (#1445)
Cloned https://github.com/DePasqualeOrg/swift-docc.git
Revision (git rev-parse @):
a6990a1750f78cad18ac14a4e8dc6a5039408717
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DePasqualeOrg/swift-docc.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/DePasqualeOrg/swift-docc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/swiftlang/swift-markdown.git
[1/7746] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git (0.71s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10453] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit.git
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit.git (0.56s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18600] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.95s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2345] Fetching swift-docc-plugin
[119/20894] Fetching swift-docc-plugin, swift-crypto
[4201/39823] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser
[39824/125888] Fetching swift-docc-plugin, swift-crypto, swift-argument-parser, swift-nio
Fetched https://github.com/swiftlang/swift-docc-plugin.git (1.19s)
[51249/123543] Fetching swift-crypto, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git (1.19s)
[33181/104614] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.20s)
[16353/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.01s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (3.21s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1881] Fetching swift-atomics
[1882/8797] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.60s)
Fetched https://github.com/apple/swift-system.git (0.60s)
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (2.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.25s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.70s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
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.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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/swiftlang/swift-docc-symbolkit.git
Working copy of https://github.com/swiftlang/swift-docc-symbolkit.git resolved at main (e9a4c0f)
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (866bc25)
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (75e3df1)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (0c8947b)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 688]
[Planning deferred tasks]
[Starting]
[90 / 597]
[112 / 597] cmark-gfm
[124 / 597] cmark-gfm
[141 / 609] SymbolKit
[142 / 626] SymbolKit
[144 / 626] cmark-gfm
[151 / 626] SymbolKit
[163 / 626] SymbolKit
[164 / 626] SymbolKit
[165 / 626] SymbolKit-product
[170 / 626] SymbolKit
[171 / 626] SymbolKit
[172 / 626] Markdown-product
[174 / 626] Markdown-product
[175 / 626] DocCCommon
[176 / 626] Markdown
[179 / 626] CLMDB
In file included from /host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:107:
[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/swift-lmdb/Sources/CLMDB/mdb.c:177:
[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/swift-lmdb/Sources/CLMDB/mdb.c:2855: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
2855 | [0;34mif[0m (MDB_MSYNC(env->me_map, env->me_psize * numpgs, flags))[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:544:36: [0m[0;1;36mnote: [0mexpanded from macro 'MDB_MSYNC'[0m
544 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:2855:8: [0m[0;1;36mnote: [0mdid you mean 'fsync'?[0m
[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:544:36: [0m[0;1;36mnote: [0mexpanded from macro 'MDB_MSYNC'[0m
544 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:145:
[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/swift-lmdb/Sources/CLMDB/mdb.c:2967:11: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_SETLK'[0m
2967 | Pidset = F_SETLK, Pidcheck = F_GETLK[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:2967:31: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_GETLK'[0m
2967 | Pidset = F_SETLK, Pidcheck = F_GETLK[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:3000:22: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_WRLCK'[0m
3000 | lock_info.l_type = F_WRLCK;[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:3005:14: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_GETLK'[0m
3005 | [0;34mif[0m (op == F_GETLK && lock_info.l_type != F_UNLCK)[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:3005:45: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_UNLCK'[0m
3005 | [0;34mif[0m (op == F_GETLK && lock_info.l_type != F_UNLCK)[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4347: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
4347 | [0;34mif[0m (MDB_MSYNC(ptr, meta_size, rc)) {[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:544:36: [0m[0;1;36mnote: [0mexpanded from macro 'MDB_MSYNC'[0m
544 | # define MDB_MSYNC(addr,len,flags) msync(addr,len,flags)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4534:19: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_SHARED'[0m
4534 | [0;34mint[0m mmap_flags = MAP_SHARED;[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4535:13: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_READ'[0m
4535 | [0;34mint[0m prot = PROT_READ;[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4550:11: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'PROT_WRITE'[0m
4550 | prot |= PROT_WRITE;[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4554: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
4554 | env->me_map = mmap(addr, env->me_mapsize, prot, mmap_flags,[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4556:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'MAP_FAILED'[0m
4556 | [0;34mif[0m (env->me_map == MAP_FAILED) {[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:4616: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
4616 | munmap(env->me_map, env->me_mapsize);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:5151:22: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_RDLCK'[0m
5151 | lock_info.l_type = F_RDLCK;[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:5155:35: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_SETLK'[0m
5155 | [0;34mwhile[0m ((rc = fcntl(env->me_lfd, F_SETLK, &lock_info)) &&[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:5186:21: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_WRLCK'[0m
5186 | lock_info.l_type = F_WRLCK;[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c:5190:34: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'F_SETLK'[0m
5190 | [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/CLMDB-t.build/Objects-normal/wasm32/mdb.o /host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/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/CLMDB-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/CLMDB-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/CLMDB-t.build/Objects-normal/wasm32/mdb.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/CLMDB-t.build/Objects-normal/wasm32/mdb.dia -c /host/spi-builder-workspace/.build/checkouts/swift-lmdb/Sources/CLMDB/mdb.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLMDB.build/Debug-webassembly-wasm32/CLMDB-t.build/Objects-normal/wasm32/mdb.o
error: Build failed
BUILD FAILURE 6.4 wasm