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 (62da8d), with Swift 6.0 for macOS (SPM) on 13 May 2025 17:09:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
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 62da8d9 Drop Swift 5.9 (#194)
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 @):
62da8d93d744dbf3041e83a5e59358396ed232bd
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/114] Write sources
[2/114] Write swift-version-5BDAB9E9C0126B9D.txt
[3/114] Write sources
[4/118] Compiling _AtomicsShims.c
[5/120] Compiling pb_encode.c
[6/120] Write sources
[13/120] Compiling pb_decode.c
[14/120] Write sources
[17/120] Compiling common.pb.c
[18/120] Compiling pb_common.c
[19/120] Compiling lz4frame.c
[20/125] Compiling lz4hc.c
[21/143] Compiling lz4.c
[22/143] Compiling rdxxhash.c
[23/143] Compiling crc32c.c
[24/143] Compiling tinycthread_extra.c
[25/143] Compiling regexp.c
[26/143] Compiling rdvarint.c
[27/143] Compiling rdregex.c
[28/143] Compiling rdstring.c
[29/143] Compiling rdrand.c
[31/143] Compiling _NIOBase64 Base64.swift
[32/143] Emitting module _NIOBase64
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.
[32/143] Compiling rdunittest.c
[32/143] Compiling rdlog.c
[32/143] Compiling rdmurmur2.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
      |         ^
[32/143] Compiling snappy.c
[32/143] Compiling rdmap.c
[32/143] Compiling rdports.c
[32/143] Compiling tinycthread.c
[33/143] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[34/143] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[35/143] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[36/143] Compiling InternalCollectionsUtilities Specialize.swift
[37/143] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/143] Compiling InternalCollectionsUtilities _UniqueCollection.swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics
[1/2426] Fetching swift-service-lifecycle
[171/6262] Fetching swift-service-lifecycle, swift-log
[287/8468] Fetching swift-service-lifecycle, swift-log, swift-metrics
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
[1/81801] Fetching zstd
[2/157709] Fetching zstd, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.08s)
Fetched https://github.com/facebook/zstd.git from cache (7.08s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (7.08s)
Fetched https://github.com/apple/swift-metrics from cache (7.08s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (3.20s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.47s)
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.46s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4976] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.03s)
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.56s)
Fetching https://github.com/apple/swift-collections.git
[1/16384] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.66s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4367] Fetching swift-system
[133/6077] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.92s)
[1334/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.48s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
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