The Swift Package Index logo.Swift Package Index

Build Information

Failed to build gRPC, reference v1.86.0-pre1 (b6aa7b), with Swift 6.2 for Wasm on 25 Nov 2026 23:57:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-ios.git
Reference: v1.86.0-pre1
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.86.0-pre1 -> FETCH_HEAD
HEAD is now at b6aa7b5 Sync c-core 1.86.0-pre1 (#396)
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
b6aa7b5a8f7ebfe5d12939e3bcc4739091f99eca
SUCCESS checkout https://github.com/grpc/grpc-ios.git at v1.86.0-pre1
========================================
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-53886769-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/17698] Fetching boringssl-swiftpm
[2/51340] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (1.25s)
[4236/17698] Fetching boringssl-swiftpm
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (2.89s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.41.0 (3.07s)
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.16s)
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
Building for debugging...
In file included from /host/spi-builder-workspace/src/core/lib/iomgr/systemd_utils.cc:19:
/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/lib/iomgr/systemd_utils.cc:21:
/host/spi-builder-workspace/src/core/lib/iomgr/port.h:230:2: error: "Platform not recognized"
  230 | #error "Platform not recognized"
      |  ^
/host/spi-builder-workspace/src/core/lib/iomgr/port.h:236:2: error: "Must define exactly one of GRPC_POSIX_SOCKET, GRPC_WINSOCK_SOCKET, GRPC_CFSTREAM"
  236 | #error \
      |  ^
1 warning and 6 errors generated.
[0/1105] Compiling systemd_utils.cc
In file included from /host/spi-builder-workspace/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c:10:
In file included from /host/spi-builder-workspace/third_party/upb/upb/generated_code_support.h:17:
In file included from /host/spi-builder-workspace/third_party/upb/upb/port/def.inc:91:
/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/1105] Compiling substitution_format_string.upb_minitable.c
[0/1105] Compiling convert.cc
[0/1105] Compiling text_encode.cc
[0/1105] Compiling direct_channel.cc
[0/1105] Compiling endpoint_list.cc
In file included from /host/spi-builder-workspace/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c:10:
In file included from /host/spi-builder-workspace/third_party/upb/upb/generated_code_support.h:17:
In file included from /host/spi-builder-workspace/third_party/upb/upb/port/def.inc:91:
/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/1105] Compiling skywalking.upb_minitable.c
In file included from /host/spi-builder-workspace/src/core/client_channel/dynamic_filters.cc:17:
In file included from /host/spi-builder-workspace/src/core/client_channel/dynamic_filters.h:20:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/slice.h:22:
In file included from /host/spi-builder-workspace/spm-core-include/grpc/impl/slice_type.h:24:
/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/client_channel/dynamic_filters.cc:17:
In file included from /host/spi-builder-workspace/src/core/client_channel/dynamic_filters.h:20:
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/client_channel/dynamic_filters.cc:17:
In file included from /host/spi-builder-workspace/src/core/client_channel/dynamic_filters.h:20:
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/1105] Compiling dynamic_filters.cc
BUILD FAILURE 6.2 wasm