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 (49d19e), with Swift 5.10 for macOS (SPM) on 31 Oct 2025 00:17:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 49d19ec Add explicit read permissions to workflows (#200)
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 @):
49d19ecb2d61b38f49c9ef5a0a179827333b03bc
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:             5.10
Building package at path:  $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/114] Compiling pb_decode.c
[1/114] Compiling pb_encode.c
[1/114] Write sources
[4/114] Compiling common.pb.c
[5/114] Write sources
[16/114] Write swift-version-33747A42983211AE.txt
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_idempotence.c:30:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
#define _GNU_SOURCE /* for strndup() */
        ^
<command line>:3:9: note: previous definition is here
#define _GNU_SOURCE 1
        ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_idempotence.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
#include <openssl/ssl.h>
         ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
[17/114] Compiling rdkafka_idempotence.c
[17/114] Compiling tinycthread.c
[17/114] Compiling pb_common.c
[17/114] Compiling tinycthread_extra.c
[17/114] Compiling metrics.pb.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_header.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
#define _GNU_SOURCE /* for strndup() */
        ^
<command line>:3:9: note: previous definition is here
#define _GNU_SOURCE 1
        ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_header.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
#include <openssl/ssl.h>
         ^~~~~~~~~~~~~~~
[17/114] Compiling rdkafka_header.c
[17/114] Compiling lz4.c
[17/114] Compiling lz4frame.c
[17/114] Compiling lz4hc.c
[17/114] Compiling _AtomicsShims.c
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/2538] Fetching swift-service-lifecycle
[103/5025] Fetching swift-service-lifecycle, swift-metrics
[354/9180] Fetching swift-service-lifecycle, swift-metrics, swift-log
[9181/91839] Fetching swift-service-lifecycle, swift-metrics, swift-log, zstd
[21580/171671] Fetching swift-service-lifecycle, swift-metrics, swift-log, zstd, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (4.71s)
Fetched https://github.com/apple/swift-nio.git from cache (4.71s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (4.71s)
Fetched https://github.com/apple/swift-log.git from cache (4.71s)
Fetched https://github.com/facebook/zstd.git from cache (4.71s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (2.37s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.1 (0.38s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.0 (0.38s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/5657] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.12s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.45s)
Fetching https://github.com/apple/swift-collections.git
[1/18286] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.46s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[74/6945] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.09s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.43s)
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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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.9.0
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/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.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.86.2
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
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
BUILD FAILURE 5.10 macosSpm