The Swift Package Index logo.Swift Package Index

Build Information

Failed to build rest-client with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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/fschwehn/vapor-rest-client.git
Reference: master
Cloned https://github.com/fschwehn/vapor-rest-client.git into spi-builder-workspace
SUCCESS checkout https://github.com/fschwehn/vapor-rest-client.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
[1/4503] Fetching swift-nio-extras
[227/16543] Fetching swift-nio-extras, async-http-client
[6431/27845] Fetching swift-nio-extras, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git (0.69s)
Fetching https://github.com/apple/swift-metrics.git
[13058/23342] Fetching async-http-client, swift-nio-ssl
[18823/25154] Fetching async-http-client, swift-nio-ssl, swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.57s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/swift-server/async-http-client.git (1.34s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/9305] Fetching swift-nio-http2
[746/73857] Fetching swift-nio-http2, vapor
Fetching https://github.com/vapor/open-crypto.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.06s)
[21752/76643] Fetching swift-nio-http2, vapor, open-crypto
Fetched https://github.com/vapor/open-crypto.git (0.48s)
Fetching https://github.com/vapor/routing-kit.git
[22861/73857] Fetching swift-nio-http2, vapor
[25709/94430] Fetching swift-nio-http2, vapor, routing-kit
Fetched https://github.com/apple/swift-nio-http2.git (1.75s)
[43060/85125] Fetching vapor, routing-kit
Fetching https://github.com/vapor/websocket-kit.git
[78018/86792] Fetching vapor, routing-kit, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git (0.44s)
Fetching https://github.com/vapor/multipart-kit.git
[81217/85125] Fetching vapor, routing-kit
[85126/86756] Fetching vapor, routing-kit, multipart-kit
Fetched https://github.com/vapor/routing-kit.git (1.69s)
Fetching https://github.com/apple/swift-log.git
[65059/69262] Fetching vapor, multipart-kit, swift-log
Fetched https://github.com/vapor/vapor.git (3.56s)
Computing version for https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/apple/swift-log.git (0.65s)
Fetching https://github.com/apple/swift-nio.git
[512/1631] Fetching multipart-kit
[513/3774] Fetching multipart-kit, async-kit
Fetched https://github.com/vapor/async-kit.git (0.46s)
Fetching https://github.com/vapor/console-kit.git
[513/61704] Fetching multipart-kit, swift-nio
[1715/66455] Fetching multipart-kit, swift-nio, console-kit
Fetched https://github.com/vapor/console-kit.git (0.54s)
[6437/61704] Fetching multipart-kit, swift-nio
Computed https://github.com/vapor/vapor.git at 4.0.0-beta.3.1 (1.35s)
Fetched https://github.com/vapor/multipart-kit.git (2.70s)
[12616/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (6.74s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.0.0-beta.2.1 (0.53s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 1.2.0 (1.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.3.2 (0.54s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.9.0 (0.51s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.5.0 (0.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.12.0 (0.67s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.0.0-beta.3 (0.46s)
Computing version for https://github.com/vapor/open-crypto.git
Computed https://github.com/vapor/open-crypto.git at 4.0.0-beta.2 (0.53s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.0.0-beta.2 (0.51s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.0.0-beta.2 (0.51s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.0.0-beta.2 (0.56s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.0.1 (0.54s)
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.12.0
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 1.2.0
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 1.9.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/vapor/open-crypto.git
Working copy of https://github.com/vapor/open-crypto.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.0.0-beta.3
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.3.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.0.0-beta.3.1
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.0.0-beta.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.5.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.0.0-beta.2
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/440] Compiling CNIOLinux ifaddrs-android.c
[1/440] Compiling CURLParser urlparser.c
In file included from /host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/COpenCrypto/c_open_crypto.c:1:
/host/spi-builder-workspace/.build/checkouts/open-crypto/Sources/COpenCrypto/include/c_open_crypto.h:4:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[2/440] Compiling COpenCrypto c_open_crypto.c
[2/440] Compiling CNIOHTTPParser c_nio_http_parser.c
[2/440] Compiling CBcrypt bcrypt.c
[2/440] Compiling CMultipartParser multipartparser.c
[2/440] Compiling CNIOLinux shim.c
[2/440] Compiling CBcrypt blf.c
[2/440] Compiling CNIOSHA1 c_nio_sha1.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1