The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-tor, reference main (8a540b), with Swift 6.1 for Wasm on 3 May 2026 20:43:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-tor.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-tor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8a540bc Add SPI documentation link and update swift-openssl to 0.1.5 and swift-event to 0.1.4 (#10)
Cloned https://github.com/21-DOT-DEV/swift-tor.git
Revision (git rev-parse @):
8a540bc31b326d8346462e5dac8d48690122d196
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-tor.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/21-DOT-DEV/swift-tor.git
https://github.com/21-DOT-DEV/swift-tor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-event.git
Fetching https://github.com/21-DOT-DEV/swift-openssl.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
[1/64] Fetching swift-plugin-subtree
[44/9587] Fetching swift-plugin-subtree, swift-openssl
[65/10169] Fetching swift-plugin-subtree, swift-openssl, swift-event
[451/12456] Fetching swift-plugin-subtree, swift-openssl, swift-event, swift-docc-plugin
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.48s)
[718/12392] Fetching swift-openssl, swift-event, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.95s)
[2011/10105] Fetching swift-openssl, swift-event
Fetched https://github.com/21-DOT-DEV/swift-event.git from cache (6.52s)
Fetched https://github.com/21-DOT-DEV/swift-openssl.git from cache (6.75s)
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.13 (7.74s)
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.36s)
Computing version for https://github.com/21-DOT-DEV/swift-event.git
Computed https://github.com/21-DOT-DEV/swift-event.git at 0.1.4 (1.45s)
Computing version for https://github.com/21-DOT-DEV/swift-openssl.git
Computed https://github.com/21-DOT-DEV/swift-openssl.git at 0.1.5 (1.21s)
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.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3710] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.94s)
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/21-DOT-DEV/swift-openssl.git
Working copy of https://github.com/21-DOT-DEV/swift-openssl.git resolved at 0.1.5
Creating working copy for https://github.com/21-DOT-DEV/swift-event.git
Working copy of https://github.com/21-DOT-DEV/swift-event.git resolved at 0.1.4
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.13
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
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip
[1397/44642150] Downloading https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip (6.90s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/1454] Compiling clear_cache_shim.c
[3/1454] Compiling risky_options.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/crypto/onion_crypto.c:33:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/crypto/onion_crypto.c:33:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:31:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/crypt_ops/crypto_rsa.h:21:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
2 errors generated.
[5/1454] Compiling onion_crypto.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/resolve_addr.c:11:
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/config.h:15:
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/or_options_st.h:16:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/resolve_addr.c:11:
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/config.h:15:
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/or_options_st.h:16:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:31:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/crypt_ops/crypto_rsa.h:21:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
[5/1454] Compiling resolve_addr.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/config.c:65:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/config.c:65:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:31:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/crypt_ops/crypto_rsa.h:21:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
[5/1454] Compiling config.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/crypto/hs_ntor.c:27:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/crypto/hs_ntor.c:27:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:31:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/crypt_ops/crypto_rsa.h:21:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
2 errors generated.
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/main/shutdown.c:13:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/main/shutdown.c:13:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:31:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/crypt_ops/crypto_rsa.h:21:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
[5/1454] Compiling hs_ntor.c
[5/1454] Compiling shutdown.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/statefile.c:32:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/libtor/src/app/config/statefile.c:32:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:31:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/crypt_ops/crypto_rsa.h:21:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
[5/1454] Compiling statefile.c
[5/1454] Compiling socks5.c
[5/1454] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/1452] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/tls13_enc.c:11:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/ssl_local.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/common.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/1452] Compiling tls13_enc.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/t1_enc.c:12:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/ssl_local.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/common.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[6/1452] Compiling t1_enc.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/tls_srp.c:20:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/1452] Compiling tls_srp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/statem/statem_srvr.c:12:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/1452] Compiling statem_srvr.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/tls_depr.c:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/engine.h:24:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/bn.h:26:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/1452] Compiling tls_depr.c
[6/1452] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/t1_trce.c:10:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/ssl_local.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/common.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/internal_include/include/internal/e_os.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/1452] Compiling t1_trce.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libssl/src/ssl/t1_lib.c:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/objects.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/bio.h:32:
/host/spi-builder-workspace/.build/checkouts/swift-openssl/Sources/libcrypto/include/openssl/crypto.h:573:10: fatal error: 'pthread.h' file not found
  573 | #include <pthread.h>
      |          ^~~~~~~~~~~
[6/1452] Compiling t1_lib.c
BUILD FAILURE 6.1 wasm