The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PayPal with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/paypal.git
Reference: 0.3.2
Cloned https://github.com/skelpo/paypal.git into spi-builder-workspace
SUCCESS checkout https://github.com/skelpo/paypal.git at 0.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/websocket.git
[1/4968] Fetching console
[498/6994] Fetching console, websocket
[6995/72307] Fetching console, websocket, vapor
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/websocket.git (1.85s)
Fetched https://github.com/vapor/console.git (1.85s)
Fetching https://github.com/twostraws/SwiftGD.git
Fetched https://github.com/vapor/vapor.git (1.88s)
Fetching https://github.com/vapor/url-encoded-form.git
[1/406] Fetching swiftgd
[330/25873] Fetching swiftgd, http
[662/26254] Fetching swiftgd, http, url-encoded-form
Fetched https://github.com/twostraws/SwiftGD.git (0.28s)
Fetching https://github.com/vapor/crypto.git
[8276/25848] Fetching http, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.26s)
Fetching https://github.com/skelpo/Countries.git
[8914/25467] Fetching http
[20375/28253] Fetching http, crypto
[21490/28527] Fetching http, crypto, countries
Fetched https://github.com/skelpo/Countries.git (0.25s)
Fetching https://github.com/skelpo/Failable.git
[23669/28253] Fetching http, crypto
Fetched https://github.com/vapor/crypto.git (0.32s)
[22157/25467] Fetching http
Fetching https://github.com/vapor/validation.git
[25468/26213] Fetching http, failable
[26140/26792] Fetching http, failable, validation
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/skelpo/Failable.git (0.30s)
Fetched https://github.com/vapor/validation.git (0.26s)
Fetching https://github.com/vapor/routing.git
[1/1282] Fetching template-kit
[1283/21901] Fetching template-kit, routing
Fetched https://github.com/vapor/http.git (1.16s)
Fetching https://github.com/skelpo/JSON.git
Fetched https://github.com/vapor/template-kit.git (0.33s)
Fetching https://github.com/vapor/database-kit.git
[3506/20619] Fetching routing
[16084/21942] Fetching routing, json
[16733/23123] Fetching routing, json, database-kit
Fetched https://github.com/vapor/database-kit.git (0.26s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/skelpo/JSON.git (0.30s)
Fetching https://github.com/vapor/service.git
Computing version for https://github.com/twostraws/SwiftGD.git
[16496/20619] Fetching routing
[20620/40762] Fetching routing, core
[21426/41681] Fetching routing, core, service
Fetched https://github.com/vapor/service.git (0.28s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[26864/40762] Fetching routing, core
Fetched https://github.com/vapor/routing.git (1.06s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[16316/20143] Fetching core
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.22s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.22s)
Fetching https://github.com/twostraws/Cgd.git
[1/1648] Fetching multipart
Fetched https://github.com/twostraws/Cgd.git (0.26s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/core.git (1.04s)
Fetching https://github.com/apple/swift-nio.git
[512/13017] Fetching multipart, swift-nio-ssl
[8016/74629] Fetching multipart, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/multipart.git (2.59s)
[34166/72981] Fetching swift-nio-ssl, swift-nio
Computed https://github.com/twostraws/SwiftGD.git at 2.2.0 (3.15s)
Computing version for https://github.com/skelpo/JSON.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.24s)
[24029/61612] Fetching swift-nio
Computed https://github.com/skelpo/JSON.git at 0.13.1 (0.44s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.1.1 (0.48s)
Computing version for https://github.com/skelpo/Failable.git
Computed https://github.com/skelpo/Failable.git at 0.3.0 (0.59s)
Computing version for https://github.com/skelpo/Countries.git
Computed https://github.com/skelpo/Countries.git at 0.9.1 (0.55s)
Computing version for https://github.com/twostraws/Cgd.git
Computed https://github.com/twostraws/Cgd.git at 0.2.0 (0.56s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.1 (0.55s)
Fetched https://github.com/apple/swift-nio.git (7.20s)
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.5 (0.31s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.1 (0.30s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.32s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.30s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.2 (0.30s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.1.6 (0.34s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.2 (0.30s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.1 (0.32s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.5.0 (0.34s)
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/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.32s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.12.1 (0.40s)
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.30s)
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/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.1.6
Creating working copy for https://github.com/skelpo/JSON.git
Working copy of https://github.com/skelpo/JSON.git resolved at 0.13.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.12.1
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/twostraws/SwiftGD.git
Working copy of https://github.com/twostraws/SwiftGD.git resolved at 2.2.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/skelpo/Failable.git
Working copy of https://github.com/skelpo/Failable.git resolved at 0.3.0
Creating working copy for https://github.com/twostraws/Cgd.git
Working copy of https://github.com/twostraws/Cgd.git resolved at 0.2.0
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/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/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.5.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.1.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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.3.1
Creating working copy for https://github.com/skelpo/Countries.git
Working copy of https://github.com/skelpo/Countries.git resolved at 0.9.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.1
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.2
warning: 'cgd': ignoring declared target(s) 'Cgd' in the system package
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 gdlib
warning: couldn't find pc file for openssl
Building for debugging...
[0/13] Compiling CNIODarwin shim.c
[1/13] Compiling CNIOZlib empty.c
[2/13] Compiling CNIOLinux ifaddrs-android.c
[3/13] Compiling CBase32 base32.c
[4/13] Compiling CNIOLinux shim.c
[5/13] Compiling CNIOSHA1 c_nio_sha1.c
[6/13] Compiling CBcrypt blf.c
[6/13] Compiling CBcrypt bcrypt.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.
[8/13] Compiling CNIOOpenSSL shims.c
[8/13] Compiling c-atomics.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 error generated.
[8/13] Compiling CNIOOpenSSL helpers.c
[8/13] Compiling CNIOHTTPParser c_nio_http_parser.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2