The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Moat 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/vapor-community/moat.git
Reference: 0.0.6
Cloned https://github.com/vapor-community/moat.git into spi-builder-workspace
SUCCESS checkout https://github.com/vapor-community/moat.git at 0.0.6
========================================
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/vapor.git
[1/3842] Fetching leaf
Fetched https://github.com/vapor/leaf.git (0.23s)
[1/64552] Fetching vapor
Fetched https://github.com/vapor/vapor.git (1.57s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.31s)
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/1282] Fetching template-kit
[1283/21425] Fetching template-kit, core
[21426/22344] Fetching template-kit, core, service
Fetched https://github.com/vapor/service.git (1.49s)
Fetched https://github.com/vapor/template-kit.git (1.49s)
Fetched https://github.com/vapor/core.git (1.51s)
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/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.27s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.30s)
Fetching https://github.com/apple/swift-nio.git
[1/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.40s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.20s)
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.25s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.30s)
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/url-encoded-form.git
[1/579] Fetching validation
[222/960] Fetching validation, url-encoded-form
[961/2627] Fetching validation, url-encoded-form, websocket
Fetched https://github.com/vapor/validation.git (0.23s)
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/vapor/url-encoded-form.git (0.24s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/websocket.git (0.24s)
Fetching https://github.com/vapor/http.git
[1/1631] Fetching multipart
[507/27098] Fetching multipart, http
[762/47671] Fetching multipart, http, routing
Fetched https://github.com/vapor/routing.git (0.89s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/http.git (1.04s)
Fetching https://github.com/vapor/crypto.git
[522/1631] Fetching multipart
[1632/2812] Fetching multipart, database-kit
[2813/5598] Fetching multipart, database-kit, crypto
Fetched https://github.com/vapor/database-kit.git (0.63s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/crypto.git (0.48s)
Fetched https://github.com/vapor/multipart.git (1.54s)
[1/4751] Fetching console
Fetched https://github.com/vapor/console.git (0.31s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.28s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/11302] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.02s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.25s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.27s)
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/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.28s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.19s)
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/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.35s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.31s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.36s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.33s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.28s)
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/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.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
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
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/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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/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/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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.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/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
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-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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.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/13] Compiling CNIOZlib empty.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/13] Compiling CNIOOpenSSL shims.c
[1/13] Compiling CNIOLinux ifaddrs-android.c
[1/13] Compiling CNIODarwin shim.c
[1/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>
         ^~~~~~~~~~~~~~~~
[1/13] Compiling CNIOLinux shim.c
[1/13] Compiling CNIOOpenSSL helpers.c
[1/13] Compiling CNIOHTTPParser c_nio_http_parser.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1