The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JWTVapor 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/skelpo/jwtvapor.git
Reference: 0.14.0
Cloned https://github.com/skelpo/jwtvapor.git into spi-builder-workspace
SUCCESS checkout https://github.com/skelpo/jwtvapor.git at 0.14.0
========================================
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/fluent.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/apple/swift-nio.git
[4/381] Fetching url-encoded-form
[382/13622] Fetching url-encoded-form, fluent
[11108/73695] Fetching url-encoded-form, fluent, swift-nio
Fetching https://github.com/vapor/sqlite.git
Fetched https://github.com/vapor/url-encoded-form.git (6.24s)
Fetched https://github.com/vapor/fluent.git (6.25s)
Fetching https://github.com/vapor/service.git
Fetched https://github.com/apple/swift-nio.git (6.32s)
Fetching https://github.com/vapor/auth.git
[1/919] Fetching service
[397/1967] Fetching service, auth
[1968/3808] Fetching service, auth, sqlite
Fetched https://github.com/vapor/service.git (0.65s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/auth.git (0.59s)
Fetching https://github.com/vapor/sql.git
[1/4346] Fetching sql
Fetched https://github.com/vapor/sqlite.git (0.89s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/sql.git (0.32s)
Fetching https://github.com/vapor/routing.git
[1/1181] Fetching database-kit
Fetched https://github.com/vapor/database-kit.git (0.22s)
Fetching https://github.com/vapor/vapor.git
[1/20573] Fetching routing
[16254/85125] Fetching routing, vapor
[20511/96427] Fetching routing, vapor, swift-nio-ssl
Fetched https://github.com/vapor/routing.git (0.93s)
Fetching https://github.com/vapor/crypto.git
[26197/75854] Fetching vapor, swift-nio-ssl
[51326/78640] Fetching vapor, swift-nio-ssl, crypto
Fetched https://github.com/vapor/crypto.git (0.35s)
Fetching https://github.com/vapor/validation.git
[62944/75854] Fetching vapor, swift-nio-ssl
[75855/76433] Fetching vapor, swift-nio-ssl, validation
Fetched https://github.com/vapor/validation.git (0.24s)
Fetching https://github.com/vapor/jwt.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.02s)
Fetching https://github.com/vapor/template-kit.git
[1/2379] Fetching jwt
Fetched https://github.com/vapor/jwt.git (0.33s)
Fetching https://github.com/vapor/console.git
[1/1282] Fetching template-kit
[1283/6033] Fetching template-kit, console
Fetched https://github.com/vapor/template-kit.git (0.41s)
[2138/4751] Fetching console
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/vapor.git (2.05s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Computing version for https://github.com/vapor/auth.git
Fetched https://github.com/vapor/console.git (0.37s)
Fetching https://github.com/vapor/multipart.git
[1/25467] Fetching http
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.23s)
Fetching https://github.com/vapor/core.git
[8660/27098] Fetching http, multipart
[20881/47241] Fetching http, multipart, core
Fetched https://github.com/vapor/http.git (1.14s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/vapor/core.git (0.97s)
Fetching https://github.com/vapor/fluent-sqlite.git
[512/1631] Fetching multipart
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.20s)
Fetching https://github.com/vapor/websocket.git
[1632/2773] Fetching multipart, fluent-sqlite
[2774/4440] Fetching multipart, fluent-sqlite, websocket
Fetched https://github.com/vapor/fluent-sqlite.git (0.58s)
Computed https://github.com/vapor/auth.git at 2.0.4 (1.79s)
Computing version for https://github.com/vapor/jwt.git
Fetched https://github.com/vapor/websocket.git (0.52s)
Fetched https://github.com/vapor/multipart.git (1.80s)
Computed https://github.com/vapor/jwt.git at 3.0.0 (0.31s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.0 (0.33s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (0.32s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.30s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.0 (0.34s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.2.1 (0.33s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.3 (0.33s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.9.1 (0.32s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.30s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.29s)
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.30s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.4.0 (0.33s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.2 (0.35s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.4 (0.35s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.34s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.37s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.2.1 (0.38s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.38s)
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.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (0.41s)
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-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.28s)
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/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-sqlite.git
Working copy of https://github.com/vapor/fluent-sqlite.git resolved at 3.0.0
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/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-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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.4
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.0
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.3.3
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/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.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.4.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/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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 2.0.4
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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.9.1
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 3.2.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
Building for debugging...
[0/13] Compiling CNIOZlib empty.c
[0/13] Compiling CNIOLinux ifaddrs-android.c
[0/13] 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.
[3/13] Compiling CNIOOpenSSL shims.c
[3/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[3/13] Compiling CCryptoOpenSSL shim.c
[3/13] Compiling c-atomics.c
[3/13] Compiling CNIOSHA1 c_nio_sha1.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>
         ^~~~~~~~~~~~~~~~
[3/13] Compiling CNIOOpenSSL helpers.c
[3/13] Compiling CNIOLinux shim.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2