Build Information
Failed to build aws-crt-swift, reference main (bb952f), with Swift 6.2 for Android on 20 Nov 2026 05:56:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/aws-crt-swift.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/awslabs/aws-crt-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bb952f4 chore: update CRTVersion to 0.64.5
Submodule path 'aws-common-runtime/aws-c-auth': checked out 'cf69fb7edf7c973524348bbcecda1b1684de4d5e'
Submodule path 'aws-common-runtime/aws-c-cal': checked out '2441187f3bdbe0f0fe7fa5dd1736be98227ad556'
Submodule path 'aws-common-runtime/aws-c-common': checked out '45e9307382f196175f0dbb832a178570924bda96'
Submodule path 'aws-common-runtime/aws-c-compression': checked out '891312c058e69a4d55f569f79dde1ee221982532'
Submodule path 'aws-common-runtime/aws-c-event-stream': checked out 'd32600bfecc6616cab0c478f96ea5a779f03e05e'
Submodule path 'aws-common-runtime/aws-c-http': checked out 'f97e6cfeb22538d2c7d40d0c340d668413af3eae'
Submodule path 'aws-common-runtime/aws-c-io': checked out 'eac372568ea06c999cb26c4db996633c84b4e86d'
Submodule path 'aws-common-runtime/aws-c-mqtt': checked out '770376de6a4a3255f14389828cd9092cecb63578'
Submodule path 'aws-common-runtime/aws-c-sdkutils': checked out '66a79c011dbe057fcc6e9620f93a52c2c29843e8'
Submodule path 'aws-common-runtime/aws-checksums': checked out '12cd22e81543b8547132762023076ab6afa25559'
Submodule path 'aws-common-runtime/s2n': checked out '036986196aeb7b9921943f71efccebe4219640af'
Submodule path 'aws-common-runtime/s2n/tests/cbmc/aws-verification-model-for-libcrypto': checked out '4a6839e2a9cf5194a7789f63b1a3a45b5e86add1'
Submodule 'aws-common-runtime/aws-c-auth' (https://github.com/awslabs/aws-c-auth.git) registered for path 'aws-common-runtime/aws-c-auth'
Submodule 'aws-common-runtime/aws-c-cal' (https://github.com/awslabs/aws-c-cal) registered for path 'aws-common-runtime/aws-c-cal'
Submodule 'aws-common-runtime/aws-c-common' (https://github.com/awslabs/aws-c-common.git) registered for path 'aws-common-runtime/aws-c-common'
Submodule 'aws-common-runtime/aws-c-compression' (https://github.com/awslabs/aws-c-compression.git) registered for path 'aws-common-runtime/aws-c-compression'
Submodule 'aws-common-runtime/aws-c-event-stream' (https://github.com/awslabs/aws-c-event-stream) registered for path 'aws-common-runtime/aws-c-event-stream'
Submodule 'aws-common-runtime/aws-c-http' (https://github.com/awslabs/aws-c-http.git) registered for path 'aws-common-runtime/aws-c-http'
Submodule 'aws-common-runtime/aws-c-io' (https://github.com/awslabs/aws-c-io.git) registered for path 'aws-common-runtime/aws-c-io'
Submodule 'aws-common-runtime/aws-c-mqtt' (https://github.com/awslabs/aws-c-mqtt.git) registered for path 'aws-common-runtime/aws-c-mqtt'
Submodule 'aws-common-runtime/aws-c-sdkutils' (https://github.com/awslabs/aws-c-sdkutils) registered for path 'aws-common-runtime/aws-c-sdkutils'
Submodule 'aws-common-runtime/aws-checksums' (https://github.com/awslabs/aws-checksums) registered for path 'aws-common-runtime/aws-checksums'
Submodule 'aws-common-runtime/s2n' (https://github.com/aws/s2n-tls.git) registered for path 'aws-common-runtime/s2n'
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-auth'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-cal'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-common'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-compression'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-event-stream'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-http'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-io'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-mqtt'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-c-sdkutils'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/aws-checksums'...
Cloning into '/host/spi-builder-workspace/aws-common-runtime/s2n'...
Submodule 'tests/cbmc/aws-verification-model-for-libcrypto' (https://github.com/awslabs/aws-verification-model-for-libcrypto.git) registered for path 'aws-common-runtime/s2n/tests/cbmc/aws-verification-model-for-libcrypto'
Cloning into '/host/spi-builder-workspace/aws-common-runtime/s2n/tests/cbmc/aws-verification-model-for-libcrypto'...
Cloned https://github.com/awslabs/aws-crt-swift.git
Revision (git rev-parse @):
bb952f4afde4fb6e8ea8813a641973ba6c2ab9eb
SUCCESS checkout https://github.com/awslabs/aws-crt-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/awslabs/aws-crt-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/aws-common-runtime/s2n/docker-images': File not found.
warning: you may be able to install libcrypto using your system-packager:
apt-get install openssl libssl-dev
warning: you may be able to install libcrypto using your system-packager:
apt-get install openssl libssl-dev
Building for debugging...
[0/433] Compiling credentials_provider_chain.c
[1/433] Compiling credentials_provider_delegate.c
[1/433] Copying PrivacyInfo.xcprivacy
[1/433] Compiling aws_profile.c
[1/433] Compiling credentials_provider_imds.c
[5/433] Compiling credentials_provider_environment.c
[6/433] Compiling credentials_provider_default_chain.c
[7/433] Compiling credentials_provider_cognito.c
[8/433] Compiling s2n_rfc5952.c
[9/433] Compiling credentials_provider_ecs.c
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_timer.c:18:
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/tls/s2n_config.h:22:
/host/spi-builder-workspace/aws-common-runtime/s2n/crypto/s2n_certificate.h:18:10: fatal error: 'openssl/x509.h' file not found
18 | #include <openssl/x509.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[10/433] Compiling s2n_timer.c
[10/433] Compiling s2n_map.c
[10/433] Compiling s2n_safety.c
[10/433] Compiling s2n_io.c
[10/433] Write swift-version--11D90AFD9DD3AB2.txt
[10/433] Compiling s2n_mem.c
/host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_random.c:53:10: fatal error: 'openssl/rand.h' file not found
53 | #include <openssl/rand.h>
| ^~~~~~~~~~~~~~~~
[10/433] Compiling s2n_random.c
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_socket.c:21:
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_socket.h:24:
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/tls/s2n_connection.h:23:
/host/spi-builder-workspace/aws-common-runtime/s2n/crypto/s2n_hash.h:18:10: fatal error: 'openssl/md5.h' file not found
18 | #include <openssl/md5.h>
| ^~~~~~~~~~~~~~~
[10/433] Compiling s2n_socket.c
BUILD FAILURE 6.2 android