The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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 9483b4f chore: Updates version to 1.6.106
Updating files:  34% (1360/3932)
Updating files:  35% (1377/3932)
Updating files:  36% (1416/3932)
Updating files:  37% (1455/3932)
Updating files:  38% (1495/3932)
Updating files:  39% (1534/3932)
Updating files:  40% (1573/3932)
Updating files:  41% (1613/3932)
Updating files:  42% (1652/3932)
Updating files:  43% (1691/3932)
Updating files:  44% (1731/3932)
Updating files:  45% (1770/3932)
Updating files:  46% (1809/3932)
Updating files:  47% (1849/3932)
Updating files:  48% (1888/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:  71% (2794/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:  84% (3310/3932)
Updating files:  85% (3343/3932)
Updating files:  86% (3382/3932)
Updating files:  86% (3412/3932)
Updating files:  87% (3421/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:  93% (3670/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 main
========================================
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-4609320-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/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/33216] Fetching aws-crt-swift
[7641/113350] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (2.20s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (2.20s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.58.1 (2.85s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.203.0 (0.77s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/6810] Fetching swift-log
[4087/22559] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
[10552/15749] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.03s)
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 (1.67s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2847] Fetching swift-nio-transport-services
[372/4667] Fetching swift-nio-transport-services, swift-atomics
[1396/10461] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing
[3289/16519] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing, swift-algorithms
[5238/23037] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing, swift-algorithms, swift-nio-extras
[11178/35145] Fetching swift-nio-transport-services, swift-atomics, swift-distributed-tracing, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.82s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.82s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.83s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[9303/18626] Fetching swift-nio-extras, swift-nio-http2
[18627/34066] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
[20480/117337] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.67s)
[18991/110819] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.69s)
[7346/98711] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.36s)
[36256/83271] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.70s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (9.10s)
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.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.20s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
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.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.53s)
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 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.57s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.61s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.65s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.78s)
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-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1242] Fetching swift-http-structured-headers
[51/3993] Fetching swift-http-structured-headers, swift-service-lifecycle
[810/5806] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1
[892/6849] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-http-types
[2641/14115] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-http-types, swift-certificates
[3089/20360] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
[6915/19317] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.50s)
[5809/18075] Fetching swift-service-lifecycle, swift-asn1, swift-certificates, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.64s)
[13072/15324] Fetching swift-asn1, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.87s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.87s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.70s)
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 (0.61s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.67s)
Fetching https://github.com/apple/swift-collections.git
[1/24042] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (5.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (2.10s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.89s)
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 (2.93s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.1 (0.91s)
Fetching https://github.com/apple/swift-crypto.git
[1/17457] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (3.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (1.98s)
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-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-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-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-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-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/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.203.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.12.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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.58.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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/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/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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.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/278] Write sources
[0/278] Copying PrivacyInfo.xcprivacy
[0/278] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/source/key_derivation.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/private/key_derivation.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
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.
[41/278] Compiling key_derivation.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/source/credentials_provider_x509.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
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.
[41/278] Compiling credentials_provider_x509.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/source/credentials_provider_sts.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
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.
[41/278] Compiling credentials_provider_sts.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/source/credentials_provider_sts_web_identity.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/credentials.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
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>
      |              ^~~~~~~~~~~
[41/278] Compiling credentials_provider_sts_web_identity.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/source/credentials_utils.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/private/credentials_utils.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-auth/include/aws/auth/auth.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-io/include/aws/io/logging.h:11:
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>
      |              ^~~~~~~~~~~
[41/278] Compiling credentials_utils.c
[41/278] Compiling random_access_set.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/request_response.c:7:
/host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-common/include/aws/common/mutex.h:14:14: fatal error: 'pthread.h' file not found
   14 | #    include <pthread.h>
      |              ^~~~~~~~~~~
[41/278] Compiling request_response.c
[41/278] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/237] Copying PrivacyInfo.xcprivacy
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 error generated.
[2/237] 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: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>
      |              ^~~~~~~~~~~
[2/237] 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_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>
      |              ^~~~~~~~~~~
[2/237] Compiling mqtt5_to_mqtt3_adapter.c
[2/237] Compiling mqtt5_topic_alias.c
[2/237] 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>
      |              ^~~~~~~~~~~
[2/237] 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.
[2/237] Compiling mqtt5_types.c
[2/237] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm