Build Information
Failed to build aws-crt-swift, reference main (a57d92), with Swift 6.1 for Wasm on 7 Nov 2026 04:01:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build 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: 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-54344845-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:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
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_static.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_static.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_sso.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_sso.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials.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.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/aws_profile.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/private/aws_profile.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 aws_profile.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_sts_web_identity.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>
| ^~~~~~~~~~~
[0/433] Compiling credentials_provider_sts_web_identity.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/aws_signing.c:6:
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/include/aws/auth/private/aws_signing.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 aws_signing.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_sts.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>
| ^~~~~~~~~~~
[0/433] Compiling credentials_provider_sts.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/aws_imds_client.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>
| ^~~~~~~~~~~
[0/433] Compiling aws_imds_client.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
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
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/433] Compiling s2n_map.c
[1/433] 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 error generated.
[1/433] Compiling s2n_random.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/433] Compiling s2n_socket.c
[1/433] Compiling s2n_rfc5952.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) {
| ^
[1/433] Compiling s2n_mem.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/433] Compiling s2n_timer.c
[1/433] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm