The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ElasticsearchVapor 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/dmonagle/elasticsearch-vapor.git
Reference: master
Cloned https://github.com/dmonagle/elasticsearch-vapor.git into spi-builder-workspace
SUCCESS checkout https://github.com/dmonagle/elasticsearch-vapor.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-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/vapor/http
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/apple/swift-protobuf.git
[1/25467] Fetching http
[1784/31497] Fetching http, swiftyjson
[11683/61279] Fetching http, swiftyjson, swift-protobuf
Fetching https://github.com/vapor/database-kit
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git (0.96s)
[40358/55249] Fetching http, swift-protobuf
[47209/56430] Fetching http, swift-protobuf, database-kit
Fetched https://github.com/vapor/database-kit (0.30s)
[53165/55249] Fetching http, swift-protobuf
Fetched https://github.com/vapor/http (3.59s)
Fetched https://github.com/apple/swift-protobuf.git (3.62s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (1.13s)
Computing version for https://github.com/vapor/database-kit
Computed https://github.com/vapor/database-kit at 1.3.3 (0.29s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[4433/21062] Fetching core, service
Fetched https://github.com/vapor/service.git (0.29s)
[13496/20143] Fetching core
Fetched https://github.com/vapor/core.git (0.75s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.28s)
Computing version for https://github.com/vapor/http
Computed https://github.com/vapor/http at 3.4.0 (0.37s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/60073] Fetching swift-nio
[13218/71375] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (4.39s)
Fetched https://github.com/apple/swift-nio.git (4.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.36s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.18s)
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.28s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.29s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.17s)
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 (0.29s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.22.0 (0.30s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.31s)
Creating working copy for https://github.com/vapor/database-kit
Working copy of https://github.com/vapor/database-kit resolved at 1.3.3
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.0
Creating working copy for https://github.com/vapor/http
Working copy of https://github.com/vapor/http resolved at 3.4.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.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.22.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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 1.4.0
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-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/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/10] Compiling CNIOZlib empty.c
[2/10] Compiling CNIOLinux ifaddrs-android.c
[2/10] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[4/10] Compiling CNIOOpenSSL shims.c
[4/10] Compiling c-atomics.c
[4/10] Compiling CNIOHTTPParser c_nio_http_parser.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
[4/10] Compiling CNIOLinux shim.c
[4/10] Compiling CNIOOpenSSL helpers.c
[4/10] Compiling CNIOSHA1 c_nio_sha1.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2