The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ElasticsearchVapor with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dmonagle/elasticsearch-vapor.git
Reference: 0.6.4
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/dmonagle/elasticsearch-vapor
 * tag               0.6.4      -> FETCH_HEAD
HEAD is now at e721428 Fixed issue with missing ID on bulk delete
Cloned https://github.com/dmonagle/elasticsearch-vapor.git
Revision (git rev-parse @):
e721428168d10d33c056f3c924df148de5689430
SUCCESS checkout https://github.com/dmonagle/elasticsearch-vapor.git at 0.6.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/dmonagle/elasticsearch-vapor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/29] Write sources
[17/29] Compiling CNIOZlib empty.c
[18/29] Compiling CNIOLinux shim.c
[19/29] Compiling CNIOLinux ifaddrs-android.c
[20/29] Write sources
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/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.
[22/29] Compiling CNIOOpenSSL shims.c
[22/29] Compiling c-atomics.c
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/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>
         ^~~~~~~~~~~~~~~~
[22/29] Compiling CNIOOpenSSL helpers.c
[22/29] Compiling CNIOHTTPParser c_nio_http_parser.c
[22/29] Compiling CNIODarwin shim.c
[22/29] Compiling CNIOSHA1 c_nio_sha1.c
[22/29] Write swift-version--423B1241ED78D482.txt
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetching https://github.com/vapor/database-kit from cache
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git from cache
Fetching https://github.com/vapor/http from cache
Fetched https://github.com/vapor/http from cache (0.33s)
Fetched https://github.com/vapor/database-kit from cache (0.34s)
Fetched https://github.com/apple/swift-protobuf.git from cache (0.36s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.36s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (0.32s)
Computing version for https://github.com/vapor/database-kit
Computed https://github.com/vapor/database-kit at 1.3.3 (0.34s)
Fetching https://github.com/vapor/service.git from cache
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/core.git from cache (0.16s)
Fetched https://github.com/vapor/service.git from cache (0.16s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.01s)
Computing version for https://github.com/vapor/http
Computed https://github.com/vapor/http at 3.4.0 (0.32s)
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.25s)
Fetched https://github.com/apple/swift-nio.git from cache (0.26s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.02s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (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.01s)
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.02s)
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.15s)
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.02s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.02s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.25.2 (0.02s)
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: /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/http-b2af9908 is not valid git repository for 'https://github.com/vapor/http', will fetch again.
Fetching https://github.com/vapor/http from cache
Fetched https://github.com/vapor/http from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/http-b2af9908 is not valid git repository for 'https://github.com/vapor/http', will fetch again.
Fetching https://github.com/vapor/http from cache
Fetched https://github.com/vapor/http from cache (0.01s)
Creating working copy for https://github.com/vapor/http
Working copy of https://github.com/vapor/http resolved at 3.4.0
warning: /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/database-kit-13d467f2 is not valid git repository for 'https://github.com/vapor/database-kit', will fetch again.
Fetching https://github.com/vapor/database-kit from cache
Fetched https://github.com/vapor/database-kit from cache (0.00s)
warning: /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/database-kit-13d467f2 is not valid git repository for 'https://github.com/vapor/database-kit', will fetch again.
Fetching https://github.com/vapor/database-kit from cache
Fetched https://github.com/vapor/database-kit from cache (0.01s)
Creating working copy for https://github.com/vapor/database-kit
Working copy of https://github.com/vapor/database-kit resolved at 1.3.3
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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.25.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/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.
[1/8] Compiling CNIOOpenSSL shims.c
[1/8] Compiling CNIOSHA1 c_nio_sha1.c
[1/8] Compiling CNIODarwin shim.c
[1/8] Compiling CNIOHTTPParser c_nio_http_parser.c
[1/8] Compiling c-atomics.c
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/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/8] Compiling CNIOOpenSSL helpers.c
[1/8] Write swift-version--423B1241ED78D482.txt
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: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
    brew install libressl
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7