The Swift Package Index logo.Swift Package Index

Build Information

Failed to build penny with Swift 5.7 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.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loganwright/penny-api.git
Reference: 1.1.0
Cloned https://github.com/loganwright/penny-api.git into spi-builder-workspace
SUCCESS checkout https://github.com/loganwright/penny-api.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
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.7-latest swift build 2>&1
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/vapor.git
[1/919] Fetching service
[920/1300] Fetching service, url-encoded-form
Fetched https://github.com/vapor/service.git (0.28s)
Fetching https://github.com/vapor/fluent.git
[1/65274] Fetching vapor
[1960/78526] Fetching vapor, fluent
Fetched https://github.com/vapor/fluent.git (0.69s)
Fetching https://github.com/vapor/sql.git
[17624/65274] Fetching vapor
[49610/69655] Fetching vapor, sql
Fetched https://github.com/vapor/sql.git (0.40s)
Fetching https://github.com/vapor/validation.git
[1/579] Fetching validation
Fetched https://github.com/vapor/validation.git (0.30s)
Fetching https://github.com/vapor/websocket.git
[1/2026] Fetching websocket
Fetched https://github.com/vapor/websocket.git (0.48s)
Fetching https://github.com/vapor/postgresql.git
Fetched https://github.com/vapor/url-encoded-form.git (2.20s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/vapor.git (2.24s)
Fetching https://github.com/vapor/crypto.git
[1/5050] Fetching postgresql
[809/9974] Fetching postgresql, console
[3516/12760] Fetching postgresql, console, crypto
Fetched https://github.com/vapor/crypto.git (0.36s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/postgresql.git (0.45s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/console.git (0.41s)
Fetching https://github.com/apple/swift-nio.git
[1/25467] Fetching http
[1020/45610] Fetching http, core
[37148/107168] Fetching http, core, swift-nio
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/core.git (1.36s)
[39010/87025] Fetching http, swift-nio
[41489/98394] Fetching http, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.67s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[66096/87025] Fetching http, swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.23s)
Fetching https://github.com/vapor/database-kit.git
[87026/88206] Fetching http, swift-nio, database-kit
Fetched https://github.com/vapor/database-kit.git (0.21s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.20s)
Fetching https://github.com/vapor/template-kit.git
[1/1282] Fetching template-kit
Fetched https://github.com/vapor/template-kit.git (0.74s)
Fetching https://github.com/vapor/multipart.git
[1/1648] Fetching multipart
Fetched https://github.com/vapor/http.git (6.06s)
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/apple/swift-nio.git (6.13s)
Fetching https://github.com/vapor/fluent-postgresql.git
[1/20619] Fetching routing
Fetched https://github.com/vapor/multipart.git (1.94s)
[1651/23152] Fetching routing, fluent-postgresql
Fetched https://github.com/vapor/fluent-postgresql.git (0.30s)
Computing version for https://github.com/vapor/fluent-postgresql.git
[11753/20619] Fetching routing
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.0 (0.32s)
Computing version for https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/routing.git (0.96s)
Computed https://github.com/vapor/vapor.git at 3.3.0 (0.32s)
Computing version for https://github.com/vapor/postgresql.git
Computed https://github.com/vapor/postgresql.git at 1.4.1 (0.31s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.1.3 (0.30s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.7.1 (0.28s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.1 (0.28s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.30s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.0.5 (0.29s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.1 (0.28s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.1 (0.28s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.2 (0.27s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.3 (0.27s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.1.10 (0.28s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.27s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.2 (0.28s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.0 (0.31s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.0 (0.31s)
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.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.13.2 (0.38s)
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.34s)
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.36s)
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.1
Creating working copy for https://github.com/vapor/postgresql.git
Working copy of https://github.com/vapor/postgresql.git resolved at 1.4.1
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/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/fluent-postgresql.git
Working copy of https://github.com/vapor/fluent-postgresql.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.3
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.7.1
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.1.10
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/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.1
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/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.0.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.13.2
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/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
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/50] Compiling CNIOZlib empty.c
In file included from /host/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/shim.c:1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h:4:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[1/50] Compiling CCryptoOpenSSL shim.c
[1/50] Compiling CNIOOpenSSL helpers.c
[1/50] Compiling CNIOSHA1 c_nio_sha1.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.
[1/50] Compiling CNIOOpenSSL shims.c
[1/50] Compiling c-atomics.c
[1/50] Compiling CNIOHTTPParser c_nio_http_parser.c
[1/50] Compiling CNIODarwin shim.c
BUILD FAILURE 5.7 linux

Build Machine: Linux 2