The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PLzmaSDK, reference master (7d1aa7), with Swift 6.1 for Wasm on 17 Apr 2026 14:49:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OlehKulykov/PLzmaSDK.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/OlehKulykov/PLzmaSDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7d1aa72 1775973877
Cloned https://github.com/OlehKulykov/PLzmaSDK.git
Revision (git rev-parse @):
7d1aa724c98187e5c60b4db2452d220ac495ad9d
SUCCESS checkout https://github.com/OlehKulykov/PLzmaSDK.git at master
========================================
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Found unhandled resource at /host/spi-builder-workspace/resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/184] Compiling CpuArch.c
[1/184] Compiling 7zAsm.S
[2/184] Compiling AesOpt.c
[3/184] Compiling LzmaDecOpt.S
[3/184] Compiling LzFindOpt.c
[5/184] Compiling 7zCrc.c
In file included from /host/spi-builder-workspace/src/C/LzFindMt.c:11:
In file included from /host/spi-builder-workspace/src/C/LzFindMt.h:8:
/host/spi-builder-workspace/src/C/Threads.h:31:10: fatal error: 'pthread.h' file not found
   31 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/184] Compiling LzFindMt.c
[6/184] Compiling Aes.c
[6/184] Compiling plzma_test_files file__munchen_jpg.c
[6/184] Compiling plzma_test_files file__zombies_jpg.c
[6/184] Compiling plzma_test_files file__names_txt.c
[6/184] Compiling plzma_test_files file__southpark_jpg.c
[6/184] Compiling plzma_test_files file__shutuptakemoney_jpg.c
[6/184] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/178] Write sources
[1/178] Copying PrivacyInfo.xcprivacy
[2/178] Write swift-version-24593BA9C3E375BF.txt
[3/178] Compiling plzma_test_files file__names_txt.c
[4/178] Compiling plzma_test_files file__munchen_jpg.c
[5/178] Compiling plzma_test_files file__shutuptakemoney_jpg.c
[6/178] Compiling plzma_test_files file__southpark_jpg.c
[7/178] Compiling plzma_test_files file__zombies_jpg.c
[8/178] Compiling plzma_test_files file__8_7z.c
[9/178] Compiling plzma_test_files file__4_7z.c
[10/178] Compiling plzma_test_files file__7_7z.c
[11/178] Compiling plzma_test_files file__6_7z.c
[12/178] Compiling plzma_test_files file__18_7z_003.c
[12/178] Compiling plzma_test_files file__3_7z.c
[12/178] Compiling plzma_test_files file__1_7z.c
[12/178] Compiling plzma_test_files file__9_7z.c
[16/178] Compiling plzma_test_files file__5_7z.c
[17/178] Compiling plzma_test_files file__2_7z.c
[18/178] Compiling plzma_test_files file__18_7z_001.c
[19/178] Compiling plzma_test_files file__18_7z_002.c
[20/178] Compiling plzma_test_files file__17_jpg_xz.c
[21/178] Compiling plzma_test_files file__14_7z.c
[22/178] Compiling plzma_test_files file__12_7z.c
[23/178] Compiling libplzma plzma_update_callback.cpp
[24/178] Compiling plzma_test_files file__13_7z.c
[25/178] Compiling plzma_test_files file__15_tar.c
[26/178] Compiling plzma_test_files file__16_tar_xz.c
[27/178] Compiling plzma_test_files file__11_7z.c
[28/178] Compiling plzma_test_files file__10_7z.c
[29/178] Compiling libplzma plzma_raw_heap_memory.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/178] Compiling libplzma plzma_path_utils.cpp
[30/178] Compiling libplzma plzma_item.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/178] Compiling libplzma plzma_path.cpp
[30/178] Compiling libplzma plzma_progress.cpp
[30/178] Compiling libplzma plzma_out_streams.cpp
[30/178] Compiling libplzma plzma_string.cpp
[30/178] Compiling libplzma plzma_in_streams.cpp
[30/178] Compiling libplzma plzma_open_callback.cpp
BUILD FAILURE 6.1 wasm