The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-openssl, reference main (a774bf), with Swift 6.1 for Wasm on 1 May 2026 07:51:04 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/21-DOT-DEV/swift-openssl.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/21-DOT-DEV/swift-openssl
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a774bf0 Strip upstream submodule gitlinks from Vendor/openssl (#15)
Updating files:  89% (6726/7506)
Updating files:  90% (6756/7506)
Updating files:  91% (6831/7506)
Updating files:  92% (6906/7506)
Updating files:  93% (6981/7506)
Updating files:  94% (7056/7506)
Updating files:  95% (7131/7506)
Updating files:  96% (7206/7506)
Updating files:  97% (7281/7506)
Updating files:  98% (7356/7506)
Updating files:  99% (7431/7506)
Updating files: 100% (7506/7506)
Updating files: 100% (7506/7506), done.
Cloned https://github.com/21-DOT-DEV/swift-openssl.git
Revision (git rev-parse @):
a774bf0667092f6b6be7f2bdebadf6b02cf84a97
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-openssl.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/21-DOT-DEV/swift-openssl.git
https://github.com/21-DOT-DEV/swift-openssl.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
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2287] Fetching swift-docc-plugin
[162/2351] Fetching swift-docc-plugin, swift-plugin-subtree
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.70s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.71s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Computed https://github.com/21-DOT-DEV/swift-plugin-subtree.git at 0.0.15 (7.29s)
Fetching https://github.com/21-DOT-DEV/swift-artifact-parser
[2/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (0.34s)
Computing version for https://github.com/21-DOT-DEV/swift-artifact-parser
Computed https://github.com/21-DOT-DEV/swift-artifact-parser at 0.0.1 (4.40s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.02s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3708] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.55s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.1
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-subtree.git resolved at 0.0.15
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
[1397/44671930] Downloading https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip (6.04s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/siphash/siphash.c:28:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[3/1000] Compiling siphash.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/common/der/der_digests_gen.c:13:
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/common/include/prov/der_digests.h:13:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/der.h:14:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/bn.h:26:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[3/1000] Compiling der_digests_gen.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/common/bio_prov.c:11:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/core_dispatch.h:16:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/indicator.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/params.h:16:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/bn.h:26:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[3/1000] Compiling bio_prov.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/common/der/der_dsa_key.c:17:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/packet.h:15:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/bn.h:26:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[3/1000] Compiling der_dsa_key.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/sleep.c:10:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[3/1000] Compiling sleep.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/sha/sha512.c:55:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[3/1000] Compiling sha512.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/common/capabilities.c:12:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/core_dispatch.h:16:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/indicator.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/params.h:16:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/bn.h:26:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[3/1000] Compiling capabilities.c
[3/1000] 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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/1000] Write sources
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/tls13_enc.c:11:
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/ssl_local.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/common.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/1000] Compiling tls13_enc.c
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/t1_enc.c:12:
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/ssl_local.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/common.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/1000] Compiling t1_enc.c
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/t1_lib.c:13:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/objects.h:20:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/bio.h:32:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/1000] Compiling t1_lib.c
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/statem/statem_srvr.c:12:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/1000] Compiling statem_srvr.c
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/tls_srp.c:20:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/1000] Compiling tls_srp.c
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/tls_depr.c:13:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/engine.h:24:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/bn.h:26:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/1000] Compiling tls_depr.c
[8/1000] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/t1_trce.c:10:
In file included from /host/spi-builder-workspace/Sources/libssl/src/ssl/ssl_local.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/common.h:18:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[8/1000] Compiling t1_trce.c
BUILD FAILURE 6.1 wasm