Build Information
Failed to build nio-h2, reference 0.1.0 (504a69
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 21:24:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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-zlib-support.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/apple/swift-nio-nghttp2-support.git
Fetching https://github.com/apple/swift-nio-http2 from cache
Fetching https://github.com/apple/swift-nio-ssl from cache
[1/15] Fetching swift-nio-zlib-support
[16/31] Fetching swift-nio-zlib-support, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.58s)
Fetched https://github.com/apple/swift-nio-http2 from cache (0.58s)
[1/10] Fetching swift-nio-nghttp2-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.61s)
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (0.92s)
Fetched https://github.com/apple/swift-nio-ssl from cache (0.92s)
Fetched https://github.com/apple/swift-nio from cache (0.92s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (1.71s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.3.2 (0.61s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.11.0 (0.62s)
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.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.59s)
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.58s)
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/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-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-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
Working copy of https://github.com/apple/swift-nio resolved at 1.11.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.65s)
Fetching https://github.com/apple/swift-nio-http2 from cache
Fetching https://github.com/apple/swift-nio-ssl from cache
Fetching https://github.com/apple/swift-nio from cache
Fetched https://github.com/apple/swift-nio-http2 from cache (0.81s)
Fetched https://github.com/apple/swift-nio-ssl from cache (0.82s)
Fetched https://github.com/apple/swift-nio from cache (0.82s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (0.87s)
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.52s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.4.0 (0.53s)
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.47s)
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
Computed https://github.com/apple/swift-nio at 1.14.4 (0.03s)
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.51s)
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.57s)
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-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
Working copy of https://github.com/apple/swift-nio resolved at 1.14.4
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-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-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-http2
Working copy of https://github.com/apple/swift-nio-http2 resolved at 0.1.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.1
Building package at path: $PWD
https://github.com/moritzsternemann/nio-h2.git
https://github.com/moritzsternemann/nio-h2.git
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl"
},
{
"identity" : "swift-nio-http2",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-http2"
}
],
"manifest_display_name" : "nio-h2",
"name" : "nio-h2",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "nio-h2-example",
"targets" : [
"NIOH2Example"
],
"type" : {
"executable" : null
}
},
{
"name" : "NIOH2",
"targets" : [
"NIOH2"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NIOH2Example",
"module_type" : "SwiftTarget",
"name" : "NIOH2Example",
"path" : "Sources/NIOH2Example",
"product_memberships" : [
"nio-h2-example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"NIOH2"
],
"type" : "executable"
},
{
"c99name" : "NIOH2",
"module_type" : "SwiftTarget",
"name" : "NIOH2",
"path" : "Sources/NIOH2",
"product_dependencies" : [
"NIO",
"NIOOpenSSL",
"NIOHTTP1",
"NIOHTTP2"
],
"product_memberships" : [
"nio-h2-example",
"NIOH2"
],
"sources" : [
"ChannelHandlers/HTTP2ClientRequestSerializer.swift",
"ChannelHandlers/HTTP2ClientResponseParser.swift",
"ChannelHandlers/HTTP2StreamChannelCreator.swift",
"ChannelHandlers/QueueHandler.swift",
"Extensions/EventLoopFuture+DoCatch.swift",
"Extensions/EventLoopFuture+FutureType.swift",
"Extensions/EventLoopFuture+Map.swift",
"Extensions/EventLoopGroup.swift",
"Extensions/HTTPHeaders.swift",
"Extensions/URL+HTTP.swift",
"HTTP/HTTPBody.swift",
"HTTP/HTTPMessage.swift",
"HTTP/HTTPRequest.swift",
"HTTP/HTTPResponse.swift",
"HTTP2Client.swift",
"Utils/HTTPHeaderName.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[0/24] Write nio-h2-example-entitlement.plist
[0/24] Write sources
[10/24] Write swift-version-2F0A5646E1D333AE.txt
[11/24] Compiling CNIONghttp2 empty.c
[12/24] Compiling CNIOLinux ifaddrs-android.c
[13/24] Compiling CNIOLinux shim.c
[14/24] Compiling CNIOZlib 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 CNIODarwin shim.c
[15/24] 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>
| ^~~~~~~~~~~~~~~~
[15/24] Compiling CNIOOpenSSL helpers.c
[15/24] Compiling CNIOSHA1 c_nio_sha1.c
[15/24] Compiling CNIOHTTPParser c_nio_http_parser.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
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
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.
[0/10] Compiling CNIOOpenSSL shims.c
[0/10] Compiling CNIODarwin shim.c
[0/10] Compiling CNIOSHA1 c_nio_sha1.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>
| ^~~~~~~~~~~~~~~~
[0/10] Compiling c-atomics.c
[0/10] Compiling CNIOOpenSSL helpers.c
[0/10] Compiling CNIOHTTPParser c_nio_http_parser.c
[0/10] Write swift-version-2F0A5646E1D333AE.txt
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.1 macosSpm