Build Information
Failed to build swift-openssl, reference main (72b0a5), with Swift 6.1 for Wasm on 26 Jun 2026 17:45:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
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 72b0a5f ci(subtree): drop scheduled trigger from check-subtree-updates (#17)
Cloned https://github.com/21-DOT-DEV/swift-openssl.git
Revision (git rev-parse @):
72b0a5f4b7a699e5b9a5594b355459e422640b20
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-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/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/64] Fetching swift-plugin-subtree
[65/2363] Fetching swift-plugin-subtree, swift-docc-plugin
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.50s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.50s)
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 (0.72s)
Fetching https://github.com/21-DOT-DEV/swift-artifact-parser
[1/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (0.38s)
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 (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
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
[16375/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 (2.61s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/VendirSync/README.md
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/1006] Compiling chacha_enc.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/buffer/buf_err.c:11:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/err.h:31:
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>
| ^~~~~~~~~~~
1 error generated.
[4/1006] Compiling buf_err.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/cmac/cmac.c:19:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/cryptlib.h:21:
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>
| ^~~~~~~~~~~
[4/1006] Compiling cmac.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/cmp/cmp_client.c:12:
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/cmp/cmp_local.h:15:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/cmp.h:25:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/crmf.h:30:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/x509v3.h:26:
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>
| ^~~~~~~~~~~
[4/1006] Compiling cmp_client.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/buffer/buffer.c:11:
In file included from /host/spi-builder-workspace/Sources/libcrypto/internal_include/include/internal/cryptlib.h:21:
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>
| ^~~~~~~~~~~
[4/1006] Compiling buffer.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/src/crypto/cmp/cmp_asn.c:12:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/asn1t.h:28:
In file included from /host/spi-builder-workspace/Sources/libcrypto/include/openssl/asn1.h:32:
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>
| ^~~~~~~~~~~
[4/1006] Compiling cmp_asn.c
[4/1006] Compiling tls_srp.c
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_etm_hw.c:10:
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha_etm.h:11:
In file included from /host/spi-builder-workspace/Sources/libcrypto/providers/providers/implementations/include/prov/ciphercommon.h:14:
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>
| ^~~~~~~~~~~
[4/1006] Compiling cipher_aes_cbc_hmac_sha1_etm_hw.c
[4/1006] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/VendirSync/README.md
[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...
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.
[3/1005] Compiling t1_enc.c
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.
[3/1005] Compiling tls13_enc.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>
| ^~~~~~~~~~~
1 error generated.
[3/1005] Compiling tls_depr.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>
| ^~~~~~~~~~~
1 error generated.
[3/1005] Compiling tls_srp.c
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>
| ^~~~~~~~~~~
1 error generated.
[3/1005] Compiling t1_trce.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>
| ^~~~~~~~~~~
[3/1005] Compiling statem_srvr.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>
| ^~~~~~~~~~~
[3/1005] Compiling t1_lib.c
[3/1005] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm