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 v76.1.2 (07ddbe), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 13:49:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: v76.1.2
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
 * tag               v76.1.2    -> FETCH_HEAD
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 v76.1.2
========================================
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-1":/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 icuin collation.cpp
[1/460] Write swift-version-24593BA9C3E375BF.txt
[2/460] Compiling icuuc wintz.cpp
[3/460] Compiling icuuc uvectr64.cpp
[4/460] Compiling icuin collationweights.cpp
[5/460] Compiling icuin bocsu.cpp
[6/460] Compiling icuuc utypes.cpp
[7/460] Compiling icuin basictz.cpp
[8/460] Compiling icuuc uvectr32.cpp
[9/460] Compiling icuin compactdecimalformat.cpp
In file included from /host/spi-builder-workspace/Sources/icuin/collationfastlatin.cpp:19:
In file included from /host/spi-builder-workspace/Sources/icuin/collationdata.h:24:
In file included from /host/spi-builder-workspace/Sources/icuuc/normalizer2impl.h:32:
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.
[10/460] Compiling icuin collationfastlatin.cpp
[10/460] Compiling icuuc uvector.cpp
[10/460] Compiling icuuc utrie2_builder.cpp
In file included from /host/spi-builder-workspace/Sources/icuin/coll.cpp:51:
In file included from /host/spi-builder-workspace/Sources/icuin/collationdata.h:24:
In file included from /host/spi-builder-workspace/Sources/icuuc/normalizer2impl.h:32:
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);
      |         ~~~~~^
[10/460] Compiling icuin coll.cpp
[10/460] Compiling icuuc uts46.cpp
[10/460] Compiling icuin coleitr.cpp
[10/460] Compiling icuuc utrie2.cpp
[10/460] Compiling icuuc utrie_swap.cpp
BUILD FAILURE 6.2 wasm