The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aws-crt-swift, reference main (a57d92), with Swift 6.1 for Android on 7 Nov 2026 03:49:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build 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 a57d928 updating macos runner (#417)
Submodule path 'aws-common-runtime/aws-c-auth': checked out '3d29adcecf5c032131acee9f4125a636d2aaea6a'
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 'd19eabf4c5dc78ee1e07033a5015e9d50d04ec31'
Submodule path 'aws-common-runtime/aws-c-io': checked out 'cbc36857376bffb8f4654e6c4e443b6939e1629c'
Submodule path 'aws-common-runtime/aws-c-mqtt': checked out '96af751fa58d4d6704881463a4d6895b107268ed'
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 'e7ce83a27fa9525515a621754a7183a51c80246b'
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 @):
a57d9286b6a13e2bcd942abccdb018834846e1c8
SUCCESS checkout https://github.com/awslabs/aws-crt-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/awslabs/aws-crt-swift.git
https://github.com/awslabs/aws-crt-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.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 saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-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 aws_profile.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-cal/source/unix/openssl_rsa.c:5:
/host/spi-builder-workspace/aws-common-runtime/aws-c-cal/include/aws/cal/private/opensslcrypto_common.h:12:10: fatal error: 'openssl/crypto.h' file not found
   12 | #include <openssl/crypto.h>
      |          ^~~~~~~~~~~~~~~~~~
1 error generated.
[0/433] Compiling openssl_rsa.c
[0/433] Compiling aws_signing.c
[0/433] Compiling credentials_provider_ecs.c
[0/433] Compiling aws_imds_client.c
[0/433] Compiling credentials_provider_delegate.c
[0/433] Compiling aws_http_credentials_provider.c
[0/433] Compiling credentials_provider_default_chain.c
[0/433] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-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
[0/1] Planning build
Building for debugging...
[0/433] Copying PrivacyInfo.xcprivacy
[1/433] Compiling s2n_safety.c
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_map.c:16:
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_map.h:19:
/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>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[2/433] Compiling s2n_map.c
[2/433] Compiling s2n_io.c
[2/433] Compiling s2n_mem.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>
      |          ^~~~~~~~~~~~~~~
[2/433] Compiling s2n_socket.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>
      |          ^~~~~~~~~~~~~~~~
[2/433] Compiling s2n_random.c
[2/433] Compiling s2n_rfc5952.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>
      |          ^~~~~~~~~~~~~~~~
[2/433] Compiling s2n_timer.c
[2/433] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android