The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build nio-h2, reference master (504a69), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 21:16:21 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: 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
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
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
[17/26] Fetching swift-nio-ssl-support, swift-nio-nghttp2-support
[27/41] Fetching swift-nio-ssl-support, swift-nio-nghttp2-support, swift-nio-zlib-support
[41/11193] Fetching swift-nio-ssl-support, swift-nio-nghttp2-support, swift-nio-zlib-support, swift-nio-http2
[265/24502] Fetching swift-nio-ssl-support, swift-nio-nghttp2-support, swift-nio-zlib-support, swift-nio-http2, swift-nio-ssl
[4316/96437] Fetching swift-nio-ssl-support, swift-nio-nghttp2-support, swift-nio-zlib-support, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2 from cache (1.65s)
[14231/85285] Fetching swift-nio-ssl-support, swift-nio-nghttp2-support, swift-nio-zlib-support, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-nghttp2-support.git from cache (1.65s)
[14354/85275] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl from cache (1.99s)
[20892/71966] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio from cache (6.26s)
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (6.26s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (6.26s)
Computing version for https://github.com/apple/swift-nio-http2
Computed https://github.com/apple/swift-nio-http2 at 0.1.0 (2.47s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 1.3.2 (0.58s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 1.11.0 (0.60s)
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.58s)
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.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 (0.59s)
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-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
Working copy of https://github.com/apple/swift-nio resolved at 1.11.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
========================================
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-ssl from cache
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/apple/swift-nio-http2 from cache
Fetched https://github.com/apple/swift-nio-ssl from cache (0.57s)
Fetched https://github.com/apple/swift-nio-http2 from cache (0.70s)
Fetched https://github.com/apple/swift-nio from cache (0.70s)
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.58s)
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.49s)
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.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.02s)
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-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.14.4
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
Creating working copy for https://github.com/moritzsternemann/nio-h2.git
Working copy of https://github.com/moritzsternemann/nio-h2.git resolved at master (504a69e)
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
[1/24] Write nio-h2-example-entitlement.plist
[1/24] Write sources
[10/24] Write swift-version--7754E27361AE5C74.txt
[11/24] Compiling CNIOLinux shim.c
[11/24] Compiling CNIOZlib empty.c
[11/24] Compiling CNIOLinux ifaddrs-android.c
[14/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 CNIODarwin shim.c
[15/24] Compiling CNIOHTTPParser c_nio_http_parser.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 c-atomics.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 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