Build Information
Failed to build nio-h2, reference master (504a69
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 22:36:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moritzsternemann/nio-h2.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/moritzsternemann/nio-h2
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 504a69e Initial commit
Cloned https://github.com/moritzsternemann/nio-h2.git
Revision (git rev-parse @):
504a69e2b76a6173ceba63f817551712dcd55ac2
SUCCESS checkout https://github.com/moritzsternemann/nio-h2.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/moritzsternemann/nio-h2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/24] Write sources
[2/24] Write nio-h2-example-entitlement.plist
[2/24] Write sources
[10/24] Write swift-version-1EA4D86E10B52AF.txt
[11/24] Compiling CNIOZlib empty.c
[11/24] Compiling CNIOLinux shim.c
[13/24] Compiling CNIONghttp2 empty.c
[13/24] Compiling CNIOLinux ifaddrs-android.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.
[15/24] Compiling CNIOOpenSSL shims.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>
| ^~~~~~~~~~~~~~~~
[15/24] Compiling CNIOOpenSSL helpers.c
[15/24] Compiling CNIODarwin shim.c
[15/24] Compiling CNIOHTTPParser c_nio_http_parser.c
[15/24] Compiling CNIOSHA1 c_nio_sha1.c
[15/24] Compiling c-atomics.c
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl
[1/11532] Fetching swift-nio-http2
[117/26422] Fetching swift-nio-http2, swift-nio-ssl
[4028/102749] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio from cache (3.59s)
Fetched https://github.com/apple/swift-nio-http2 from cache (3.60s)
Fetched https://github.com/apple/swift-nio-ssl from cache (3.59s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (5.43s)
Fetching https://github.com/apple/swift-nio-nghttp2-support.git
[1/10] Fetching swift-nio-nghttp2-support
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (0.56s)
Computing version for https://github.com/apple/swift-nio-nghttp2-support.git
Computed https://github.com/apple/swift-nio-nghttp2-support.git at 1.0.0 (1.05s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.4.0 (0.48s)
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.56s)
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 (1.06s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.14.4 (0.49s)
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.60s)
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 (1.11s)
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/apple/swift-nio-http2
Working copy of https://github.com/apple/swift-nio-http2 resolved at 0.1.0
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-nghttp2-support.git
Working copy of https://github.com/apple/swift-nio-nghttp2-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 1.14.4
warning: 'swift-nio-nghttp2-support': ignoring declared target(s) 'swift-nio-nghttp2-support' in the system package
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
warning: you may be able to install libnghttp2 using your system-packager:
brew install nghttp2
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
brew install libressl
warning: you may be able to install libnghttp2 using your system-packager:
brew install nghttp2
BUILD FAILURE 6.2 macosSpm