The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLevelDB, reference master (e7b910), with Swift 6.3 for Wasm on 15 May 2026 17:17:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/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.3
Building package at path:  $PWD
https://github.com/amraboelela/swiftleveldb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/amraboelela/amrleveldb
[1/134] Fetching amrleveldb
Fetched https://github.com/amraboelela/amrleveldb from cache (0.38s)
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:
In file included from /host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/leveldb_linux/include/port/port_posix.h:41:
/host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/leveldb_linux/include/port/atomic_pointer.h:218:2: error: Please implement AtomicPointer for this platform.
  218 | #error Please implement AtomicPointer for this platform.
      |  ^
In file included from /host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:9:
/host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/db/db_impl.h:138:9: error: no type named 'AtomicPointer' in namespace 'leveldb::port'
  138 |   port::AtomicPointer shutting_down_;
      |   ~~~~~~^
/host/spi-builder-workspace/.build/checkouts/amrleveldb/Sources/amrleveldb/include/db/db_impl.h:142:9: error: no type named 'AtomicPointer' in namespace 'leveldb::port'
  142 |   port::AtomicPointer has_imm_;  // So bg thread can detect non-NULL imm_
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:45:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
   45 |         char *lockStr = "/LOCK";
      |                         ^
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:79:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
   79 |     delete db;
      |     ^      ~~
/host/spi-builder-workspace/Sources/CLevelDB/LevelDBWrapper.cc:166:5: warning: cannot delete expression with pointer-to-'void' type 'void *' [-Wdelete-incomplete]
  166 |     delete iter;
      |     ^      ~~~~
3 warnings and 3 errors generated.
[2/3] Compiling CLevelDB LevelDBWrapper.cc
BUILD FAILURE 6.3 wasm