Build Information
Failed to build swift-kafka-client, reference main (62da8d
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 22:17:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.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/swift-server/swift-kafka-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 62da8d9 Drop Swift 5.9 (#194)
Submodule path 'Sources/Crdkafka/librdkafka': checked out 'b4c608570f796c18ff2211a7af876046d264d392'
Submodule 'Sources/Crdkafka/librdkafka' (https://github.com/confluentinc/librdkafka) registered for path 'Sources/Crdkafka/librdkafka'
Cloning into '/host/spi-builder-workspace/Sources/Crdkafka/librdkafka'...
Cloned https://github.com/swift-server/swift-kafka-client.git
Revision (git rev-parse @):
62da8d93d744dbf3041e83a5e59358396ed232bd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-nio.git
[1/2426] Fetching swift-service-lifecycle
[1627/4632] Fetching swift-service-lifecycle, swift-metrics
[4633/86687] Fetching swift-service-lifecycle, swift-metrics, zstd
[4634/90523] Fetching swift-service-lifecycle, swift-metrics, zstd, swift-log
[4635/166862] Fetching swift-service-lifecycle, swift-metrics, zstd, swift-log, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (1.71s)
[29259/164656] Fetching swift-service-lifecycle, zstd, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.83s)
[33113/160820] Fetching swift-service-lifecycle, zstd, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (11.06s)
Fetched https://github.com/facebook/zstd.git from cache (11.19s)
Fetched https://github.com/apple/swift-nio.git from cache (11.20s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (14.18s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (2.63s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.55s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4985] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.99s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.34s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4436] Fetching swift-system
[46/6233] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.96s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.39s)
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: you may be able to install openssl using your system-packager:
apt-get install libssl-dev
warning: you may be able to install openssl using your system-packager:
apt-get install libssl-dev
Building for debugging...
[0/114] Compiling resource.pb.c
[1/114] Compiling pb_common.c
[1/114] Write sources
[4/114] Compiling crc32c.c
[5/114] Write sources
[16/114] Compiling _AtomicsShims.c
[17/114] Compiling pb_decode.c
[18/114] Write swift-version-24593BA9C3E375BF.txt
[19/114] Compiling lz4frame.c
[20/114] Compiling cJSON.c
[21/114] Compiling tinycthread_extra.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/tinycthread.c:32:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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, \
| ^
1 error generated.
[22/114] Compiling tinycthread.c
[22/114] Compiling lz4.c
[22/114] Compiling lz4hc.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/regexp.c:16:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
| ^
[22/114] Compiling regexp.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
[22/114] Compiling snappy.c
BUILD FAILURE 6.2 wasm