Build Information
Failed to build swift-kafka-client, reference 1.0.0-alpha.9 (434af1
), with Swift 6.2 (beta) for Android on 23 Jun 2025 22:18:21 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: 1.0.0-alpha.9
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-alpha.9 -> FETCH_HEAD
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 1.0.0-alpha.9
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics
[1/2426] Fetching swift-service-lifecycle
[705/4632] Fetching swift-service-lifecycle, swift-metrics
[3729/8468] Fetching swift-service-lifecycle, swift-metrics, swift-log
[5554/90523] Fetching swift-service-lifecycle, swift-metrics, swift-log, zstd
[5862/166862] Fetching swift-service-lifecycle, swift-metrics, swift-log, zstd, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.59s)
[8448/164436] Fetching swift-metrics, swift-log, zstd, swift-nio
Fetched https://github.com/apple/swift-metrics from cache (0.62s)
[7062/162230] Fetching swift-log, zstd, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (14.64s)
Fetched https://github.com/facebook/zstd.git from cache (14.76s)
Fetched https://github.com/apple/swift-nio.git from cache (14.77s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (18.31s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.93s)
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 (0.67s)
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.50s)
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.14s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.06s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[702/6233] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.54s)
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/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/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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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.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.6.3
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] Write swift-version-8C5A4AE7A8CE2BA.txt
[14/114] Compiling _AtomicsShims.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));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[15/114] Compiling tinycthread.c
[15/114] Compiling lz4.c
[15/114] Compiling lz4frame.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[15/114] Compiling tinycthread_extra.c
[15/114] Compiling cJSON.c
[15/114] Compiling lz4hc.c
In file included from /host/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/crc32c.c:48:
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 crc32c.c
BUILD FAILURE 6.2 android