The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-rocksdb, reference master (ecd52a), with Swift 6.2 for Wasm on 25 Mar 2026 23:11:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dyumin/swift-rocksdb.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/dyumin/swift-rocksdb
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ecd52a3 Add GetProperty
Submodule path 'Sources/rocksdb/rocksdb': checked out 'dde74c722d9e16c2ade3cc7d2e6552bb43b5637a'
Submodule 'rocksdb' (https://github.com/dyumin/rocksdb.git) registered for path 'Sources/rocksdb/rocksdb'
Cloning into '/host/spi-builder-workspace/Sources/rocksdb/rocksdb'...
Cloned https://github.com/dyumin/swift-rocksdb.git
Revision (git rev-parse @):
ecd52a3906b1dde2f7dc2103f830c11787bd6bb6
SUCCESS checkout https://github.com/dyumin/swift-rocksdb.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dyumin/swift-rocksdb.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Building for debugging...
[0/360] Compiling cache_bench_tool.cc
[0/360] Write sources
[2/360] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:274:16: error: no type named 'mutex' in namespace 'std'
  274 |   mutable std::mutex mu_;
      |           ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:200:10: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  200 |     std::unique_lock<std::mutex> lock(mu_);
      |     ~~~~~^~~~~~~~~~~
      |          unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:200:27: error: no member named 'mutex' in namespace 'std'
  200 |     std::unique_lock<std::mutex> lock(mu_);
      |                      ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:268:10: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  268 |     std::unique_lock<std::mutex> lock(mu_);
      |     ~~~~~^~~~~~~~~~~
      |          unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:268:27: error: no member named 'mutex' in namespace 'std'
  268 |     std::unique_lock<std::mutex> lock(mu_);
      |                      ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:579:16: error: no type named 'mutex' in namespace 'std'
  579 |   mutable std::mutex objects_mutex_;  // Mutex for managed objects
      |           ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:580:16: error: no type named 'mutex' in namespace 'std'
  580 |   mutable std::mutex library_mutex_;  // Mutex for managed libraries
      |           ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:303:10: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  303 |     std::unique_lock<std::mutex> lock(library_mutex_);
      |     ~~~~~^~~~~~~~~~~
      |          unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:303:27: error: no member named 'mutex' in namespace 'std'
  303 |     std::unique_lock<std::mutex> lock(library_mutex_);
      |                      ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:476:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  476 |       std::unique_lock<std::mutex> lock(objects_mutex_);
      |       ~~~~~^~~~~~~~~~~
      |            unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:476:29: error: no member named 'mutex' in namespace 'std'
  476 |       std::unique_lock<std::mutex> lock(objects_mutex_);
      |                        ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:555:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  555 |       std::unique_lock<std::mutex> lock(library_mutex_);
      |       ~~~~~^~~~~~~~~~~
      |            unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:555:29: error: no member named 'mutex' in namespace 'std'
  555 |       std::unique_lock<std::mutex> lock(library_mutex_);
      |                        ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:3:
In file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/memory:944:
In file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/inout_ptr.h:16:
In file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:28:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/compressed_pair.h:146:12: error: static_cast from '__compressed_pair<allocator<ObjectLibrary>, ObjectLibrary> *' to '_Base1 *' (aka '__compressed_pair_elem<std::allocator<rocksdb::ObjectLibrary>, 0> *'), which are not related by inheritance, is not allowed
  146 |     return static_cast<_Base1*>(__pair);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:312:68: note: in instantiation of member function 'std::__compressed_pair<std::allocator<rocksdb::ObjectLibrary>, rocksdb::ObjectLibrary>::__get_first_base' requested here
  312 |       typename _CompressedPair::_Base1* __first = _CompressedPair::__get_first_base(__as_pair);
      |                                                                    ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:308:75: note: in instantiation of member function 'std::__shared_ptr_emplace<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>>::_Storage::__get_alloc' requested here
  308 |     _LIBCPP_HIDE_FROM_ABI explicit _Storage(_Alloc&& __a) { ::new ((void*)__get_alloc()) _Alloc(std::move(__a)); }
      |                                                                           ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:261:88: note: in instantiation of member function 'std::__shared_ptr_emplace<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>>::_Storage::_Storage' requested here
  261 |   _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __storage_(std::move(__a)) {
      |                                                                                        ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:843:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>>::__shared_ptr_emplace<const std::string &, std::allocator<rocksdb::ObjectLibrary>, 0>' requested here
  843 |   ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__a, std::forward<_Args>(__args)...);
      |                                                   ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:851:15: note: in instantiation of function template specialization 'std::allocate_shared<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>, const std::string &, 0>' requested here
  851 |   return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);
      |               ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:297:25: note: in instantiation of function template specialization 'std::make_shared<rocksdb::ObjectLibrary, const std::string &, 0>' requested here
  297 |     auto library = std::make_shared<ObjectLibrary>(id);
      |                         ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/extras/build_version.cc:3:
In file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/memory:944:
In file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/inout_ptr.h:16:
In file included from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:28:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/compressed_pair.h:149:12: error: static_cast from '__compressed_pair<allocator<ObjectLibrary>, ObjectLibrary> *' to '_Base2 *' (aka '__compressed_pair_elem<rocksdb::ObjectLibrary, 1> *'), which are not related by inheritance, is not allowed
  149 |     return static_cast<_Base2*>(__pair);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:318:69: note: in instantiation of member function 'std::__compressed_pair<std::allocator<rocksdb::ObjectLibrary>, rocksdb::ObjectLibrary>::__get_second_base' requested here
  318 |       typename _CompressedPair::_Base2* __second = _CompressedPair::__get_second_base(__as_pair);
      |                                                                     ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:269:73: note: in instantiation of member function 'std::__shared_ptr_emplace<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>>::_Storage::__get_elem' requested here
  269 |   _LIBCPP_HIDE_FROM_ABI _Tp* __get_elem() _NOEXCEPT { return __storage_.__get_elem(); }
      |                                                                         ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:846:26: note: in instantiation of member function 'std::__shared_ptr_emplace<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>>::__get_elem' requested here
  846 |       (*__control_block).__get_elem(), std::addressof(*__control_block));
      |                          ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:851:15: note: in instantiation of function template specialization 'std::allocate_shared<rocksdb::ObjectLibrary, std::allocator<rocksdb::ObjectLibrary>, const std::string &, 0>' requested here
  851 |   return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);
      |               ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/utilities/object_registry.h:297:25: note: in instantiation of function template specialization 'std::make_shared<rocksdb::ObjectLibrary, const std::string &, 0>' requested here
  297 |     auto library = std::make_shared<ObjectLibrary>(id);
      |                         ^
15 errors generated.
[3/360] Compiling build_version.cc
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/cache.h:19:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/compression_type.h:316:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  316 |   bool operator==(const CompressionOptions& rhs) const = default;
      |                                                          ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/universal_compaction.h:147:66: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  147 |   bool operator==(const CompactionOptionsUniversal& rhs) const = default;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:67:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
   67 |   bool operator==(const FileTemperatureAge& rhs) const = default;
      |                                                          ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:136:61: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  136 |   bool operator==(const CompactionOptionsFIFO& rhs) const = default;
      |                                                             ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:33:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:170:8: error: no type named 'mutex' in namespace 'std'
  170 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:174:8: error: no type named 'mutex' in namespace 'std'
  174 |   std::mutex mu_;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:20:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:37:28: error: no type named 'Mutex' in namespace 'rocksdb::port'
   37 |   explicit MutexLock(port::Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
      |                      ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:45:9: error: no type named 'Mutex' in namespace 'rocksdb::port'
   45 |   port::Mutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:55:27: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   55 |   explicit ReadLock(port::RWMutex *mu) : mu_(mu) { this->mu_->ReadLock(); }
      |                     ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:63:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   63 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:71:29: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   71 |   explicit ReadUnlock(port::RWMutex *mu) : mu_(mu) { mu->AssertHeld(); }
      |                       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:79:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   79 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:89:28: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   89 |   explicit WriteLock(port::RWMutex *mu) : mu_(mu) { this->mu_->WriteLock(); }
      |                      ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:97:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   97 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:122:13: error: no member named 'AsmVolatilePause' in namespace 'rocksdb::port'
  122 |       port::AsmVolatilePause();
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:124:14: error: no member named 'this_thread' in namespace 'std'
  124 |         std::this_thread::yield();
      |         ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:142:17: error: variable has incomplete type 'struct ALIGN_AS'
  142 | struct ALIGN_AS(CACHE_LINE_SIZE) CacheAlignedWrapper {
      |                 ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:142:8: note: forward declaration of 'rocksdb::ALIGN_AS'
  142 | struct ALIGN_AS(CACHE_LINE_SIZE) CacheAlignedWrapper {
      |        ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:142:33: error: expected ';' after top level declarator
  142 | struct ALIGN_AS(CACHE_LINE_SIZE) CacheAlignedWrapper {
      |                                 ^
      |                                 ;
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:151:15: error: use of undeclared identifier 'CacheAlignedWrapper'
  151 | struct Unwrap<CacheAlignedWrapper<T>> {
      |               ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:124:17: error: no type named 'Mutex' in namespace 'rocksdb::port'
  124 |   mutable port::Mutex config_mutex_;
      |           ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:142:48: error: no member named 'cacheline_aligned_alloc' in namespace 'rocksdb::port'
  142 |         shards_(static_cast<CacheShard*>(port::cacheline_aligned_alloc(
      |                                          ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:150:11: error: no type named 'cacheline_aligned_free' in namespace 'rocksdb::port'
  150 |     port::cacheline_aligned_free(shards_);
      |     ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache.cc:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:20:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/distributed_mutex.h:45:22: error: no type named 'Mutex' in namespace 'rocksdb::port'
   45 | using DMutex = port::Mutex;
      |                ~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/360] Compiling cache.cc
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:23:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:25:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:25:7: error: use of undeclared identifier 'port'
   25 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:34:7: error: use of undeclared identifier 'port'
   34 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:45:7: error: use of undeclared identifier 'port'
   45 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:63:7: error: use of undeclared identifier 'port'
   63 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:75:7: error: use of undeclared identifier 'port'
   75 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:89:7: error: use of undeclared identifier 'port'
   89 |   if (port::kLittleEndian) {
      |       ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:23:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:120:7: error: use of undeclared identifier 'port'
  120 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:131:7: error: use of undeclared identifier 'port'
  131 |   if (port::kLittleEndian) {
      |       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:142:7: error: use of undeclared identifier 'port'
  142 |   if (port::kLittleEndian) {
      |       ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/user_comparator_wrapper.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_context_imp.h:7:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_step_timer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/statistics_impl.h:12:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/histogram.h:140:8: error: no type named 'mutex' in namespace 'std'
  140 |   std::mutex mutex_;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/user_comparator_wrapper.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_context_imp.h:7:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_step_timer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/statistics_impl.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/core_local.h:47:40: error: no member named 'thread' in namespace 'std'
   47 |   int num_cpus = static_cast<int>(std::thread::hardware_concurrency());
      |                                   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/core_local.h:68:15: error: use of undeclared identifier 'port'
   68 |   int cpuid = port::PhysicalCoreID();
      |               ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/user_comparator_wrapper.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_context_imp.h:7:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_step_timer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/statistics_impl.h:17:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:37:22: error: use of undeclared identifier 'port'
   37 |   explicit MutexLock(port::Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
      |                      ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:45:3: error: use of undeclared identifier 'port'
   45 |   port::Mutex *const mu_;
      |   ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:55:21: error: use of undeclared identifier 'port'
   55 |   explicit ReadLock(port::RWMutex *mu) : mu_(mu) { this->mu_->ReadLock(); }
      |                     ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:63:3: error: use of undeclared identifier 'port'
   63 |   port::RWMutex *const mu_;
      |   ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:71:23: error: use of undeclared identifier 'port'
   71 |   explicit ReadUnlock(port::RWMutex *mu) : mu_(mu) { mu->AssertHeld(); }
      |                       ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:79:3: error: use of undeclared identifier 'port'
   79 |   port::RWMutex *const mu_;
      |   ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:89:22: error: use of undeclared identifier 'port'
   89 |   explicit WriteLock(port::RWMutex *mu) : mu_(mu) { this->mu_->WriteLock(); }
      |                      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/360] Compiling write_batch_with_index_internal.cc
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_key.cc:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:15:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/cache.h:19:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/compression_type.h:316:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  316 |   bool operator==(const CompressionOptions& rhs) const = default;
      |                                                          ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_key.cc:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/universal_compaction.h:147:66: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  147 |   bool operator==(const CompactionOptionsUniversal& rhs) const = default;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_key.cc:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:67:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
   67 |   bool operator==(const FileTemperatureAge& rhs) const = default;
      |                                                          ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:136:61: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  136 |   bool operator==(const CompactionOptionsFIFO& rhs) const = default;
      |                                                             ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_key.cc:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:33:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:170:8: error: no type named 'mutex' in namespace 'std'
  170 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:174:8: error: no type named 'mutex' in namespace 'std'
  174 |   std::mutex mu_;
      |   ~~~~~^
[3/360] Compiling cache_key.cc
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:15:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/cache.h:19:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/compression_type.h:316:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  316 |   bool operator==(const CompressionOptions& rhs) const = default;
      |                                                          ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/universal_compaction.h:147:66: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  147 |   bool operator==(const CompactionOptionsUniversal& rhs) const = default;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:67:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
   67 |   bool operator==(const FileTemperatureAge& rhs) const = default;
      |                                                          ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:136:61: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  136 |   bool operator==(const CompactionOptionsFIFO& rhs) const = default;
      |                                                             ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:33:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:170:8: error: no type named 'mutex' in namespace 'std'
  170 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:174:8: error: no type named 'mutex' in namespace 'std'
  174 |   std::mutex mu_;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:20:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:37:28: error: no type named 'Mutex' in namespace 'rocksdb::port'
   37 |   explicit MutexLock(port::Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
      |                      ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:45:9: error: no type named 'Mutex' in namespace 'rocksdb::port'
   45 |   port::Mutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:55:27: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   55 |   explicit ReadLock(port::RWMutex *mu) : mu_(mu) { this->mu_->ReadLock(); }
      |                     ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:63:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   63 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:71:29: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   71 |   explicit ReadUnlock(port::RWMutex *mu) : mu_(mu) { mu->AssertHeld(); }
      |                       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:79:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   79 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:89:28: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   89 |   explicit WriteLock(port::RWMutex *mu) : mu_(mu) { this->mu_->WriteLock(); }
      |                      ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:97:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   97 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:122:13: error: no member named 'AsmVolatilePause' in namespace 'rocksdb::port'
  122 |       port::AsmVolatilePause();
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:124:14: error: no member named 'this_thread' in namespace 'std'
  124 |         std::this_thread::yield();
      |         ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:142:17: error: variable has incomplete type 'struct ALIGN_AS'
  142 | struct ALIGN_AS(CACHE_LINE_SIZE) CacheAlignedWrapper {
      |                 ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:142:8: note: forward declaration of 'rocksdb::ALIGN_AS'
  142 | struct ALIGN_AS(CACHE_LINE_SIZE) CacheAlignedWrapper {
      |        ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:142:33: error: expected ';' after top level declarator
  142 | struct ALIGN_AS(CACHE_LINE_SIZE) CacheAlignedWrapper {
      |                                 ^
      |                                 ;
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:151:15: error: use of undeclared identifier 'CacheAlignedWrapper'
  151 | struct Unwrap<CacheAlignedWrapper<T>> {
      |               ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:14:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:124:17: error: no type named 'Mutex' in namespace 'rocksdb::port'
  124 |   mutable port::Mutex config_mutex_;
      |           ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:142:48: error: no member named 'cacheline_aligned_alloc' in namespace 'rocksdb::port'
  142 |         shards_(static_cast<CacheShard*>(port::cacheline_aligned_alloc(
      |                                          ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/sharded_cache.h:150:11: error: no type named 'cacheline_aligned_free' in namespace 'rocksdb::port'
  150 |     port::cacheline_aligned_free(shards_);
      |     ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/lru_cache.h:20:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/distributed_mutex.h:45:22: error: no type named 'Mutex' in namespace 'rocksdb::port'
   45 | using DMutex = port::Mutex;
      |                ~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/360] Compiling lru_cache.cc
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:17:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:15:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/cache.h:19:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/compression_type.h:316:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  316 |   bool operator==(const CompressionOptions& rhs) const = default;
      |                                                          ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:17:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/universal_compaction.h:147:66: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  147 |   bool operator==(const CompactionOptionsUniversal& rhs) const = default;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:17:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:67:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
   67 |   bool operator==(const FileTemperatureAge& rhs) const = default;
      |                                                          ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:136:61: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  136 |   bool operator==(const CompactionOptionsFIFO& rhs) const = default;
      |                                                             ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:17:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:33:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:170:8: error: no type named 'mutex' in namespace 'std'
  170 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:174:8: error: no type named 'mutex' in namespace 'std'
  174 |   std::mutex mu_;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:23:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:25:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:25:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   25 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:34:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   34 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:45:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   45 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:63:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   63 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:75:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   75 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:89:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   89 |   if (port::kLittleEndian) {
      |       ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:23:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:120:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
  120 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:131:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
  131 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:142:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
  142 |   if (port::kLittleEndian) {
      |       ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/user_comparator_wrapper.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_context_imp.h:7:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_step_timer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/statistics_impl.h:12:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/histogram.h:140:8: error: no type named 'mutex' in namespace 'std'
  140 |   std::mutex mutex_;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/user_comparator_wrapper.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_context_imp.h:7:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_step_timer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/statistics_impl.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/core_local.h:47:40: error: no member named 'thread' in namespace 'std'
   47 |   int num_cpus = static_cast<int>(std::thread::hardware_concurrency());
      |                                   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/core_local.h:68:21: error: no member named 'PhysicalCoreID' in namespace 'rocksdb::port'
   68 |   int cpuid = port::PhysicalCoreID();
      |               ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.cc:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/table_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/db/dbformat.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/user_comparator_wrapper.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_context_imp.h:7:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/perf_step_timer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/monitoring/statistics_impl.h:17:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:37:28: error: no type named 'Mutex' in namespace 'rocksdb::port'
   37 |   explicit MutexLock(port::Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
      |                      ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:45:9: error: no type named 'Mutex' in namespace 'rocksdb::port'
   45 |   port::Mutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:55:27: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   55 |   explicit ReadLock(port::RWMutex *mu) : mu_(mu) { this->mu_->ReadLock(); }
      |                     ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:63:9: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   63 |   port::RWMutex *const mu_;
      |   ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/mutexlock.h:71:29: error: no type named 'RWMutex' in namespace 'rocksdb::port'
   71 |   explicit ReadUnlock(port::RWMutex *mu) : mu_(mu) { mu->AssertHeld(); }
      |                       ~~~~~~^
[3/360] Compiling table_cache.cc
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/rocksdb_cpp_interop.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/include/rocksdb_cpp_interop.h:3:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/db.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/block_cache_trace_writer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:13:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/cache.h:19:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/compression_type.h:316:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  316 |   bool operator==(const CompressionOptions& rhs) const = default;
      |                                                          ^
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/rocksdb_cpp_interop.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/include/rocksdb_cpp_interop.h:3:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/db.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/block_cache_trace_writer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/universal_compaction.h:147:66: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  147 |   bool operator==(const CompactionOptionsUniversal& rhs) const = default;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/rocksdb_cpp_interop.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/include/rocksdb_cpp_interop.h:3:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/db.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/block_cache_trace_writer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:67:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
   67 |   bool operator==(const FileTemperatureAge& rhs) const = default;
      |                                                          ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:136:61: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  136 |   bool operator==(const CompactionOptionsFIFO& rhs) const = default;
      |                                                             ^
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/rocksdb_cpp_interop.cpp:1:
In file included from /host/spi-builder-workspace/Sources/cpp-intepop/include/rocksdb_cpp_interop.h:3:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/db.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/block_cache_trace_writer.h:8:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:33:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:170:8: error: no type named 'mutex' in namespace 'std'
  170 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:174:8: error: no type named 'mutex' in namespace 'std'
  174 |   std::mutex mu_;
      |   ~~~~~^
[3/360] Compiling cpp-intepop rocksdb_cpp_interop.cpp
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:19:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_entry_roles.h:11:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/cache.h:19:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/compression_type.h:316:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  316 |   bool operator==(const CompressionOptions& rhs) const = default;
      |                                                          ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:16:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/universal_compaction.h:147:66: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  147 |   bool operator==(const CompactionOptionsUniversal& rhs) const = default;
      |                                                                  ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:21:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:67:58: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
   67 |   bool operator==(const FileTemperatureAge& rhs) const = default;
      |                                                          ^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_options.h:136:61: warning: defaulted comparison operators are a C++20 extension [-Wc++20-extensions]
  136 |   bool operator==(const CompactionOptionsFIFO& rhs) const = default;
      |                                                             ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:21:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/typed_cache.h:31:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_helpers.h:10:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/advanced_cache.h:18:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/options.h:33:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:170:8: error: no type named 'mutex' in namespace 'std'
  170 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/include/rocksdb/write_buffer_manager.h:174:8: error: no type named 'mutex' in namespace 'std'
  174 |   std::mutex mu_;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:24:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:25:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:25:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   25 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:34:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   34 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:45:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   45 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:63:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   63 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:75:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   75 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding_lean.h:89:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
   89 |   if (port::kLittleEndian) {
      |       ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:24:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:120:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
  120 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:131:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
  131 |   if (port::kLittleEndian) {
      |       ~~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/util/coding.h:142:13: error: no member named 'kLittleEndian' in namespace 'rocksdb::port'
  142 |   if (port::kLittleEndian) {
      |       ~~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:315:8: error: no type named 'mutex' in namespace 'std'
  315 |   std::mutex cache_res_mgr_mu_;
      |   ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:240:28: error: no member named 'mutex' in namespace 'std'
  240 |       std::lock_guard<std::mutex> lock(cache_res_mgr_->cache_res_mgr_mu_);
      |                       ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:266:26: error: no member named 'mutex' in namespace 'std'
  266 |     std::lock_guard<std::mutex> lock(cache_res_mgr_mu_);
      |                     ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:272:26: error: no member named 'mutex' in namespace 'std'
  272 |     std::lock_guard<std::mutex> lock(cache_res_mgr_mu_);
      |                     ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:295:28: error: no member named 'mutex' in namespace 'std'
  295 |       std::lock_guard<std::mutex> lock(cache_res_mgr_mu_);
      |                       ~~~~~^
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:302:53: error: no matching member function for call to 'shared_from_this'
  301 |             std::enable_shared_from_this<
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  302 |                 ConcurrentCacheReservationManager>::shared_from_this(),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:1554:41: note: candidate function not viable: no known conversion from 'rocksdb::ConcurrentCacheReservationManager' to 'std::enable_shared_from_this<rocksdb::ConcurrentCacheReservationManager>' for object argument
 1554 |   _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp> shared_from_this() { return shared_ptr<_Tp>(__weak_this_); }
      |                                         ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:1555:47: note: candidate function not viable: no known conversion from 'rocksdb::ConcurrentCacheReservationManager' to 'const std::enable_shared_from_this<rocksdb::ConcurrentCacheReservationManager>' for object argument
 1555 |   _LIBCPP_HIDE_FROM_ABI shared_ptr<_Tp const> shared_from_this() const { return shared_ptr<const _Tp>(__weak_this_); }
      |                                               ^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:12:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/cache_reservation_manager.h:310:26: error: no member named 'mutex' in namespace 'std'
  310 |     std::lock_guard<std::mutex> lock(cache_res_mgr_mu_);
      |                     ~~~~~^
In file included from /host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.cc:6:
/host/spi-builder-workspace/Sources/rocksdb/rocksdb/cache/compressed_secondary_cache.h:144:17: error: no type named 'Mutex' in namespace 'rocksdb::port'
  144 |   mutable port::Mutex capacity_mutex_;
      |           ~~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[3/360] Compiling compressed_secondary_cache.cc
BUILD FAILURE 6.2 wasm