The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aws-crt-swift, reference v0.64.5 (bb952f), with Swift 6.1 for Wasm on 20 Nov 2026 05:46:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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: v0.64.5
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.5    -> FETCH_HEAD
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 v0.64.5
========================================
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-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: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:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
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.
Building for debugging...
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_process.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/433] Compiling credentials_provider_process.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_environment.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/433] Compiling credentials_provider_environment.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_default_chain.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/433] Compiling credentials_provider_default_chain.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_delegate.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/private/credentials_utils.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_imds.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/aws_imds_client.h:8:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/433] Compiling credentials_provider_delegate.c
[0/433] Compiling credentials_provider_imds.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_ecs.c:7:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
[0/433] Compiling credentials_provider_ecs.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_login.c:5:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/433] Compiling credentials_provider_login.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_profile.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
1 error generated.
[0/433] Compiling credentials_provider_profile.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
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.
[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_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:166:9: error: call to undeclared function 'mlock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  166 |     if (mlock(*ptr, *allocated) != 0) {
      |         ^
3 errors generated.
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
/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 error generated.
[2/433] 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>
      |          ^~~~~~~~~~~~~~~~
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>
      |          ^~~~~~~~~~~~~~~
[2/433] Compiling s2n_timer.c
[2/433] Compiling s2n_socket.c
[2/433] Compiling s2n_rfc5952.c
[2/433] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm