The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build gRPC, reference v1.68.0-pre1 (29bd9c), with Swift 5.8 for Linux on 9 Nov 2024 08:19:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grpc/grpc-ios.git
Reference: v1.68.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.68.0-pre1 -> FETCH_HEAD
HEAD is now at 29bd9ca bump abseil-cpp-SwiftPM to 0.20240116.1
Cloned https://github.com/grpc/grpc-ios.git
Revision (git rev-parse @):
29bd9ca9ac07098b57cc31b2a7d970056199617b
SUCCESS checkout https://github.com/grpc/grpc-ios.git at v1.68.0-pre1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/grpc/grpc-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:d566266dd4ad92a164016b2b7f1872d3752585be93b4a9fa631006f2c48d84d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/firebase/boringssl-SwiftPM.git
Fetching https://github.com/firebase/abseil-cpp-SwiftPM.git
[1/8143] Fetching boringssl-swiftpm
[734/12231] Fetching boringssl-swiftpm, abseil-cpp-swiftpm
Fetched https://github.com/firebase/abseil-cpp-SwiftPM.git (2.19s)
Fetched https://github.com/firebase/boringssl-SwiftPM.git (2.25s)
Computing version for https://github.com/firebase/abseil-cpp-SwiftPM.git
Computed https://github.com/firebase/abseil-cpp-SwiftPM.git at 0.20240722.0 (0.30s)
Computing version for https://github.com/firebase/boringssl-SwiftPM.git
Computed https://github.com/firebase/boringssl-SwiftPM.git at 0.32.1 (0.32s)
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.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.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...
While building module 'abseil' imported from /host/spi-builder-workspace/src/core/ext/filters/http/client/http_client_filter.h:23:
In file included from <module-includes>:17:
/host/spi-builder-workspace/.build/checkouts/abseil-cpp-SwiftPM/absl/base/internal/exception_safety_testing.h:33:10: fatal error: 'gtest/gtest.h' file not found
#include "gtest/gtest.h"
         ^~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/src/core/ext/filters/http/client/http_client_filter.cc:18:
/host/spi-builder-workspace/src/core/ext/filters/http/client/http_client_filter.h:23:10: fatal error: could not build module 'abseil'
#include "absl/status/statusor.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/999] Compiling http_client_filter.cc
[0/999] Compiling legacy_channel_idle_filter.cc
[0/999] Compiling fault_injection_filter.cc
[0/999] Compiling fault_injection_service_config_parser.cc
[0/999] Compiling gcp_authentication_service_config_parser.cc
[0/999] Compiling gcp_authentication_filter.cc
[0/999] Compiling retry_filter.cc
[0/999] Compiling retry_filter_legacy_call_data.cc
BUILD FAILURE 5.8 linux