The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitcoinKernel, reference main (c7f984), with Swift 6.3 for Wasm on 21 Nov 2026 05:05:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/21-DOT-DEV/swift-bitcoinkernel.git
Reference: main
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/21-DOT-DEV/swift-bitcoinkernel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7f9848 feat(vendir): Replicate the subtree extraction from a gitignored upstream checkout (#98)
Cloned https://github.com/21-DOT-DEV/swift-bitcoinkernel.git
Revision (git rev-parse @):
c7f9848403a6ef8a20198878d0936164441254ce
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-bitcoinkernel.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/21-DOT-DEV/swift-bitcoinkernel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/21-DOT-DEV/swift-boost
[1/14054] Fetching swift-boost
Fetched https://github.com/21-DOT-DEV/swift-boost from cache (1.36s)
Fetching https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Fetching https://github.com/21-DOT-DEV/swift-event
Fetching https://github.com/apple/swift-docc-plugin
[1/2381] Fetching swift-docc-plugin
[168/2445] Fetching swift-docc-plugin, swift-plugin-subtree
Fetched https://github.com/apple/swift-docc-plugin from cache (0.48s)
[1/668] Fetching swift-event
[175/2192] Fetching swift-event, swift-plugin-tuist
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.65s)
Fetched https://github.com/21-DOT-DEV/swift-plugin-tuist.git from cache (0.65s)
Fetched https://github.com/21-DOT-DEV/swift-event from cache (0.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.52s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Computed https://github.com/21-DOT-DEV/swift-plugin-subtree.git at 0.0.15 (0.67s)
Fetching https://github.com/21-DOT-DEV/swift-artifact-parser
[1/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (0.32s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Computed https://github.com/21-DOT-DEV/swift-plugin-tuist.git at 4.195.11 (0.50s)
Computing version for https://github.com/21-DOT-DEV/swift-event
Computed https://github.com/21-DOT-DEV/swift-event at 0.2.1 (0.15s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.19s)
Computing version for https://github.com/21-DOT-DEV/swift-artifact-parser
Computed https://github.com/21-DOT-DEV/swift-artifact-parser at 0.0.1 (0.16s)
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-tuist.git resolved at 4.195.11
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/21-DOT-DEV/swift-event
Working copy of https://github.com/21-DOT-DEV/swift-event resolved at 0.2.1
Creating working copy for https://github.com/21-DOT-DEV/swift-boost
Working copy of https://github.com/21-DOT-DEV/swift-boost resolved at 6d8c72c0f41a20ec47b25096e4c422ef34f67579
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-subtree.git resolved at 0.0.15
Creating working copy for https://github.com/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.1
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
Downloading binary artifact https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip
[831/44671930] Downloading https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
[113794/103952801] Downloading https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip, https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip (2.51s)
Downloaded https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.195.11/tuist.artifactbundle.zip (3.64s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
[4/4] Compiling plugin TuistPlugin
Building for debugging...
[4/372] Compiling bech32.cpp
[5/372] Compiling variant.cpp
[6/372] Compiling utility.cpp
[7/372] Compiling type_traits.cpp
[8/372] Compiling type_index.cpp
[9/372] Compiling tuple.cpp
[10/372] Compiling throw_exception.cpp
[11/372] Write swift-version-24593BA9C3E375BF.txt
[12/372] Compiling static_assert.cpp
[13/372] Compiling smart_ptr.cpp
[14/372] Compiling signals2.cpp
[15/372] Compiling base58.cpp
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/common/system.cpp:10:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/logging.h:11:
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/threadsafety.h:59:39: error: expected class name
   59 | class LOCKABLE StdMutex : public std::mutex
      |                                       ^
/host/spi-builder-workspace/Sources/bitcoind/src/common/system.cpp:93:5: error: use of undeclared identifier 'umask'
   93 |     umask(private_umask);
      |     ^~~~~
/host/spi-builder-workspace/Sources/bitcoind/src/common/system.cpp:111:17: error: no member named 'thread' in namespace 'std'
  111 |     return std::thread::hardware_concurrency();
      |            ~~~~~^
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/common/system.cpp:8:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/common/system.h:10:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/util/time.h:9:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/chrono:1073:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/formatter.h:30:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/ostream.h:42:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/sstream:323:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ostream/basic_ostream.h:19:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/num.h:19:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/check_grouping.h:14:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ios:888:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/mutex:196:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/lock_guard.h:32:10: error: no member named 'lock' in 'StdMutex'
   32 |     __m_.lock();
      |     ~~~~ ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/threadsafety.h:75:71: note: in instantiation of member function 'std::lock_guard<StdMutex>::lock_guard' requested here
   75 |     explicit StdLockGuard(StdMutex& cs) EXCLUSIVE_LOCK_FUNCTION(cs) : std::lock_guard<StdMutex>(cs) {}
      |                                                                       ^
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/common/system.cpp:8:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/common/system.h:10:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/util/time.h:9:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/chrono:1073:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/formatter.h:30:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__chrono/ostream.h:42:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/sstream:323:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__ostream/basic_ostream.h:19:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/num.h:19:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__locale_dir/check_grouping.h:14:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ios:888:
In file included from /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/mutex:196:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__mutex/lock_guard.h:37:73: error: no member named 'unlock' in 'StdMutex'
   37 |   _LIBCPP_RELEASE_CAPABILITY _LIBCPP_HIDE_FROM_ABI ~lock_guard() { __m_.unlock(); }
      |                                                                    ~~~~ ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/threadsafety.h:75:14: note: in instantiation of member function 'std::lock_guard<StdMutex>::~lock_guard' requested here
   75 |     explicit StdLockGuard(StdMutex& cs) EXCLUSIVE_LOCK_FUNCTION(cs) : std::lock_guard<StdMutex>(cs) {}
      |              ^
5 errors generated.
[16/372] Compiling system.cpp
[16/372] Compiling precomputed_ecmult_gen.c
[16/372] Compiling secp256k1.c
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/common/config.cpp:5:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/common/args.h:9:
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/compat/compat.h:23:10: fatal error: 'net/if.h' file not found
   23 | #include <net/if.h>      // IWYU pragma: export
      |          ^~~~~~~~~~
1 error generated.
[16/372] Compiling config.cpp
[16/372] Compiling generic_6bytes.cpp
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/banman.cpp:6:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/banman.h:11:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:13:
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/threadsafety.h:59:39: error: expected class name
   59 | class LOCKABLE StdMutex : public std::mutex
      |                                       ^
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/banman.cpp:6:
In file included from /host/spi-builder-workspace/Sources/libbitcoinkernel/src/banman.h:11:
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:120:44: error: no member named 'recursive_mutex' in namespace 'std'
  120 | using RecursiveMutex = AnnotatedMixin<std::recursive_mutex>;
      |                                            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:123:35: error: no member named 'mutex' in namespace 'std'
  123 | using Mutex = AnnotatedMixin<std::mutex>;
      |                                   ^~~~~
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:134:28: error: expected class name
  134 | class GlobalMutex : public Mutex { };
      |                            ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:138:83: error: unknown type name 'Mutex'
  138 | inline void AssertLockNotHeldInline(const char* name, const char* file, int line, Mutex* cs) EXCLUSIVE_LOCKS_REQUIRED(!cs) { AssertLockNotHeldInternal(name, file, line, cs); }
      |                                                                                   ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:139:83: error: unknown type name 'RecursiveMutex'
  139 | inline void AssertLockNotHeldInline(const char* name, const char* file, int line, RecursiveMutex* cs) LOCKS_EXCLUDED(cs) { AssertLockNotHeldInternal(name, file, line, cs); }
      |                                                                                   ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:248:8: error: unknown type name 'Mutex'
  248 | inline Mutex& MaybeCheckNotHeld(Mutex& cs) EXCLUSIVE_LOCKS_REQUIRED(!cs) LOCK_RETURNED(cs) { return cs; }
      |        ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:248:33: error: unknown type name 'Mutex'
  248 | inline Mutex& MaybeCheckNotHeld(Mutex& cs) EXCLUSIVE_LOCKS_REQUIRED(!cs) LOCK_RETURNED(cs) { return cs; }
      |                                 ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:249:8: error: unknown type name 'Mutex'
  249 | inline Mutex* MaybeCheckNotHeld(Mutex* cs) EXCLUSIVE_LOCKS_REQUIRED(!cs) LOCK_RETURNED(cs) { return cs; }
      |        ^
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/sync.h:249:33: error: unknown type name 'Mutex'
  249 | inline Mutex* MaybeCheckNotHeld(Mutex* cs) EXCLUSIVE_LOCKS_REQUIRED(!cs) LOCK_RETURNED(cs) { return cs; }
      |                                 ^
In file included from /host/spi-builder-workspace/Sources/bitcoind/src/banman.cpp:6:
/host/spi-builder-workspace/Sources/libbitcoinkernel/src/banman.h:92:5: error: unknown type name 'Mutex'
   92 |     Mutex m_banned_mutex;
      |     ^
[16/372] Compiling banman.cpp
[16/372] Compiling interfaces.cpp
[16/372] Compiling init.cpp
BUILD FAILURE 6.3 wasm