The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-kafka-client, reference main (434af1), with Swift 6.0 for macOS (SPM) on 26 Apr 2025 01:38:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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 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 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] Compiling common.pb.c
[1/114] Compiling pb_decode.c
[2/114] Write sources
[4/114] Write swift-version-5BDAB9E9C0126B9D.txt
[5/114] Write sources
[6/114] Compiling _AtomicsShims.c
[7/114] Compiling pb_encode.c
[8/114] Write sources
[15/125] Compiling rdmap.c
[16/125] Write sources
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdlog.c:29:
/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/rdlog.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
   56 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
[19/125] Compiling rdlog.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl.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_sasl.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>
      |          ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
[19/125] Compiling rdkafka_sasl.c
[19/125] Compiling tinycthread_extra.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl_cyrus.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_sasl_cyrus.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>
      |          ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
[19/125] Compiling rdkafka_sasl_cyrus.c
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdbase64.c:32:10: fatal error: 'openssl/ssl.h' file not found
   32 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
[19/125] Compiling rdbase64.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdavl.c:29:
/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/rdavl.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
   56 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
[19/125] Compiling rdavl.c
[19/125] Compiling rdkafka_msgset_writer.c
[20/125] Emitting module _NIOBase64
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-metrics
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/2390] Fetching swift-service-lifecycle
[121/4590] Fetching swift-service-lifecycle, swift-metrics
[1070/8426] Fetching swift-service-lifecycle, swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics from cache (0.94s)
[3389/87917] Fetching swift-service-lifecycle, swift-log, zstd
[7861/163348] Fetching swift-service-lifecycle, swift-log, zstd, swift-nio
Fetched https://github.com/facebook/zstd.git from cache (3.32s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.32s)
Fetched https://github.com/apple/swift-log.git from cache (3.96s)
Fetched https://github.com/apple/swift-nio.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 (3.01s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.6.1 (0.46s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.7.0 (0.45s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4965] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.98s)
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.57s)
Fetching https://github.com/apple/swift-collections.git
[1/16242] 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.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.64s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[53/6058] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.04s)
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
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.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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.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
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.6.1
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
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