The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-tor, reference 0.1.1 (db9e0d), with Swift 6.2 for Wasm on 28 Jun 2026 22:35:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/21-DOT-DEV/swift-tor.git
Reference: 0.1.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/21-DOT-DEV/swift-tor
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at db9e0d8 Update swift-event to 0.2.1 and swift-plugin-subtree to 0.0.15 (#11)
Cloned https://github.com/21-DOT-DEV/swift-tor.git
Revision (git rev-parse @):
db9e0d802c4015fd4d21cd5e8cd9178f856087f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-tor.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/21-DOT-DEV/swift-tor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
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
[1/9529] Fetching swift-openssl
[2/10197] Fetching swift-openssl, swift-event
[176/10261] Fetching swift-openssl, swift-event, swift-plugin-subtree
[562/12586] Fetching swift-openssl, swift-event, swift-plugin-subtree, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.52s)
[1114/10261] Fetching swift-openssl, swift-event, swift-plugin-subtree
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (2.16s)
Fetched https://github.com/21-DOT-DEV/swift-event.git from cache (2.16s)
Fetched https://github.com/21-DOT-DEV/swift-openssl.git from cache (2.19s)
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 (2.34s)
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.37s)
Computing version for https://github.com/21-DOT-DEV/swift-event.git
Computed https://github.com/21-DOT-DEV/swift-event.git at 0.2.1 (0.54s)
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 (0.17s)
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 (0.86s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.17s)
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.52s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.72s)
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
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-event.git
Working copy of https://github.com/21-DOT-DEV/swift-event.git resolved at 0.2.1
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
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.15/subtree.artifactbundle.zip
[7722/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.79s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/1454] Compiling bits.c
[3/1454] Compiling addsub.c
[5/1454] Compiling muldiv.c
/host/spi-builder-workspace/Sources/libtor/src/lib/fdio/fdio.c:135:7: error: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  135 |   if (pipe(pipefd)) {
      |       ^
1 error generated.
[6/1454] Compiling fdio.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/fs/conffile.c:20:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
1 error generated.
[6/1454] Compiling conffile.c
[6/1454] Compiling sendme_cell.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/mainloop/mainloop.c:50:
In file included from /host/spi-builder-workspace/Sources/libtor/src/core/or/or.h:19:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/mainloop/mainloop.c:50:
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>
      |          ^~~~~~~~~~
[6/1454] Compiling mainloop.c
[6/1454] Compiling socks5.c
[6/1454] Compiling pwbox.c
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/geoip/geoip.c:41:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/net/address.h:16:
In file included from /host/spi-builder-workspace/Sources/libtor/src/lib/log/util_bug.h:41:
/host/spi-builder-workspace/Sources/libtor/src/lib/log/log.h:23:10: fatal error: 'syslog.h' file not found
   23 | #include <syslog.h>
      |          ^~~~~~~~~~
[6/1454] Compiling geoip.c
[6/1454] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm