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 5.10 for Linux on 26 Apr 2025 01:29:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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 '/host/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:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-log.git
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-metrics
[1/2390] Fetching swift-service-lifecycle
[2/6226] Fetching swift-service-lifecycle, swift-log
[41/8426] Fetching swift-service-lifecycle, swift-log, swift-metrics
[7584/90117] Fetching swift-service-lifecycle, swift-log, swift-metrics, zstd
[13329/165548] Fetching swift-service-lifecycle, swift-log, swift-metrics, zstd, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (0.45s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
[10310/160958] Fetching swift-log, zstd, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.45s)
[7291/157122] Fetching zstd, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.32s)
Fetched https://github.com/facebook/zstd.git from cache (10.64s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (1.58s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.6.1 (0.75s)
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.78s)
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.54s)
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.04s)
Fetching https://github.com/apple/swift-collections.git
[1/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.25s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[632/6058] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.71s)
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.66s)
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-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.6.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.1.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.4.2
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/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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/114] Compiling pb_common.c
[1/114] Compiling rdgz.c
[1/114] Write sources
[4/114] Compiling _AtomicsShims.c
[4/114] Write sources
[16/114] Compiling rdfnv1a.c
[17/114] Compiling lz4frame.c
[18/114] Compiling tinycthread_extra.c
[19/114] Compiling tinycthread.c
[20/114] Compiling rdhdrhistogram.c
[21/114] Write swift-version-24593BA9C3E375BF.txt
[22/114] Compiling rdvarint.c
[23/114] Compiling regexp.c
[24/114] Compiling lz4hc.c
[25/114] Compiling rdxxhash.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/host/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
        ^
1 warning generated.
[26/142] Compiling snappy.c
[27/142] Compiling rdstring.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdunittest.c:45:
/host/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
        ^
1 warning generated.
[28/142] Compiling rdunittest.c
[29/142] Compiling rdregex.c
[30/142] Compiling rdrand.c
[31/142] Compiling rdports.c
[32/142] Compiling rdmurmur2.c
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka.c:31:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
#define _GNU_SOURCE
        ^
<command line>:3:9: note: previous definition is here
#define _GNU_SOURCE 1
        ^
1 warning generated.
[33/142] Compiling rdkafka.c
[34/142] Compiling rdmap.c
[35/142] Compiling rdlist.c
[36/142] Compiling lz4.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_txnmgr.c:37:
/host/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
        ^
1 warning generated.
[37/142] Compiling rdkafka_txnmgr.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdlog.c:29:
/host/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
        ^
1 warning generated.
[38/142] Compiling rdlog.c
[40/142] Emitting module InternalCollectionsUtilities
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:29:
/host/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
        ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZSTDLIB_VISIBLE' has no effect on the import of 'libzstd.errors'; pass '-DZSTDLIB_VISIBLE=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zstd.h:33:13: note: macro was defined here
#    define ZSTDLIB_VISIBLE __attribute__ ((visibility ("default")))
            ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZSTDLIB_HIDDEN' has no effect on the import of 'libzstd.errors'; pass '-DZSTDLIB_HIDDEN=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zstd.h:41:13: note: macro was defined here
#    define ZSTDLIB_HIDDEN __attribute__ ((visibility ("hidden")))
            ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZSTD_CLEVEL_DEFAULT' has no effect on the import of 'libzstd.errors'; pass '-DZSTD_CLEVEL_DEFAULT=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zstd.h:134:11: note: macro was defined here
#  define ZSTD_CLEVEL_DEFAULT 3
          ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZDICTLIB_VISIBLE' has no effect on the import of 'libzstd.errors'; pass '-DZDICTLIB_VISIBLE=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zdict.h:28:13: note: macro was defined here
#    define ZDICTLIB_VISIBLE __attribute__ ((visibility ("default")))
            ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZDICTLIB_HIDDEN' has no effect on the import of 'libzstd.errors'; pass '-DZDICTLIB_HIDDEN=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zdict.h:36:13: note: macro was defined here
#    define ZDICTLIB_HIDDEN __attribute__ ((visibility ("hidden")))
            ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZSTDERRORLIB_VISIBLE' has no effect on the import of 'libzstd.errors'; pass '-DZSTDERRORLIB_VISIBLE=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zstd_errors.h:24:13: note: macro was defined here
#    define ZSTDERRORLIB_VISIBLE __attribute__ ((visibility ("default")))
            ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:38:2: warning: definition of configuration macro 'ZSTDERRORLIB_HIDDEN' has no effect on the import of 'libzstd.errors'; pass '-DZSTDERRORLIB_HIDDEN=...' on the command line to configure the module [-Wconfig-macros]
#include <zstd_errors.h>
 ^
/host/spi-builder-workspace/.build/checkouts/zstd/lib/zstd_errors.h:32:13: note: macro was defined here
#    define ZSTDERRORLIB_HIDDEN __attribute__ ((visibility ("hidden")))
            ^
8 warnings generated.
[40/144] Compiling rdkafka_zstd.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_transport.c:37:
/host/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
        ^
1 warning generated.
[41/144] Compiling rdkafka_transport.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_timer.c:29:
/host/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
        ^
1 warning generated.
[42/144] Compiling rdkafka_timer.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_topic.c:31:
/host/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
        ^
1 warning generated.
[43/144] Compiling rdkafka_topic.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_encode.c:29:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_encode.h:32:
/host/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
        ^
1 warning generated.
[44/144] Compiling rdkafka_telemetry_encode.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry.c:29:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry.h:33:
/host/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
        ^
1 warning generated.
[45/144] Compiling rdkafka_telemetry.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_subscription.c:36:
/host/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
        ^
1 warning generated.
[46/144] Compiling rdkafka_subscription.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:29:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.h:33:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_encode.h:32:
/host/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
        ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:898:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_CONNECTION_CREATION_RATE,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:907:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_NODE_REQUEST_LATENCY_AVG,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:916:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_NODE_REQUEST_LATENCY_MAX,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:925:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_ASSIGNED_PARTITIONS,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:934:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_REBALANCE_LATENCY_AVG,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:944:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_REBALANCE_LATENCY_MAX,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:954:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_FETCH_MANAGER_FETCH_LATENCY_AVG,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:963:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_FETCH_MANAGER_FETCH_LATENCY_MAX,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:972:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_POLL_IDLE_RATIO_AVG,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:980:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_COMMIT_LATENCY_AVG,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:989:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_COMMIT_LATENCY_MAX,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:1018:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_CONNECTION_CREATION_TOTAL,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:1028:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_CONNECTION_CREATION_TOTAL,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_telemetry_decode.c:1037:13: warning: implicit conversion from enumeration type 'rd_kafka_telemetry_consumer_metric_name_t' to different enumeration type 'rd_kafka_telemetry_producer_metric_name_t' [-Wenum-conversion]
            RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_REBALANCE_LATENCY_TOTAL,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 warnings generated.
[47/144] Compiling rdkafka_telemetry_decode.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_ssl.c:36:
/host/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
        ^
1 warning generated.
[48/144] Compiling rdkafka_ssl.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl_scram.c:34:
/host/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
        ^
1 warning generated.
[49/144] Compiling rdkafka_sasl_scram.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl_plain.c:33:
/host/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
        ^
1 warning generated.
[50/144] Compiling rdkafka_sasl_plain.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sticky_assignor.c:31:
/host/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
        ^
1 warning generated.
[51/144] Compiling rdkafka_sticky_assignor.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl_cyrus.c:30:
/host/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
        ^
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl_cyrus.c:47:10: fatal error: 'sasl/sasl.h' file not found
#include <sasl/sasl.h>
         ^~~~~~~~~~~~~
1 warning and 1 error generated.
[52/144] Compiling rdkafka_sasl_cyrus.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_roundrobin_assignor.c:28:
/host/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
        ^
[52/144] Compiling rdkafka_roundrobin_assignor.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_request.c:32:
/host/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
        ^
[52/144] Compiling rdkafka_request.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_sasl.c:30:
/host/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
        ^
[52/144] Compiling rdkafka_sasl.c
[53/144] Emitting module _NIOBase64
BUILD FAILURE 5.10 linux