Build Information
Failed to build swift-kafka-client, reference 1.0.0-beta.1 (fd996f), with Swift 6.4 for Android on 9 Oct 2026 12:04:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: 1.0.0-beta.1
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
* tag 1.0.0-beta.1 -> FETCH_HEAD
HEAD is now at fd996f2 Raise minimum swift-service-lifecycle to 2.12.0 (#264)
Submodule path 'Sources/Crdkafka/librdkafka': checked out 'e0da09cc26241ee123c793f806c27b5df494b094'
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 @):
fd996f21073f90a84fde44f247b3f2be047ad29b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at 1.0.0-beta.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
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-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/facebook/zstd.git
[1/3563] Fetching swift-metrics
[2/20420] Fetching swift-metrics, swift-nio-ssl
[394/23287] Fetching swift-metrics, swift-nio-ssl, swift-service-lifecycle
Fetching https://github.com/apple/swift-log.git
[23288/109649] Fetching swift-metrics, swift-nio-ssl, swift-service-lifecycle, swift-nio
[26743/117906] Fetching swift-metrics, swift-nio-ssl, swift-service-lifecycle, swift-nio, swift-log
[36739/203856] Fetching swift-metrics, swift-nio-ssl, swift-service-lifecycle, swift-nio, swift-log, zstd
Fetched https://github.com/apple/swift-log.git (0.85s)
[94882/195599] Fetching swift-metrics, swift-nio-ssl, swift-service-lifecycle, swift-nio, zstd
Fetched https://github.com/swift-server/swift-service-lifecycle.git (3.55s)
Fetched https://github.com/apple/swift-nio.git (3.60s)
Fetched https://github.com/apple/swift-metrics (3.97s)
Fetched https://github.com/apple/swift-nio-ssl.git (3.98s)
Fetched https://github.com/facebook/zstd.git (4.00s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.1 (4.16s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6806] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.84s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.19s)
Fetching https://github.com/apple/swift-collections.git
[1/28691] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (2.11s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (0.88s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.12.0 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.25s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
[454/9126] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.80s)
[4562/7241] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.90s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
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.7
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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.12.1
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.1
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.12.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/KafkaConfig.swift.gyb
/host/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConsumerConfig.swift.gyb
/host/spi-builder-workspace/Sources/Kafka/Configuration/KafkaProducerConfig.swift.gyb
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1165]
[Planning 1107 / 1165]
[Planning deferred tasks]
[Starting]
[12 / 911] libzstd
[210 / 911] libzstd
[212 / 911] libzstd
[217 / 911] libzstd
[225 / 911] libzstd
[229 / 911] libzstd
[243 / 930] _NIODataStructures
[245 / 939] InternalCollectionsUtilities
[246 / 939] InternalCollectionsUtilities
[258 / 939] Logging
[259 / 939] _NIODataStructures
[266 / 939] _NIOBase64
[269 / 940] Logging
[280 / 941] _NIODataStructures
[284 / 941] SpanPreview
[287 / 941]
[296 / 955] NIOConcurrencyHelpers
[297 / 955] NIOConcurrencyHelpers
[301 / 955] CoreMetrics
[313 / 955] CoreMetrics
[318 / 960]
[339 / 969] CNIOPosix
[364 / 989] SpanPreview
[367 / 989] OrderedCollections
[370 / 990] OrderedCollections
[371 / 990] OrderedCollections
[372 / 990] Logging
[376 / 990] CoreMetrics
[378 / 990] CoreMetrics
[387 / 990] OrderedCollections
[388 / 990] CNIOBoringSSLShims
[392 / 991] OrderedCollections
[402 / 991] CNIOBoringSSL
[406 / 991] CNIOBoringSSL
[408 / 991] CNIOBoringSSL
[411 / 991] CNIOBoringSSL
[416 / 991] CNIOBoringSSL
[419 / 991] CNIOBoringSSL
[421 / 991] Atomics
[423 / 992] CNIOBoringSSL
[424 / 992] CNIOBoringSSL
[427 / 992] CNIOBoringSSL
[429 / 992] CNIOBoringSSL
[430 / 992] CNIOBoringSSL
[431 / 992] CNIOBoringSSL
[436 / 992] CNIOBoringSSL
[443 / 992] CNIOBoringSSL
[448 / 992] CNIOBoringSSL
[449 / 992] CNIOBoringSSL
[451 / 992] CNIOBoringSSL
[454 / 992] CNIOBoringSSL
[456 / 992] CNIOBoringSSL
[457 / 992] CNIOBoringSSL
[459 / 992] CNIOBoringSSL
[463 / 992] CNIOBoringSSL
[464 / 992] CNIOBoringSSL
[465 / 992] CNIOBoringSSL
[467 / 992] CNIOBoringSSL
[471 / 992] CNIOBoringSSL
[473 / 992] CNIOBoringSSL
[477 / 992] CNIOBoringSSL
[478 / 992] CNIOBoringSSL
[480 / 992] CNIOBoringSSL
[481 / 992] CNIOBoringSSL
[483 / 992] CNIOBoringSSL
[484 / 992] CNIOBoringSSL
[490 / 992] CNIOBoringSSL
[492 / 992] CNIOBoringSSL
[494 / 992] CNIOBoringSSL
[496 / 992] CNIOBoringSSL
[498 / 992] CNIOBoringSSL
[501 / 992] CNIOBoringSSL
[503 / 992] CNIOBoringSSL
[506 / 992] CNIOBoringSSL
[509 / 992] CNIOBoringSSL
[510 / 992] CNIOBoringSSL
[513 / 992] CNIOBoringSSL
[514 / 992] CNIOBoringSSL
[517 / 992] CNIOBoringSSL
[526 / 992] CNIOBoringSSL
[538 / 992] CNIOBoringSSL
[552 / 992] CNIOBoringSSL
[554 / 992] CNIOBoringSSL
[555 / 992] CNIOBoringSSL
[560 / 992] CNIOBoringSSL
[561 / 992] CNIOBoringSSL
[566 / 992] CNIOBoringSSL
[569 / 992] CNIOBoringSSL
[570 / 992] CNIOBoringSSL
[575 / 992] CNIOBoringSSL
[576 / 992] CNIOBoringSSL
[578 / 992] CNIOBoringSSL
[582 / 992] CNIOBoringSSL
[584 / 992] CNIOBoringSSL
[588 / 992] CNIOBoringSSL
[593 / 992] CNIOBoringSSL
[595 / 992] CNIOBoringSSL
[596 / 992] CNIOBoringSSL
[603 / 992] CNIOBoringSSL
[610 / 992] CNIOBoringSSL
[614 / 992] CNIOBoringSSL
[617 / 992] CNIOBoringSSL
[623 / 992] CNIOBoringSSL
[629 / 992] CNIOBoringSSL
[631 / 992] CNIOBoringSSL
[636 / 992] CNIOBoringSSL
[644 / 992] CNIOBoringSSL
[654 / 992] CNIOBoringSSL
[662 / 992] CNIOBoringSSL
[666 / 992] CNIOBoringSSL
[670 / 992] CNIOBoringSSL
[672 / 992] CNIOBoringSSL
[677 / 992] CNIOBoringSSL
[679 / 992] CNIOBoringSSL
[681 / 992] CNIOBoringSSL
[685 / 992] CNIOBoringSSL
[689 / 992] CNIOBoringSSL
[692 / 992] CNIOBoringSSL
[696 / 992] CNIOBoringSSL
[698 / 992] CNIOBoringSSL
[700 / 992] CNIOBoringSSL
[702 / 992] CNIOBoringSSL
[705 / 992] CNIOBoringSSL
[708 / 992] CNIOBoringSSL
[709 / 992] CNIOBoringSSL
[713 / 992] CNIOBoringSSL
[722 / 992] CNIOBoringSSL
[732 / 992] CNIOBoringSSL
[737 / 992] CNIOBoringSSL
[742 / 992] CNIOBoringSSL
[745 / 992] CNIOBoringSSL
[750 / 992] CNIOBoringSSL
[753 / 992] CNIOBoringSSL
[762 / 992] CNIOBoringSSL
[771 / 992] CNIOBoringSSL
[780 / 992] CNIOBoringSSL
[781 / 992] CNIOBoringSSL
[782 / 992] CNIOBoringSSL
[783 / 992] CNIOBoringSSL
[787 / 992] CNIOBoringSSL
[788 / 992] CNIOBoringSSL
[789 / 992] CNIOBoringSSL
[791 / 992] CNIOBoringSSL
[795 / 992] CNIOAtomics
[796 / 992] OrderedCollections
[802 / 995] CNIOBoringSSL
[808 / 1000] UnixSignals
[811 / 1009] CNIOBoringSSL
[814 / 1009] UnixSignals
[820 / 1009] DequeModule
[823 / 1010] UnixSignals
[827 / 1010] DequeModule
[828 / 1010] ConcurrencyHelpers
[835 / 1010] UnixSignals
[837 / 1010] DequeModule
[837 / 1010] Metrics
[840 / 1011] DequeModule
[856 / 1032] AsyncAlgorithms
[858 / 1032] NIOCore
[860 / 1032] NIOCore
[861 / 1032] NIOCore
[861 / 1032] AsyncAlgorithms
[863 / 1032] NIOCore
[869 / 1032] NIOCore
[870 / 1032] NIOCore
[871 / 1032] DequeModule
[873 / 1032] DequeModule
[876 / 1042] ServiceLifecycle
[884 / 1042] ServiceLifecycle
[886 / 1042] ServiceLifecycle-product
[889 / 1043] AsyncAlgorithms
[891 / 1043] ServiceLifecycle
[894 / 1044] NIOCore
[909 / 1059] NIOPosix
[910 / 1060] NIOPosix
[912 / 1060] NIOEmbedded
[918 / 1060] NIOPosix
[919 / 1061] NIOEmbedded
[924 / 1061] NIOCore
[925 / 1061] NIOPosix
[938 / 1064] NIO
[946 / 1072] NIOTLS
[957 / 1082] NIOPosix
[960 / 1083] NIOTLS
[962 / 1083] NIOTLS
[964 / 1084] NIOSSL
[966 / 1084] NIOSSL
[975 / 1094] NIOPosix
[979 / 1094] Kafka
[980 / 1094] Kafka
[983 / 1095] NIOSSL
[989 / 1095] Kafka
[995 / 1095] Crdkafka
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
[1m/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:67:9: [0m[0;1;35mwarning: [0m[1m'le32toh' macro redefined [-Wmacro-redefined][0m
67 | #define le32toh letoh32[0m
| [0;1;32m ^
[0mIn 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:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:50:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdaddr.h:33:
In file included from /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/netinet/in.h:33:
In file included from /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/endian.h:10:
[1m/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/sys/endian.h:77:9: [0m[0;1;36mnote: [0mprevious definition is here[0m
77 | #define le32toh(x) (x)[0m
| [0;1;32m ^
[0m1 warning generated.
[999 / 1095] Crdkafka
[1004 / 1095] Crdkafka
[1008 / 1095] Crdkafka
[1010 / 1095] Crdkafka
[1012 / 1095] Crdkafka
[1014 / 1095] Crdkafka
[1017 / 1095] Kafka
[1020 / 1095] Crdkafka
[1m/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_ssl.c:1903:45: [0m[0;1;35mwarning: [0m[1mformat specifies type 'unsigned long' but the argument has type 'int' [-Wformat][0m
1901 | [0;32m"(0x%lx, librdkafka built with 0x%lx)"[0m,[0m
| [0;1;32m ~~~
[0m | [0;32m %x
[0m 1902 | linking, OpenSSL_version(OPENSSL_VERSION),[0m
1903 | OpenSSL_version_num(), OPENSSL_VERSION_NUMBER);[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_ssl.c:36:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:51:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdinterval.h:34:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdrand.h:33:
In file included from /host/spi-builder-workspace/Sources/Crdkafka/custom/openssl_shim/openssl/crypto.h:1:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_crypto.h:18:
[1m/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_base.h:60:32: [0m[0;1;36mnote: [0mexpanded from macro 'OPENSSL_VERSION_NUMBER'[0m
60 | #define OPENSSL_VERSION_NUMBER [0;32m0x1010107f[0m
| [0;1;32m ^~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_ssl.c:36:
[1m/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:1028:66: [0m[0;1;36mnote: [0mexpanded from macro 'rd_kafka_dbg'[0m
1028 | (RD_KAFKA_DBG_##ctx), fac, __VA_ARGS__); \[0m
| [0;1;32m ^~~~~~~~~~~
[0m1 warning generated.
[1023 / 1095] Crdkafka
[1028 / 1095] Crdkafka
[1032 / 1095] Crdkafka
[1035 / 1095] Crdkafka
[1039 / 1095] Crdkafka
[1042 / 1096] Crdkafka
[1044 / 1096] Crdkafka
[1048 / 1096] Crdkafka
[1m/host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_conf.c:60:10: [0m[0;1;31mfatal error: [0m[1m'curl/curl.h' file not found[0m
60 | #include <curl/curl.h>[0m
| [0;1;32m ^~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-kafka-client.build/Debug-android-aarch64/Crdkafka-t.build/Objects-normal/aarch64/rdkafka_conf.o /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_conf.c normal aarch64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-kafka-client.build/Debug-android-aarch64/Crdkafka-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-kafka-client.build/Debug-android-aarch64/Crdkafka-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-kafka-client.build/Debug-android-aarch64/Crdkafka-t.build/Objects-normal/aarch64/rdkafka_conf.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-kafka-client.build/Debug-android-aarch64/Crdkafka-t.build/Objects-normal/aarch64/rdkafka_conf.dia -c /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_conf.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-kafka-client.build/Debug-android-aarch64/Crdkafka-t.build/Objects-normal/aarch64/rdkafka_conf.o
error: Build failed
BUILD FAILURE 6.4 android