Build Information
Failed to build PLzmaSDK, reference 1.5.0 (d42ec4
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 17:04:30 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/OlehKulykov/PLzmaSDK.git
Reference: 1.5.0
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/OlehKulykov/PLzmaSDK
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at d42ec41 Release 1.5.0
Cloned https://github.com/OlehKulykov/PLzmaSDK.git
Revision (git rev-parse @):
d42ec415ffa0fa45bafd09b9e36e7bf8dfc6c136
SUCCESS checkout https://github.com/OlehKulykov/PLzmaSDK.git at 1.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/OlehKulykov/PLzmaSDK.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/183] Compiling Sha256Opt.c
[1/183] Compiling 7zCrc.c
[2/183] Compiling Sort.c
[3/183] Compiling Ppmd7Enc.c
[4/183] Compiling Sha256.c
[5/183] Compiling Ppmd7Dec.c
[6/183] Compiling Ppmd7.c
[7/183] Compiling plzma_test_files file__southpark_jpg.c
[8/183] Compiling plzma_test_files file__names_txt.c
[9/183] Compiling plzma_test_files file__munchen_jpg.c
[10/183] Compiling plzma_test_files file__shutuptakemoney_jpg.c
[11/183] Write swift-version-24593BA9C3E375BF.txt
[12/183] Compiling plzma_test_files file__zombies_jpg.c
[13/183] Compiling plzma_test_files file__9_7z.c
[14/183] Compiling plzma_test_files file__4_7z.c
[15/183] Compiling plzma_test_files file__8_7z.c
In file included from /host/spi-builder-workspace/src/plzma_base_callback.cpp:30:
In file included from /host/spi-builder-workspace/src/plzma_base_callback.hpp:35:
/host/spi-builder-workspace/src/plzma_mutex.hpp:55:18: error: no type named 'mutex' in namespace 'std'
55 | typedef std::mutex Mutex;
| ~~~~~^
/host/spi-builder-workspace/src/plzma_mutex.hpp:167:23: error: member reference base type 'Mutex' (aka 'int') is not a structure or union
167 | _mutex.lock();
| ~~~~~~^~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:176:23: error: member reference base type 'Mutex' (aka 'int') is not a structure or union
176 | _mutex.unlock();
| ~~~~~~^~~~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:186:27: error: member reference base type 'Mutex' (aka 'int') is not a structure or union
186 | _mutex.lock();
| ~~~~~~^~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:195:27: error: member reference base type 'Mutex' (aka 'int') is not a structure or union
195 | _mutex.unlock();
| ~~~~~~^~~~~~~
In file included from /host/spi-builder-workspace/src/plzma_base_callback.cpp:30:
In file included from /host/spi-builder-workspace/src/plzma_base_callback.hpp:36:
/host/spi-builder-workspace/src/plzma_progress.hpp:108:9: error: no type named 'mutex' in namespace 'std'
108 | LIBPLZMA_MUTEX(_mutex)
| ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:204:35: note: expanded from macro 'LIBPLZMA_MUTEX'
204 | #define LIBPLZMA_MUTEX(NAME) std::mutex NAME;
| ~~~~~^
In file included from /host/spi-builder-workspace/src/plzma_base_callback.cpp:30:
/host/spi-builder-workspace/src/plzma_base_callback.hpp:49:9: error: no type named 'mutex' in namespace 'std'
49 | LIBPLZMA_MUTEX(mutable _mutex)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:204:35: note: expanded from macro 'LIBPLZMA_MUTEX'
204 | #define LIBPLZMA_MUTEX(NAME) std::mutex NAME;
| ~~~~~^
/host/spi-builder-workspace/src/plzma_base_callback.cpp:42:13: error: no member named 'mutex' in namespace 'std'
42 | LIBPLZMA_LOCKGUARD(lock, _mutex)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:206:67: note: expanded from macro 'LIBPLZMA_LOCKGUARD'
206 | #define LIBPLZMA_LOCKGUARD(NAME,MUTEX) const std::lock_guard<std::mutex> NAME(MUTEX);
| ~~~~~^
/host/spi-builder-workspace/src/plzma_base_callback.cpp:74:13: error: no member named 'mutex' in namespace 'std'
74 | LIBPLZMA_LOCKGUARD(lock, _mutex)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:206:67: note: expanded from macro 'LIBPLZMA_LOCKGUARD'
206 | #define LIBPLZMA_LOCKGUARD(NAME,MUTEX) const std::lock_guard<std::mutex> NAME(MUTEX);
| ~~~~~^
/host/spi-builder-workspace/src/plzma_base_callback.cpp:98:13: error: no member named 'mutex' in namespace 'std'
98 | LIBPLZMA_LOCKGUARD(lock, _mutex)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/src/plzma_mutex.hpp:206:67: note: expanded from macro 'LIBPLZMA_LOCKGUARD'
206 | #define LIBPLZMA_LOCKGUARD(NAME,MUTEX) const std::lock_guard<std::mutex> NAME(MUTEX);
| ~~~~~^
10 errors generated.
[16/183] Compiling libplzma plzma_base_callback.cpp
[16/183] Compiling plzma_test_files file__3_7z.c
[16/183] Compiling plzma_test_files file__18_7z_003.c
[16/183] Compiling plzma_test_files file__6_7z.c
[16/183] Compiling plzma_test_files file__1_7z.c
[16/183] Compiling plzma_test_files file__7_7z.c
[16/183] Compiling plzma_test_files file__5_7z.c
[16/183] Compiling plzma_test_files file__2_7z.c
BUILD FAILURE 6.2 wasm