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 QuickLMDB, reference master (05d86a), with Swift 6.1 for Wasm on 28 Jun 2025 02:35:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-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/tannerdsilva/QuickLMDB.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/tannerdsilva/QuickLMDB
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 05d86a3 11.1.0 - added ability to delete databases from environments
Cloned https://github.com/tannerdsilva/QuickLMDB.git
Revision (git rev-parse @):
05d86a3560bfbb95739997ab37e56b9062946cc3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tannerdsilva/QuickLMDB.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tannerdsilva/QuickLMDB.git
https://github.com/tannerdsilva/QuickLMDB.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.T1MNhH/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.OjiIDA/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:32:3: error: unexpected ',' separator
30 | 				"QuickLMDBMacros",
31 | 			],
32 | 		),
   |   `- error: unexpected ',' separator
33 | 		.macro(
34 | 			name:"QuickLMDBMacros",
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/tannerdsilva/rawdog.git
Fetching https://github.com/tannerdsilva/CLMDB.git
[1/3284] Fetching rawdog
[1282/3330] Fetching rawdog, clmdb
[1558/7166] Fetching rawdog, clmdb, swift-log
[2479/11609] Fetching rawdog, clmdb, swift-log, swift-system
Fetched https://github.com/tannerdsilva/CLMDB.git from cache (0.38s)
[10328/11563] Fetching rawdog, swift-log, swift-system
[11564/82530] Fetching rawdog, swift-log, swift-system, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (5.90s)
Fetched https://github.com/apple/swift-system.git from cache (5.90s)
Fetched https://github.com/tannerdsilva/rawdog.git from cache (5.90s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.94s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (8.52s)
Computing version for https://github.com/tannerdsilva/rawdog.git
Computed https://github.com/tannerdsilva/rawdog.git at 17.0.0 (0.93s)
Computing version for https://github.com/tannerdsilva/CLMDB.git
Computed https://github.com/tannerdsilva/CLMDB.git at 0.9.30 (0.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.65s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/tannerdsilva/CLMDB.git
Working copy of https://github.com/tannerdsilva/CLMDB.git resolved at 0.9.30
Creating working copy for https://github.com/tannerdsilva/rawdog.git
Working copy of https://github.com/tannerdsilva/rawdog.git resolved at 17.0.0
Building for debugging...
[0/47] Write sources
[20/47] Compiling CSystem shims.c
[21/47] Compiling _SwiftSyntaxCShims dummy.c
[22/47] Compiling CRAW __craw.c
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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, \
      |  ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:137:10: fatal error: 'pthread.h' file not found
  137 | #include <pthread.h>
      |          ^~~~~~~~~~~
2 errors generated.
[23/47] Compiling CLMDB mdb.c
[23/47] Compiling CLMDB midl.c
[23/47] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/24] Compiling CLMDB midl.c
In file included from /host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:71:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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, \
      |  ^
/host/spi-builder-workspace/.build/checkouts/CLMDB/Sources/CLMDB/mdb.c:137:10: fatal error: 'pthread.h' file not found
  137 | #include <pthread.h>
      |          ^~~~~~~~~~~
2 errors generated.
[1/24] Compiling CLMDB mdb.c
[1/24] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm