The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGRPCClient with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cats-oss/grpc-swift-client.git
Reference: 0.7.2
Cloned https://github.com/cats-oss/grpc-swift-client.git into spi-builder-workspace
SUCCESS checkout https://github.com/cats-oss/grpc-swift-client.git at 0.7.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/kylef/Commander.git
[1/1021] Fetching spectre
[777/2609] Fetching spectre, commander
[2549/34930] Fetching spectre, commander, grpc-swift
Fetched https://github.com/kylef/Spectre.git (0.46s)
Fetching https://github.com/apple/swift-nio.git
[2558/33909] Fetching commander, grpc-swift
[10316/93982] Fetching commander, grpc-swift, swift-nio
Fetched https://github.com/kylef/Commander.git (2.72s)
Fetching https://github.com/apple/swift-nio-nghttp2-support.git
[50944/92394] Fetching grpc-swift, swift-nio
Fetched https://github.com/grpc/grpc-swift.git (2.76s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[19825/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-nghttp2-support.git (0.25s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.25s)
Fetching https://github.com/apple/swift-protobuf.git
[33642/89855] Fetching swift-nio, swift-protobuf
[38741/99160] Fetching swift-nio, swift-protobuf, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.87s)
[78836/89855] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git (8.14s)
Fetched https://github.com/apple/swift-protobuf.git (6.78s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 0.9.1 (1.99s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.25s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.5.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (1.50s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 0.2.1 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (0.77s)
Computing version for https://github.com/apple/swift-nio-nghttp2-support.git
Computed https://github.com/apple/swift-nio-nghttp2-support.git at 1.0.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.34s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.36s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.66s)
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.1
Creating working copy for https://github.com/apple/swift-nio-nghttp2-support.git
Working copy of https://github.com/apple/swift-nio-nghttp2-support.git resolved at 1.0.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 0.9.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 0.2.1
warning: 'swift-nio-nghttp2-support': ignoring declared target(s) 'swift-nio-nghttp2-support' in the system package
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
warning: couldn't find pc file for libnghttp2
Building for debugging...
[0/750] Compiling pb_encode.c
[1/821] Compiling grpc_context.cc
[2/821] Compiling client_channel_factory.cc
[3/821] Compiling client_channel_plugin.cc
[4/821] Compiling pb_decode.c
[5/821] Compiling backup_poller.cc
[6/821] Compiling pb_common.c
[7/821] Compiling client_channel_channelz.cc
[8/821] Compiling channel_connectivity.cc
[9/821] Compiling transport_security_grpc.cc
[10/821] Compiling transport_security.cc
[11/821] Compiling local_transport_security.cc
[12/821] Compiling fake_transport_security.cc
[13/821] Compiling alts_zero_copy_grpc_protector.cc
In file included from /host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc:21:
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/include/src/core/tsi/ssl/session_cache/ssl_session.h:29:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
         ^~~~~~~~~~~~~~~
1 error generated.
[14/821] Compiling ssl_session_openssl.cc
[14/821] Compiling alts_iovec_record_protocol.cc
[14/821] Compiling client_channel.cc
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/src/core/tsi/ssl_transport_security.cc:45:10: fatal error: 'openssl/bio.h' file not found
#include <openssl/bio.h>
         ^~~~~~~~~~~~~~~
[14/821] Compiling ssl_transport_security.cc
[14/821] Compiling alts_grpc_record_protocol_common.cc
In file included from /host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc:21:
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/include/src/core/tsi/ssl/session_cache/ssl_session.h:29:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
         ^~~~~~~~~~~~~~~
[14/821] Compiling ssl_session_boringssl.cc
In file included from /host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/src/core/tsi/ssl/session_cache/ssl_session_cache.cc:23:
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Sources/CgRPC/include/src/core/tsi/ssl/session_cache/ssl_session.h:29:10: fatal error: 'openssl/ssl.h' file not found
#include <openssl/ssl.h>
         ^~~~~~~~~~~~~~~
[14/821] Compiling ssl_session_cache.cc
BUILD FAILURE 5.9 linux

Build Machine: Linux 2