Build Information
Failed to build aws-crt-swift, reference main (f03edd), with Swift 6.2 for Wasm on 12 Dec 2025 01:22:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 f03edd6 Migrate to dispatch queue on macos (#364)
Submodule path 'aws-common-runtime/aws-c-auth': checked out 'cd9d6afcd42035d49bb2d0d3bef24b9faed57773'
Submodule path 'aws-common-runtime/aws-c-cal': checked out '1cb9412158890201a6ffceed779f90fe1f48180c'
Submodule path 'aws-common-runtime/aws-c-common': checked out '95515a8b1ff40d5bb14f965ca4cbbe99ad1843df'
Submodule path 'aws-common-runtime/aws-c-compression': checked out 'f951ab2b819fc6993b6e5e6cfef64b1a1554bfc8'
Submodule path 'aws-common-runtime/aws-c-event-stream': checked out 'f43a3d24a7c1f8b50f709ccb4fdf4c7fd2827fff'
Submodule path 'aws-common-runtime/aws-c-http': checked out '07302aa4a2892adbbf95ee6d458db3bb240030d3'
Submodule path 'aws-common-runtime/aws-c-io': checked out '996d42e484a3749c4dd05e4e9fed1d38de95eb81'
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 '30f40f2345a89570ed3c4cee2274942f1ebf85fa'
Submodule path 'aws-common-runtime/s2n/tests/cbmc/aws-verification-model-for-libcrypto': checked out '5d420698d032de0613688a82b2db5a4791b85284'
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 @):
f03edd6f93efe29b26d71fedb58187b3ae5029db
SUCCESS checkout https://github.com/awslabs/aws-crt-swift.git at main
========================================
Build
========================================
Selected platform: wasm
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser.git
[1/16917] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.82s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.20s)
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.6.2
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/crypto/s2n_rsa_pss.c:16:
/host/spi-builder-workspace/aws-common-runtime/s2n/crypto/s2n_rsa_pss.h:18:10: fatal error: 'openssl/bn.h' file not found
18 | #include <openssl/bn.h>
| ^~~~~~~~~~~~~~
1 error generated.
[2/433] Compiling s2n_rsa_pss.c
[2/433] Compiling s2n_sequence.c
[2/433] Compiling aws_imds_client.c
[2/433] Compiling credentials.c
[2/433] Compiling aws_signing.c
[2/433] Compiling aws_profile.c
[2/433] Compiling credentials_provider_anonymous.c
[2/433] Compiling auth.c
BUILD FAILURE 6.2 wasm