Build Information
Failed to build swift-kafka-client, reference main (62da8d
), with Swift 6.1 for Android on 30 May 2025 23:18:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 62da8d9 Drop Swift 5.9 (#194)
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 @):
62da8d93d744dbf3041e83a5e59358396ed232bd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at main
========================================
Build
========================================
Selected platform: android
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.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2426] Fetching swift-service-lifecycle
[2427/84250] Fetching swift-service-lifecycle, zstd
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.62s)
[3273/81824] Fetching zstd
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/facebook/zstd.git from cache (8.68s)
[1/3836] Fetching swift-log
[2/6042] Fetching swift-log, swift-metrics
[5801/82165] Fetching swift-log, swift-metrics, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.74s)
[2726/78329] Fetching swift-metrics, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (6.25s)
Fetched https://github.com/apple/swift-nio.git from cache (6.40s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (17.80s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.68s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.37s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4985] 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.0.4 (1.20s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.03s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1717] Fetching swift-atomics
[757/6108] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.11s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.53s)
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.83.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.2.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics 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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
warning: you may be able to install openssl using your system-packager:
apt-get install libssl-dev
warning: you may be able to install openssl using your system-packager:
apt-get install libssl-dev
Building for debugging...
[0/114] Write sources
[13/114] Compiling _AtomicsShims.c
[14/114] Compiling pb_common.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/tinycthread_extra.c:34:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rd.h:74:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdposix.h:119:11: error: incompatible pointer to integer conversion assigning to 'int' from 'char * _Nonnull' [-Wint-conversion]
119 | r = strerror_r(err, ret, sizeof(ret));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15/114] Compiling tinycthread_extra.c
[15/114] Compiling lz4hc.c
[15/114] Compiling pb_decode.c
[15/114] Compiling lz4.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/tinycthread.c:25:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rd.h:74:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdposix.h:119:11: error: incompatible pointer to integer conversion assigning to 'int' from 'char * _Nonnull' [-Wint-conversion]
119 | r = strerror_r(err, ret, sizeof(ret));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/114] Compiling tinycthread.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
| ^
[15/114] Compiling snappy.c
[15/114] Compiling lz4frame.c
[15/114] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install openssl using your system-packager:
apt-get install libssl-dev
warning: you may be able to install openssl using your system-packager:
apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/99] Write sources
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/tinycthread.c:25:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rd.h:74:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdposix.h:119:11: error: incompatible pointer to integer conversion assigning to 'int' from 'char * _Nonnull' [-Wint-conversion]
119 | r = strerror_r(err, ret, sizeof(ret));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/99] Compiling tinycthread.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/regexp.c:12:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rd.h:74:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdposix.h:119:11: error: incompatible pointer to integer conversion assigning to 'int' from 'char * _Nonnull' [-Wint-conversion]
119 | r = strerror_r(err, ret, sizeof(ret));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/99] Compiling regexp.c
[4/99] Compiling rdunittest.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
| ^
[4/99] Compiling snappy.c
[4/99] Compiling rdxxhash.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdvarint.c:30:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdvarint.h:33:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rd.h:74:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdposix.h:119:11: error: incompatible pointer to integer conversion assigning to 'int' from 'char * _Nonnull' [-Wint-conversion]
119 | r = strerror_r(err, ret, sizeof(ret));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/99] Compiling rdvarint.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/tinycthread_extra.c:34:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rd.h:74:
/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdposix.h:119:11: error: incompatible pointer to integer conversion assigning to 'int' from 'char * _Nonnull' [-Wint-conversion]
119 | r = strerror_r(err, ret, sizeof(ret));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/99] Compiling tinycthread_extra.c
[4/99] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android