The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Nats with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hjuraev/nats-swift.git
Reference: 2.0.9
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/hjuraev/nats-swift
 * tag               2.0.9      -> FETCH_HEAD
HEAD is now at 3f3bbe3 fix
Cloned https://github.com/hjuraev/nats-swift.git into spi-builder-workspace
3f3bbe35f0403d82cb1bb62afae1791a4b5d2269
SUCCESS checkout https://github.com/hjuraev/nats-swift.git at 2.0.9
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.2.app" xcrun swift build --arch arm64
Fetching https://github.com/vapor/vapor.git from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetched https://github.com/apple/swift-protobuf.git (0.67s)
Fetched https://github.com/vapor/vapor.git (0.77s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.64s)
Fetching https://github.com/vapor/websocket.git from cache
Fetching https://github.com/vapor/validation.git from cache
Fetching https://github.com/vapor/url-encoded-form.git from cache
Fetched https://github.com/vapor/url-encoded-form.git (0.19s)
Fetched https://github.com/vapor/validation.git (0.19s)
Fetching https://github.com/vapor/template-kit.git from cache
Fetching https://github.com/vapor/service.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/vapor/template-kit.git (0.17s)
Fetching https://github.com/vapor/multipart.git from cache
Fetched https://github.com/vapor/service.git (0.17s)
Fetching https://github.com/vapor/http.git from cache
Fetched https://github.com/vapor/multipart.git (0.20s)
Fetching https://github.com/vapor/database-kit.git from cache
Fetched https://github.com/vapor/http.git (0.21s)
Fetching https://github.com/vapor/crypto.git from cache
Fetched https://github.com/vapor/routing.git (0.22s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/crypto.git (0.18s)
Fetching https://github.com/vapor/console.git from cache
Fetched https://github.com/vapor/database-kit.git (0.21s)
Fetched https://github.com/vapor/core.git (0.20s)
Fetched https://github.com/vapor/console.git (0.26s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.56s)
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 (0.57s)
Fetched https://github.com/apple/swift-nio.git (1.44s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.70s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.55s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.22s)
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.61s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.56s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.53s)
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.54s)
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.24s)
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.50s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.55s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.53s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.53s)
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.40s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.50s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.49s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.46s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.22.1 (0.61s)
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/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-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/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/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.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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.22.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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.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: 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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/15] Compiling CNIOZlib empty.c
[2/15] Compiling CNIOLinux ifaddrs-android.c
[2/15] Compiling CNIOLinux shim.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/builder/builds/TDmZkXJm/3/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.
[4/15] Compiling CNIOOpenSSL shims.c
[4/15] Compiling CCryptoOpenSSL shim.c
[4/15] Compiling c-atomics.c
[4/15] Compiling CNIODarwin shim.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/builder/builds/TDmZkXJm/3/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>
         ^~~~~~~~~~~~~~~~
[4/15] Compiling CNIOOpenSSL helpers.c
[4/15] Compiling CNIOSHA1 c_nio_sha1.c
[4/15] Compiling CNIOHTTPParser c_nio_http_parser.c
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/vapor/vapor.git from cache
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetched https://github.com/apple/swift-protobuf.git (0.67s)
Fetched https://github.com/vapor/vapor.git (0.77s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.64s)
Fetching https://github.com/vapor/websocket.git from cache
Fetching https://github.com/vapor/validation.git from cache
Fetching https://github.com/vapor/url-encoded-form.git from cache
Fetched https://github.com/vapor/url-encoded-form.git (0.19s)
Fetched https://github.com/vapor/validation.git (0.19s)
Fetching https://github.com/vapor/template-kit.git from cache
Fetching https://github.com/vapor/service.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/vapor/template-kit.git (0.17s)
Fetching https://github.com/vapor/multipart.git from cache
Fetched https://github.com/vapor/service.git (0.17s)
Fetching https://github.com/vapor/http.git from cache
Fetched https://github.com/vapor/multipart.git (0.20s)
Fetching https://github.com/vapor/database-kit.git from cache
Fetched https://github.com/vapor/http.git (0.21s)
Fetching https://github.com/vapor/crypto.git from cache
Fetched https://github.com/vapor/routing.git (0.22s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/crypto.git (0.18s)
Fetching https://github.com/vapor/console.git from cache
Fetched https://github.com/vapor/database-kit.git (0.21s)
Fetched https://github.com/vapor/core.git (0.20s)
Fetched https://github.com/vapor/console.git (0.26s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.56s)
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 (0.57s)
Fetched https://github.com/apple/swift-nio.git (1.44s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.70s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.55s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.22s)
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.61s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.56s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.53s)
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.54s)
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.24s)
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.50s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.55s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.53s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.53s)
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.40s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.50s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.49s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.46s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.22.1 (0.61s)
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/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-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/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/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.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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.22.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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.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: 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"
Output: "[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/15] Compiling CNIOZlib empty.c
[2/15] Compiling CNIOLinux ifaddrs-android.c
[2/15] Compiling CNIOLinux shim.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/builder/builds/TDmZkXJm/3/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.
[4/15] Compiling CNIOOpenSSL shims.c
[4/15] Compiling CCryptoOpenSSL shim.c
[4/15] Compiling c-atomics.c
[4/15] Compiling CNIODarwin shim.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/builder/builds/TDmZkXJm/3/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>
         ^~~~~~~~~~~~~~~~
[4/15] Compiling CNIOOpenSSL helpers.c
[4/15] Compiling CNIOSHA1 c_nio_sha1.c
[4/15] Compiling CNIOHTTPParser c_nio_http_parser.c"
Retrying in 0.0 seconds ...
Building ... (attempt 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
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/builder/builds/TDmZkXJm/3/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/12] Compiling CNIOOpenSSL shims.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/builder/builds/TDmZkXJm/3/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/12] Compiling CNIOOpenSSL helpers.c
[1/12] Compiling c-atomics.c
[1/12] Compiling CCryptoOpenSSL shim.c
[1/12] Compiling CNIOHTTPParser c_nio_http_parser.c
[1/12] Compiling CNIOSHA1 c_nio_sha1.c
[1/12] Compiling CNIODarwin shim.c
ShellOut encountered an error
Status code: 1
Message: "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"
Output: "[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/builder/builds/TDmZkXJm/3/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/12] Compiling CNIOOpenSSL shims.c
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/builder/builds/TDmZkXJm/3/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/12] Compiling CNIOOpenSSL helpers.c
[1/12] Compiling c-atomics.c
[1/12] Compiling CCryptoOpenSSL shim.c
[1/12] Compiling CNIOHTTPParser c_nio_http_parser.c
[1/12] Compiling CNIOSHA1 c_nio_sha1.c
[1/12] Compiling CNIODarwin shim.c"
BUILD FAILURE 5.9 macosSpm