Build Information
Failed to build swift-kafka-client, reference main (a83e84), with Swift 6.0 for macOS (SPM) on 28 Apr 2026 19:47:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 a83e841 Add commit-all stored offsets API (#230)
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 @):
a83e84155425806c180a60b61a04b98c6cca4929
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.0
Building package at path: $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/116] Compiling common.pb.c
[1/116] Compiling pb_encode.c
[2/116] Write sources
[4/116] Compiling pb_decode.c
[5/116] Write sources
[16/116] Compiling lz4frame.c
[17/116] Compiling lz4hc.c
[18/116] Write swift-version-5BDAB9E9C0126B9D.txt
[19/116] Compiling _AtomicsShims.c
[20/120] Compiling rdcrc32.c
[21/120] Compiling rdbuf.c
[22/120] Compiling rddl.c
[23/120] Compiling tinycthread.c
[24/120] Compiling rdfnv1a.c
[25/122] Compiling rdgz.c
[26/122] Compiling rdvarint.c
[27/128] Compiling rdxxhash.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:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[28/145] Compiling snappy.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:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[28/147] Compiling rdunittest.c
[28/147] Compiling rdregex.c
[28/147] Compiling rdstring.c
[28/147] Compiling regexp.c
[28/147] Compiling tinycthread_extra.c
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-nio.git
[1/3194] Fetching swift-metrics
[129/5945] Fetching swift-metrics, swift-service-lifecycle
[659/12671] Fetching swift-metrics, swift-service-lifecycle, swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.05s)
[4876/9920] Fetching swift-metrics, swift-log
[4877/93987] Fetching swift-metrics, swift-log, zstd
Fetched https://github.com/apple/swift-log.git from cache (1.24s)
[5718/170472] Fetching swift-metrics, zstd, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (10.91s)
Fetched https://github.com/apple/swift-nio.git from cache (10.91s)
Fetched https://github.com/facebook/zstd.git from cache (10.91s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (3.08s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.8.0 (0.43s)
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.46s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6245] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.06s)
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.53s)
Fetching https://github.com/apple/swift-collections.git
[1/23800] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.59s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[456/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.18s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.46s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.49s)
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-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.8.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.11.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
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-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
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConsumerConfig.swift.gyb
/Users/admin/builder/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConfig.swift.gyb
/Users/admin/builder/spi-builder-workspace/Sources/Kafka/Configuration/KafkaProducerConfig.swift.gyb
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 6.0 macosSpm