Build Information
Failed to build aws-sdk-swift, reference 1.3.46 (efd83d
), with Swift 6.2 (beta) for Wasm on 28 Jun 2025 00:52:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi --target AWSSTS 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/aws-sdk-swift.git
Reference: 1.3.46
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-sdk-swift
* tag 1.3.46 -> FETCH_HEAD
HEAD is now at efd83db chore: Updates version to 1.3.46
Updating files: 85% (3601/4191)
Updating files: 86% (3605/4191)
Updating files: 87% (3647/4191)
Updating files: 88% (3689/4191)
Updating files: 89% (3730/4191)
Updating files: 90% (3772/4191)
Updating files: 91% (3814/4191)
Updating files: 92% (3856/4191)
Updating files: 93% (3898/4191)
Updating files: 94% (3940/4191)
Updating files: 95% (3982/4191)
Updating files: 96% (4024/4191)
Updating files: 97% (4066/4191)
Updating files: 98% (4108/4191)
Updating files: 99% (4150/4191)
Updating files: 100% (4191/4191)
Updating files: 100% (4191/4191), done.
Cloned https://github.com/awslabs/aws-sdk-swift.git
Revision (git rev-parse @):
efd83db645695bbea34a255735e6ec6da7e77f8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/awslabs/aws-sdk-swift.git at 1.3.46
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/awslabs/aws-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi --target AWSSTS 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/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/31903] Fetching aws-crt-swift
[8296/102954] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (2.86s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (2.92s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.52.1 (4.18s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15419] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.44s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.144.0 (2.59s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/open-telemetry/opentelemetry-swift
[1/3836] Fetching swift-log
[999/20756] Fetching swift-log, opentelemetry-swift
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Fetched https://github.com/open-telemetry/opentelemetry-swift 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.60s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.16.1 (0.75s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/grpc/grpc-swift.git
[1/2212] Fetching swift-metrics
[2213/4015] Fetching swift-metrics, swift-atomics
[4016/55285] Fetching swift-metrics, swift-atomics, grpc-swift
[9656/131627] Fetching swift-metrics, swift-atomics, grpc-swift, swift-nio
[90587/171145] Fetching swift-metrics, swift-atomics, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-metrics.git from cache (7.37s)
Fetched https://github.com/grpc/grpc-swift.git from cache (7.44s)
Fetched https://github.com/apple/swift-nio.git from cache (7.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (8.41s)
Fetched https://github.com/apple/swift-protobuf.git from cache (8.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (9.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.44s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.53s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.67s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.18s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/6014] Fetching swift-nio-extras
[1264/8687] Fetching swift-nio-extras, swift-nio-transport-services
[2240/25402] Fetching swift-nio-extras, swift-nio-transport-services, swift-collections
[4914/36935] Fetching swift-nio-extras, swift-nio-transport-services, swift-collections, swift-nio-http2
[6900/51831] Fetching swift-nio-extras, swift-nio-transport-services, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.80s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.77s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.78s)
Fetched https://github.com/apple/swift-collections.git from cache (3.81s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.84s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (5.18s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.69s)
Fetching https://github.com/apple/swift-system.git
[1/4443] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.71s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.53s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1616] Fetching swift-asn1
[1601/4042] Fetching swift-asn1, swift-service-lifecycle
[2685/5211] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers
[5014/10196] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[5312/16155] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-algorithms
[6000/22359] Fetching swift-asn1, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.42s)
[18771/21190] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.43s)
[16531/18764] Fetching swift-asn1, swift-async-algorithms, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
[15039/17148] Fetching swift-async-algorithms, swift-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.51s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.63s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.27s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.29s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.81s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.72s)
Fetching https://github.com/apple/swift-crypto.git
[1/15488] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.81s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.45s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.43s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.94s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.54s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (1.98s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.43s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.144.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/awslabs/aws-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.52.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift
Working copy of https://github.com/open-telemetry/opentelemetry-swift resolved at 1.16.1
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...
[0/263] Write sources
[4/263] Copying PrivacyInfo.xcprivacy
[4/263] Write sources
[4/263] Copying PrivacyInfo.xcprivacy
[4/263] Write sources
[31/263] Write swift-version-24593BA9C3E375BF.txt
[32/263] Compiling mqtt5_types.c
[33/263] Compiling mqtt5_utils.c
[34/263] Compiling rate_limiters.c
[35/263] Compiling mqtt5_topic_alias.c
[36/263] Compiling mqtt5_encoder.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_options_storage.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_options_storage.h:17:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/.build/checkouts/aws-crt-swift/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.
[37/264] Compiling mqtt5_options_storage.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_to_mqtt3_adapter.c:13:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_client_impl.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_decoder.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_options_storage.h:17:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/.build/checkouts/aws-crt-swift/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)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[37/268] Compiling mqtt5_to_mqtt3_adapter.c
[37/268] Compiling mqtt5_decoder.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_listener.c:11:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_client_impl.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_decoder.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/private/v5/mqtt5_options_storage.h:17:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/.build/checkouts/aws-crt-swift/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.
[37/268] Compiling mqtt5_listener.c
BUILD FAILURE 6.2 wasm