The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Nats 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/hjuraev/nats-swift.git
Reference: master
Cloned https://github.com/hjuraev/nats-swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/hjuraev/nats-swift.git at master
========================================
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/apple/swift-protobuf.git
Fetching https://github.com/vapor/vapor.git
[1/29782] Fetching swift-protobuf
[19658/94334] Fetching swift-protobuf, vapor
Fetched https://github.com/vapor/vapor.git (4.42s)
Fetched https://github.com/apple/swift-protobuf.git (4.43s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (2.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/381] Fetching url-encoded-form
[382/960] Fetching url-encoded-form, validation
[961/2627] Fetching url-encoded-form, validation, websocket
Fetched https://github.com/vapor/validation.git (0.32s)
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/url-encoded-form.git (0.32s)
Fetching https://github.com/vapor/service.git
Fetched https://github.com/vapor/websocket.git (0.33s)
Fetching https://github.com/vapor/routing.git
[1/919] Fetching service
[489/2201] Fetching service, template-kit
[2202/22774] Fetching service, template-kit, routing
Fetched https://github.com/vapor/service.git (0.26s)
Fetching https://github.com/vapor/multipart.git
[2311/21855] Fetching template-kit, routing
[1235/20573] Fetching routing
Fetched https://github.com/vapor/template-kit.git (0.26s)
Fetching https://github.com/vapor/http.git
[20574/22204] Fetching routing, multipart
[20901/47671] Fetching routing, multipart, http
Fetched https://github.com/vapor/routing.git (0.95s)
Fetching https://github.com/vapor/database-kit.git
[19861/27098] Fetching multipart, http
warning: 'http': skipping cache due to an error: Failed to clone repository https://github.com/vapor/http.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/http-31bdf14a'...
    remote: Enumerating objects: 25467, done.        
    remote: Counting objects:   1% (1/70)        
remote: Counting objects:   2% (2/70)        
remote: Counting objects:   4% (3/70)        
remote: Counting objects:   5% (4/70)        
remote: Counting objects:   7% (5/70)        
remote: Counting objects:   8% (6/70)        
remote: Counting objects:  10% (7/70)        
remote: Counting objects:  11% (8/70)        
remote: Counting objects:  12% (9/70)        
remote: Counting objects:  14% (10/70)        
remote: Counting objects:  15% (11/70)        
remote: Counting objects:  17% (12/70)        
remote: Counting objects:  18% (13/70)        
remote: Counting objects:  20% (14/70)        
remote: Counting objects:  21% (15/70)        
remote: Counting objects:  22% (16/70)        
remote: Counting objects:  24% (17/70)        
remote: Counting objects:  25% (18/70)        
remote: Counting objects:  27% (19/70)        
remote: Counting objects:  28% (20/70)        
remote: Counting objects:  30% (21/70)        
remote: Counting objects:  31% (22/70)        
remote: Counting objects:  32% (23/70)        
remote: Counting objects:  34% (24/70)        
remote: Counting objects:  35% (25/70)        
remote: Counting objects:  37% (26/70)        
remote: Counting objects:  38% (27/70)        
remote: Counting objects:  40% (28/70)        
remote: Counting objects:  41% (29/70)        
remote: Counting objects:  42% (30/70)        
remote: Counting objects:  44% (31/70)        
remote: Counting objects:  45% (32/70)        
remote: Counting objects:  47% (33/70)        
remote: Counting objects:  48% (34/70)        
remote: Counting objects:  50% (35/70)        
remote: Counting objects:  51% (36/70)        
remote: Counting objects:  52% (37/70)        
remote: Counting objects:  54% (38/70)        
remote: Counting objects:  55% (39/70)        
remote: Counting objects:  57% (40/70)        
remote: Counting objects:  58% (41/70)        
remote: Counting objects:  60% (42/70)        
remote: Counting objects:  61% (43/70)        
remote: Counting objects:  62% (44/70)        
remote: Counting objects:  64% (45/70)        
remote: Counting objects:  65% (46/70)        
remote: Counting objects:  67% (47/70)        
remote: Counting objects:  68% (48/70)        
remote: Counting objects:  70% (49/70)        
remote: Counting objects:  71% (50/70)        
remote: Counting objects:  72% (51/70)        
remote: Counting objects:  74% (52/70)        
remote: Counting objects:  75% (53/70)        
remote: Counting objects:  77% (54/70)        
remote: Counting objects:  78% (55/70)        
remote: Counting objects:  80% (56/70)        
remote: Counting objects:  81% (57/70)        
remote: Counting objects:  82% (58/70)        
remote: Counting objects:  84% (59/70)        
remote: Counting objects:  85% (60/70)        
remote: Counting objects:  87% (61/70)        
remote: Counting objects:  88% (62/70)        
remote: Counting objects:  90% (63/70)        
remote: Counting objects:  91% (64/70)        
remote: Counting objects:  92% (65/70)        
remote: Counting objects:  94% (66/70)        
remote: Counting objects:  95% (67/70)        
remote: Counting objects:  97% (68/70)        
remote: Counting objects:  98% (69/70)        
remote: Counting objects: 100% (70/70)        
remote: Counting objects: 100% (70/70), done.        
    remote: Compressing objects:   2% (1/49)        
remote: Compressing objects:   4% (2/49)        
remote: Compressing objects:   6% (3/49)        
remote: Compressing objects:   8% (4/49)        
remote: Compressing objects:  10% (5/49)        
remote: Compressing objects:  12% (6/49)        
remote: Compressing objects:  14% (7/49)        
remote: Compressing objects:  16% (8/49)        
remote: Compressing objects:  18% (9/49)        
remote: Compressing objects:  20% (10/49)        
remote: Compressing objects:  22% (11/49)        
remote: Compressing objects:  24% (12/49)        
remote: Compressing objects:  26% (13/49)        
remote: Compressing objects:  28% (14/49)        
remote: Compressing objects:  30% (15/49)        
remote: Compressing objects:  32% (16/49)        
remote: Compressing objects:  34% (17/49)        
remote: Compressing objects:  36% (18/49)        
remote: Compressing objects:  38% (19/49)        
remote: Compressing objects:  40% (20/49)        
remote: Compressing objects:  42% (21/49)        
remote: Compressing objects:  44% (22/49)        
remote: Compressing objects:  46% (23/49)        
remote: Compressing objects:  48% (24/49)        
remote: Compressing objects:  51% (25/49)        
remote: Compressing objects:  53% (26/49)        
remote: Compressing objects:  55% (27/49)        
remote: Compressing objects:  57% (28/49)        
remote: Compressing objects:  59% (29/49)        
remote: Compressing objects:  61% (30/49)        
remote: Compressing objects:  63% (31/49)        
remote: Compressing objects:  65% (32/49)        
remote: Compressing objects:  67% (33/49)        
remote: Compressing objects:  69% (34/49)        
remote: Compressing objects:  71% (35/49)        
remote: Compressing objects:  73% (36/49)        
remote: Compressing objects:  75% (37/49)        
remote: Compressing objects:  77% (38/49)        
remote: Compressing objects:  79% (39/49)        
remote: Compressing objects:  81% (40/49)        
remote: Compressing objects:  83% (41/49)        
remote: Compressing objects:  85% (42/49)        
remote: Compressing objects:  87% (43/49)        
remote: Compressing objects:  89% (44/49)        
remote: Compressing objects:  91% (45/49)        
remote: Compressing objects:  93% (46/49)        
remote: Compressing objects:  95% (47/49)        
remote: Compressing objects:  97% (48/49)        
remote: Compressing objects: 100% (49/49)        
remote: Compressing objects: 100% (49/49), done.        
    Receiving objects:   0% (1/25467)
Receiving objects:   1% (255/25467)
Receiving objects:   2% (510/25467)
Receiving objects:   3% (765/25467)
Receiving objects:   4% (1019/25467)
Receiving objects:   5% (1274/25467)
Receiving objects:   6% (1529/25467)
Receiving objects:   7% (1783/25467)
Receiving objects:   8% (2038/25467)
Receiving objects:   9% (2293/25467)
Receiving objects:  10% (2547/25467)
Receiving objects:  11% (2802/25467)
Receiving objects:  12% (3057/25467)
Receiving objects:  13% (3311/25467)
Receiving objects:  14% (3566/25467)
Receiving objects:  15% (3821/25467)
Receiving objects:  16% (4075/25467)
Receiving objects:  17% (4330/25467)
Receiving objects:  18% (4585/25467)
Receiving objects:  19% (4839/25467)
Receiving objects:  20% (5094/25467)
Receiving objects:  21% (5349/25467)
Receiving objects:  22% (5603/25467)
Receiving objects:  23% (5858/25467)
Receiving objects:  24% (6113/25467)
Receiving objects:  25% (6367/25467)
Receiving objects:  26% (6622/25467)
Receiving objects:  27% (6877/25467)
Receiving objects:  28% (7131/25467)
Receiving objects:  29% (7386/25467)
Receiving objects:  30% (7641/25467)
Receiving objects:  31% (7895/25467)
Receiving objects:  32% (8150/25467)
Receiving objects:  33% (8405/25467)
Receiving objects:  34% (8659/25467)
Receiving objects:  35% (8914/25467)
Receiving objects:  36% (9169/25467)
Receiving objects:  37% (9423/25467)
Receiving objects:  38% (9678/25467)
Receiving objects:  39% (9933/25467)
Receiving objects:  40% (10187/25467)
Receiving objects:  41% (10442/25467)
Receiving objects:  42% (10697/25467)
Receiving objects:  43% (10951/25467)
Receiving objects:  44% (11206/25467)
Receiving objects:  45% (11461/25467)
Receiving objects:  46% (11715/25467)
Receiving objects:  47% (11970/25467)
Receiving objects:  48% (12225/25467)
Receiving objects:  49% (12479/25467)
Receiving objects:  50% (12734/25467)
Receiving objects:  51% (12989/25467)
Receiving objects:  52% (13243/25467)
Receiving objects:  53% (13498/25467)
Receiving objects:  54% (13753/25467)
Receiving objects:  55% (14007/25467)
Receiving objects:  56% (14262/25467)
Receiving objects:  57% (14517/25467)
Receiving objects:  58% (14771/25467)
Receiving objects:  59% (15026/25467)
Receiving objects:  60% (15281/25467)
Receiving objects:  61% (15535/25467)
Receiving objects:  62% (15790/25467)
Receiving objects:  63% (16045/25467)
Receiving objects:  64% (16299/25467)
Receiving objects:  65% (16554/25467)
Receiving objects:  66% (16809/25467)
Receiving objects:  67% (17063/25467)
Receiving objects:  68% (17318/25467)
Receiving objects:  69% (17573/25467)
Receiving objects:  70% (17827/25467)
Receiving objects:  71% (18082/25467)
Receiving objects:  72% (18337/25467)
Receiving objects:  73% (18591/25467)
Receiving objects:  74% (18846/25467)
Receiving objects:  75% (19101/25467)
Receiving objects:  76% (19355/25467)
Receiving objects:  77% (19610/25467)
Receiving objects:  78% (19865/25467)
Receiving objects:  79% (20119/25467)
Receiving objects:  80% (20374/25467)
Receiving objects:  81% (20629/25467)
Receiving objects:  82% (20883/25467)
Receiving objects:  83% (21138/25467)
Receiving objects:  84% (21393/25467)
Receiving objects:  85% (21647/25467)
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
    Receiving objects:  86% (21902/25467)
Receiving objects:  87% (22157/25467)
fatal: the remote end hung up unexpectedly
    Receiving objects:  88% (22411/25467)
Receiving objects:  89% (22666/25467)
fatal: early EOF
    fatal: index-pack failed
[23173/28279] Fetching multipart, http, database-kit
Fetched https://github.com/vapor/database-kit.git (0.52s)
Fetching https://github.com/vapor/crypto.git
[6109/27098] Fetching multipart, http
[27099/29884] Fetching multipart, http, crypto
Fetched https://github.com/vapor/multipart.git (1.87s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/crypto.git (0.66s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/http.git (1.92s)
[1/20143] Fetching core
[16317/24894] Fetching core, console
Fetched https://github.com/vapor/console.git (0.57s)
Fetched https://github.com/vapor/core.git (0.80s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.29s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/60073] Fetching swift-nio
[12617/71375] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (4.45s)
Fetched https://github.com/apple/swift-nio.git (4.52s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.28s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.37s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.21s)
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)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.29s)
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/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.31s)
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.29s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.30s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.30s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.30s)
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.30s)
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.32s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.22.0 (0.31s)
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/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/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/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/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/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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.22.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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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.5.0
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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
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
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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/46] Compiling CNIOZlib empty.c
[1/46] Compiling CNIODarwin shim.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.
[3/46] Compiling CCryptoOpenSSL shim.c
[3/46] Compiling CNIOOpenSSL shims.c
[3/46] Compiling CNIOSHA1 c_nio_sha1.c
[3/46] Compiling c-atomics.c
[3/46] Compiling CBcrypt blf.c
[3/46] Compiling CBcrypt bcrypt.c
[3/46] Compiling CNIOHTTPParser c_nio_http_parser.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2