The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Kineo, reference master (2088c9), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 12:33:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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 2088c98 Update Diomede version.
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 @):
2088c98717d7518e8794cf14c627e1c097b40e65
SUCCESS checkout https://github.com/kasei/kineo.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kasei/kineo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/kasei/IDPPlanner.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/kasei/diomede.git
Fetching https://github.com/kylef/URITemplate.swift.git
[1/788] Fetching diomede
[104/1600] Fetching diomede, uritemplate.swift
[1601/1647] Fetching diomede, uritemplate.swift, idpplanner
[1646/11498] Fetching diomede, uritemplate.swift, idpplanner, sqlite.swift
[2829/17457] Fetching diomede, uritemplate.swift, idpplanner, sqlite.swift, swift-algorithms
Fetched https://github.com/kylef/URITemplate.swift.git from cache (0.44s)
[14673/16645] Fetching diomede, idpplanner, sqlite.swift, swift-algorithms
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[15068/32025] Fetching diomede, idpplanner, sqlite.swift, swift-algorithms, swift-argument-parser
[27305/44966] Fetching diomede, idpplanner, sqlite.swift, swift-algorithms, swift-argument-parser, cryptoswift
Fetched https://github.com/kasei/IDPPlanner.git from cache (1.25s)
Fetched https://github.com/kasei/diomede.git from cache (1.25s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
Fetching https://github.com/kasei/swift-sparql-syntax.git
Fetched https://github.com/apple/swift-algorithms from cache (1.26s)
Fetching https://github.com/kasei/swift-serd.git
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.27s)
[3496/15424] Fetching cryptoswift, swift-sparql-syntax
[9214/15492] Fetching cryptoswift, swift-sparql-syntax, swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.49s)
[13613/15424] Fetching cryptoswift, swift-sparql-syntax
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (0.50s)
[11906/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.88s)
Computing version for https://github.com/kasei/IDPPlanner.git
Computed https://github.com/kasei/IDPPlanner.git at 0.0.5 (2.86s)
Computing version for https://github.com/kylef/URITemplate.swift.git
Computed https://github.com/kylef/URITemplate.swift.git at 3.0.1 (3.66s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[552/2432] Fetching pathkit, spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.49s)
Fetched https://github.com/kylef/PathKit.git from cache (0.50s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (1.34s)
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.89s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.78s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 0.1.1 (0.73s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.64s)
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 from cache (0.27s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.11.6 (3.93s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.32s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (1.12s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.72s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.55s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.33 (0.49s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 0.1.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.57s)
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/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/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/IDPPlanner.git
Working copy of https://github.com/kasei/IDPPlanner.git resolved at 0.0.5
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
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/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.33
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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
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
Building for debugging...
[1/57] Compiling serd node.c
[2/57] Write swift-version-24593BA9C3E375BF.txt
[2/57] Write sources
[8/57] Compiling serd env.c
[9/57] Write sources
[11/57] Compiling serd reader.c
[12/57] Compiling serd string.c
[13/57] Write sources
[15/57] Compiling _NumericsShims _NumericsShims.c
[16/57] Compiling serd uri.c
[17/57] Compiling serd byte_source.c
[18/57] Write sources
[20/60] Compiling LMDB midl.c
[20/60] Write sources
[27/67] Compiling serd n3.c
[28/91] Compiling serd writer.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/108] Emitting module IDPPlanner
/host/spi-builder-workspace/.build/checkouts/IDPPlanner/Sources/IDPPlanner/SetExtensions.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Set {
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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, \
      |  ^
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:138:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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'; did you mean 'FD_SET'?
 2679 |         Pidset = F_SETLK, Pidcheck = F_GETLK
      |                  ^~~~~~~
      |                  FD_SET
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__fd_set.h:42:22: note: 'FD_SET' declared here
   42 | static __inline void FD_SET(int __fd, fd_set *__set) {
      |                      ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/LMDB/mdb.c:2679:11: error: integer constant expression must have integer type, not 'void (int, fd_set *)'
 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'; did you mean 'FD_SET'?
 4666 |                 while ((rc = fcntl(env->me_lfd, F_SETLK, &lock_info)) &&
      |                                                 ^~~~~~~
      |                                                 FD_SET
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/__fd_set.h:42:22: note: 'FD_SET' declared here
   42 | static __inline void FD_SET(int __fd, fd_set *__set) {
      |                      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[30/166] Compiling LMDB mdb.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/181] Emitting module URITemplate
/host/spi-builder-workspace/.build/checkouts/URITemplate.swift/Sources/URITemplate.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | // MARK: URITemplate
BUILD FAILURE 6.2 wasm