Build Information
Failed to build aws-crt-swift, reference v0.53.0 (513503
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 12:07:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: v0.53.0
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.53.0 -> FETCH_HEAD
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 v0.53.0
========================================
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" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 (1.11s)
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.88s)
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 credentials_provider_cached.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_cognito.c:18:
/host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/socket.h:148:18: error: no member named 'sun_path' in 'struct sockaddr_un'
148 | char address[AWS_ADDRESS_MAX_LEN];
| ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/socket.h:145:67: note: expanded from macro 'AWS_ADDRESS_MAX_LEN'
145 | # define AWS_ADDRESS_MAX_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
[2/421] Compiling credentials_provider_chain.c
[3/421] Copying PrivacyInfo.xcprivacy
[4/421] Compiling credentials_provider_cognito.c
[4/421] Compiling aws_profile.c
[4/421] Compiling credentials.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/credentials_provider_sts_web_identity.c:22:
/host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/socket.h:148:18: error: no member named 'sun_path' in 'struct sockaddr_un'
148 | char address[AWS_ADDRESS_MAX_LEN];
| ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/socket.h:145:67: note: expanded from macro 'AWS_ADDRESS_MAX_LEN'
145 | # define AWS_ADDRESS_MAX_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[4/421] Compiling credentials_provider_sts_web_identity.c
[4/421] Compiling aws_signing.c
In file included from /host/spi-builder-workspace/aws-common-runtime/aws-c-auth/source/aws_imds_client.c:16:
/host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/socket.h:148:18: error: no member named 'sun_path' in 'struct sockaddr_un'
148 | char address[AWS_ADDRESS_MAX_LEN];
| ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/aws-common-runtime/aws-c-io/include/aws/io/socket.h:145:67: note: expanded from macro 'AWS_ADDRESS_MAX_LEN'
145 | # define AWS_ADDRESS_MAX_LEN sizeof(((struct sockaddr_un *)0)->sun_path)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[4/421] Compiling aws_imds_client.c
[4/421] Compiling s2n_timer.c
[4/421] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm