Build Information
Failed to build PulsarClient, reference main (f32d0d), with Swift 6.4 for Wasm on 23 Sep 2026 13:38:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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: 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/wendylabsinc/pulsar-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f32d0da Merge pull request #21 from edgeengineer/telemetry-metrics
Cloned https://github.com/wendylabsinc/pulsar-client.git
Revision (git rev-parse @):
f32d0da6192e9db30138c64065b958d11b7e7296
SUCCESS checkout https://github.com/wendylabsinc/pulsar-client.git at main
========================================
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-54344844-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/edgeengineer/cyclic-redundancy-check.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
[1/3516] Fetching swift-metrics
[3517/3603] Fetching swift-metrics, cyclic-redundancy-check
[3604/9943] Fetching swift-metrics, cyclic-redundancy-check, swift-distributed-tracing
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-metrics.git (0.51s)
Fetching https://github.com/apple/swift-nio-ssl.git
[278/6427] Fetching cyclic-redundancy-check, swift-distributed-tracing
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.62s)
Fetching https://github.com/apple/swift-protobuf.git
[1/18549] Fetching swift-crypto
[372/26713] Fetching swift-crypto, swift-log
[559/42778] Fetching swift-crypto, swift-log, swift-nio-ssl
Fetched https://github.com/edgeengineer/cyclic-redundancy-check.git (1.07s)
Fetching https://github.com/apple/swift-nio.git
[13259/49498] Fetching swift-crypto, swift-log, swift-nio-ssl, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.64s)
[17152/42778] Fetching swift-crypto, swift-log, swift-nio-ssl
[42779/96976] Fetching swift-crypto, swift-log, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git (1.37s)
[31049/80911] Fetching swift-crypto, swift-log, swift-protobuf
Fetched https://github.com/apple/swift-log.git (1.52s)
[23970/158812] Fetching swift-crypto, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-crypto.git (1.55s)
[6505/140263] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git (4.01s)
Fetched https://github.com/apple/swift-protobuf.git (5.12s)
Computing version for https://github.com/edgeengineer/cyclic-redundancy-check.git
Computed https://github.com/edgeengineer/cyclic-redundancy-check.git at 0.0.5 (5.90s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.22s)
Fetching https://github.com/apple/swift-collections.git
[1/27693] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.75s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.19s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.94s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.12s)
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.23s)
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-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[1876/8791] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.64s)
Fetched https://github.com/apple/swift-system.git (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.84s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.21s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.16s)
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.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.23s)
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-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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
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
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
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
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/PulsarClient/Telemetry/README.md
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1256]
[Planning 638 / 1256]
[Planning deferred tasks]
[Constructing 196 / 3395]
[Constructing 1720 / 3395]
[Starting]
[31 / 1159] SwiftProtobuf
[186 / 1162] SwiftProtobuf_SwiftProtobuf
[198 / 1177] Logging
[199 / 1185] Logging
[200 / 1194] SwiftProtobuf
[201 / 1194] ServiceContextModule
[203 / 1194] _NIOBase64
[218 / 1194] SwiftProtobuf
[218 / 1194] Logging
[230 / 1194] SwiftProtobuf
[231 / 1194] SwiftProtobuf
[232 / 1195] _NIODataStructures
[234 / 1196] _NIODataStructures
[238 / 1196] _NIOBase64
[247 / 1196] ServiceContextModule
[249 / 1197] ServiceContextModule-product
[252 / 1197] ServiceContextModule
[254 / 1197] ServiceContextModule
[256 / 1197] Logging
[257 / 1197] Logging
[259 / 1197] Instrumentation
[263 / 1209] Logging
[269 / 1232] InternalCollectionsUtilities
[270 / 1232] CoreMetrics
[280 / 1232] NIOConcurrencyHelpers
[281 / 1232] NIOConcurrencyHelpers-product
[282 / 1232] NIOConcurrencyHelpers-product
[283 / 1232] NIOConcurrencyHelpers-product
[285 / 1232] NIOConcurrencyHelpers
[286 / 1232] Logging
[290 / 1232] Logging
[297 / 1232] NIOConcurrencyHelpers
[297 / 1233] SpanPreview
[299 / 1233] CryptoBoringWrapper
[306 / 1233] InternalCollectionsUtilities
[307 / 1233] InternalCollectionsUtilities
[308 / 1233] InternalCollectionsUtilities
[309 / 1233] CyclicRedundancyCheck
[311 / 1233] CyclicRedundancyCheck
[315 / 1233] CryptoBoringWrapper
[317 / 1233] CryptoBoringWrapper
[318 / 1233] Crypto
[319 / 1233] CoreMetrics
[321 / 1233] Metrics
[325 / 1240] Metrics
[332 / 1243] SpanPreview
[342 / 1253] SpanPreview
[351 / 1254] OrderedCollections
[352 / 1255] OrderedCollections
[353 / 1255] OrderedCollections
[355 / 1255] Metrics-product
[361 / 1257] InternalCollectionsUtilities
[368 / 1266] CNIOPosix
[376 / 1266] OrderedCollections
[378 / 1266] Atomics
[379 / 1266] Atomics
[381 / 1266] Atomics
[383 / 1266] Atomics
[383 / 1266]
[386 / 1273] Instrumentation
[387 / 1273] Instrumentation
[390 / 1273] Instrumentation
[394 / 1273] Instrumentation
[396 / 1273] CNIOFreeBSD
[401 / 1284] CNIOBoringSSLShims
[404 / 1284] CNIOBoringSSL
[404 / 1284] OrderedCollections
[407 / 1285] Tracing
[409 / 1285] Tracing
[415 / 1285] OrderedCollections
[424 / 1285] Atomics
[428 / 1285] CNIOBoringSSL
[429 / 1285] Atomics
[432 / 1286] CNIOBoringSSL
[435 / 1286] CNIOBoringSSL
[438 / 1286] CNIOBoringSSL
[439 / 1286] CNIOBoringSSL
[440 / 1286] CNIOBoringSSL
[441 / 1286] CNIOBoringSSL
[443 / 1286] CNIOBoringSSL
[445 / 1286] CNIOBoringSSL
[448 / 1286] CNIOBoringSSL
[449 / 1286] CNIOBoringSSL
[451 / 1287] CNIOBoringSSL
[453 / 1287] CNIOBoringSSL
[454 / 1287] CNIOBoringSSL
[456 / 1287] CNIOBoringSSL
[457 / 1287] CNIOBoringSSL
[460 / 1287] CNIOBoringSSL
[467 / 1287] CNIOBoringSSL
[470 / 1287] CNIOBoringSSL
[471 / 1287] CNIOBoringSSL
[474 / 1287] CNIOBoringSSL
[477 / 1287] CNIOBoringSSL
[478 / 1287] CNIOBoringSSL
[482 / 1287] CNIOBoringSSL
[483 / 1287] CNIOBoringSSL
[487 / 1287] CNIOBoringSSL
[489 / 1287] CNIOBoringSSL
[491 / 1287] CNIOBoringSSL
[495 / 1287] CNIOBoringSSL
[497 / 1287] CNIOBoringSSL
[498 / 1287] CNIOBoringSSL
[500 / 1287] CNIOBoringSSL
[501 / 1287] CNIOBoringSSL
[503 / 1287] CNIOBoringSSL
[504 / 1287] CNIOBoringSSL
[505 / 1287] CNIOBoringSSL
[507 / 1287] CNIOBoringSSL
[508 / 1287] CNIOBoringSSL
[509 / 1287] CNIOBoringSSL
[511 / 1287] CNIOBoringSSL
[514 / 1287] CNIOBoringSSL
[515 / 1287] CNIOBoringSSL
[516 / 1287] CNIOBoringSSL
[517 / 1287] CNIOBoringSSL
[519 / 1287] CNIOBoringSSL
[522 / 1287] CNIOBoringSSL
[524 / 1287] CNIOBoringSSL
[525 / 1287] CNIOBoringSSL
[526 / 1287] CNIOBoringSSL
[528 / 1287] CNIOBoringSSL
[529 / 1287] CNIOBoringSSL
[530 / 1287] CNIOBoringSSL
[532 / 1287] CNIOBoringSSL
[534 / 1287] CNIOBoringSSL
[536 / 1287] CNIOBoringSSL
[539 / 1287] CNIOBoringSSL
[540 / 1287] 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