The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build icu, reference main (07ddbe), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 13:52:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wabiverse/icu.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/wabiverse/icu
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 07ddbe4 windows: workaround missing symbol for icudt76_dat. note: probably fix this at some point.
Cloned https://github.com/wabiverse/icu.git
Revision (git rev-parse @):
07ddbe4cab45175e70b22ed05240bac5ec7e0421
SUCCESS checkout https://github.com/wabiverse/icu.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wabiverse/icu.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/460] Compiling icuuc wintz.cpp
[1/460] Compiling icuuc utypes.cpp
[2/460] Compiling icuuc uvectr64.cpp
[3/460] Compiling icuuc uvector.cpp
[4/460] Compiling icuuc uvectr32.cpp
[5/460] Compiling icuuc utrie_swap.cpp
[6/460] Compiling icuuc utrie.cpp
[7/460] Compiling icuuc utrie2_builder.cpp
[8/460] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/icuin/anytrans.cpp:22:
In file included from /host/spi-builder-workspace/Sources/icuuc/mutex.h:27:
/host/spi-builder-workspace/Sources/icuuc/umutex.h:239:18: error: no member named 'mutex' in namespace 'std'
  239 |     alignas(std::mutex) char fStorage[sizeof(std::mutex)] {};
      |             ~~~~~^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:239:51: error: no member named 'mutex' in namespace 'std'
  239 |     alignas(std::mutex) char fStorage[sizeof(std::mutex)] {};
      |                                              ~~~~~^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:240:29: error: expected expression
  240 |     std::atomic<std::mutex *> fMutex { nullptr };
      |                             ^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:240:22: error: no member named 'mutex' in namespace 'std'
  240 |     std::atomic<std::mutex *> fMutex { nullptr };
      |                 ~~~~~^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:252:10: error: no type named 'mutex' in namespace 'std'
  252 |     std::mutex *getMutex();
      |     ~~~~~^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:221:22: warning: constexpr constructor that does not initialize all members is a C++20 extension [-Wc++20-extensions]
  221 |     UMUTEX_CONSTEXPR UMutex() {}
      |                      ^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:245:13: note: member not initialized by constructor
  245 |     UMutex *fListLink { nullptr };
      |             ^
/host/spi-builder-workspace/Sources/icuuc/umutex.h:230:14: error: no type named 'mutex' in namespace 'std'
  230 |         std::mutex *m = fMutex.load(std::memory_order_acquire);
      |         ~~~~~^
1 warning and 6 errors generated.
[9/460] Compiling icuin anytrans.cpp
[9/460] Compiling icuuc utf_impl.cpp
[9/460] Compiling icuuc util.cpp
[9/460] Compiling icuuc utrace.cpp
[9/460] Compiling icuuc uts46.cpp
[9/460] Compiling icuin alphaindex.cpp
[9/460] Compiling icuuc util_props.cpp
[9/460] Compiling icuuc utrie2.cpp
BUILD FAILURE 6.2 wasm