Build Information
Failed to build SparkConnect, reference main (8f5014), with Swift 6.4 for Wasm on 11 Nov 2026 18:44:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apache/spark-connect-swift.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/apache/spark-connect-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f50143 [SPARK-61339] Upgrade gRPC Swift NIO Transport to 2.12.0
Cloned https://github.com/apache/spark-connect-swift.git
Revision (git rev-parse @):
8f5014348186d37529f1e577b71a2a313f051edc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apache/spark-connect-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apache/spark-connect-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:366b789e191e803aab570d7212596991386521d71ea439b0666be689b4886df3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/grpc/grpc-swift-2.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/google/flatbuffers.git
[1/2661] Fetching grpc-swift-protobuf
[214/33910] Fetching grpc-swift-protobuf, grpc-swift-2
Fetched https://github.com/grpc/grpc-swift-protobuf.git (0.45s)
[7501/37809] Fetching grpc-swift-2, grpc-swift-nio-transport
[27186/45323] Fetching grpc-swift-2, grpc-swift-nio-transport, swift-system
Fetched https://github.com/apple/swift-system.git (0.74s)
[34685/37809] Fetching grpc-swift-2, grpc-swift-nio-transport
[37810/138756] Fetching grpc-swift-2, grpc-swift-nio-transport, flatbuffers
Fetched https://github.com/grpc/grpc-swift-nio-transport.git (3.97s)
Fetched https://github.com/grpc/grpc-swift-2.git (3.98s)
Fetched https://github.com/google/flatbuffers.git (4.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (4.20s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.12.0 (0.18s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-asn1.git
[1/6717] Fetching swift-nio-extras
[2/8782] Fetching swift-nio-extras, swift-asn1
[8448/25733] Fetching swift-nio-extras, swift-asn1, swift-nio-ssl
Fetched https://github.com/apple/swift-asn1.git (0.46s)
[6651/23668] Fetching swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-transport-services.git
[7566/31317] Fetching swift-nio-extras, swift-nio-ssl, swift-certificates
[7567/43648] Fetching swift-nio-extras, swift-nio-ssl, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.67s)
[21306/36931] Fetching swift-nio-ssl, swift-certificates, swift-nio-http2
[36424/39812] Fetching swift-nio-ssl, swift-certificates, swift-nio-http2, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.51s)
[1/86862] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-http2.git (1.00s)
Fetched https://github.com/apple/swift-certificates.git (3.67s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.68s)
Fetched https://github.com/apple/swift-nio.git (3.71s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.5.0 (3.90s)
Fetching https://github.com/apple/swift-protobuf.git
[1/56513] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git (5.01s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.4 (5.18s)
Fetching https://github.com/apple/swift-collections.git
[1/29922] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.27s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.43s)
Fetching https://github.com/apple/swift-atomics.git
[1/1927] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.83s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.40.0 (0.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.18s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/18948] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (1.50s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1967] Fetching swift-http-types
[434/10317] Fetching swift-http-types, swift-log
[6811/16476] Fetching swift-http-types, swift-log, swift-algorithms
[7981/17760] Fetching swift-http-types, swift-log, swift-algorithms, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-types.git (0.42s)
[9080/15793] Fetching swift-log, swift-algorithms, swift-http-structured-headers
[12644/18685] Fetching swift-log, swift-algorithms, swift-http-structured-headers, swift-service-lifecycle
[13269/25510] Fetching swift-log, swift-algorithms, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.52s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.54s)
Fetched https://github.com/apple/swift-log.git (0.54s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.58s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.59s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.44s)
Fetching https://github.com/apple/swift-numerics.git
[1/6849] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.72s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.14s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.16s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.13s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.22s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.0 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (0.22s)
Computing version for https://github.com/google/flatbuffers.git
Computed https://github.com/google/flatbuffers.git at 25.12.19-2026-02-06-03fffb2 (0.13s)
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.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.1
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at 25.12.19-2026-02-06-03fffb2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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.17.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.105.0
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.7
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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.4
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.13.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.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.6
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
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.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.40.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.8.1
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.4.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1937]
[Planning 1169 / 1937]
[Planning deferred tasks]
[Constructing 863 / 4868]
[Starting]
[248 / 1401] CXKCPShims
[298 / 1425] SystemPackage
[300 / 1442] SwiftProtobuf
[303 / 1442] _NIOBase64
[317 / 1442] _CertificateInternals
[318 / 1442] SwiftASN1
[330 / 1442] SystemPackage
[335 / 1443] _CertificateInternals
[339 / 1444] _NIOBase64
[342 / 1444] SwiftProtobuf_SwiftProtobuf
[345 / 1445] _NIODataStructures
[354 / 1445] SwiftProtobuf
[355 / 1445] SwiftProtobuf
[356 / 1445] SystemPackage
[358 / 1446] SystemPackage
[360 / 1446] SwiftProtobuf
[362 / 1446] SwiftASN1-product
[363 / 1446] SwiftASN1-product
[366 / 1446] SwiftASN1-product
[368 / 1446] SparkConnect_SparkConnect
[372 / 1460] InternalCollectionsUtilities
[379 / 1479] ConcurrencyHelpers
[382 / 1503] ConcurrencyHelpers
[384 / 1503] ConcurrencyHelpers
[390 / 1503] NIOConcurrencyHelpers
[402 / 1504] NIOConcurrencyHelpers
[406 / 1504] SwiftASN1
[411 / 1504] InternalCollectionsUtilities
[423 / 1505] NIOConcurrencyHelpers
[427 / 1505] NIOConcurrencyHelpers
[428 / 1505] Logging-product
[433 / 1505] Common
[440 / 1505] CryptoBoringWrapper
[442 / 1506] Logging
[453 / 1506] CryptoBoringWrapper
[455 / 1506] Crypto
[458 / 1506] ConcurrencyHelpers
[464 / 1507] ConcurrencyHelpers
[475 / 1509] InternalCollectionsUtilities
[482 / 1510] CXKCP
[502 / 1510] CNIOFreeBSD
[507 / 1510] Atomics
[510 / 1510] CNIOBoringSSL
[511 / 1510] CNIOBoringSSL
[511 / 1510] CNIOLLHTTP
[515 / 1510] CNIOBoringSSL
[517 / 1510] CNIOBoringSSL
[518 / 1510] CNIOBoringSSL
[520 / 1511] CNIOBoringSSL
[523 / 1511] CNIOBoringSSL
[528 / 1511] CNIOBoringSSL
[529 / 1511] CNIOBoringSSL
[531 / 1512] SwiftProtobuf
[536 / 1512] CNIOBoringSSL
[537 / 1512] CNIOBoringSSL
[539 / 1512] CNIOBoringSSL
[541 / 1512] CNIOBoringSSL
[546 / 1512] CNIOBoringSSL
[547 / 1512] CNIOBoringSSL
[554 / 1512] CNIOBoringSSL
[560 / 1512] CNIOBoringSSL
[562 / 1512] CNIOBoringSSL
[565 / 1512] CNIOBoringSSL
[568 / 1512] CNIOBoringSSL
[570 / 1512] CNIOBoringSSL
[571 / 1512] CNIOBoringSSL
[572 / 1512] CNIOBoringSSL
[574 / 1512] CNIOBoringSSL
[576 / 1512] CNIOBoringSSL
[580 / 1512] CNIOBoringSSL
[582 / 1512] CNIOBoringSSL
[583 / 1512] CNIOBoringSSL
[588 / 1512] CNIOBoringSSL
[590 / 1512] CNIOBoringSSL
[591 / 1512] CNIOBoringSSL
[593 / 1512] CNIOBoringSSL
[594 / 1512] CNIOBoringSSL
[596 / 1512] CNIOBoringSSL
[602 / 1512] CNIOBoringSSL
[604 / 1512] CNIOBoringSSL
[607 / 1512] CNIOBoringSSL
[609 / 1512] CNIOBoringSSL
[611 / 1512] CNIOBoringSSL
[614 / 1512] CNIOBoringSSL
[615 / 1512] CNIOBoringSSL
[616 / 1512] CNIOBoringSSL
[618 / 1512] CNIOBoringSSL
[621 / 1512] CNIOBoringSSL
[623 / 1512] CNIOBoringSSL
[625 / 1512] CNIOBoringSSL
[628 / 1512] CNIOBoringSSL
[629 / 1512] CNIOBoringSSL
[632 / 1512] CNIOBoringSSL
[635 / 1512] CNIOBoringSSL
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/bio/socket_helper.cc:31:10: [0m[0;1;31mfatal error: [0m[1m'netdb.h' file not found[0m
31 | #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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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