The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Crypto 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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/open-crypto.git
Reference: 3.4.1
Cloned https://github.com/vapor/open-crypto.git into spi-builder-workspace
SUCCESS checkout https://github.com/vapor/open-crypto.git at 3.4.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/apple/swift-nio-ssl-support.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.73s)
Fetched https://github.com/vapor/core.git (0.74s)
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.26s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.29s)
Fetching https://github.com/apple/swift-nio.git
[1/61558] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.57s)
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.17s)
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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
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-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: 'spi-builder-workspace': dependency 'swift-nio-ssl-support' is not used by any target
warning: couldn't find pc file for openssl
Building for debugging...
[0/9] Compiling CNIOLinux ifaddrs-android.c
In file included from /host/spi-builder-workspace/Sources/CCryptoOpenSSL/shim.c:1:
/host/spi-builder-workspace/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/9] Compiling CCryptoOpenSSL shim.c
[1/9] Compiling c-atomics.c
[1/9] Compiling CNIODarwin shim.c
[1/9] Compiling CNIOLinux shim.c
[1/9] Compiling CBcrypt blf.c
[1/9] Compiling CNIOSHA1 c_nio_sha1.c
[1/9] Compiling CBcrypt bcrypt.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 2