Build Information
Failed to build aws-crt-swift, reference main (513503
), with Swift 6.2 (beta) for Android on 24 Jun 2025 12:06:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/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 513503c Request-Response Client Operations (#332)
Submodule path 'aws-common-runtime/aws-c-auth': checked out 'cd9d6afcd42035d49bb2d0d3bef24b9faed57773'
Submodule path 'aws-common-runtime/aws-c-cal': checked out '938d0fea30d8476a7cf260278d636404682a28d4'
Submodule path 'aws-common-runtime/aws-c-common': checked out 'aaa2f11ed609e3f888efd9bf745e810b45b13a38'
Submodule path 'aws-common-runtime/aws-c-compression': checked out 'f951ab2b819fc6993b6e5e6cfef64b1a1554bfc8'
Submodule path 'aws-common-runtime/aws-c-event-stream': checked out '9312b052583183b98526aaeb91e5c72ec3db9627'
Submodule path 'aws-common-runtime/aws-c-http': checked out '3eedf1ef8c6874cd941dbde794a6ab3bd979e181'
Submodule path 'aws-common-runtime/aws-c-io': checked out '689dee3cb8dbd8a6906431d154a3695f7688c056'
Submodule path 'aws-common-runtime/aws-c-mqtt': checked out '3ac506507679a86677f8875dcc07589b63907863'
Submodule path 'aws-common-runtime/aws-c-sdkutils': checked out 'f678bda9e21f7217e4bbf35e0d1ea59540687933'
Submodule path 'aws-common-runtime/aws-checksums': checked out '9978ba2c33a7a259c1a6bd0f62abe26827d03b85'
Submodule path 'aws-common-runtime/s2n': checked out '92f7827c8487eb2a99b443aec6ee7d1df031b1bf'
Submodule path 'aws-common-runtime/s2n/tests/cbmc/aws-verification-model-for-libcrypto': checked out '53f8f8918f3aca5127937becd8efd9bfd1a860c2'
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 @):
513503cb6c7528f7d8f9d33ef792ce4bf827bb6b
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-4609320-1":/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-argument-parser.git
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.31s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/421] Compiling aws_profile.c
[2/421] Compiling credentials_provider_environment.c
[3/421] Copying PrivacyInfo.xcprivacy
[4/421] Compiling signable.c
[5/421] Compiling signable_chunk.c
[6/421] Compiling credentials_provider_imds.c
[7/421] Compiling credentials.c
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_socket.c:16:
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_socket.h:18:
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>
| ^~~~~~~~~~~~~~~
1 error generated.
[8/421] Compiling s2n_socket.c
[8/421] Compiling s2n_random.c
[8/421] Compiling s2n_rfc5952.c
[8/421] Compiling s2n_safety.c
[8/421] Compiling aws_signing.c
[8/421] Compiling aws_imds_client.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:21:
/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>
| ^~~~~~~~~~~~~~~~
[8/421] Compiling s2n_timer.c
[8/421] Write swift-version-8C5A4AE7A8CE2BA.txt
BUILD FAILURE 6.2 android