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-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/mihaelisaev/braintree_swift.git
Reference: 0.2.1
Cloned https://github.com/mihaelisaev/braintree_swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/mihaelisaev/braintree_swift.git at 0.2.1
========================================
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/vapor/database-kit.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/crypto.git
[1/1181] Fetching database-kit
[297/3967] Fetching database-kit, crypto
[1457/4546] Fetching database-kit, crypto, validation
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/vapor/database-kit.git (0.55s)
Fetched https://github.com/vapor/validation.git (0.55s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/crypto.git (0.55s)
Fetching https://github.com/vapor/websocket.git
[1/20573] Fetching routing
[2/22240] Fetching routing, websocket
Fetched https://github.com/vapor/websocket.git (0.49s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[7407/20573] Fetching routing
[12962/85125] Fetching routing, vapor
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.27s)
Fetching https://github.com/vapor/core.git
[33485/105268] Fetching routing, vapor, core
Fetched https://github.com/vapor/core.git (1.17s)
Fetching https://github.com/MihaelIsaev/XMLParsing.git
[4/340] Fetching xmlparsing
Fetched https://github.com/MihaelIsaev/XMLParsing.git (0.28s)
Fetching https://github.com/vapor/service.git
Fetched https://github.com/vapor/routing.git (2.42s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/vapor.git (2.46s)
Fetching https://github.com/vapor/template-kit.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git (0.35s)
Fetching https://github.com/vapor/multipart.git
[1/1282] Fetching template-kit
Fetched https://github.com/vapor/template-kit.git (0.27s)
Fetching https://github.com/vapor/url-encoded-form.git
[1/25467] Fetching http
[1020/27098] Fetching http, multipart
[20881/27479] Fetching http, multipart, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.28s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[21135/27098] Fetching http, multipart
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.27s)
Fetching https://github.com/vapor/console.git
[25974/31849] Fetching http, multipart, console
Fetched https://github.com/vapor/console.git (0.54s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/http.git (1.41s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[522/1631] Fetching multipart
[1632/4367] Fetching multipart, swxmlhash
[4368/15669] Fetching multipart, swxmlhash, swift-nio-ssl
Fetched https://github.com/drmohundro/SWXMLHash.git (0.66s)
[9995/12933] Fetching multipart, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Computing version for https://github.com/drmohundro/SWXMLHash.git
Fetched https://github.com/vapor/multipart.git (1.97s)
[11189/11302] Fetching swift-nio-ssl
[11303/71375] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (1.20s)
[1202/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.70s)
Computed https://github.com/drmohundro/SWXMLHash.git at 4.7.2 (6.47s)
Computing version for https://github.com/MihaelIsaev/XMLParsing.git
Computed https://github.com/MihaelIsaev/XMLParsing.git at 0.1.0 (0.34s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.1.0 (0.35s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.2 (0.31s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.0 (0.30s)
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.29s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.0 (0.31s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.29s)
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.29s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.1.5 (0.31s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.1 (0.31s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.0 (0.32s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.4 (0.33s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.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.3.1 (0.30s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.9.5 (0.39s)
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.28s)
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)
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/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/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/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/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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.1.5
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.7.2
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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.0
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/console.git
Working copy of https://github.com/vapor/console.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-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/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.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.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/12] Compiling CNIOZlib empty.c
[1/12] 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.
[2/12] Compiling CCryptoOpenSSL shim.c
[2/12] Compiling CNIOSHA1 c_nio_sha1.c
[2/12] Compiling CNIOOpenSSL shims.c
[2/12] Compiling CNIOLinux shim.c
[2/12] Compiling c-atomics.c
[2/12] Compiling CBcrypt blf.c
[2/12] Compiling CBcrypt bcrypt.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2