This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build nio-h2 with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/moritzsternemann/nio-h2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/24] Write sources
[5/24] Write nio-h2-example-entitlement.plist
[6/24] Write sources
[10/24] Compiling CNIOLinux shim.c
[10/24] Compiling CNIOZlib empty.c
[10/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.
[14/24] Compiling CNIOOpenSSL shims.c
[14/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>
      |          ^~~~~~~~~~~~~~~~
[14/24] Compiling CNIOOpenSSL helpers.c
[14/24] Compiling CNIOSHA1 c_nio_sha1.c
[14/24] Compiling CNIODarwin shim.c
[14/24] Compiling CNIOHTTPParser c_nio_http_parser.c
[14/24] Write swift-version-6F35C1178C84523A.txt
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-nio-nghttp2-support.git
Fetching https://github.com/apple/swift-nio-http2
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
[16/25] Fetching swift-nio-zlib-support, swift-nio-nghttp2-support
[20/41] Fetching swift-nio-zlib-support, swift-nio-nghttp2-support, swift-nio-ssl-support
[40/12309] Fetching swift-nio-zlib-support, swift-nio-nghttp2-support, swift-nio-ssl-support, swift-nio-ssl
[41/22542] Fetching swift-nio-zlib-support, swift-nio-nghttp2-support, swift-nio-ssl-support, swift-nio-ssl, swift-nio-http2
[3477/88149] Fetching swift-nio-zlib-support, swift-nio-nghttp2-support, swift-nio-ssl-support, swift-nio-ssl, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-ssl from cache (2.77s)
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (2.77s)
[50933/75865] Fetching swift-nio-zlib-support, swift-nio-nghttp2-support, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (4.62s)
Fetched https://github.com/apple/swift-nio-http2 from cache (4.62s)
Fetched https://github.com/apple/swift-nio from cache (4.62s)
Computing version for https://github.com/apple/swift-nio-http2
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.62s)
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (2.29s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.3.2 (0.67s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.11.0 (0.70s)
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.65s)
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.70s)
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.68s)
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-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-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.11.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
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 libnghttp2 using your system-packager:
    brew install nghttp2
warning: you may be able to install openssl using your system-packager:
    brew install libressl
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.