The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aws-sdk-swift, reference 1.6.106 (9483b4), with Swift 6.1 for Wasm on 2 May 2026 03:20:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target AWSSTS 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/aws-sdk-swift.git
Reference: 1.6.106
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.6.106    -> FETCH_HEAD
HEAD is now at 9483b4f chore: Updates version to 1.6.106
Updating files:  48% (1907/3932)
Updating files:  49% (1927/3932)
Updating files:  50% (1966/3932)
Updating files:  51% (2006/3932)
Updating files:  52% (2045/3932)
Updating files:  53% (2084/3932)
Updating files:  54% (2124/3932)
Updating files:  55% (2163/3932)
Updating files:  56% (2202/3932)
Updating files:  57% (2242/3932)
Updating files:  58% (2281/3932)
Updating files:  59% (2320/3932)
Updating files:  60% (2360/3932)
Updating files:  61% (2399/3932)
Updating files:  62% (2438/3932)
Updating files:  63% (2478/3932)
Updating files:  64% (2517/3932)
Updating files:  65% (2556/3932)
Updating files:  66% (2596/3932)
Updating files:  67% (2635/3932)
Updating files:  68% (2674/3932)
Updating files:  69% (2714/3932)
Updating files:  70% (2753/3932)
Updating files:  71% (2792/3932)
Updating files:  72% (2832/3932)
Updating files:  73% (2871/3932)
Updating files:  74% (2910/3932)
Updating files:  75% (2949/3932)
Updating files:  76% (2989/3932)
Updating files:  77% (3028/3932)
Updating files:  78% (3067/3932)
Updating files:  79% (3107/3932)
Updating files:  80% (3146/3932)
Updating files:  81% (3185/3932)
Updating files:  82% (3225/3932)
Updating files:  83% (3264/3932)
Updating files:  84% (3303/3932)
Updating files:  85% (3343/3932)
Updating files:  86% (3382/3932)
Updating files:  87% (3421/3932)
Updating files:  87% (3448/3932)
Updating files:  88% (3461/3932)
Updating files:  89% (3500/3932)
Updating files:  90% (3539/3932)
Updating files:  91% (3579/3932)
Updating files:  92% (3618/3932)
Updating files:  93% (3657/3932)
Updating files:  94% (3697/3932)
Updating files:  95% (3736/3932)
Updating files:  96% (3775/3932)
Updating files:  97% (3815/3932)
Updating files:  98% (3854/3932)
Updating files:  99% (3893/3932)
Updating files: 100% (3932/3932)
Updating files: 100% (3932/3932), done.
Cloned https://github.com/awslabs/aws-sdk-swift.git
Revision (git rev-parse @):
9483b4fa55ee1f215f66e59098272b8aea316df6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/awslabs/aws-sdk-swift.git at 1.6.106
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/awslabs/aws-sdk-swift.git
https://github.com/awslabs/aws-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target AWSSTS -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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/33216] Fetching aws-crt-swift
[5980/113350] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (3.23s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (3.86s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.58.1 (5.19s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.203.0 (2.31s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/6810] Fetching swift-log
[2317/22559] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (2.91s)
[11812/15749] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (3.99s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (5.44s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/6518] Fetching swift-nio-extras
[2/9365] Fetching swift-nio-extras, swift-nio-transport-services
[498/15423] Fetching swift-nio-extras, swift-nio-transport-services, swift-algorithms
[820/17243] Fetching swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-atomics
[839/29351] Fetching swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-atomics, swift-nio-http2
[1736/35145] Fetching swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-atomics, swift-nio-http2, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.84s)
Fetching https://github.com/apple/swift-nio-ssl.git
[20270/29351] Fetching swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-atomics, swift-nio-http2
[29352/44791] Fetching swift-nio-extras, swift-nio-transport-services, swift-algorithms, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.69s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.69s)
[30552/40124] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (3.71s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.70s)
[18130/27548] Fetching swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.78s)
[7103/15440] Fetching swift-nio-ssl
[15133/98711] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.54s)
[36256/83271] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.01s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (16.90s)
Fetching https://github.com/apple/swift-service-context.git
[1/1289] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.76s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.90s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.19s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.21s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (1.25s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.21s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (1.21s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (1.18s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (1.80s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.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-asn1.git
[1/2751] Fetching swift-service-lifecycle
[194/3993] Fetching swift-service-lifecycle, swift-http-structured-headers
[235/10238] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[823/12051] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-asn1
[1896/19317] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-certificates
[1897/20360] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.96s)
[10786/19118] Fetching swift-service-lifecycle, swift-async-algorithms, swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.15s)
[13970/16367] Fetching swift-async-algorithms, swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (1.41s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.41s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.42s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (2.79s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (1.18s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.79s)
Fetching https://github.com/apple/swift-collections.git
[1/24042] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (7.33s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (2.35s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.90s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.1 (1.26s)
Fetching https://github.com/apple/swift-crypto.git
[1/17457] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (4.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.86s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (3.58s)
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.34.0
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.4.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.1
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.28.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.11.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.43.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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.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.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.1.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.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.3.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.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.99.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.37.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.4
Creating working copy for https://github.com/awslabs/aws-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.58.1
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.33.1
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.203.0
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/278] Write sources
[6/278] Copying PrivacyInfo.xcprivacy
[6/278] Write sources
[9/278] Copying PrivacyInfo.xcprivacy
[9/278] Write sources
[16/278] Copying PrivacyInfo.xcprivacy
[16/278] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/rate_limiters.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/rate_limiters.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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.
[35/278] 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_listener.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/v5/mqtt5_listener.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
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:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
[35/278] 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_utils.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_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
[35/278] 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_topic_alias.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_topic_alias.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
[35/278] Compiling mqtt5_topic_alias.c
[35/278] Compiling mqtt5_listener.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:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/thread.h:12:14: fatal error: 'pthread.h' file not found
   12 | #    include <pthread.h>
      |              ^~~~~~~~~~~
[35/278] 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_types.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_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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.
[35/278] Compiling mqtt5_types.c
[35/278] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi --target AWSSTS 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/243] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_types.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_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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.
[1/243] Compiling mqtt5_types.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/rate_limiters.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/rate_limiters.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/243] 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_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:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/243] 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_listener.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/v5/mqtt5_listener.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/243] Compiling mqtt5_listener.c
[1/243] 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_topic_alias.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_topic_alias.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/243] Compiling mqtt5_topic_alias.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/source/v5/mqtt5_utils.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_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-mqtt/include/aws/mqtt/mqtt.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/logging.h:11:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/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/243] Compiling mqtt5_utils.c
[1/243] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm