The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StockfishKit, reference v0.1.1 (c8567e), with Swift 6.2 for Wasm on 12 Jul 2026 10:58:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/varton86/StockfishKit.git
Reference: v0.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/varton86/StockfishKit
 * tag               v0.1.1     -> FETCH_HEAD
HEAD is now at c8567ee Add explicit FEN search APIs
Cloned https://github.com/varton86/StockfishKit.git
Revision (git rev-parse @):
c8567ee01df5d42d552bf795c565faa61baf9592
SUCCESS checkout https://github.com/varton86/StockfishKit.git at v0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/varton86/StockfishKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:32:
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:84:33: error: no member named 'thread' in namespace 'std'
   84 |     CpuIndex concurrency = std::thread::hardware_concurrency();
      |                            ~~~~~^
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:955:20: error: expected ';' after expression
  955 |         std::thread th([this, &f, n]() {
      |                    ^
      |                    ;
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:955:14: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
  955 |         std::thread th([this, &f, n]() {
      |         ~~~~~^~~~~~
      |              fread
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdio:141:9: note: 'fread' declared here
  141 | using ::fread _LIBCPP_USING_IF_EXISTS;
      |         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:32:
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:960:9: error: use of undeclared identifier 'th'
  960 |         th.join();
      |         ^
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:1456:18: error: no type named 'mutex' in namespace 'std'
 1456 |     mutable std::mutex                      mutex;
      |             ~~~~~^
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:1466:14: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
 1466 |         std::unique_lock<std::mutex> lock(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/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:32:
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:1466:31: error: no member named 'mutex' in namespace 'std'
 1466 |         std::unique_lock<std::mutex> lock(mutex);
      |                          ~~~~~^
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:1580:18: error: no type named 'mutex' in namespace 'std'
 1580 |     mutable std::mutex                               mutex;
      |             ~~~~~^
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:1600:14: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
 1600 |         std::unique_lock<std::mutex> lock(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/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:32:
/host/spi-builder-workspace/vendor/Stockfish/src/numa.h:1600:31: error: no member named 'mutex' in namespace 'std'
 1600 |         std::unique_lock<std::mutex> lock(mutex);
      |                          ~~~~~^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:28:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/features/half_ka_v2_hm.h:28:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/features/../nnue_common.h:46:
/usr/lib/clang/17/include/arm_neon.h:28:2: error: "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
   28 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
      |  ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:184:48: error: unknown type name 'int8x8_t'; did you mean 'int8_t'?
  184 | using vec_i8x8_t __attribute__((may_alias))  = int8x8_t;
      |                                                ^~~~~~~~
      |                                                int8_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:130:25: note: 'int8_t' declared here
  130 | typedef signed char     int8_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:185:48: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
  185 | using vec_i16x8_t __attribute__((may_alias)) = int16x8_t;
      |                                                ^~~~~~~~~
      |                                                int16_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
  135 | typedef signed short    int16_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:186:48: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
  186 | using vec_i8x16_t __attribute__((may_alias)) = int8x16_t;
      |                                                ^~~~~~~~~
      |                                                int16_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
  135 | typedef signed short    int16_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:187:48: error: unknown type name 'uint16x8_t'; did you mean 'uint16_t'?
  187 | using vec_u16x8_t __attribute__((may_alias)) = uint16x8_t;
      |                                                ^~~~~~~~~~
      |                                                uint16_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:160:25: note: 'uint16_t' declared here
  160 | typedef unsigned short  uint16_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:188:48: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
  188 | using vec_i32x4_t __attribute__((may_alias)) = int32x4_t;
      |                                                ^~~~~~~~~
      |                                                int32_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
  140 | typedef signed int      int32_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:190:47: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
  190 | using vec_t __attribute__((may_alias))      = int16x8_t;
      |                                               ^~~~~~~~~
      |                                               int16_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
  135 | typedef signed short    int16_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:191:47: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
  191 | using vec_i8_t __attribute__((may_alias))   = int8x16_t;
      |                                               ^~~~~~~~~
      |                                               int16_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
  135 | typedef signed short    int16_t;
      |                         ^
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.cpp:19:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/thread.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/search.h:37:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:30:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/affine_transform.h:29:
/host/spi-builder-workspace/vendor/Stockfish/src/nnue/layers/../simd.h:192:47: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
  192 | using psqt_vec_t __attribute__((may_alias)) = int32x4_t;
      |                                               ^~~~~~~~~
      |                                               int32_t
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
  140 | typedef signed int      int32_t;
      |                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/25] Compiling CStockfish thread.cpp
[0/25] Compiling CStockfish misc.cpp
[0/25] Compiling CStockfish memory.cpp
[0/25] Write swift-version-24593BA9C3E375BF.txt
[0/25] Compiling CStockfish engine.cpp
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/evaluate.cpp:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/network.h:34:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_accumulator.h:31:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/nnue_architecture.h:28:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/features/half_ka_v2_hm.h:28:
In file included from /host/spi-builder-workspace/vendor/Stockfish/src/nnue/features/../nnue_common.h:46:
/usr/lib/clang/17/include/arm_neon.h:28:2: error: "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
   28 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
      |  ^
[0/25] Compiling CStockfish evaluate.cpp
[0/25] Compiling CStockfish bitboard.cpp
[0/25] Compiling CStockfish benchmark.cpp
BUILD FAILURE 6.2 wasm