Build Information
Failed to build swift-kafka-client, reference main (a83e84), with Swift 6.0 for Linux on 28 Apr 2026 19:47:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /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 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 '/host/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: linux
Swift version: 6.0
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3194] Fetching swift-metrics
[1311/9920] Fetching swift-metrics, swift-log
[7500/93987] Fetching swift-metrics, swift-log, zstd
[15806/177198] Fetching swift-metrics, swift-log, zstd, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (15.80s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetched https://github.com/apple/swift-metrics from cache (15.83s)
Fetched https://github.com/facebook/zstd.git from cache (15.95s)
Fetched https://github.com/apple/swift-nio.git from cache (15.97s)
[1/2751] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.38s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (2.71s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.8.0 (0.70s)
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.77s)
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 (0.42s)
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.75s)
Fetching https://github.com/apple/swift-collections.git
[1/23800] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.41s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1821/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.80s)
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.80s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.82s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.1.3
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConsumerConfig.swift.gyb
/host/spi-builder-workspace/Sources/Kafka/Configuration/KafkaProducerConfig.swift.gyb
/host/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConfig.swift.gyb
Building for debugging...
[0/116] Compiling pb_common.c
[1/116] Compiling pb_encode.c
[1/116] Write sources
[4/116] Compiling pb_decode.c
[4/116] Write sources
[16/116] Compiling _AtomicsShims.c
[17/116] Compiling crc32c.c
[18/116] Compiling lz4frame.c
[19/116] Compiling tinycthread_extra.c
[20/116] Compiling cJSON.c
[21/116] Compiling tinycthread.c
[22/116] Compiling rdvarint.c
[23/116] Compiling regexp.c
[24/116] Compiling rdxxhash.c
[25/116] Compiling lz4hc.c
[26/116] Compiling rdregex.c
[27/116] Compiling rdstring.c
[28/116] Compiling rdports.c
[29/116] Compiling rdrand.c
[30/116] Compiling rdmurmur2.c
[31/116] Write swift-version-24593BA9C3E375BF.txt
[32/116] Compiling rdmap.c
[33/116] Compiling rdlist.c
[34/116] Compiling rdunittest.c
[35/116] Compiling rdlog.c
[36/116] Compiling snappy.c
[37/116] Compiling rdkafka_zstd.c
[38/124] Compiling lz4.c
[39/146] Compiling rdkafka_txnmgr.c
[40/146] Compiling rdkafka_topic.c
[41/146] Compiling rdkafka_transport.c
[42/146] Compiling rdkafka_timer.c
[43/146] Compiling rdkafka_subscription.c
[44/146] Compiling rdkafka_telemetry_encode.c
[45/146] Compiling rdkafka_telemetry.c
/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,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 warnings generated.
[46/146] Compiling rdkafka_telemetry_decode.c
[47/146] Compiling rdkafka_sticky_assignor.c
[48/146] Compiling rdkafka_ssl.c
[49/146] Compiling rdkafka_sasl_plain.c
[50/146] Compiling rdkafka_sasl_scram.c
/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 error generated.
[51/146] Compiling rdkafka_sasl_cyrus.c
[51/146] Compiling rdkafka_request.c
[51/146] Compiling rdkafka_roundrobin_assignor.c
[52/146] Emitting module _NIOBase64
[52/146] Compiling rdkafka_sasl.c
BUILD FAILURE 6.0 linux