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 swift-kafka-client, reference main (7ddabf), with Swift 6.2 (beta) for macOS (SPM) on 30 Jul 2025 13:04:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-kafka-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7ddabf8 Enable release mode builds (#198)
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 @):
7ddabf85136607e8c56682cfa5492cec22a1d4a1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/114] Write sources
[13/114] Write swift-version-1EA4D86E10B52AF.txt
[14/114] Compiling _AtomicsShims.c
[15/114] Compiling resource.pb.c
[16/114] Compiling pb_encode.c
[17/114] Compiling pb_decode.c
[18/120] Compiling pb_common.c
[19/125] Compiling metrics.pb.c
[20/139] Compiling rdxxhash.c
[21/139] Compiling rdvarint.c
[22/139] Compiling tinycthread.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdunittest.c:45:
/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/rdunittest.c:45:
/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>
      |          ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
[23/139] Compiling rdunittest.c
[23/139] Compiling rdstring.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/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
      |         ^
[23/139] Compiling regexp.c
[23/139] Compiling snappy.c
[23/139] Compiling tinycthread_extra.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_admin.c:30:
/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/rdkafka_admin.c:30:
/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>
      |          ^~~~~~~~~~~~~~~
[23/139] Compiling rdkafka_admin.c
[24/139] Emitting module _NIOBase64
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/facebook/zstd.git
[1/2219] Fetching swift-metrics
[179/6099] Fetching swift-metrics, swift-log
[257/8532] Fetching swift-metrics, swift-log, swift-service-lifecycle
Fetched https://github.com/apple/swift-log.git from cache (1.20s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.20s)
[1/77072] Fetching swift-nio
[2/159301] Fetching swift-nio, zstd
Fetched https://github.com/apple/swift-metrics from cache (42.68s)
Fetched https://github.com/apple/swift-nio.git from cache (42.68s)
Fetched https://github.com/facebook/zstd.git from cache (42.68s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (45.47s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.44s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.41s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4995] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.09s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.62s)
Fetching https://github.com/apple/swift-collections.git
[1/16916] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (0.63s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4776] Fetching swift-system
[97/6584] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.07s)
Fetched https://github.com/apple/swift-system.git from cache (1.07s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.1 (0.46s)
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.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.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.0.4
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.8.0
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.85.0
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.2 macosSpm