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.1 for Linux on 26 Apr 2025 01:30:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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:             6.1
Building package at path:  $PWD
https://github.com/swift-server/swift-kafka-client.git
https://github.com/swift-server/swift-kafka-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.55.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics"
    },
    {
      "identity" : "zstd",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/facebook/zstd.git"
    }
  ],
  "manifest_display_name" : "swift-kafka-client",
  "name" : "swift-kafka-client",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Kafka",
      "targets" : [
        "Kafka"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KafkaFoundationCompat",
      "targets" : [
        "KafkaFoundationCompat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KafkaTests",
      "module_type" : "SwiftTarget",
      "name" : "KafkaTests",
      "path" : "Tests/KafkaTests",
      "product_dependencies" : [
        "MetricsTestKit"
      ],
      "sources" : [
        "KafkaConsumerTests.swift",
        "KafkaProducerTests.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Kafka"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KafkaFoundationCompat",
      "module_type" : "SwiftTarget",
      "name" : "KafkaFoundationCompat",
      "path" : "Sources/KafkaFoundationCompat",
      "product_memberships" : [
        "KafkaFoundationCompat"
      ],
      "sources" : [
        "Data+KafkaContiguousBytes.swift"
      ],
      "target_dependencies" : [
        "Kafka"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Kafka",
      "module_type" : "SwiftTarget",
      "name" : "Kafka",
      "path" : "Sources/Kafka",
      "product_dependencies" : [
        "NIOCore",
        "ServiceLifecycle",
        "Logging",
        "Metrics"
      ],
      "product_memberships" : [
        "Kafka",
        "KafkaFoundationCompat"
      ],
      "sources" : [
        "Configuration/KafkaConfiguration+Metrics.swift",
        "Configuration/KafkaConfiguration+Security.swift",
        "Configuration/KafkaConfiguration.swift",
        "Configuration/KafkaConsumerConfiguration.swift",
        "Configuration/KafkaProducerConfiguration.swift",
        "Configuration/KafkaTopicConfiguration.swift",
        "Data/Array+KafkaContiguousBytes.swift",
        "Data/ByteBuffer+KafkaContiguousBytes.swift",
        "Data/KafkaContiguousBytes.swift",
        "Data/Never+KafkaContiguousBytes.swift",
        "Data/String+KafkaContiguousBytes.swift",
        "ForTesting/RDKafkaClient+Topic.swift",
        "ForTesting/TestMessages.swift",
        "KafkaAcknowledgedMessage.swift",
        "KafkaConsumer.swift",
        "KafkaConsumerEvent.swift",
        "KafkaConsumerMessage.swift",
        "KafkaDeliveryReport.swift",
        "KafkaError.swift",
        "KafkaHeader.swift",
        "KafkaOffset.swift",
        "KafkaPartition.swift",
        "KafkaProducer.swift",
        "KafkaProducerEvent.swift",
        "KafkaProducerMessage.swift",
        "KafkaProducerMessageID.swift",
        "RDKafka/RDKafkaClient.swift",
        "RDKafka/RDKafkaConfig.swift",
        "RDKafka/RDKafkaEvent.swift",
        "RDKafka/RDKafkaStatistics.swift",
        "RDKafka/RDKafkaTopicConfig.swift",
        "RDKafka/RDKafkaTopicHandles.swift",
        "RDKafka/RDKafkaTopicPartitionList.swift",
        "Utilities/DispatchQueueTaskExecutor.swift",
        "Utilities/Duration+Helpers.swift",
        "Utilities/NIOAsyncSequenceBackPressureStrategies+NoBackPressure.swift",
        "Utilities/SendableOpaquePointer.swift"
      ],
      "target_dependencies" : [
        "Crdkafka"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegrationTests",
      "path" : "Tests/IntegrationTests",
      "sources" : [
        "KafkaTests.swift",
        "Utilities.swift"
      ],
      "target_dependencies" : [
        "Kafka"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Crdkafka",
      "module_type" : "ClangTarget",
      "name" : "Crdkafka",
      "path" : "Sources/Crdkafka",
      "product_dependencies" : [
        "libzstd"
      ],
      "product_memberships" : [
        "Kafka",
        "KafkaFoundationCompat"
      ],
      "sources" : [
        "librdkafka/src/cJSON.c",
        "librdkafka/src/crc32c.c",
        "librdkafka/src/lz4.c",
        "librdkafka/src/lz4frame.c",
        "librdkafka/src/lz4hc.c",
        "librdkafka/src/nanopb/pb_common.c",
        "librdkafka/src/nanopb/pb_decode.c",
        "librdkafka/src/nanopb/pb_encode.c",
        "librdkafka/src/opentelemetry/common.pb.c",
        "librdkafka/src/opentelemetry/metrics.pb.c",
        "librdkafka/src/opentelemetry/resource.pb.c",
        "librdkafka/src/rdaddr.c",
        "librdkafka/src/rdavl.c",
        "librdkafka/src/rdbase64.c",
        "librdkafka/src/rdbuf.c",
        "librdkafka/src/rdcrc32.c",
        "librdkafka/src/rddl.c",
        "librdkafka/src/rdfnv1a.c",
        "librdkafka/src/rdgz.c",
        "librdkafka/src/rdhdrhistogram.c",
        "librdkafka/src/rdkafka.c",
        "librdkafka/src/rdkafka_admin.c",
        "librdkafka/src/rdkafka_assignment.c",
        "librdkafka/src/rdkafka_assignor.c",
        "librdkafka/src/rdkafka_aux.c",
        "librdkafka/src/rdkafka_background.c",
        "librdkafka/src/rdkafka_broker.c",
        "librdkafka/src/rdkafka_buf.c",
        "librdkafka/src/rdkafka_cert.c",
        "librdkafka/src/rdkafka_cgrp.c",
        "librdkafka/src/rdkafka_conf.c",
        "librdkafka/src/rdkafka_coord.c",
        "librdkafka/src/rdkafka_error.c",
        "librdkafka/src/rdkafka_event.c",
        "librdkafka/src/rdkafka_feature.c",
        "librdkafka/src/rdkafka_fetcher.c",
        "librdkafka/src/rdkafka_header.c",
        "librdkafka/src/rdkafka_idempotence.c",
        "librdkafka/src/rdkafka_interceptor.c",
        "librdkafka/src/rdkafka_lz4.c",
        "librdkafka/src/rdkafka_metadata.c",
        "librdkafka/src/rdkafka_metadata_cache.c",
        "librdkafka/src/rdkafka_mock.c",
        "librdkafka/src/rdkafka_mock_cgrp.c",
        "librdkafka/src/rdkafka_mock_handlers.c",
        "librdkafka/src/rdkafka_msg.c",
        "librdkafka/src/rdkafka_msgset_reader.c",
        "librdkafka/src/rdkafka_msgset_writer.c",
        "librdkafka/src/rdkafka_offset.c",
        "librdkafka/src/rdkafka_op.c",
        "librdkafka/src/rdkafka_partition.c",
        "librdkafka/src/rdkafka_pattern.c",
        "librdkafka/src/rdkafka_plugin.c",
        "librdkafka/src/rdkafka_queue.c",
        "librdkafka/src/rdkafka_range_assignor.c",
        "librdkafka/src/rdkafka_request.c",
        "librdkafka/src/rdkafka_roundrobin_assignor.c",
        "librdkafka/src/rdkafka_sasl.c",
        "librdkafka/src/rdkafka_sasl_cyrus.c",
        "librdkafka/src/rdkafka_sasl_plain.c",
        "librdkafka/src/rdkafka_sasl_scram.c",
        "librdkafka/src/rdkafka_ssl.c",
        "librdkafka/src/rdkafka_sticky_assignor.c",
        "librdkafka/src/rdkafka_subscription.c",
        "librdkafka/src/rdkafka_telemetry.c",
        "librdkafka/src/rdkafka_telemetry_decode.c",
        "librdkafka/src/rdkafka_telemetry_encode.c",
        "librdkafka/src/rdkafka_timer.c",
        "librdkafka/src/rdkafka_topic.c",
        "librdkafka/src/rdkafka_transport.c",
        "librdkafka/src/rdkafka_txnmgr.c",
        "librdkafka/src/rdkafka_zstd.c",
        "librdkafka/src/rdlist.c",
        "librdkafka/src/rdlog.c",
        "librdkafka/src/rdmap.c",
        "librdkafka/src/rdmurmur2.c",
        "librdkafka/src/rdports.c",
        "librdkafka/src/rdrand.c",
        "librdkafka/src/rdregex.c",
        "librdkafka/src/rdstring.c",
        "librdkafka/src/rdunittest.c",
        "librdkafka/src/rdvarint.c",
        "librdkafka/src/rdxxhash.c",
        "librdkafka/src/regexp.c",
        "librdkafka/src/snappy.c",
        "librdkafka/src/tinycthread.c",
        "librdkafka/src/tinycthread_extra.c"
      ],
      "target_dependencies" : [
        "COpenSSL"
      ],
      "type" : "library"
    },
    {
      "c99name" : "COpenSSL",
      "module_type" : "SystemLibraryTarget",
      "name" : "COpenSSL",
      "path" : "Sources/COpenSSL",
      "product_memberships" : [
        "Kafka",
        "KafkaFoundationCompat"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-metrics
[1/3836] Fetching swift-log
[960/6036] Fetching swift-log, swift-metrics
[3518/8426] Fetching swift-log, swift-metrics, swift-service-lifecycle
[8427/90117] Fetching swift-log, swift-metrics, swift-service-lifecycle, zstd
[10878/165548] Fetching swift-log, swift-metrics, swift-service-lifecycle, zstd, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (0.41s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.41s)
[8676/160958] Fetching swift-log, zstd, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.84s)
Fetched https://github.com/apple/swift-nio.git from cache (5.94s)
Fetched https://github.com/facebook/zstd.git from cache (6.35s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (8.64s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.6.1 (0.56s)
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.74s)
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.55s)
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.18s)
Fetching https://github.com/apple/swift-collections.git
[1/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.06s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[530/6058] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.68s)
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.96s)
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/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-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-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-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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Building for debugging...
[0/114] Compiling resource.pb.c
[1/114] Compiling pb_encode.c
[1/114] Write sources
[4/114] Compiling pb_decode.c
[5/114] Write sources
[16/114] Compiling _AtomicsShims.c
[17/114] Compiling rdaddr.c
[18/114] Compiling tinycthread_extra.c
[19/114] Compiling tinycthread.c
[20/114] Compiling regexp.c
[21/114] Write swift-version-24593BA9C3E375BF.txt
[22/114] Compiling rdxxhash.c
[23/114] Compiling rdvarint.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_cert.c:35:
/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.
[24/114] Compiling rdkafka_cert.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_idempotence.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.
[25/114] Compiling rdkafka_idempotence.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.
[26/118] Compiling snappy.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/125] Compiling rdunittest.c
[28/125] Compiling rdstring.c
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka.c:31:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
   31 | #define _GNU_SOURCE
      |         ^
<command line>:3:9: note: previous definition is here
    3 | #define _GNU_SOURCE 1
      |         ^
1 warning generated.
[29/126] Compiling rdkafka.c
[30/142] Compiling rdregex.c
[31/142] Compiling rdrand.c
[32/142] Compiling rdports.c
[33/142] Compiling rdmurmur2.c
[34/142] Compiling rdmap.c
[35/142] 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.
[36/142] 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.
[37/142] Compiling rdkafka_zstd.c
[39/142] Emitting module InternalCollectionsUtilities
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_admin.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.
[39/144] Compiling rdkafka_admin.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.
[40/144] Compiling rdkafka_txnmgr.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.
[41/144] Compiling rdkafka_transport.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.
[42/144] Compiling rdkafka_topic.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.
[43/144] Compiling rdkafka_timer.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.
[44/144] Compiling rdkafka_telemetry_encode.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.
[45/144] 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.
[46/144] Compiling rdkafka_telemetry.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.
[47/144] Compiling rdkafka_telemetry_decode.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.
[48/144] Compiling rdkafka_sasl_scram.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.
[49/144] Compiling rdkafka_ssl.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.
[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]
   34 | #define _GNU_SOURCE /* for strndup() */
      |         ^
<command line>:3:9: note: previous definition is here
    3 | #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]
   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.
[52/144] Compiling rdkafka_sasl_cyrus.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
      |         ^
[52/144] Compiling rdkafka_sasl.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
      |         ^
[52/144] Compiling rdkafka_request.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
      |         ^
[52/144] Compiling rdkafka_roundrobin_assignor.c
[53/144] Emitting module _NIODataStructures
[54/144] Emitting module _NIOBase64
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/63] Write sources
[3/64] Compiling CNIOWASI CNIOWASI.c
[4/64] Write swift-version-24593BA9C3E375BF.txt
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
      |         ^
1 warning generated.
[5/64] Compiling rdkafka_roundrobin_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]
   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.
[6/64] Compiling rdkafka_sasl_cyrus.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.
[6/64] Compiling rdkafka_sasl.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_queue.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
      |         ^
[6/64] Compiling rdkafka_queue.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
      |         ^
[6/64] Compiling rdkafka_request.c
[6/64] Compiling c-atomics.c
[6/64] Compiling c-nioatomics.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_range_assignor.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
      |         ^
[6/64] Compiling rdkafka_range_assignor.c
[7/68] Compiling _NIODataStructures _TinyArray.swift
[8/68] Compiling _NIODataStructures PriorityQueue.swift
[9/68] Emitting module _NIODataStructures
[10/68] Compiling _NIODataStructures Heap.swift
BUILD FAILURE 6.1 linux