Build Information
Failed to build QuickLMDB, reference 9.0.1 (798882
), with Swift 6.1 for Wasm on 31 May 2025 02:41:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tannerdsilva/QuickLMDB.git
Reference: 9.0.1
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 9.0.1 -> FETCH_HEAD
HEAD is now at 7988823 revised changelog
Cloned https://github.com/tannerdsilva/QuickLMDB.git
Revision (git rev-parse @):
79888237ba4bfa686a16299a2b9711ef500b91d7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tannerdsilva/QuickLMDB.git at 9.0.1
========================================
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
{
"dependencies" : [
{
"identity" : "clmdb",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.26",
"upper_bound" : "0.9.31"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tannerdsilva/CLMDB.git"
},
{
"identity" : "rawdog",
"requirement" : {
"range" : [
{
"lower_bound" : "16.0.0",
"upper_bound" : "18.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tannerdsilva/rawdog.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.1",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "QuickLMDB",
"name" : "QuickLMDB",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "QuickLMDB",
"targets" : [
"QuickLMDB"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QuickLMDBMacros",
"targets" : [
"QuickLMDBMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "QuickLMDBTests",
"module_type" : "SwiftTarget",
"name" : "QuickLMDBTests",
"path" : "Tests/QuickLMDBTests",
"sources" : [
"QuickLMDBTests.swift"
],
"target_dependencies" : [
"QuickLMDB"
],
"type" : "test"
},
{
"c99name" : "QuickLMDBMacros",
"module_type" : "SwiftTarget",
"name" : "QuickLMDBMacros",
"path" : "Sources/QuickLMDBMacros",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftOperators",
"SwiftParser",
"SwiftParserDiagnostics",
"SwiftCompilerPlugin",
"Logging"
],
"product_memberships" : [
"QuickLMDB",
"QuickLMDBMacros"
],
"sources" : [
"MDB_comparable.swift",
"Plugin.swift",
"_QUICKLMDB_INTERNAL_cursor_dupfixed_impl.swift",
"_QUICKLMDB_INTERNAL_cursor_dupsort_impl.swift",
"_QUICKLMDB_INTERNAL_cursor_encodable_impl.swift",
"_QUICKLMDB_INTERNAL_cursor_init_basics.swift",
"_QUICKLMDB_INTERNAL_database_strict_impl.swift"
],
"type" : "macro"
},
{
"c99name" : "QuickLMDB",
"module_type" : "SwiftTarget",
"name" : "QuickLMDB",
"path" : "Sources/QuickLMDB",
"product_dependencies" : [
"CLMDB",
"SystemPackage",
"RAW"
],
"product_memberships" : [
"QuickLMDB"
],
"sources" : [
"Cursor/Cursor.swift",
"Cursor/CursorProtocols.swift",
"Cursor/CursorStaticImpl.swift",
"Cursor/MDB_convertible/MDB_convertible_cursorBasics.swift",
"Cursor/MDB_val/MDB_val_cursorBasics.swift",
"Cursor/MDB_val/MDB_val_cursorFirsts.swift",
"Cursor/MDB_val/MDB_val_cursorGets.swift",
"Cursor/MDB_val/MDB_val_cursorLasts.swift",
"Cursor/MDB_val/MDB_val_cursorNexts.swift",
"Cursor/MDB_val/MDB_val_cursorPrevious.swift",
"Cursor/MDB_val/MDB_val_cursorSets.swift",
"Database/DBProtocolExtensions.swift",
"Database/DBProtocols.swift",
"Database/DBStaticImpl.swift",
"Database/Database.swift",
"Environment.swift",
"Extensions/MDB_val.swift",
"Extensions/UnsafeMutableRawBufferPointer.swift",
"LMDBError.swift",
"Macros.swift",
"Protocols/MDB_comparable.swift",
"Protocols/MDB_convertible.swift",
"QuickLMDB.swift",
"Transaction.swift"
],
"target_dependencies" : [
"QuickLMDBMacros"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
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/46] Fetching clmdb
[39/3330] Fetching clmdb, rawdog
[1550/7721] Fetching clmdb, rawdog, swift-system
[1551/11557] Fetching clmdb, rawdog, swift-system, swift-log
Fetched https://github.com/tannerdsilva/rawdog.git from cache (0.55s)
Fetched https://github.com/tannerdsilva/CLMDB.git from cache (0.60s)
[8228/78768] Fetching swift-system, swift-log, swift-syntax
Fetched https://github.com/apple/swift-system.git from cache (9.62s)
Fetched https://github.com/apple/swift-log.git from cache (9.62s)
Fetched https://github.com/apple/swift-syntax.git from cache (9.67s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (13.69s)
Computing version for https://github.com/tannerdsilva/rawdog.git
Computed https://github.com/tannerdsilva/rawdog.git at 17.0.0 (1.09s)
Computing version for https://github.com/tannerdsilva/CLMDB.git
Computed https://github.com/tannerdsilva/CLMDB.git at 0.9.30 (1.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.58s)
Creating working copy for https://github.com/tannerdsilva/rawdog.git
Working copy of https://github.com/tannerdsilva/rawdog.git resolved at 17.0.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/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/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
Building for debugging...
[0/47] Write sources
[20/47] Compiling _SwiftSyntaxCShims dummy.c
[21/47] Compiling CSystem shims.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-4606859-3":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/24] Compiling CLMDB mdb.c
[0/24] Compiling CLMDB midl.c
[0/24] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm