Build Information
Failed to build grpc-swift-nio-transport, reference main (0895a8), with Swift 6.4 for Wasm on 25 Nov 2026 07:55:41 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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-swift-nio-transport.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/grpc/grpc-swift-nio-transport
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0895a88 Trigger name resolution when all current LB addresses fail (#203)
Cloned https://github.com/grpc/grpc-swift-nio-transport.git
Revision (git rev-parse @):
0895a88fdaaa549548ebab9c6a0571d5d499df5d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/grpc/grpc-swift-nio-transport.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/grpc/grpc-swift-nio-transport.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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2088] Fetching swift-asn1
[691/4969] Fetching swift-asn1, swift-nio-transport-services
[3616/21963] Fetching swift-asn1, swift-nio-transport-services, swift-nio-ssl
[5310/29654] Fetching swift-asn1, swift-nio-transport-services, swift-nio-ssl, swift-certificates
[5311/36444] Fetching swift-asn1, swift-nio-transport-services, swift-nio-ssl, swift-certificates, swift-nio-extras
[20206/48887] Fetching swift-asn1, swift-nio-transport-services, swift-nio-ssl, swift-certificates, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.61s)
[18378/42097] Fetching swift-asn1, swift-nio-transport-services, swift-nio-ssl, swift-certificates, swift-nio-http2
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-http2.git (1.03s)
Fetching https://github.com/grpc/grpc-swift-2.git
Fetched https://github.com/apple/swift-nio-transport-services.git (1.23s)
Fetched https://github.com/apple/swift-asn1.git (1.23s)
Fetched https://github.com/apple/swift-certificates.git (1.23s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.24s)
[1/31249] Fetching grpc-swift-2
[2/118385] Fetching grpc-swift-2, swift-nio
Fetched https://github.com/grpc/grpc-swift-2.git (1.32s)
[59253/87136] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.84s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (4.63s)
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.77s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7601] Fetching swift-system
[154/38112] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.31s)
Fetched https://github.com/apple/swift-collections.git (1.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.48s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.4 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.7 (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.5 (0.88s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (1.45s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.3 (0.26s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
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-algorithms.git
[1/1284] Fetching swift-http-structured-headers
[53/4210] Fetching swift-http-structured-headers, swift-service-lifecycle
[2017/10398] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-algorithms
[4583/17409] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
[6007/19399] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-http-types
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.50s)
[5272/16473] Fetching swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.57s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.57s)
Fetched https://github.com/apple/swift-algorithms.git (0.57s)
[1/8584] Fetching swift-log
Fetched https://github.com/apple/swift-async-algorithms.git (0.72s)
Fetched https://github.com/apple/swift-log.git (0.73s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.61s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] 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.73s)
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.15s)
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.18s)
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.14s)
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.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.23s)
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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.1
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-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.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/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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
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.7
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1699]
[Planning 1082 / 1699]
[Planning deferred tasks]
[Constructing 961 / 4323]
[Starting]
[230 / 1302]
[244 / 1357] Logging
[247 / 1357] _NIOBase64
[263 / 1357] NIOConcurrencyHelpers
[264 / 1357] InternalCollectionsUtilities
[282 / 1357] CryptoBoringWrapper
[291 / 1357] SwiftASN1
[295 / 1358] _CertificateInternals
[303 / 1359] NIOConcurrencyHelpers
[305 / 1359] NIOConcurrencyHelpers
[308 / 1359] NIOConcurrencyHelpers-product
[310 / 1359] Logging
[312 / 1359] Logging
[319 / 1360] _NIODataStructures
[327 / 1361] SwiftASN1
[329 / 1362] InternalCollectionsUtilities
[335 / 1362] CryptoBoringWrapper
[336 / 1362] CryptoBoringWrapper
[341 / 1363] Crypto
[351 / 1377] CXKCP
[362 / 1377] _AtomicsShims
[370 / 1379] InternalCollectionsUtilities
[379 / 1380] Atomics
[389 / 1380] CCryptoBoringSSL
[391 / 1380] CCryptoBoringSSL
[393 / 1380] CCryptoBoringSSL
[394 / 1380] CCryptoBoringSSL
[396 / 1380] CCryptoBoringSSL
[407 / 1380] CCryptoBoringSSL
[411 / 1380] CCryptoBoringSSL
[413 / 1380] CCryptoBoringSSL
[415 / 1381] CXKCP
[421 / 1381] CCryptoBoringSSL
[422 / 1381] CCryptoBoringSSL
[424 / 1381] CCryptoBoringSSL
[427 / 1381] CCryptoBoringSSL
[428 / 1381] CCryptoBoringSSL
[431 / 1381] CCryptoBoringSSL
[442 / 1381] CCryptoBoringSSL
[447 / 1381] CCryptoBoringSSL
[450 / 1381] CCryptoBoringSSL
[455 / 1381] CCryptoBoringSSL
[460 / 1381] CCryptoBoringSSL
[462 / 1381] CCryptoBoringSSL
[467 / 1381] CCryptoBoringSSL
[471 / 1381] CCryptoBoringSSL
[472 / 1381] CCryptoBoringSSL
[478 / 1381] CCryptoBoringSSL
[480 / 1381] CCryptoBoringSSL
[483 / 1381] CCryptoBoringSSL
[486 / 1381] CCryptoBoringSSL
[490 / 1381] CCryptoBoringSSL
[496 / 1381] CCryptoBoringSSL
[507 / 1381] CCryptoBoringSSL
[519 / 1381] CCryptoBoringSSL
[524 / 1381] CCryptoBoringSSL
[528 / 1381] CCryptoBoringSSL
[532 / 1381] CCryptoBoringSSL
[540 / 1381] CCryptoBoringSSL
[541 / 1381] CCryptoBoringSSL
[545 / 1381] CCryptoBoringSSL
[547 / 1381] CCryptoBoringSSL
[550 / 1381] CCryptoBoringSSL
[553 / 1381] CCryptoBoringSSL
[558 / 1381] CCryptoBoringSSL
[561 / 1381] CCryptoBoringSSL
[562 / 1381] CCryptoBoringSSL
[563 / 1381] CCryptoBoringSSL
[566 / 1381] CCryptoBoringSSL
[568 / 1381] CCryptoBoringSSL
[572 / 1381] CCryptoBoringSSL
[582 / 1381] CCryptoBoringSSL
[584 / 1381] CCryptoBoringSSL
[586 / 1381] CCryptoBoringSSL
[592 / 1381] CCryptoBoringSSL
[595 / 1381] CCryptoBoringSSL
[598 / 1381] CCryptoBoringSSL
[603 / 1381] CCryptoBoringSSL
[619 / 1381] CCryptoBoringSSL
[621 / 1381] CCryptoBoringSSL
[624 / 1381] CCryptoBoringSSL
[630 / 1381] CCryptoBoringSSL
[633 / 1381] CCryptoBoringSSL
[638 / 1381] CCryptoBoringSSL
[644 / 1381] CCryptoBoringSSL
[646 / 1381] CCryptoBoringSSL
[649 / 1381] CCryptoBoringSSL
[654 / 1381] CCryptoBoringSSL
[655 / 1381] CCryptoBoringSSL
[659 / 1381] CCryptoBoringSSL
[661 / 1381] CCryptoBoringSSL
[663 / 1381] CCryptoBoringSSL
[665 / 1381] CCryptoBoringSSL
[669 / 1381] CCryptoBoringSSL
[670 / 1381] CCryptoBoringSSL
[679 / 1381] CCryptoBoringSSL
[688 / 1381] CCryptoBoringSSL
[694 / 1381] CCryptoBoringSSL
[699 / 1381] CCryptoBoringSSL
[704 / 1381] CCryptoBoringSSL
[707 / 1381] CCryptoBoringSSL
[712 / 1381] CCryptoBoringSSL
[713 / 1381] CCryptoBoringSSL
[715 / 1381] CCryptoBoringSSL
[728 / 1381] CCryptoBoringSSL
[737 / 1381] CCryptoBoringSSL
[741 / 1381] CCryptoBoringSSL
[743 / 1381] CCryptoBoringSSL
[745 / 1381] CCryptoBoringSSL
[748 / 1381] CCryptoBoringSSL
[750 / 1381] CCryptoBoringSSL
[753 / 1381] CCryptoBoringSSL
[756 / 1381] CCryptoBoringSSL
[761 / 1382]
[768 / 1385] UnixSignals
[783 / 1390] SpanPreview
[797 / 1392] CCryptoBoringSSL
[801 / 1392] CNIOBoringSSL
[802 / 1392] CNIOBoringSSL
[806 / 1392] CNIOBoringSSL
[812 / 1392] CNIOBoringSSL
[817 / 1392] CNIOBoringSSL
[818 / 1392] CNIOBoringSSL
[821 / 1392] CNIOBoringSSL
[823 / 1392] CNIOBoringSSL
[824 / 1392] CNIOBoringSSL
[827 / 1392] CNIOBoringSSL
[830 / 1392] CNIOBoringSSL
[832 / 1392] CNIOBoringSSL
[834 / 1392] CNIOBoringSSL
[844 / 1392] CNIOBoringSSL
[848 / 1392] CNIOBoringSSL
[849 / 1392] CNIOBoringSSL
[853 / 1392] CNIOBoringSSL
[855 / 1392] CNIOBoringSSL
[857 / 1392] CNIOBoringSSL
[860 / 1392] CNIOBoringSSL
[866 / 1392] CNIOBoringSSL
[868 / 1392] CNIOBoringSSL
[873 / 1392] CNIOBoringSSL
[878 / 1392] CNIOBoringSSL
[881 / 1392] CNIOBoringSSL
[882 / 1392] CNIOBoringSSL
[885 / 1392] CNIOBoringSSL
[890 / 1392] CNIOBoringSSL
[891 / 1392] CNIOBoringSSL
[892 / 1392] CNIOBoringSSL
[897 / 1392] CNIOBoringSSL
[900 / 1392] CNIOBoringSSL
[901 / 1392] CNIOBoringSSL
[903 / 1392] CNIOBoringSSL
[905 / 1392] CNIOBoringSSL
[908 / 1392] CNIOBoringSSL
[909 / 1392] CNIOBoringSSL
[911 / 1392] CNIOBoringSSL
[913 / 1392] CNIOBoringSSL
[916 / 1392] CNIOBoringSSL
[917 / 1392] 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