Build Information
Failed to build nio-h2, reference 0.1.0 (504a69
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 21:16:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moritzsternemann/nio-h2.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/moritzsternemann/nio-h2
* tag 0.1.0 -> FETCH_HEAD
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 0.1.0
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-nio-http2
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio-nghttp2-support.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/apple/swift-nio-ssl
[1/10] Fetching swift-nio-nghttp2-support
[11/25] Fetching swift-nio-nghttp2-support, swift-nio-zlib-support
[26/41] Fetching swift-nio-nghttp2-support, swift-nio-zlib-support, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.68s)
[1/11152] Fetching swift-nio-http2
[336/24461] Fetching swift-nio-http2, swift-nio-ssl
[4142/96396] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (4.68s)
Fetched https://github.com/apple/swift-nio-http2 from cache (4.68s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.68s)
Fetched https://github.com/apple/swift-nio-ssl from cache (4.68s)
Fetched https://github.com/apple/swift-nio from cache (4.68s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (2.51s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.3.2 (0.54s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.11.0 (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 (0.54s)
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.53s)
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.54s)
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-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 1.3.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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 1.11.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "nio-h2",
"name": "nio-h2",
"url": "https://github.com/moritzsternemann/nio-h2.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/nio-h2",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-ssl",
"name": "swift-nio-ssl",
"url": "https://github.com/apple/swift-nio-ssl",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-ssl-support",
"name": "swift-nio-ssl-support",
"url": "https://github.com/apple/swift-nio-ssl-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl-support",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-http2",
"name": "swift-nio-http2",
"url": "https://github.com/apple/swift-nio-http2",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-http2",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-nghttp2-support",
"name": "swift-nio-nghttp2-support",
"url": "https://github.com/apple/swift-nio-nghttp2-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-nghttp2-support",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/moritzsternemann/nio-h2.git
[1/31] Fetching nio-h2
Fetched https://github.com/moritzsternemann/nio-h2.git from cache (0.63s)
Fetching https://github.com/apple/swift-nio-http2 from cache
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/apple/swift-nio-ssl from cache
Fetched https://github.com/apple/swift-nio-http2 from cache (0.56s)
Fetched https://github.com/apple/swift-nio-ssl from cache (0.76s)
Fetched https://github.com/apple/swift-nio from cache (0.76s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (0.02s)
Fetching https://github.com/apple/swift-nio-nghttp2-support.git from cache
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (0.47s)
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 (0.02s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl 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 from cache (0.46s)
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.02s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.14.4 (0.02s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.48s)
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.02s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 1.14.4
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-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-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/moritzsternemann/nio-h2.git
Working copy of https://github.com/moritzsternemann/nio-h2.git resolved at 0.1.0 (504a69e)
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-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
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
Found 3 product dependencies
- swift-nio
- swift-nio-ssl
- swift-nio-http2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/moritzsternemann/nio-h2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/24] Write sources
[3/24] Write nio-h2-example-entitlement.plist
[3/24] Write sources
[10/24] Write swift-version--7754E27361AE5C74.txt
[11/24] Compiling CNIOLinux shim.c
[12/24] Compiling CNIOLinux ifaddrs-android.c
[13/24] Compiling CNIOZlib empty.c
[13/24] Compiling CNIONghttp2 empty.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
[15/24] Compiling c-atomics.c
[15/24] Compiling CNIODarwin shim.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 CNIOHTTPParser c_nio_http_parser.c
[15/24] Compiling CNIOSHA1 c_nio_sha1.c
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
BUILD FAILURE 6.0 macosSpm