Build Information
Failed to build swift-kafka-client, reference main (49d19e), with Swift 6.2 for Linux on 31 Oct 2025 00:28:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 49d19ec Add explicit read permissions to workflows (#200)
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 @):
49d19ecb2d61b38f49c9ef5a0a179827333b03bc
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: 6.2
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2487] Fetching swift-metrics
[250/5025] Fetching swift-metrics, swift-service-lifecycle
[5026/9180] Fetching swift-metrics, swift-service-lifecycle, swift-log
[7561/91839] Fetching swift-metrics, swift-service-lifecycle, swift-log, zstd
Fetched https://github.com/apple/swift-metrics from cache (0.66s)
[17439/89352] Fetching swift-service-lifecycle, swift-log, zstd
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.67s)
Fetched https://github.com/apple/swift-log.git from cache (0.68s)
[12399/82659] Fetching zstd
[12400/162491] Fetching zstd, swift-nio
Fetched https://github.com/facebook/zstd.git from cache (12.96s)
Fetched https://github.com/apple/swift-nio.git from cache (15.03s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (19.37s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.1 (0.82s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.0 (0.79s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/5657] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.85s)
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.73s)
Fetching https://github.com/apple/swift-collections.git
[1/18286] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.97s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (3.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.88.0 (1.37s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/5125] Fetching swift-system
[309/6945] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.12s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.50s)
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.88.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.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.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.3
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.9.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.4
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
Building for debugging...
[0/114] Write sources
[13/114] Compiling _AtomicsShims.c
[14/114] Write swift-version-24593BA9C3E375BF.txt
[15/114] Compiling tinycthread.c
[16/114] Compiling regexp.c
[17/114] Compiling tinycthread_extra.c
[18/125] Compiling rdvarint.c
[19/128] Compiling rdxxhash.c
[20/141] Compiling lz4hc.c
[21/141] Compiling rdstring.c
[22/141] Compiling rdregex.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[23/141] Compiling snappy.c
[24/141] Compiling rdports.c
[25/141] Compiling lz4.c
[26/141] Compiling rdrand.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[27/141] Compiling rdunittest.c
[28/141] Compiling rdmurmur2.c
[29/141] Compiling rdmap.c
[30/141] Compiling rdlist.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[31/141] Compiling rdlog.c
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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[32/141] 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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[33/141] 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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[34/141] 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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[35/141] 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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[36/141] Compiling rdkafka_telemetry_encode.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[37/141] Compiling rdkafka_txnmgr.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #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]
896 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
897 | RD_KAFKA_CONSUMER,
898 | 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]
905 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
906 | RD_KAFKA_CONSUMER,
907 | 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]
914 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
915 | RD_KAFKA_CONSUMER,
916 | 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]
923 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
924 | RD_KAFKA_CONSUMER,
925 | 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]
932 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
933 | RD_KAFKA_CONSUMER,
934 | 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]
942 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
943 | RD_KAFKA_CONSUMER,
944 | 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]
952 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
953 | RD_KAFKA_CONSUMER,
954 | 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]
961 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
962 | RD_KAFKA_CONSUMER,
963 | 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]
970 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
971 | RD_KAFKA_CONSUMER,
972 | 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]
978 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
979 | RD_KAFKA_CONSUMER,
980 | 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]
987 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
988 | RD_KAFKA_CONSUMER,
989 | 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]
1016 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
1017 | RD_KAFKA_CONSUMER,
1018 | 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]
1026 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
1027 | RD_KAFKA_CONSUMER,
1028 | 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]
1035 | fails += unit_test_telemetry(
| ~~~~~~~~~~~~~~~~~~~
1036 | RD_KAFKA_CONSUMER,
1037 | RD_KAFKA_TELEMETRY_METRIC_CONSUMER_COORDINATOR_REBALANCE_LATENCY_TOTAL,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 warnings generated.
[38/141] Compiling rdkafka_telemetry_decode.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[39/141] Compiling rdkafka_subscription.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[40/141] Compiling rdkafka_telemetry.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[41/141] Compiling rdkafka_sticky_assignor.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[42/141] 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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[43/141] Compiling rdkafka_sasl_plain.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[44/141] Compiling rdkafka_ssl.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #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
47 | #include <sasl/sasl.h>
| ^~~~~~~~~~~~~
1 warning and 1 error generated.
[45/141] Compiling rdkafka_sasl_cyrus.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
[45/141] 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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
1 warning generated.
[45/141] Compiling rdkafka_sasl.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]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
[45/141] Compiling rdkafka_roundrobin_assignor.c
[46/141] Emitting module Logging
[47/141] Emitting module _NIODataStructures
[48/141] Emitting module _NIOBase64
BUILD FAILURE 6.2 linux