Build Information
Failed to build PLzmaSDK, reference 1.5.1 (66a9a1
), with Swift 6.1 for Wasm on 9 Jul 2025 21:26:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-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.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/OlehKulykov/PLzmaSDK
* tag 1.5.1 -> FETCH_HEAD
HEAD is now at 66a9a1a Release 1.5.1
Cloned https://github.com/OlehKulykov/PLzmaSDK.git
Revision (git rev-parse @):
66a9a1a309905dd257ac649c1876dd9806aeeec0
SUCCESS checkout https://github.com/OlehKulykov/PLzmaSDK.git at 1.5.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/OlehKulykov/PLzmaSDK.git
https://github.com/OlehKulykov/PLzmaSDK.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Found unhandled resource at /host/spi-builder-workspace/resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/184] Write swift-version-24593BA9C3E375BF.txt
[1/184] Compiling plzma_test_files file__names_txt.c
[2/184] Compiling plzma_test_files file__munchen_jpg.c
[3/184] Compiling plzma_test_files file__7_7z.c
[4/184] Compiling plzma_test_files file__shutuptakemoney_jpg.c
[4/184] Compiling plzma_test_files file__southpark_jpg.c
[6/184] Compiling plzma_test_files file__zombies_jpg.c
[7/184] Compiling plzma_test_files file__4_7z.c
[8/184] Compiling plzma_test_files file__9_7z.c
[9/184] Compiling plzma_test_files file__18_7z_003.c
[10/184] Compiling plzma_test_files file__8_7z.c
[11/184] Compiling plzma_test_files file__18_7z_001.c
[12/184] Compiling plzma_test_files file__6_7z.c
[13/184] Compiling plzma_test_files file__5_7z.c
[14/184] Compiling plzma_test_files file__17_jpg_xz.c
[15/184] Compiling plzma_test_files file__18_7z_002.c
[16/184] Compiling plzma_test_files file__3_7z.c
[17/184] Compiling plzma_test_files file__2_7z.c
[18/184] Compiling plzma_test_files file__1_7z.c
[19/184] Compiling plzma_test_files file__16_tar_xz.c
[20/184] Compiling libplzma plzma_update_callback.cpp
[21/184] Compiling libplzma plzma_raw_heap_memory.cpp
[22/184] Compiling plzma_test_files file__15_tar.c
[23/184] Compiling plzma_test_files file__13_7z.c
[24/184] Compiling plzma_test_files file__14_7z.c
[25/184] Compiling plzma_test_files file__11_7z.c
[26/184] Compiling plzma_test_files file__12_7z.c
[27/184] Compiling plzma_test_files file__10_7z.c
[28/184] Compiling libplzma plzma_string.cpp
[29/184] Compiling libplzma plzma_file_utils.cpp
/host/spi-builder-workspace/src/plzma_path_utils.cpp:86:35: error: no member named 'readdir_r' in the global namespace
86 | if ( (readRes = ::readdir_r(dir.dir, &d, &dp)) == 0 && dp) {
| ~~^
1 error generated.
[30/184] Compiling libplzma plzma_path_utils.cpp
[30/184] Compiling libplzma plzma_progress.cpp
/host/spi-builder-workspace/src/plzma_path.cpp:261:29: error: no member named 'readdir_r' in the global namespace
261 | readRes = ::readdir_r(_dir, &d, &dp);
| ~~^
[30/184] Compiling libplzma plzma_path.cpp
[30/184] Compiling libplzma plzma_in_streams.cpp
[30/184] Compiling libplzma plzma_item.cpp
[30/184] Compiling libplzma plzma_extract_callback.cpp
[30/184] Compiling libplzma plzma_out_streams.cpp
[30/184] Compiling libplzma plzma_open_callback.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Found unhandled resource at /host/spi-builder-workspace/resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/154] Write sources
[0/154] Copying PrivacyInfo.xcprivacy
/host/spi-builder-workspace/src/plzma_path.cpp:261:29: error: no member named 'readdir_r' in the global namespace
261 | readRes = ::readdir_r(_dir, &d, &dp);
| ~~^
1 error generated.
[2/155] Compiling libplzma plzma_path.cpp
[2/155] Compiling libplzma plzma_open_callback.cpp
[2/155] Compiling libplzma plzma_progress.cpp
[2/155] Compiling libplzma plzma_in_streams.cpp
[2/155] Compiling libplzma plzma_extract_callback.cpp
[2/155] Compiling libplzma plzma_out_streams.cpp
/host/spi-builder-workspace/src/plzma_path_utils.cpp:86:35: error: no member named 'readdir_r' in the global namespace
86 | if ( (readRes = ::readdir_r(dir.dir, &d, &dp)) == 0 && dp) {
| ~~^
[2/155] Compiling libplzma plzma_path_utils.cpp
[2/155] Compiling libplzma plzma_item.cpp
BUILD FAILURE 6.1 wasm