Build Information
Failed to build sentencepiece, reference master (a39a5b), with Swift 6.3 for Wasm on 19 Apr 2026 18:19:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/weiyanlin117/swift-package-support-sentencepiece.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/weiyanlin117/swift-package-support-sentencepiece
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a39a5be update naming to swift-package-support-sentencepiece in package.swift
Cloned https://github.com/weiyanlin117/swift-package-support-sentencepiece.git
Revision (git rev-parse @):
a39a5be0b3e3ad9bcb19b085af7dd891c00aa3d2
SUCCESS checkout https://github.com/weiyanlin117/swift-package-support-sentencepiece.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/weiyanlin117/swift-package-support-sentencepiece.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/93] Compiling spm_test init_test.cc
In file included from /host/spi-builder-workspace/src/char_model_test.cc:17:
In file included from /host/spi-builder-workspace/src/char_model.h:18:
In file included from /host/spi-builder-workspace/src/model_interface.h:31:
/host/spi-builder-workspace/src/util.h:484:20: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
484 | std::vector<std::thread> tasks_;
| ^~~~~~
| fread
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdio:144:9: note: 'fread' declared here
144 | using ::fread _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/src/char_model_test.cc:17:
In file included from /host/spi-builder-workspace/src/char_model.h:18:
In file included from /host/spi-builder-workspace/src/model_interface.h:31:
/host/spi-builder-workspace/src/util.h:484:15: error: template argument for template type parameter must be a type
484 | std::vector<std::thread> tasks_;
| ^~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:87:17: note: template parameter is declared here
87 | template <class _Tp, class _Allocator /* = allocator<_Tp> */>
| ^
2 errors generated.
[1/93] Compiling spm_test char_model_test.cc
[1/93] Compiling spm_export_vocab spm_export_vocab_main.cc
[1/93] Compiling spm_test sentencepiece_trainer_test.cc
In file included from /host/spi-builder-workspace/src/bpe_model_test.cc:18:
In file included from /host/spi-builder-workspace/src/bpe_model.h:18:
In file included from /host/spi-builder-workspace/src/model_interface.h:31:
/host/spi-builder-workspace/src/util.h:484:20: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
484 | std::vector<std::thread> tasks_;
| ^~~~~~
| fread
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdio:144:9: note: 'fread' declared here
144 | using ::fread _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/src/bpe_model_test.cc:18:
In file included from /host/spi-builder-workspace/src/bpe_model.h:18:
In file included from /host/spi-builder-workspace/src/model_interface.h:31:
/host/spi-builder-workspace/src/util.h:484:15: error: template argument for template type parameter must be a type
484 | std::vector<std::thread> tasks_;
| ^~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:87:17: note: template parameter is declared here
87 | template <class _Tp, class _Allocator /* = allocator<_Tp> */>
| ^
[1/93] Compiling spm_test bpe_model_test.cc
[1/93] Compiling spm_test builder_test.cc
[1/93] Compiling spm_normalize spm_normalize_main.cc
[1/93] Compiling zero_copy_stream_impl_lite.cc
In file included from /host/spi-builder-workspace/src/bpe_model_trainer_test.cc:18:
In file included from /host/spi-builder-workspace/src/bpe_model_trainer.h:26:
In file included from /host/spi-builder-workspace/src/trainer_interface.h:31:
/host/spi-builder-workspace/src/util.h:484:20: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
484 | std::vector<std::thread> tasks_;
| ^~~~~~
| fread
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdio:144:9: note: 'fread' declared here
144 | using ::fread _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/src/bpe_model_trainer_test.cc:18:
In file included from /host/spi-builder-workspace/src/bpe_model_trainer.h:26:
In file included from /host/spi-builder-workspace/src/trainer_interface.h:31:
/host/spi-builder-workspace/src/util.h:484:15: error: template argument for template type parameter must be a type
484 | std::vector<std::thread> tasks_;
| ^~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:87:17: note: template parameter is declared here
87 | template <class _Tp, class _Allocator /* = allocator<_Tp> */>
| ^
[1/93] Compiling spm_test bpe_model_trainer_test.cc
BUILD FAILURE 6.3 wasm