The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-kafka-client, reference 1.0.0-alpha.9 (434af1), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 04:10:52 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: 1.0.0-alpha.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-kafka-client
 * tag               1.0.0-alpha.9 -> FETCH_HEAD
HEAD is now at 434af11 Use `openssl@3` when building on macOS (#193)
Submodule path 'Sources/Crdkafka/librdkafka': checked out 'b4c608570f796c18ff2211a7af876046d264d392'
Submodule 'Sources/Crdkafka/librdkafka' (https://github.com/confluentinc/librdkafka) registered for path 'Sources/Crdkafka/librdkafka'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka'...
Cloned https://github.com/swift-server/swift-kafka-client.git
Revision (git rev-parse @):
434af114fda74d87e344980917d196f957dab1ec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at 1.0.0-alpha.9
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics
[1/3147] Fetching swift-metrics
[33/5876] Fetching swift-metrics, swift-service-lifecycle
[1907/12459] Fetching swift-metrics, swift-service-lifecycle, swift-log
[8050/96447] Fetching swift-metrics, swift-service-lifecycle, swift-log, zstd
[20859/179608] Fetching swift-metrics, swift-service-lifecycle, swift-log, zstd, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (6.10s)
Fetched https://github.com/apple/swift-metrics from cache (6.10s)
Fetched https://github.com/apple/swift-nio.git from cache (6.10s)
Fetched https://github.com/facebook/zstd.git from cache (6.10s)
Fetched https://github.com/apple/swift-log.git from cache (6.10s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (9.65s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.10.0 (0.63s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.60s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6241] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.01s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.69s)
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.97s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.75s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[602/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.97s)
[1513/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.21s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.68s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.10.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-kafka-client",
      "name": "swift-kafka-client",
      "url": "https://github.com/swift-server/swift-kafka-client.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-kafka-client",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.97.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.4.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.6.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-service-lifecycle",
          "name": "swift-service-lifecycle",
          "url": "https://github.com/swift-server/swift-service-lifecycle.git",
          "version": "2.11.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-lifecycle",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.12.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-async-algorithms",
              "name": "swift-async-algorithms",
              "url": "https://github.com/apple/swift-async-algorithms.git",
              "version": "1.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.4.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-metrics",
          "name": "swift-metrics",
          "url": "https://github.com/apple/swift-metrics",
          "version": "2.10.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-metrics",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "zstd",
          "name": "zstd",
          "url": "https://github.com/facebook/zstd.git",
          "version": "1.5.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/zstd",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-server/swift-kafka-client.git
[1/5664] Fetching swift-kafka-client
Fetched https://github.com/swift-server/swift-kafka-client.git from cache (2.41s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-metrics from cache
Fetching https://github.com/swift-server/swift-service-lifecycle.git from cache
Fetching https://github.com/facebook/zstd.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.91s)
Fetched https://github.com/apple/swift-metrics from cache (0.91s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.91s)
Fetched https://github.com/apple/swift-log.git from cache (0.91s)
Fetched https://github.com/facebook/zstd.git from cache (0.92s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (1.11s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.10.0 (0.06s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.04s)
Fetching https://github.com/apple/swift-async-algorithms.git from cache
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.48s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.57s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.05s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.04s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.03s)
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/swift-server/swift-kafka-client.git
Working copy of https://github.com/swift-server/swift-kafka-client.git resolved at 1.0.0-alpha.9 (434af11)
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.10.0
warning: '.resolve-product-dependencies': dependency 'swift-kafka-client' is not used by any target
Found 5 product dependencies
  - swift-nio
  - swift-service-lifecycle
  - swift-log
  - swift-metrics
  - zstd
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/116] Compiling pb_common.c
[1/116] Compiling pb_decode.c
[2/116] Write sources
[4/116] Compiling common.pb.c
[5/116] Write sources
[16/116] Write swift-version--6988338F2F200930.txt
[17/116] Compiling _AtomicsShims.c
[18/120] Compiling tinycthread_extra.c
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdbase64.c:32:10: fatal error: 'openssl/ssl.h' file not found
   32 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[19/120] Compiling rdbase64.c
[19/120] Compiling rdaddr.c
[19/120] Compiling rdcrc32.c
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka.c:31:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
   31 | #define _GNU_SOURCE
      |         ^
<command line>:3:9: note: previous definition is here
    3 | #define _GNU_SOURCE 1
      |         ^
[19/120] Compiling rdkafka.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdavl.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
   34 | #define _GNU_SOURCE /* for strndup() */
      |         ^
<command line>:3:9: note: previous definition is here
    3 | #define _GNU_SOURCE 1
      |         ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdavl.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
   56 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
[19/120] Compiling rdavl.c
[19/120] Compiling rdbuf.c
[19/120] Compiling rddl.c
[19/120] Compiling tinycthread.c
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl@3
warning: you may be able to install openssl using your system-packager:
    brew install openssl@3
BUILD FAILURE 6.3 macosSpm