Build Information
Failed to build aws-sdk-swift, reference main (588b62), with Swift 6.2 for Wasm on 12 Dec 2025 23:50:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 --target AWSSTS 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/aws-sdk-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-sdk-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 588b629 chore: Updates version to 1.6.16
Updating files: 49% (1925/3878)
Updating files: 50% (1939/3878)
Updating files: 51% (1978/3878)
Updating files: 52% (2017/3878)
Updating files: 53% (2056/3878)
Updating files: 54% (2095/3878)
Updating files: 55% (2133/3878)
Updating files: 56% (2172/3878)
Updating files: 57% (2211/3878)
Updating files: 58% (2250/3878)
Updating files: 59% (2289/3878)
Updating files: 60% (2327/3878)
Updating files: 61% (2366/3878)
Updating files: 62% (2405/3878)
Updating files: 63% (2444/3878)
Updating files: 64% (2482/3878)
Updating files: 65% (2521/3878)
Updating files: 66% (2560/3878)
Updating files: 67% (2599/3878)
Updating files: 68% (2638/3878)
Updating files: 69% (2676/3878)
Updating files: 70% (2715/3878)
Updating files: 71% (2754/3878)
Updating files: 72% (2793/3878)
Updating files: 73% (2831/3878)
Updating files: 74% (2870/3878)
Updating files: 75% (2909/3878)
Updating files: 76% (2948/3878)
Updating files: 77% (2987/3878)
Updating files: 78% (3025/3878)
Updating files: 79% (3064/3878)
Updating files: 80% (3103/3878)
Updating files: 81% (3142/3878)
Updating files: 82% (3180/3878)
Updating files: 83% (3219/3878)
Updating files: 84% (3258/3878)
Updating files: 85% (3297/3878)
Updating files: 86% (3336/3878)
Updating files: 87% (3374/3878)
Updating files: 88% (3413/3878)
Updating files: 88% (3437/3878)
Updating files: 89% (3452/3878)
Updating files: 90% (3491/3878)
Updating files: 91% (3529/3878)
Updating files: 92% (3568/3878)
Updating files: 93% (3607/3878)
Updating files: 94% (3646/3878)
Updating files: 95% (3685/3878)
Updating files: 96% (3723/3878)
Updating files: 97% (3762/3878)
Updating files: 98% (3801/3878)
Updating files: 99% (3840/3878)
Updating files: 100% (3878/3878)
Updating files: 100% (3878/3878), done.
Cloned https://github.com/awslabs/aws-sdk-swift.git
Revision (git rev-parse @):
588b6294f554a97ffca067b0a7d071e48057d78c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/awslabs/aws-sdk-swift.git at main
========================================
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 --target AWSSTS 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/32496] Fetching aws-crt-swift
[8450/106822] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/smithy-lang/smithy-swift from cache (2.37s)
Fetched https://github.com/awslabs/aws-crt-swift from cache (2.38s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.54.2 (2.84s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/16921] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.65s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.177.0 (1.27s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/19444] Fetching opentelemetry-swift
[974/25191] Fetching opentelemetry-swift, swift-log
[3303/39694] Fetching opentelemetry-swift, swift-log, async-http-client
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (0.89s)
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.43s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (0.50s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
[1/2505] Fetching swift-metrics
[427/4325] Fetching swift-metrics, swift-atomics
[4326/55714] Fetching swift-metrics, swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
[6617/53894] Fetching swift-metrics, grpc-swift
[7645/134610] Fetching swift-metrics, grpc-swift, swift-nio
[90155/176130] Fetching swift-metrics, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-metrics.git from cache (10.36s)
Fetched https://github.com/grpc/grpc-swift.git from cache (10.41s)
Fetched https://github.com/apple/swift-protobuf.git from cache (10.46s)
Fetched https://github.com/apple/swift-nio.git from cache (10.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (10.92s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.80s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2809] Fetching swift-nio-transport-services
[226/9173] Fetching swift-nio-transport-services, swift-nio-extras
[5781/20891] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[10229/39278] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.53s)
[12386/36469] Fetching swift-nio-extras, swift-nio-http2, swift-collections
[12755/51765] Fetching swift-nio-extras, swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.73s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.16s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.18s)
Fetched https://github.com/apple/swift-collections.git from cache (3.19s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (3.67s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (0.66s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.56s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (0.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (1.20s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.43s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.60s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/7070] Fetching swift-certificates
[214/9638] Fetching swift-certificates, swift-service-lifecycle
[310/10842] Fetching swift-certificates, swift-service-lifecycle, swift-http-structured-headers
[1413/16675] Fetching swift-certificates, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[4324/22716] Fetching swift-certificates, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.42s)
[12622/21512] Fetching swift-certificates, swift-service-lifecycle, swift-async-algorithms, swift-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.68s)
[1/951] Fetching swift-http-types
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.80s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.80s)
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.81s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.78s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.99s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.59s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.33s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.35s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.40s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.40s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.60s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.41s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (0.38s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5583] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.45s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.86s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.25s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.65s)
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.26.0
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.36.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.177.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.1
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.31.2
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.39.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.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/awslabs/aws-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.54.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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.91.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.33.3
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.1
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.17.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.5.1
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.9.1
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.1.1
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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.6.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.17.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.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.6.2
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/271] Write sources
[0/271] Copying PrivacyInfo.xcprivacy
[0/271] Write sources
[35/271] Write swift-version-24593BA9C3E375BF.txt
[36/271] Compiling rate_limiters.c
[36/271] Compiling mqtt5_types.c
[38/271] Compiling mqtt5_topic_alias.c
[39/271] Compiling mqtt5_utils.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.
[40/271] Compiling mqtt5_listener.c
[40/271] 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_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)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
[40/271] Compiling mqtt5_to_mqtt3_adapter.c
[40/271] 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)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[40/271] Compiling mqtt5_options_storage.c
BUILD FAILURE 6.2 wasm