Build Information
Failed to build swift-kafka-client, reference 1.0.0-alpha.9 (434af1
), with Swift 6.2 (beta) for macOS (SPM) on 23 Jun 2025 22:00:00 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: 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
========================================
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] Compiling metrics.pb.c
[1/114] Compiling common.pb.c
[2/114] Write sources
[4/114] Compiling pb_common.c
[5/114] Write sources
[16/114] Compiling pb_decode.c
[17/114] Compiling lz4frame.c
[18/114] Compiling pb_encode.c
[19/114] Write swift-version-1EA4D86E10B52AF.txt
[20/114] Compiling lz4hc.c
[21/114] Compiling _AtomicsShims.c
[22/114] Compiling rdxxhash.c
[23/125] Compiling tinycthread.c
[24/125] Compiling tinycthread_extra.c
[25/125] Compiling lz4.c
[26/125] Compiling regexp.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_subscription.c:36:
/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_subscription.c:36:
/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.
[27/125] Compiling rdkafka_subscription.c
[27/125] Compiling rdstring.c
[27/125] Compiling rdunittest.c
[27/125] Compiling rdvarint.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry.c:29:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry.h:33:
/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
| ^
[27/125] Compiling rdkafka_telemetry.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
| ^
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:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[27/125] Compiling snappy.c
Fetching https://github.com/apple/swift-metrics
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
[1/2206] Fetching swift-metrics
[354/6042] Fetching swift-metrics, swift-log
[1263/8468] Fetching swift-metrics, swift-log, swift-service-lifecycle
[6378/90523] Fetching swift-metrics, swift-log, swift-service-lifecycle, zstd
Fetched https://github.com/apple/swift-metrics from cache (1.04s)
[7083/88317] Fetching swift-log, swift-service-lifecycle, zstd
[7084/164656] Fetching swift-log, swift-service-lifecycle, zstd, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.95s)
Fetched https://github.com/apple/swift-log.git from cache (3.95s)
Fetched https://github.com/apple/swift-nio.git from cache (3.95s)
Fetched https://github.com/facebook/zstd.git from cache (3.96s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (6.56s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.39s)
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.38s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4985] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.00s)
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.50s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.09s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.38s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.59s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[73/6233] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.93s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.34s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.38s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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-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-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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.3
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.0
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
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