Build Information
Failed to build SwiftLevelDB, reference master (e7b910), with Swift 6.1 for Wasm on 15 May 2026 17:27:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amraboelela/swiftleveldb.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/amraboelela/swiftleveldb
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e7b910a Update LevelDB.swift
Cloned https://github.com/amraboelela/swiftleveldb.git
Revision (git rev-parse @):
e7b910ad197bc8a0dcc8899c1598f60ed2551573
SUCCESS checkout https://github.com/amraboelela/swiftleveldb.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/amraboelela/swiftleveldb.git
https://github.com/amraboelela/swiftleveldb.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/amraboelela/amrleveldb
[1/134] Fetching amrleveldb
Fetched https://github.com/amraboelela/amrleveldb from cache (0.42s)
Creating working copy for https://github.com/amraboelela/amrleveldb
Working copy of https://github.com/amraboelela/amrleveldb resolved at master (9595254)
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:9:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/db/db_impl.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/db/dbformat.h:14:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/util/coding.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/port/port.h:14:
/host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/leveldb_linux/include/port/port_posix.h:35:10: fatal error: 'pthread.h' file not found
35 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[2/3] Compiling CLevelDB LevelDBWrapper.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:9:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/db/db_impl.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/db/dbformat.h:14:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/util/coding.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/port/port.h:14:
/host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/leveldb_linux/include/port/port_posix.h:35:10: fatal error: 'pthread.h' file not found
35 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/2] Compiling CLevelDB LevelDBWrapper.cc
BUILD FAILURE 6.1 wasm