The Swift Package Index logo.Swift Package Index

Build Information

Failed to build rest-client 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/fschwehn/vapor-rest-client.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/fschwehn/vapor-rest-client
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a123741 rename package
Cloned https://github.com/fschwehn/vapor-rest-client.git
Revision (git rev-parse @):
a1237412152a7da6550c58c2e7aa1823b62df224
SUCCESS checkout https://github.com/fschwehn/vapor-rest-client.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/fschwehn/vapor-rest-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/465] Write sources
[22/465] Compiling CNIOLinux shim.c
[23/465] Compiling CNIOExtrasZlib empty.c
[24/465] Compiling CNIOLinux ifaddrs-android.c
[25/465] Write swift-version--423B1241ED78D482.txt
[26/465] Compiling CURLParser urlparser.c
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sha1_step(ctxt)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_init(ctxt)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_pad(ctxt)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_loop(ctxt, input, len)
^
4 warnings generated.
[27/465] Compiling CNIOSHA1 c_nio_sha1.c
[28/465] Compiling CNIODarwin shim.c
[29/465] Compiling CNIOHTTPParser c_nio_http_parser.c
[30/465] Compiling p256.c
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/open-crypto/Sources/COpenCrypto/c_open_crypto.c:1:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/open-crypto/Sources/COpenCrypto/include/c_open_crypto.h:4:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[31/480] Compiling COpenCrypto c_open_crypto.c
[31/480] Compiling tls_record.cc
[31/480] Compiling CNIOBoringSSLShims shims.c
[31/480] Compiling curve25519.c
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/vapor/routing-kit.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetching https://github.com/vapor/console-kit.git from cache
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.26s)
Fetching https://github.com/vapor/async-kit.git from cache
Fetched https://github.com/vapor/routing-kit.git from cache (0.26s)
Fetching https://github.com/vapor/websocket-kit.git from cache
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.27s)
Fetching https://github.com/vapor/vapor.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.27s)
Fetched https://github.com/vapor/console-kit.git from cache (0.27s)
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetching https://github.com/apple/swift-metrics.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.27s)
Fetching https://github.com/swift-server/async-http-client.git from cache
Fetched https://github.com/apple/swift-metrics.git from cache (0.17s)
Fetching https://github.com/vapor/multipart-kit.git from cache
Fetched https://github.com/swift-server/async-http-client.git from cache (0.18s)
Fetching https://github.com/vapor/open-crypto.git from cache
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.18s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.24s)
Fetched https://github.com/vapor/async-kit.git from cache (0.25s)
Fetched https://github.com/vapor/vapor.git from cache (0.24s)
Computing version for https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/multipart-kit.git from cache (0.14s)
Fetched https://github.com/vapor/open-crypto.git from cache (0.15s)
Computed https://github.com/vapor/vapor.git at 4.0.0-beta.3.1 (0.34s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.0.0-beta.2.1 (0.38s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 1.2.0 (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.32s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.3.2 (0.34s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.9.0 (0.33s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.5.0 (0.33s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.12.0 (0.37s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.0.0-beta.3 (0.33s)
Computing version for https://github.com/vapor/open-crypto.git
Computed https://github.com/vapor/open-crypto.git at 4.0.0-beta.2 (0.32s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.0.0-beta.2 (0.34s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.0.0-beta.2 (0.33s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.0.0-beta.2 (0.36s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.0.1 (0.35s)
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.0.0-beta.3.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.3.2
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.12.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.0.0-beta.2
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.0.0-beta.2.1
Creating working copy for https://github.com/vapor/open-crypto.git
Working copy of https://github.com/vapor/open-crypto.git resolved at 4.0.0-beta.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.0.0-beta.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 2.5.0
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl@1.1
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/open-crypto/Sources/COpenCrypto/c_open_crypto.c:1:
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/open-crypto/Sources/COpenCrypto/include/c_open_crypto.h:4:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
[0/435] Compiling COpenCrypto c_open_crypto.c
[0/435] Compiling tls_method.cc
[0/435] Compiling tls_record.cc
[0/435] Compiling tls13_enc.cc
[0/435] Compiling tls13_client.cc
[0/435] Compiling curve25519.c
[0/435] Compiling CNIOBoringSSLShims shims.c
[0/435] Compiling tls13_server.cc
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl@1.1
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7