Build Information
Failed to build SwiftBoxMetricsStatsD 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/allegro/swiftbox-metrics-statsd.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/allegro/swiftbox-metrics-statsd
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9469b15 Move code to new repository
Cloned https://github.com/allegro/swiftbox-metrics-statsd.git
Revision (git rev-parse @):
9469b15546017392c33dae93904ef901607f3719
SUCCESS checkout https://github.com/allegro/swiftbox-metrics-statsd.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/allegro/swiftbox-metrics-statsd.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/50] Compiling CNIOLinux shim.c
[1/50] Compiling CNIOLinux ifaddrs-android.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/shim.c:1:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h:4:10: fatal error: 'openssl/conf.h' file not found
4 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[2/50] Compiling CCryptoOpenSSL shim.c
[2/50] Write sources
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.
[2/50] Compiling CNIOOpenSSL shims.c
[2/50] Compiling CBcrypt blf.c
[2/50] Compiling CBcrypt bcrypt.c
[2/50] Compiling c-atomics.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>
| ^~~~~~~~~~~~~~~~
[2/50] Compiling CNIOOpenSSL helpers.c
[2/50] Compiling CNIODarwin shim.c
[2/50] Compiling CNIOHTTPParser c_nio_http_parser.c
[2/50] Write swift-version-6F35C1178C84523A.txt
Fetching https://github.com/allegro/swiftbox-logging.git
Fetching https://github.com/apple/swift-metrics.git
[1/29] Fetching swiftbox-logging
[30/2057] Fetching swiftbox-logging, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (1.08s)
Fetched https://github.com/allegro/swiftbox-logging.git from cache (1.08s)
Computing version for https://github.com/allegro/swiftbox-logging.git
Computed https://github.com/allegro/swiftbox-logging.git at 1.0.0 (0.64s)
Fetching https://github.com/vapor/vapor.git
[1/68672] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.06s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 1.2.1 (0.68s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (2.28s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/multipart.git
[1/919] Fetching service
[47/1498] Fetching service, validation
[65/2780] Fetching service, validation, template-kit
[610/23470] Fetching service, validation, template-kit, routing
[611/25943] Fetching service, validation, template-kit, routing, websocket
[686/27788] Fetching service, validation, template-kit, routing, websocket, multipart
[784/28169] Fetching service, validation, template-kit, routing, websocket, multipart, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git from cache (1.08s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/websocket.git from cache (1.08s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/validation.git from cache (1.08s)
Fetching https://github.com/vapor/crypto.git
[6838/24736] Fetching service, template-kit, routing, multipart
[23391/25917] Fetching service, template-kit, routing, multipart, database-kit
[23415/28703] Fetching service, template-kit, routing, multipart, database-kit, crypto
[23744/54170] Fetching service, template-kit, routing, multipart, database-kit, crypto, http
Fetched https://github.com/vapor/service.git from cache (2.74s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/multipart.git from cache (2.74s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/template-kit.git from cache (2.74s)
Fetched https://github.com/vapor/routing.git from cache (2.74s)
Fetched https://github.com/vapor/database-kit.git from cache (1.82s)
Fetched https://github.com/vapor/http.git from cache (1.82s)
Fetched https://github.com/vapor/crypto.git from cache (1.82s)
[1/20143] Fetching core
[2/25504] Fetching core, console
Fetched https://github.com/vapor/core.git from cache (1.58s)
Fetched https://github.com/vapor/console.git from cache (1.58s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.65s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/65528] Fetching swift-nio
[28834/77796] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio.git from cache (5.96s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.96s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.66s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.68s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.61s)
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.64s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.68s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.64s)
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.65s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.62s)
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.64s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.65s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.69s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.64s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.68s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.64s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.66s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.66s)
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/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.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/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/allegro/swiftbox-logging.git
Working copy of https://github.com/allegro/swiftbox-logging.git resolved at 1.0.0
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.1
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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
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/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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