Build Information
Failed to build gRPC, reference v1.85.0 (9c46a7), with Swift 6.4 for Wasm on 28 Oct 2026 10:42:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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-ios.git
Reference: v1.85.0
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-ios
* tag v1.85.0 -> FETCH_HEAD
HEAD is now at 9c46a7e Sync c-core v1.85.0 (#389)
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
9c46a7e161288af346b7a04e518648b3accf3fbc
SUCCESS checkout https://github.com/grpc/grpc-ios.git at v1.85.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/grpc/grpc-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/firebase/boringssl-SwiftPM.git
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
[1/17694] Fetching boringssl-swiftpm
[2/51336] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git (3.77s)
Fetched https://github.com/firebase/boringssl-SwiftPM.git (3.81s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.41.0 (4.47s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20260526.0 (0.19s)
Creating working copy for https://github.com/firebase/abseil-cpp-SwiftPM.git
Working copy of https://github.com/firebase/abseil-cpp-SwiftPM.git resolved at 0.20260526.0
Creating working copy for https://github.com/firebase/boringssl-SwiftPM.git
Working copy of https://github.com/firebase/boringssl-SwiftPM.git resolved at 0.41.0
warning: 'spi-builder-workspace': ignoring target 'build-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'build-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 275]
[Planning deferred tasks]
[Constructing 884 / 2066]
[Starting]
[6 / 1607] abseil-product
[45 / 1607] openssl_grpc
[48 / 1607] openssl_grpc
[50 / 1607] openssl_grpc
[53 / 1607] openssl_grpc
[54 / 1607] openssl_grpc
[55 / 1607] openssl_grpc
[56 / 1607] openssl_grpc
[57 / 1607] openssl_grpc
[58 / 1607] openssl_grpc
[59 / 1607] openssl_grpc
[60 / 1607] openssl_grpc
[62 / 1607] openssl_grpc
[64 / 1607] openssl_grpc
[65 / 1607] openssl_grpc
[67 / 1607] openssl_grpc
[68 / 1607] openssl_grpc
[69 / 1607] openssl_grpc
[70 / 1607] openssl_grpc
[72 / 1607] openssl_grpc
[74 / 1607] openssl_grpc
[75 / 1607] openssl_grpc
[77 / 1607] openssl_grpc
[78 / 1607] openssl_grpc
[79 / 1607] openssl_grpc
[81 / 1607] openssl_grpc
[82 / 1607] openssl_grpc
[85 / 1607] openssl_grpc
[86 / 1607] openssl_grpc
[87 / 1607] openssl_grpc
[89 / 1607] openssl_grpc
[91 / 1607] openssl_grpc
[93 / 1607] openssl_grpc
[95 / 1607] openssl_grpc
[96 / 1607] openssl_grpc
[97 / 1607] openssl_grpc
[99 / 1607] openssl_grpc
[102 / 1607] openssl_grpc
[103 / 1607] openssl_grpc
[105 / 1607] openssl_grpc
[107 / 1607] openssl_grpc
[109 / 1607] openssl_grpc
[110 / 1607] openssl_grpc
[111 / 1607] openssl_grpc
[112 / 1607] openssl_grpc
[113 / 1607] openssl_grpc
[114 / 1607] openssl_grpc
[117 / 1607] openssl_grpc
[119 / 1607] openssl_grpc
[120 / 1607] openssl_grpc
[123 / 1607] openssl_grpc
[127 / 1607] openssl_grpc
[128 / 1607] openssl_grpc
[129 / 1607] openssl_grpc
[130 / 1607] openssl_grpc
[131 / 1607] openssl_grpc
[134 / 1607] openssl_grpc
[135 / 1607] openssl_grpc
[136 / 1607] openssl_grpc
[138 / 1607] openssl_grpc
[139 / 1607] openssl_grpc
[141 / 1607] openssl_grpc
[1m/host/spi-builder-workspace/.build/checkouts/boringssl-SwiftPM/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/BoringSSL-GRPC.build/Debug-webassembly-wasm32/openssl_grpc-t.build/Objects-normal/wasm32/socket_helper.o /host/spi-builder-workspace/.build/checkouts/boringssl-SwiftPM/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/BoringSSL-GRPC.build/Debug-webassembly-wasm32/openssl_grpc-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/BoringSSL-GRPC.build/Debug-webassembly-wasm32/openssl_grpc-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/BoringSSL-GRPC.build/Debug-webassembly-wasm32/openssl_grpc-t.build/Objects-normal/wasm32/socket_helper.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/BoringSSL-GRPC.build/Debug-webassembly-wasm32/openssl_grpc-t.build/Objects-normal/wasm32/socket_helper.dia -c /host/spi-builder-workspace/.build/checkouts/boringssl-SwiftPM/crypto/bio/socket_helper.cc -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BoringSSL-GRPC.build/Debug-webassembly-wasm32/openssl_grpc-t.build/Objects-normal/wasm32/socket_helper.o
error: Build failed
BUILD FAILURE 6.4 wasm