The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build gRPC, reference main (d88573), with Swift 5.10 for Linux on 25 May 2025 22:12:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 d88573f Merge from 1.73.x (#329)
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
d88573fd5fc9e640c592787d127e8bd00720b44d
SUCCESS checkout https://github.com/grpc/grpc-ios.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/grpc/grpc-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f16e7907a741759e496a8179f87952791f04c930716d978df82984176b0c37b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
Fetching https://github.com/firebase/boringssl-SwiftPM.git
[1/8166] Fetching boringssl-swiftpm
[83/12655] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git from cache (2.76s)
Fetched https://github.com/firebase/boringssl-SwiftPM.git from cache (2.84s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.32.1 (0.43s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20240722.2 (0.43s)
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.20240722.2
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...
[0/1014] Compiling dns_service_resolver.cc
[1/1014] Copying PrivacyInfo.xcprivacy
[2/1014] Copying Info.plist
[3/1014] Compiling zutil.c
[4/1014] Compiling syntax.upb_minitable.c
[5/1014] Compiling uncompr.c
[6/1014] Compiling time_cc.cc
[7/1014] Compiling string_ref.cc
[8/1014] Compiling status.cc
[9/1014] Compiling byte_buffer_cc.cc
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/client_channel/global_subchannel_pool.h:26:
In file included from <module-includes>:54:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/container/btree_map.h:59:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/container/internal/btree.h:67:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/container/internal/layout.h:199:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/strings/str_cat.h:110:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/strings/numbers.h:48:
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/numeric/int128.h:1182:1: error: redundant #include of module 'abseil' appears within namespace 'absl::lts_20240722' [-Wmodules-import-nested-redundant]
#include "absl/numeric/int128_have_intrinsic.inc"  // IWYU pragma: export
^
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/numeric/int128.h:557:1: note: namespace 'absl::lts_20240722' begins here
ABSL_NAMESPACE_BEGIN
^
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/base/config.h:181:3: note: expanded from macro 'ABSL_NAMESPACE_BEGIN'
  inline namespace ABSL_OPTION_INLINE_NAMESPACE_NAME {
  ^
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/client_channel/global_subchannel_pool.h:26:
In file included from <module-includes>:175:
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/log/scoped_mock_log.h:27:10: fatal error: 'gmock/gmock.h' file not found
#include "gmock/gmock.h"
         ^~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/src/core/client_channel/global_subchannel_pool.cc:19:
/host/spi-builder-workspace/src/core/client_channel/global_subchannel_pool.h:26:10: fatal error: could not build module 'abseil'
#include "absl/base/thread_annotations.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 errors generated.
[10/1014] Compiling global_subchannel_pool.cc
[10/1014] Compiling dynamic_filters.cc
[10/1014] Compiling metadata.cc
[10/1014] Compiling metadata_batch.cc
[10/1014] Compiling direct_channel.cc
[10/1014] Compiling xds_server_credentials.cc
[10/1014] Compiling client_channel_service_config.cc
While building module 'abseil' imported from /host/spi-builder-workspace/spm-core-include/grpc/event_engine/endpoint_config.h:22:
In file included from <module-includes>:54:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/container/btree_map.h:59:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/container/internal/btree.h:67:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/container/internal/layout.h:199:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/strings/str_cat.h:110:
In file included from /host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/strings/numbers.h:48:
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/numeric/int128.h:1182:1: error: redundant #include of module 'abseil' appears within namespace 'absl::lts_20240722' [-Wmodules-import-nested-redundant]
#include "absl/numeric/int128_have_intrinsic.inc"  // IWYU pragma: export
^
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/numeric/int128.h:557:1: note: namespace 'absl::lts_20240722' begins here
ABSL_NAMESPACE_BEGIN
^
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/base/config.h:181:3: note: expanded from macro 'ABSL_NAMESPACE_BEGIN'
  inline namespace ABSL_OPTION_INLINE_NAMESPACE_NAME {
  ^
[10/1014] Compiling thread_manager.cc
BUILD FAILURE 5.10 linux