Build Information
Failed to build aws-sdk-swift, reference main (47f0f5
), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 21:31:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasi --target AWSSTS 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 47f0f5a chore: Updates version to 1.5.41
Updating files: 40% (1729/4239)
Updating files: 41% (1738/4239)
Updating files: 42% (1781/4239)
Updating files: 43% (1823/4239)
Updating files: 44% (1866/4239)
Updating files: 45% (1908/4239)
Updating files: 46% (1950/4239)
Updating files: 47% (1993/4239)
Updating files: 48% (2035/4239)
Updating files: 49% (2078/4239)
Updating files: 50% (2120/4239)
Updating files: 51% (2162/4239)
Updating files: 52% (2205/4239)
Updating files: 53% (2247/4239)
Updating files: 54% (2290/4239)
Updating files: 55% (2332/4239)
Updating files: 56% (2374/4239)
Updating files: 57% (2417/4239)
Updating files: 58% (2459/4239)
Updating files: 59% (2502/4239)
Updating files: 60% (2544/4239)
Updating files: 61% (2586/4239)
Updating files: 62% (2629/4239)
Updating files: 63% (2671/4239)
Updating files: 64% (2713/4239)
Updating files: 65% (2756/4239)
Updating files: 65% (2797/4239)
Updating files: 66% (2798/4239)
Updating files: 67% (2841/4239)
Updating files: 68% (2883/4239)
Updating files: 69% (2925/4239)
Updating files: 70% (2968/4239)
Updating files: 71% (3010/4239)
Updating files: 72% (3053/4239)
Updating files: 73% (3095/4239)
Updating files: 74% (3137/4239)
Updating files: 75% (3180/4239)
Updating files: 76% (3222/4239)
Updating files: 77% (3265/4239)
Updating files: 78% (3307/4239)
Updating files: 79% (3349/4239)
Updating files: 80% (3392/4239)
Updating files: 81% (3434/4239)
Updating files: 82% (3476/4239)
Updating files: 83% (3519/4239)
Updating files: 84% (3561/4239)
Updating files: 85% (3604/4239)
Updating files: 86% (3646/4239)
Updating files: 87% (3688/4239)
Updating files: 88% (3731/4239)
Updating files: 88% (3744/4239)
Updating files: 89% (3773/4239)
Updating files: 90% (3816/4239)
Updating files: 91% (3858/4239)
Updating files: 92% (3900/4239)
Updating files: 92% (3916/4239)
Updating files: 93% (3943/4239)
Updating files: 94% (3985/4239)
Updating files: 95% (4028/4239)
Updating files: 96% (4070/4239)
Updating files: 97% (4112/4239)
Updating files: 98% (4155/4239)
Updating files: 99% (4197/4239)
Updating files: 100% (4239/4239)
Updating files: 100% (4239/4239), done.
Cloned https://github.com/awslabs/aws-sdk-swift.git
Revision (git rev-parse @):
47f0f5ada8980c1708c814b09c64e81e6e21e32e
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-3":/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-wasi --target AWSSTS 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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/32133] Fetching aws-crt-swift
[6107/103938] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (1.54s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (1.72s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.54.0 (2.20s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15957] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.156.0 (1.20s)
Fetching https://github.com/open-telemetry/opentelemetry-swift
Fetching https://github.com/apple/swift-log.git
[1/3903] Fetching swift-log
[3904/22185] Fetching swift-log, opentelemetry-swift
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
[2012/18282] Fetching opentelemetry-swift
Fetched https://github.com/open-telemetry/opentelemetry-swift from cache (0.65s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.01s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift
Computed https://github.com/open-telemetry/opentelemetry-swift at 1.17.1 (0.56s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
[1/2350] Fetching swift-metrics
[2351/4164] Fetching swift-metrics, swift-atomics
[2968/55461] Fetching swift-metrics, swift-atomics, grpc-swift
[927/53111] Fetching swift-atomics, grpc-swift
Fetched https://github.com/apple/swift-metrics.git from cache (0.32s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
[4617/51297] Fetching grpc-swift
[10261/129377] Fetching grpc-swift, swift-nio
[97121/169555] Fetching grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (7.54s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.58s)
Fetched https://github.com/apple/swift-nio.git from cache (7.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.21s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.37s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.04s)
Fetching https://github.com/apple/swift-nio-http2.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-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2718] Fetching swift-nio-transport-services
[763/8845] Fetching swift-nio-transport-services, swift-nio-extras
[6089/20506] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[9884/37966] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections
[10829/53041] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.02s)
Fetched https://github.com/apple/swift-collections.git from cache (3.04s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.25s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.26s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (4.83s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (1.71s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (1.53s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (3.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (2.30s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.86s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.56s)
Fetching https://github.com/apple/swift-asn1.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-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1176] Fetching swift-http-structured-headers
[178/2805] Fetching swift-http-structured-headers, swift-asn1
[637/5275] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[4931/11260] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms
[5396/16651] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
[5450/23234] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.38s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.38s)
[15030/19135] Fetching swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.56s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.56s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.57s)
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
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.07s)
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.47s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.94s)
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.39s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.46s)
Fetching https://github.com/apple/swift-crypto.git
[1/16910] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.15s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (2.63s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.61s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.11s)
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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
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.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.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/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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
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.0
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.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.13.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.34.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.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.6.1
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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.4.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.156.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.2
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
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.16s)
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/264] Write sources
[0/264] Copying PrivacyInfo.xcprivacy
[0/264] Write sources
[0/264] Copying PrivacyInfo.xcprivacy
[0/264] Write sources
[0/264] Copying PrivacyInfo.xcprivacy
[0/264] Write sources
[31/264] Write swift-version-24593BA9C3E375BF.txt
[32/264] Compiling mqtt5_utils.c
[33/264] Compiling rate_limiters.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.
[34/264] Compiling mqtt5_to_mqtt3_adapter.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)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[34/264] Compiling mqtt5_options_storage.c
[34/264] 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_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)
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
[34/264] Compiling mqtt5_listener.c
[34/264] Compiling mqtt5_topic_alias.c
[34/264] Compiling mqtt5_types.c
BUILD FAILURE 6.2 wasm