The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gRPC, reference main (df77c3), with Swift 6.4 for Wasm on 14 Oct 2026 19:49:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-ios.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-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df77c3e Grpc release 1.84.x (#382)
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
df77c3e6ed18fd5ac20f668bf1524a5f93acb297
SUCCESS checkout https://github.com/grpc/grpc-ios.git at main
========================================
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-54344845-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:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/17694] Fetching boringssl-swiftpm
[355/51336] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git (1.69s)
[10086/17694] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git (3.47s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.41.0 (3.68s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20250512.1 (0.18s)
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
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.20250512.1
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 1453 / 2055]
[44 / 1596] openssl_grpc
[49 / 1596] openssl_grpc
[51 / 1596] openssl_grpc
[52 / 1596] openssl_grpc
[54 / 1596] openssl_grpc
[58 / 1596] openssl_grpc
[61 / 1596] openssl_grpc
[62 / 1596] openssl_grpc
[64 / 1596] openssl_grpc
[65 / 1596] openssl_grpc
[68 / 1596] openssl_grpc
[71 / 1596] openssl_grpc
[72 / 1596] openssl_grpc
[75 / 1596] openssl_grpc
[77 / 1596] openssl_grpc
[78 / 1596] openssl_grpc
[81 / 1596] openssl_grpc
[83 / 1596] openssl_grpc
[87 / 1596] openssl_grpc
[88 / 1596] openssl_grpc
[92 / 1596] openssl_grpc
[95 / 1596] openssl_grpc
[97 / 1596] openssl_grpc
[100 / 1596] openssl_grpc
[101 / 1596] openssl_grpc
[105 / 1596] openssl_grpc
[107 / 1596] openssl_grpc
[109 / 1596] openssl_grpc
[113 / 1596] openssl_grpc
[114 / 1596] openssl_grpc
[118 / 1596] openssl_grpc
[121 / 1596] openssl_grpc
[125 / 1596] openssl_grpc
[128 / 1596] openssl_grpc
[130 / 1596] openssl_grpc
[131 / 1596] openssl_grpc
[133 / 1596] openssl_grpc
[134 / 1596] openssl_grpc
[136 / 1596] openssl_grpc
[138 / 1596] openssl_grpc
[141 / 1596] openssl_grpc
/host/spi-builder-workspace/.build/checkouts/boringssl-SwiftPM/crypto/bio/socket_helper.cc:30:10: fatal error: 'netdb.h' file not found
   30 | #include <netdb.h>
      |          ^~~~~~~~~
1 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