The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Diomede, reference master (836a57), with Swift 6.3 for Wasm on 15 Apr 2026 06:03:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/diomede.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/diomede
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 836a57f Update to align with Xcode 16.1.
Cloned https://github.com/kasei/diomede.git
Revision (git rev-parse @):
836a57f10e722e6add58da6d3a2c1eae34b67a16
SUCCESS checkout https://github.com/kasei/diomede.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kasei/diomede.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/agisboye/CLMDB.git
Fetching https://github.com/kasei/swift-sparql-syntax.git
[1/45] Fetching clmdb
[42/2528] Fetching clmdb, swift-sparql-syntax
[43/15869] Fetching clmdb, swift-sparql-syntax, cryptoswift
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (0.38s)
[2043/13386] Fetching clmdb, cryptoswift
Fetched https://github.com/agisboye/CLMDB.git from cache (1.63s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.67s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (2.12s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.42s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.11 (0.42s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.23s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.61s)
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-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
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.11
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Building for debugging...
[0/27] Write sources
[4/27] Compiling serd string.c
[5/27] Compiling serd uri.c
[5/27] Compiling serd reader.c
[7/27] Compiling serd node.c
[8/27] Compiling serd writer.c
[9/27] Write sources
[10/27] Compiling LMDB midl.c
[11/27] Write sources
[12/27] Compiling serd env.c
[13/27] Compiling serd byte_source.c
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-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/LMDB/mdb.c:138:
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-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/LMDB/mdb.c:2574:8: error: call to undeclared function 'msync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2574 |                         if (MDB_MSYNC(env->me_map, env->me_mapsize, flags))
      |                             ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:447:36: note: expanded from macro 'MDB_MSYNC'
  447 | # define MDB_MSYNC(addr,len,flags)      msync(addr,len,flags)
      |                                         ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2574:8: note: did you mean 'fsync'?
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:447:36: note: expanded from macro 'MDB_MSYNC'
  447 | # define MDB_MSYNC(addr,len,flags)      msync(addr,len,flags)
      |                                         ^
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-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/LMDB/mdb.c:2679:11: error: use of undeclared identifier 'F_SETLK'
 2679 |         Pidset = F_SETLK, Pidcheck = F_GETLK
      |                  ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2679:31: error: use of undeclared identifier 'F_GETLK'
 2679 |         Pidset = F_SETLK, Pidcheck = F_GETLK
      |                                      ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2712:22: error: use of undeclared identifier 'F_WRLCK'
 2712 |                 lock_info.l_type = F_WRLCK;
      |                                    ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2717:14: error: use of undeclared identifier 'F_GETLK'
 2717 |                         if (op == F_GETLK && lock_info.l_type != F_UNLCK)
      |                                   ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2717:45: error: use of undeclared identifier 'F_UNLCK'
 2717 |                         if (op == F_GETLK && lock_info.l_type != F_UNLCK)
      |                                                                  ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:3934:8: error: call to undeclared function 'msync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 3934 |                         if (MDB_MSYNC(ptr, meta_size, rc)) {
      |                             ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:447:36: note: expanded from macro 'MDB_MSYNC'
  447 | # define MDB_MSYNC(addr,len,flags)      msync(addr,len,flags)
      |                                         ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4092:19: error: use of undeclared identifier 'MAP_SHARED'
 4092 |         int mmap_flags = MAP_SHARED;
      |                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4093:13: error: use of undeclared identifier 'PROT_READ'
 4093 |         int prot = PROT_READ;
      |                    ^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4099:11: error: use of undeclared identifier 'PROT_WRITE'
 4099 |                 prot |= PROT_WRITE;
      |                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4103:16: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 4103 |         env->me_map = mmap(addr, env->me_mapsize, prot, mmap_flags,
      |                       ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4103:14: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
 4103 |         env->me_map = mmap(addr, env->me_mapsize, prot, mmap_flags,
      |                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 4104 |                 env->me_fd, 0);
      |                 ~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4105:21: error: use of undeclared identifier 'MAP_FAILED'
 4105 |         if (env->me_map == MAP_FAILED) {
      |                            ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4158:3: error: call to undeclared function 'munmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 4158 |                 munmap(env->me_map, env->me_mapsize);
      |                 ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4662:22: error: use of undeclared identifier 'F_RDLCK'
 4662 |                 lock_info.l_type = F_RDLCK;
      |                                    ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4666:35: error: use of undeclared identifier 'F_SETLK'
 4666 |                 while ((rc = fcntl(env->me_lfd, F_SETLK, &lock_info)) &&
      |                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:4697:21: error: use of undeclared identifier 'F_WRLCK'
 4697 |         lock_info.l_type = F_WRLCK;
      |                            ^~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[14/27] Compiling LMDB mdb.c
[14/27] Compiling serd n3.c
[14/27] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm