Build Information
Failed to build PulsarClient, reference v0.0.1 (237572), with Swift 6.4 for Wasm on 23 Sep 2026 13:38:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/pulsar-client.git
Reference: v0.0.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/wendylabsinc/pulsar-client
* tag v0.0.1 -> FETCH_HEAD
HEAD is now at 2375726 Merge pull request #7 from edgeengineer/mc/fix-tests
Cloned https://github.com/wendylabsinc/pulsar-client.git
Revision (git rev-parse @):
23757260e41eda40bc4acb61968c8b39ea52fca2
SUCCESS checkout https://github.com/wendylabsinc/pulsar-client.git at v0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/wendylabsinc/pulsar-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/edgeengineer/cyclic-redundancy-check.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/8164] Fetching swift-log
[8165/26713] Fetching swift-log, swift-crypto
[8166/42778] Fetching swift-log, swift-crypto, swift-nio-ssl
[9365/42865] Fetching swift-log, swift-crypto, swift-nio-ssl, cyclic-redundancy-check
[31737/128930] Fetching swift-log, swift-crypto, swift-nio-ssl, cyclic-redundancy-check, swift-nio
[42904/183128] Fetching swift-log, swift-crypto, swift-nio-ssl, cyclic-redundancy-check, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-log.git (1.12s)
[60012/174964] Fetching swift-crypto, swift-nio-ssl, cyclic-redundancy-check, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git (3.27s)
Fetched https://github.com/apple/swift-nio.git (3.30s)
Fetched https://github.com/edgeengineer/cyclic-redundancy-check.git (4.27s)
Fetched https://github.com/apple/swift-nio-ssl.git (4.28s)
Fetched https://github.com/apple/swift-protobuf.git (4.31s)
Computing version for https://github.com/edgeengineer/cyclic-redundancy-check.git
Computed https://github.com/edgeengineer/cyclic-redundancy-check.git at 0.0.5 (4.47s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1875] Fetching swift-atomics
[1876/29568] Fetching swift-atomics, swift-collections
[7415/36484] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git (0.80s)
[19599/29568] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.11s)
Fetched https://github.com/apple/swift-collections.git (1.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.11s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/edgeengineer/cyclic-redundancy-check.git
Working copy of https://github.com/edgeengineer/cyclic-redundancy-check.git resolved at 0.0.5
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1018]
[Planning deferred tasks]
[Constructing 2637 / 2863]
[154 / 1082] _NIODataStructures
[160 / 1116] SwiftProtobuf
[161 / 1116] _NIOBase64
[178 / 1116] InternalCollectionsUtilities
[190 / 1116] SwiftProtobuf
[191 / 1116] SwiftProtobuf
[192 / 1116] SwiftProtobuf
[197 / 1117] SwiftProtobuf
[201 / 1117] _NIODataStructures
[205 / 1118] _NIODataStructures
[207 / 1118] _NIODataStructures
[208 / 1118] NIOConcurrencyHelpers-product
[210 / 1118] NIOConcurrencyHelpers
[211 / 1118] NIOConcurrencyHelpers
[212 / 1118] Logging
[215 / 1119] NIOConcurrencyHelpers
[221 / 1119] Logging-product
[224 / 1119] InternalCollectionsUtilities
[225 / 1119] InternalCollectionsUtilities
[227 / 1119] SpanPreview
[233 / 1123] CNIOBoringSSLShims
[236 / 1123] CNIOBoringSSL
[237 / 1123] CNIOBoringSSL
[245 / 1123] CNIOBoringSSL
[248 / 1124] CNIOBoringSSL
[252 / 1124] CNIOBoringSSL
[258 / 1124] CNIOBoringSSL
[260 / 1124] CNIOBoringSSL
[261 / 1124] CNIOBoringSSL
[262 / 1124] CNIOBoringSSL
[264 / 1124] CNIOBoringSSL
[266 / 1124] CNIOBoringSSL
[268 / 1124] CNIOBoringSSL
[269 / 1124] CNIOBoringSSL
[273 / 1124] CNIOBoringSSL
[274 / 1124] CNIOBoringSSL
[275 / 1124] CNIOBoringSSL
[277 / 1124] CNIOBoringSSL
[284 / 1124] CNIOBoringSSL
[289 / 1124] CNIOBoringSSL
[291 / 1124] CNIOBoringSSL
[293 / 1124] CNIOBoringSSL
[296 / 1124] CNIOBoringSSL
[298 / 1124] CNIOBoringSSL
[300 / 1124] CNIOBoringSSL
[303 / 1124] CNIOBoringSSL
[305 / 1124] CNIOBoringSSL
[307 / 1124] CNIOBoringSSL
[310 / 1124] CNIOBoringSSL
[312 / 1124] CNIOBoringSSL
[314 / 1124] CNIOBoringSSL
[316 / 1124] CNIOBoringSSL
[321 / 1124] CNIOBoringSSL
[322 / 1125] CNIOBoringSSL
[324 / 1125] CNIOBoringSSL
[326 / 1125] CNIOBoringSSL
[327 / 1125] CNIOBoringSSL
[334 / 1125] CNIOBoringSSL
[336 / 1125] CNIOBoringSSL
[337 / 1125] CNIOBoringSSL
[339 / 1125] CNIOBoringSSL
[341 / 1125] CNIOBoringSSL
[344 / 1125] CNIOBoringSSL
[345 / 1125] CNIOBoringSSL
[346 / 1125] CNIOBoringSSL
[350 / 1125] CNIOBoringSSL
[351 / 1125] CNIOBoringSSL
[354 / 1125] CNIOBoringSSL
[357 / 1125] CNIOBoringSSL
[358 / 1125] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:30:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
30 | #include <netdb.h>[0m
| [0;1;32m ^~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc normal wasm32 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-webassembly-wasm32/CNIOBoringSSL-t.build/Objects-normal/wasm32/socket_helper.o
error: Build failed
BUILD FAILURE 6.4 wasm