The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aws-crt-swift, reference v0.64.1 (d16782), with Swift 6.1 for Wasm on 11 Aug 2026 04:59:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/aws-crt-swift.git
Reference: v0.64.1
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
 * tag               v0.64.1    -> FETCH_HEAD
HEAD is now at d167825 chore: update CRTVersion to 0.64.1
Submodule path 'aws-common-runtime/aws-c-auth': checked out '4b5d524bf1a511b05e0fffe5bdc51800770b9427'
Submodule path 'aws-common-runtime/aws-c-cal': checked out '8aa2a48a09f93c65d4cf06388e143a6584de6321'
Submodule path 'aws-common-runtime/aws-c-common': checked out '3a5e638aee99c9f1d65696f7df8c4e5d3dc5805c'
Submodule path 'aws-common-runtime/aws-c-compression': checked out 'd8264e64f698341eb03039b96b4f44702a9b3f83'
Submodule path 'aws-common-runtime/aws-c-event-stream': checked out '51bef3c44e1058b1689751539170b2e0f589ccdb'
Submodule path 'aws-common-runtime/aws-c-http': checked out '8aefd899fc3210bfd0e3fd414011a3cb708bf6e4'
Submodule path 'aws-common-runtime/aws-c-io': checked out 'e2946c99521fa12d285c9a0829c92b1bf713922b'
Submodule path 'aws-common-runtime/aws-c-mqtt': checked out '2ef9605ec9c50bea3f921e08022ddd57eed70901'
Submodule path 'aws-common-runtime/aws-c-sdkutils': checked out '528b9dfff4a804b334875ecf8a0471f7d1366f24'
Submodule path 'aws-common-runtime/aws-checksums': checked out '1d5f2f1f3e5d013aae8810878ceb5b3f6f258c4e'
Submodule path 'aws-common-runtime/s2n': checked out '66b1c94d1dfc99b237427cbde230eca63bb8b89c'
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 @):
d1678252cb3da2d34f70db43e402927360df4d8c
SUCCESS checkout https://github.com/awslabs/aws-crt-swift.git at v0.64.1
========================================
Build
========================================
Selected platform:         wasm
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-54344843-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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...
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/source/posix/condition_variable.c:6:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/condition_variable.h:11:14: fatal error: 'pthread.h' file not found
   11 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/426] Compiling condition_variable.c
[0/426] Compiling clock.c
[0/426] Compiling aws_imds_client.c
[0/426] Compiling auth.c
[0/426] Compiling aws_http_credentials_provider.c
[0/426] Compiling aws_signing.c
[0/426] Compiling credentials.c
[0/426] Compiling aws_profile.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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/426] Copying PrivacyInfo.xcprivacy
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.
[1/426] Compiling s2n_map.c
[1/426] Compiling s2n_safety.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>
      |          ^~~~~~~~~~~~~~~~
[1/426] Compiling s2n_random.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/426] Compiling s2n_timer.c
In file included from /host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_mem.c:25:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
/host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_mem.c:118:5: error: call to undeclared function 'munlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  118 |     munlock(ptr, size);
      |     ^
/host/spi-builder-workspace/aws-common-runtime/s2n/utils/s2n_mem.c:154:9: error: call to undeclared function 'mlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  154 |     if (mlock(*ptr, *allocated) != 0) {
      |         ^
[1/426] 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:19:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
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>
      |          ^~~~~~~~~~~~~~~
[1/426] Compiling s2n_socket.c
[1/426] Compiling s2n_rfc5952.c
[1/426] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm