The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Braintree with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/braintree_swift.git
Reference: master
Cloned https://github.com/mihaelisaev/braintree_swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/mihaelisaev/braintree_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-4606859-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/apple/swift-nio.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/1667] Fetching websocket
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.20s)
[1668/22240] Fetching websocket, routing
[11544/82313] Fetching websocket, routing, swift-nio
Fetched https://github.com/vapor/routing.git (0.73s)
Fetching https://github.com/vapor/console.git
[15484/61740] Fetching websocket, swift-nio
[17287/66491] Fetching websocket, swift-nio, console
Fetched https://github.com/vapor/console.git (0.29s)
Fetching https://github.com/vapor/vapor.git
[20290/61740] Fetching websocket, swift-nio
[26899/126292] Fetching websocket, swift-nio, vapor
Fetched https://github.com/vapor/vapor.git (2.03s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.29s)
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git (0.39s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2736] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git (1.06s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/vapor/websocket.git (5.01s)
Fetching https://github.com/vapor/validation.git
Fetched https://github.com/apple/swift-nio.git (5.11s)
Fetching https://github.com/vapor/database-kit.git
[1/579] Fetching validation
[580/960] Fetching validation, url-encoded-form
Fetched https://github.com/vapor/validation.git (0.27s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/url-encoded-form.git (0.28s)
Fetching https://github.com/vapor/crypto.git
[1/1181] Fetching database-kit
Fetched https://github.com/vapor/database-kit.git (0.23s)
Fetching https://github.com/vapor/multipart.git
[1/2786] Fetching crypto
[2175/22929] Fetching crypto, core
[8830/24560] Fetching crypto, core, multipart
[6092/21774] Fetching core, multipart
Fetched https://github.com/vapor/crypto.git (0.27s)
Fetching https://github.com/vapor/template-kit.git
[16823/23056] Fetching core, multipart, template-kit
Fetched https://github.com/vapor/template-kit.git (0.24s)
Fetching https://github.com/apple/swift-nio-ssl.git
[18031/21774] Fetching core, multipart
Fetched https://github.com/vapor/core.git (0.81s)
Fetching https://github.com/MihaelIsaev/XMLParsing.git
[507/12933] Fetching multipart, swift-nio-ssl
[847/13273] Fetching multipart, swift-nio-ssl, xmlparsing
Fetched https://github.com/MihaelIsaev/XMLParsing.git (0.23s)
Fetching https://github.com/vapor/http.git
[1298/12933] Fetching multipart, swift-nio-ssl
[8414/38400] Fetching multipart, swift-nio-ssl, http
Fetched https://github.com/vapor/multipart.git (1.47s)
[21801/36769] Fetching swift-nio-ssl, http
Fetched https://github.com/apple/swift-nio-ssl.git (1.60s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Fetched https://github.com/vapor/http.git (1.18s)
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.2 (0.90s)
Computing version for https://github.com/MihaelIsaev/XMLParsing.git
Computed https://github.com/MihaelIsaev/XMLParsing.git at 0.1.0 (2.71s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.1.0 (0.37s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.2 (0.28s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.0 (0.54s)
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.32s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.0 (0.26s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.26s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.26s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.2 (0.26s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.1.5 (0.27s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.1 (0.26s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.0 (0.28s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.4 (0.28s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.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.3.1 (0.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.9.5 (0.33s)
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.25s)
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)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.2
Creating working copy for https://github.com/MihaelIsaev/XMLParsing.git
Working copy of https://github.com/MihaelIsaev/XMLParsing.git resolved at 0.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.1.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.0.2
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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.3.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.9.5
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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.2
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.3.1
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.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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.0
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.4.4
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.1.5
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/12] Compiling CNIOZlib empty.c
[1/12] 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.
[2/12] Compiling CNIOOpenSSL shims.c
[2/12] Compiling c-atomics.c
[2/12] Compiling CNIOSHA1 c_nio_sha1.c
[2/12] Compiling CCryptoOpenSSL shim.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>
         ^~~~~~~~~~~~~~~~
[2/12] Compiling CNIOOpenSSL helpers.c
[2/12] Compiling CNIOHTTPParser c_nio_http_parser.c
[2/12] Compiling CNIOLinux shim.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1