Build Information
Failed to build MailCore with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.25.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liveui/mailcore.git
Reference: 3.1.2
Initialized empty Git repository in $PWD/checkout/.git/
From https://github.com/liveui/mailcore
* tag 3.1.2 -> FETCH_HEAD
HEAD is now at 4371672 upgrading packages
Cloned https://github.com/liveui/mailcore.git
Revision (git rev-parse @):
43716728291958a4bbe278720c85aef13cb8c248
SUCCESS checkout https://github.com/liveui/mailcore.git at 3.1.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from $PWD/checkout/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
$PWD/checkout/.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.
[0/13] Compiling CNIOOpenSSL shims.c
[0/13] Compiling CNIOZlib empty.c
[0/13] Compiling CNIOHTTPParser c_nio_http_parser.c
In file included from $PWD/checkout/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
$PWD/checkout/.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>
^~~~~~~~~~~~~~~~
[0/13] Compiling CNIOOpenSSL helpers.c
[0/13] Compiling CNIOLinux shim.c
[0/13] Compiling CNIOLinux ifaddrs-android.c
[0/13] Compiling CNIOSHA1 c_nio_sha1.c
Fetching https://github.com/vapor/websocket.git from cache
Fetching https://github.com/LiveUI/VaporTestTools.git from cache
Fetching https://github.com/vapor/validation.git from cache
Fetched https://github.com/vapor/validation.git (0.21s)
Fetched https://github.com/LiveUI/VaporTestTools.git (0.22s)
Fetching https://github.com/IBM-Swift/BlueSSLService.git from cache
Fetching https://github.com/vapor-community/sendgrid-provider.git from cache
Fetched https://github.com/vapor/websocket.git (0.35s)
Fetching https://github.com/vapor/routing.git from cache
Fetched https://github.com/IBM-Swift/BlueSSLService.git (0.20s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/vapor-community/sendgrid-provider.git (0.21s)
Fetching https://github.com/vapor/url-encoded-form.git from cache
Fetched https://github.com/vapor/routing.git (0.21s)
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
Fetched https://github.com/vapor/url-encoded-form.git (0.16s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.18s)
Fetching https://github.com/IBM-Swift/Swift-SMTP.git from cache
Fetched https://github.com/IBM-Swift/BlueCryptor.git (0.17s)
Fetching https://github.com/vapor/service.git from cache
Fetched https://github.com/IBM-Swift/Swift-SMTP.git (0.17s)
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.20s)
Fetching https://github.com/vapor/template-kit.git from cache
Fetching https://github.com/vapor/multipart.git from cache
Fetched https://github.com/vapor/service.git (0.19s)
Fetching https://github.com/vapor/console.git from cache
Fetched https://github.com/vapor/template-kit.git (0.19s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/vapor/multipart.git (0.20s)
Fetching https://github.com/IBM-Swift/BlueSocket.git from cache
Fetched https://github.com/IBM-Swift/BlueSocket.git (0.19s)
Fetching https://github.com/IBM-Swift/LoggerAPI.git from cache
Fetched https://github.com/vapor/console.git (0.30s)
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetched https://github.com/IBM-Swift/LoggerAPI.git (0.18s)
Fetching https://github.com/vapor/vapor.git from cache
Fetched https://github.com/apple/swift-nio.git (0.67s)
Fetching https://github.com/vapor/database-kit.git from cache
Fetched https://github.com/vapor/database-kit.git (0.18s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/apple/swift-nio-ssl.git (0.58s)
Fetching https://github.com/vapor/crypto.git from cache
Fetched https://github.com/vapor/core.git (0.24s)
Fetching https://github.com/twof/VaporMailgunService.git from cache
Fetched https://github.com/vapor/crypto.git (0.22s)
Fetching https://github.com/vapor/http.git from cache
Fetched https://github.com/twof/VaporMailgunService.git (0.20s)
Fetched https://github.com/vapor/http.git (0.23s)
Fetched https://github.com/vapor/vapor.git (1.10s)
Computing version for https://github.com/LiveUI/VaporTestTools.git
Computed https://github.com/LiveUI/VaporTestTools.git at 0.1.7 (0.52s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.8.1 (0.49s)
Computing version for https://github.com/IBM-Swift/Swift-SMTP.git
Computed https://github.com/IBM-Swift/Swift-SMTP.git at 5.1.1 (0.59s)
Computing version for https://github.com/vapor-community/sendgrid-provider.git
Computed https://github.com/vapor-community/sendgrid-provider.git at 3.0.6 (0.50s)
Computing version for https://github.com/twof/VaporMailgunService.git
Computed https://github.com/twof/VaporMailgunService.git at 1.8.1 (0.51s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (1.01s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.31 (0.54s)
Computing version for https://github.com/IBM-Swift/BlueSSLService.git
Computed https://github.com/IBM-Swift/BlueSSLService.git at 1.0.49 (0.47s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.49 (0.49s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.46s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.51s)
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.60s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.46s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.44s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.57s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.48s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.48s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.57s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.44s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.50s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.46s)
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.49s)
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.44s)
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.43s)
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/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/LiveUI/VaporTestTools.git
Working copy of https://github.com/LiveUI/VaporTestTools.git resolved at 0.1.7
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/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-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/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.8.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/IBM-Swift/BlueSSLService.git
Working copy of https://github.com/IBM-Swift/BlueSSLService.git resolved at 1.0.49
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/IBM-Swift/BlueSocket.git
Working copy of https://github.com/IBM-Swift/BlueSocket.git resolved at 1.0.49
Creating working copy for https://github.com/twof/VaporMailgunService.git
Working copy of https://github.com/twof/VaporMailgunService.git resolved at 1.8.1
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.31
Creating working copy for https://github.com/vapor-community/sendgrid-provider.git
Working copy of https://github.com/vapor-community/sendgrid-provider.git resolved at 3.0.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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/IBM-Swift/Swift-SMTP.git
Working copy of https://github.com/IBM-Swift/Swift-SMTP.git resolved at 5.1.1
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.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 'loggerapi' is not used by any target
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.9 macosSpm