Build Information
Failed to build Elasticsearch with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryangrimm/vaporelasticsearch.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryangrimm/vaporelasticsearch
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fef7dc4 Merge pull request #18 from docterd/multi_match_fuzzyness
Cloned https://github.com/ryangrimm/vaporelasticsearch.git
Revision (git rev-parse @):
fef7dc43bfb419e51f59a8911125c5d90942e8c6
SUCCESS checkout https://github.com/ryangrimm/vaporelasticsearch.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/ryangrimm/vaporelasticsearch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/32] Write sources
[16/32] Write swift-version-6F35C1178C84523A.txt
[17/32] Compiling CNIOZlib empty.c
[18/32] Compiling CNIOLinux ifaddrs-android.c
[19/32] Compiling CNIOLinux shim.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/admin/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
17 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[20/32] Compiling CNIOOpenSSL shims.c
[20/32] Compiling CCryptoOpenSSL shim.c
[20/32] Compiling CNIOHTTPParser c_nio_http_parser.c
[20/32] Compiling CNIOSHA1 c_nio_sha1.c
[20/32] Compiling c-atomics.c
[20/32] Compiling CNIODarwin shim.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/admin/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
17 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
[20/32] Compiling CNIOOpenSSL helpers.c
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[20/3705] Fetching service, crypto
[48/23848] Fetching service, crypto, core
[205/26321] Fetching service, crypto, core, websocket
[1016/51788] Fetching service, crypto, core, websocket, http
[30699/120460] Fetching service, crypto, core, websocket, http, vapor
[33501/185980] Fetching service, crypto, core, websocket, http, vapor, swift-nio
Fetched https://github.com/vapor/core.git from cache (1.74s)
Fetching https://github.com/vapor/multipart.git
[45254/165837] Fetching service, crypto, websocket, http, vapor, swift-nio
[122533/167682] Fetching service, crypto, websocket, http, vapor, swift-nio, multipart
Fetched https://github.com/vapor/websocket.git from cache (3.07s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[134379/165209] Fetching service, crypto, http, vapor, swift-nio, multipart
[136359/165225] Fetching service, crypto, http, vapor, swift-nio, multipart, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.62s)
[137013/165209] Fetching service, crypto, http, vapor, swift-nio, multipart
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/multipart.git from cache (2.27s)
Fetching https://github.com/vapor/validation.git
[137812/163364] Fetching service, crypto, http, vapor, swift-nio
[137813/164646] Fetching service, crypto, http, vapor, swift-nio, template-kit
[141060/165225] Fetching service, crypto, http, vapor, swift-nio, template-kit, validation
Fetched https://github.com/vapor/template-kit.git from cache (0.96s)
Fetching https://github.com/apple/swift-nio-ssl.git
[140456/163943] Fetching service, crypto, http, vapor, swift-nio, validation
Fetched https://github.com/vapor/validation.git from cache (0.80s)
Fetching https://github.com/vapor/url-encoded-form.git
[141743/163364] Fetching service, crypto, http, vapor, swift-nio
[145972/163745] Fetching service, crypto, http, vapor, swift-nio, url-encoded-form
[146445/176013] Fetching service, crypto, http, vapor, swift-nio, url-encoded-form, swift-nio-ssl
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.82s)
Fetching https://github.com/vapor/database-kit.git
[146698/175632] Fetching service, crypto, http, vapor, swift-nio, swift-nio-ssl
[155289/176813] Fetching service, crypto, http, vapor, swift-nio, swift-nio-ssl, database-kit
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.86s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[159593/164545] Fetching service, crypto, http, vapor, swift-nio, database-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.94s)
Fetching https://github.com/vapor/routing.git
[162709/163364] Fetching service, crypto, http, vapor, swift-nio
[163365/163379] Fetching service, crypto, http, vapor, swift-nio, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.69s)
Fetching https://github.com/vapor/console.git
[163365/184054] Fetching service, crypto, http, vapor, swift-nio, routing
Fetched https://github.com/vapor/service.git from cache (7.40s)
Fetched https://github.com/vapor/http.git from cache (7.40s)
Fetched https://github.com/vapor/crypto.git from cache (7.40s)
Fetched https://github.com/apple/swift-nio.git from cache (7.40s)
Fetched https://github.com/vapor/vapor.git from cache (7.40s)
Computing version for https://github.com/vapor/vapor.git
[621/20690] Fetching routing
[20691/26051] Fetching routing, console
Fetched https://github.com/vapor/routing.git from cache (1.52s)
[805/5361] Fetching console
Computed https://github.com/vapor/vapor.git at 3.1.0 (0.72s)
Fetched https://github.com/vapor/console.git from cache (1.10s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.1.6 (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.12.0 (0.71s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.1 (0.68s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.3.0 (0.71s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.4 (0.70s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.0 (0.67s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.69s)
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.67s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.1.1 (0.68s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.69s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.68s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.2 (0.66s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.3.2 (0.67s)
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.66s)
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.66s)
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/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/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/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.1.0
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/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/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.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.1
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.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.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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.3.2
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 6.0 macosSpm