The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gRPC, reference main (a96b0b), with Swift 6.2 for Wasm on 18 Mar 2026 18:45:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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 a96b0bf Merge release branch 1.78.x to main (#351)
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
a96b0bf8580f8c125a896d3c2b4a207c94facdca
SUCCESS checkout https://github.com/grpc/grpc-ios.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/grpc/grpc-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8172] Fetching boringssl-swiftpm
[83/41541] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (2.09s)
[7764/8172] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (3.02s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20250512.1 (3.61s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.32.1 (0.76s)
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
Creating working copy for https://github.com/firebase/boringssl-SwiftPM.git
Working copy of https://github.com/firebase/boringssl-SwiftPM.git resolved at 0.32.1
warning: 'spi-builder-workspace': ignoring target 'build-test' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
In file included from /host/spi-builder-workspace/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c:10:
In file included from /host/spi-builder-workspace/third_party/upb/upb/generated_code_support.h:12:
In file included from /host/spi-builder-workspace/third_party/upb/upb/base/upcast.h:12:
In file included from /host/spi-builder-workspace/third_party/upb/upb/port/def.inc:46:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
1 error generated.
[0/1066] Compiling protocol.upb_minitable.c
In file included from /host/spi-builder-workspace/src/core/call/metadata.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/metadata.h:18:
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:527:2: error: "Could not auto-detect platform"
  527 | #error "Could not auto-detect platform"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:538:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings]
  538 | #warning "GPR_PLATFORM_STRING not auto-detected"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:605:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
  605 | #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:609:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
  609 | #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:615:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
  615 | #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
      |  ^
[0/1066] Compiling metadata.cc
In file included from /host/spi-builder-workspace/src/core/call/call_state.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/call_state.h:18:
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:527:2: error: "Could not auto-detect platform"
  527 | #error "Could not auto-detect platform"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:538:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings]
  538 | #warning "GPR_PLATFORM_STRING not auto-detected"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:605:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
  605 | #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:609:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
  609 | #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:615:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
  615 | #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
      |  ^
[0/1066] Compiling call_state.cc
In file included from /host/spi-builder-workspace/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c:10:
In file included from /host/spi-builder-workspace/third_party/upb/upb/generated_code_support.h:12:
In file included from /host/spi-builder-workspace/third_party/upb/upb/base/upcast.h:12:
In file included from /host/spi-builder-workspace/third_party/upb/upb/port/def.inc:46:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
1 error generated.
[0/1066] Compiling http_uri.upb_minitable.c
In file included from /host/spi-builder-workspace/src/core/call/interception_chain.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/interception_chain.h:18:
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:527:2: error: "Could not auto-detect platform"
  527 | #error "Could not auto-detect platform"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:538:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings]
  538 | #warning "GPR_PLATFORM_STRING not auto-detected"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:605:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
  605 | #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:609:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
  609 | #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:615:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
  615 | #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
      |  ^
[0/1066] Compiling interception_chain.cc
In file included from /host/spi-builder-workspace/src/core/call/client_call.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/client_call.h:18:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/byte_buffer.h:22:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/impl/grpc_types.h:25:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/impl/compression_types.h:25:
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:527:2: error: "Could not auto-detect platform"
  527 | #error "Could not auto-detect platform"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:538:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings]
  538 | #warning "GPR_PLATFORM_STRING not auto-detected"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:605:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
  605 | #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:609:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
  609 | #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:615:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
  615 | #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
      |  ^
In file included from /host/spi-builder-workspace/src/core/call/client_call.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/client_call.h:18:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/byte_buffer.h:22:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/impl/grpc_types.h:26:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/slice.h:24:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/support/sync.h:49:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/support/sync_generic.h:24:
/host/spi-builder-workspace/spm-core-include/grpc/support/atm.h:79:2: error: could not determine platform for atm
   79 | #error could not determine platform for atm
      |  ^
In file included from /host/spi-builder-workspace/src/core/call/client_call.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/client_call.h:18:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/byte_buffer.h:22:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/impl/grpc_types.h:26:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/slice.h:24:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/support/sync.h:49:
/host/spi-builder-workspace/spm-core-include/grpc/support/sync_generic.h:29:3: error: unknown type name 'gpr_atm'
   29 |   gpr_atm state;
      |   ^
/host/spi-builder-workspace/spm-core-include/grpc/support/sync_generic.h:36:3: error: unknown type name 'gpr_atm'
   36 |   gpr_atm count;
      |   ^
/host/spi-builder-workspace/spm-core-include/grpc/support/sync_generic.h:41:3: error: unknown type name 'gpr_atm'
   41 |   gpr_atm value;
      |   ^
[0/1066] Compiling client_call.cc
In file included from /host/spi-builder-workspace/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c:10:
In file included from /host/spi-builder-workspace/third_party/upb/upb/generated_code_support.h:12:
In file included from /host/spi-builder-workspace/third_party/upb/upb/base/upcast.h:12:
In file included from /host/spi-builder-workspace/third_party/upb/upb/port/def.inc:46:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
[0/1066] Compiling socket_option.upb_minitable.c
In file included from /host/spi-builder-workspace/src/core/call/message.cc:15:
In file included from /host/spi-builder-workspace/src/core/call/message.h:18:
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:527:2: error: "Could not auto-detect platform"
  527 | #error "Could not auto-detect platform"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:538:2: warning: "GPR_PLATFORM_STRING not auto-detected" [-W#warnings]
  538 | #warning "GPR_PLATFORM_STRING not auto-detected"
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:605:2: error: Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
  605 | #error Must define exactly one of GPR_GCC_ATOMIC, GPR_GCC_SYNC, GPR_WINDOWS_ATOMIC
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:609:2: error: Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
  609 | #error Must define exactly one of GPR_ARCH_32, GPR_ARCH_64
      |  ^
/host/spi-builder-workspace/spm-core-include/grpc/support/port_platform.h:615:2: error: Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
  615 | #error Must define exactly one of GPR_CPU_LINUX, GPR_CPU_POSIX, GPR_WINDOWS, GPR_CPU_IPHONE, GPR_CPU_CUSTOM
      |  ^
[0/1066] Compiling message.cc
BUILD FAILURE 6.2 wasm