The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Templator with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/einstore/templator.git
Reference: 0.0.1
Cloned https://github.com/einstore/templator.git into spi-builder-workspace
SUCCESS checkout https://github.com/einstore/templator.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/leaf.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/core.git
[1/3842] Fetching leaf
[3843/23985] Fetching leaf, core
[4448/44558] Fetching leaf, core, routing
Fetched https://github.com/vapor/leaf.git (0.83s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/core.git (0.84s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/vapor/routing.git (0.85s)
Fetching https://github.com/vapor/template-kit.git
[1/1282] Fetching template-kit
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.18s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/vapor/template-kit.git (0.22s)
Fetching https://github.com/vapor/websocket.git
[1/381] Fetching url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.20s)
Fetching https://github.com/vapor/crypto.git
[1/1667] Fetching websocket
Fetched https://github.com/vapor/websocket.git (0.24s)
Fetching https://github.com/vapor/sql.git
[1/60073] Fetching swift-nio
[3606/62859] Fetching swift-nio, crypto
[9996/67205] Fetching swift-nio, crypto, sql
Fetched https://github.com/vapor/crypto.git (0.27s)
Fetching https://github.com/vapor/service.git
[8549/64419] Fetching swift-nio, sql
Fetched https://github.com/vapor/sql.git (0.29s)
Fetching https://github.com/vapor/vapor.git
[12015/60073] Fetching swift-nio
[12617/60992] Fetching swift-nio, service
Fetched https://github.com/vapor/service.git (0.20s)
Fetching https://github.com/vapor/console.git
[13817/60073] Fetching swift-nio
[16221/64824] Fetching swift-nio, console
[22174/129376] Fetching swift-nio, console, vapor
Fetched https://github.com/vapor/console.git (0.32s)
Fetching https://github.com/apple/swift-nio-ssl.git
[25635/124625] Fetching swift-nio, vapor
[124626/135927] Fetching swift-nio, vapor, swift-nio-ssl
Fetched https://github.com/vapor/vapor.git (1.74s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.20s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.75s)
Fetching https://github.com/vapor/multipart.git
[1/1181] Fetching database-kit
[1182/2812] Fetching database-kit, multipart
Fetched https://github.com/vapor/database-kit.git (0.47s)
Fetching https://github.com/vapor/validation.git
[507/2210] Fetching multipart, validation
Fetched https://github.com/vapor/validation.git (0.21s)
Fetching https://github.com/vapor/http.git
[507/27098] Fetching multipart, http
Fetched https://github.com/apple/swift-nio.git (4.52s)
Fetching https://github.com/vapor/fluent.git
[1/13241] Fetching fluent
Fetched https://github.com/vapor/http.git (1.52s)
Fetched https://github.com/vapor/multipart.git (1.97s)
Fetched https://github.com/vapor/fluent.git (0.62s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.0 (0.91s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.26s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.0 (0.29s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.26s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.27s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.26s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.27s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.8.1 (0.28s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.2 (0.26s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.26s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.26s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.0.6 (0.26s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.2 (0.26s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.4 (0.26s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.2.0 (0.27s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.2 (0.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (0.33s)
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.27s)
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.25s)
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.24s)
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.8.1
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.0
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.3.2
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.2.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.0.6
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
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/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.4
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
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/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.1.2
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/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.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 1.4.0
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
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
Building for debugging...
[0/13] Compiling CNIOZlib empty.c
[0/13] Compiling CNIOLinux ifaddrs-android.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.
[2/13] Compiling CNIOOpenSSL shims.c
[2/13] Compiling CNIOSHA1 c_nio_sha1.c
[2/13] Compiling c-atomics.c
[2/13] Compiling CNIOLinux shim.c
[2/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[2/13] Compiling CNIODarwin shim.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>
         ^~~~~~~~~~~~~~~~
[2/13] Compiling CNIOOpenSSL helpers.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1