The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Nats with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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/hjuraev/nats-swift.git
Reference: 2.0.9
Cloned https://github.com/hjuraev/nats-swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/hjuraev/nats-swift.git at 2.0.9
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/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/vapor.git
Fetching https://github.com/apple/swift-protobuf.git
[1/65299] Fetching vapor
[13061/96207] Fetching vapor, swift-protobuf
Fetched https://github.com/vapor/vapor.git (2.31s)
Fetched https://github.com/apple/swift-protobuf.git (5.06s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (1.07s)
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/validation.git
[1/579] Fetching validation
[430/960] Fetching validation, url-encoded-form
[961/2986] Fetching validation, url-encoded-form, websocket
Fetched https://github.com/vapor/url-encoded-form.git (0.30s)
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/validation.git (0.30s)
Fetching https://github.com/vapor/service.git
Fetched https://github.com/vapor/websocket.git (0.30s)
Fetching https://github.com/vapor/routing.git
[1/1282] Fetching template-kit
[1283/2201] Fetching template-kit, service
[2202/22820] Fetching template-kit, service, routing
Fetched https://github.com/vapor/template-kit.git (0.25s)
Fetching https://github.com/vapor/multipart.git
[2157/21538] Fetching service, routing
[17003/23186] Fetching service, routing, multipart
Fetched https://github.com/vapor/service.git (0.94s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/routing.git (0.96s)
Fetching https://github.com/vapor/database-kit.git
[512/27115] Fetching multipart, http
[513/28296] Fetching multipart, http, database-kit
Fetched https://github.com/vapor/database-kit.git (0.30s)
Fetching https://github.com/vapor/crypto.git
[5860/27115] Fetching multipart, http
[20887/29901] Fetching multipart, http, crypto
Fetched https://github.com/vapor/crypto.git (0.34s)
Fetching https://github.com/vapor/core.git
[21141/27115] Fetching multipart, http
[27116/47258] Fetching multipart, http, core
Fetched https://github.com/vapor/multipart.git (1.93s)
Fetching https://github.com/vapor/console.git
[41783/45610] Fetching http, core
[43597/50534] Fetching http, core, console
Fetched https://github.com/vapor/http.git (1.45s)
[18381/25067] Fetching core, console
Fetched https://github.com/vapor/console.git (0.58s)
Fetched https://github.com/vapor/core.git (1.22s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.30s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/11369] Fetching swift-nio-ssl
[6823/72969] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (5.13s)
Fetched https://github.com/apple/swift-nio.git (5.21s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.81s)
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/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.32s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.19s)
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.27s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.30s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (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.18s)
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/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.29s)
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.29s)
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.28s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.29s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.29s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.29s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.22.1 (0.31s)
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/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/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/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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.22.1
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/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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.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
Compiling plugin SwiftProtobufPlugin...
Building for debugging...
[0/45] 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/45] Compiling CCryptoOpenSSL shim.c
[1/45] Compiling CNIOOpenSSL shims.c
[1/45] Compiling CNIOSHA1 c_nio_sha1.c
[1/45] Compiling CBcrypt bcrypt.c
[1/45] Compiling CBcrypt blf.c
[1/45] Compiling CBase32 base32.c
[1/45] Compiling c-atomics.c
BUILD FAILURE 5.7 linux

Build Machine: Linux 2