Build Information
Failed to build swift-aws-extras, reference 0.4.0 (e13c1d
), with Swift 6.1 for Wasm on 29 May 2025 21:04:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/swift-aws-extras.git
Reference: 0.4.0
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/Mobelux/swift-aws-extras
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at e13c1d6 Strict Concurrency Support (#10)
Cloned https://github.com/Mobelux/swift-aws-extras.git
Revision (git rev-parse @):
e13c1d6388bb77335c2c5c79ffed8e81ba3d5ffb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Mobelux/swift-aws-extras.git at 0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Mobelux/swift-aws-extras.git
https://github.com/Mobelux/swift-aws-extras.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "aws-sdk-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/awslabs/aws-sdk-swift.git"
}
],
"manifest_display_name" : "swift-aws-extras",
"name" : "swift-aws-extras",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "EmailSender",
"targets" : [
"EmailSender"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Persistence",
"targets" : [
"Persistence"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Secrets",
"targets" : [
"Secrets"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SecretsTests",
"module_type" : "SwiftTarget",
"name" : "SecretsTests",
"path" : "Tests/SecretsTests",
"sources" : [
"SecretsTests.swift"
],
"target_dependencies" : [
"Secrets"
],
"type" : "test"
},
{
"c99name" : "Secrets",
"module_type" : "SwiftTarget",
"name" : "Secrets",
"path" : "Sources/Secrets",
"product_dependencies" : [
"AWSSecretsManager"
],
"product_memberships" : [
"Secrets"
],
"sources" : [
"SecretValue.swift",
"Secrets.swift"
],
"type" : "library"
},
{
"c99name" : "PersistenceTests",
"module_type" : "SwiftTarget",
"name" : "PersistenceTests",
"path" : "Tests/PersistenceTests",
"sources" : [
"PersistenceTests.swift",
"TimestampProviderTests.swift"
],
"target_dependencies" : [
"Persistence"
],
"type" : "test"
},
{
"c99name" : "Persistence",
"module_type" : "SwiftTarget",
"name" : "Persistence",
"path" : "Sources/Persistence",
"product_dependencies" : [
"AWSDynamoDB"
],
"product_memberships" : [
"Persistence"
],
"sources" : [
"AWSDynamoDB+Utils.swift",
"AttributeValueConvertible.swift",
"Persistence.swift",
"TimestampProvider.swift"
],
"type" : "library"
},
{
"c99name" : "EmailSenderTests",
"module_type" : "SwiftTarget",
"name" : "EmailSenderTests",
"path" : "Tests/EmailSenderTests",
"sources" : [
"EmailSenderTests.swift"
],
"target_dependencies" : [
"EmailSender"
],
"type" : "test"
},
{
"c99name" : "EmailSender",
"module_type" : "SwiftTarget",
"name" : "EmailSender",
"path" : "Sources/EmailSender",
"product_dependencies" : [
"AWSSES"
],
"product_memberships" : [
"EmailSender"
],
"sources" : [
"AWSSES+Utils.swift",
"EmailSender.swift",
"Models.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/awslabs/aws-sdk-swift.git
[1/679604] Fetching aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift.git from cache (302.56s)
Computing version for https://github.com/awslabs/aws-sdk-swift.git
Computed https://github.com/awslabs/aws-sdk-swift.git at 1.3.26 (308.78s)
Fetching https://github.com/smithy-lang/smithy-swift
Fetching https://github.com/awslabs/aws-crt-swift
[1/31776] Fetching aws-crt-swift
[6357/101788] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/awslabs/aws-crt-swift from cache (3.90s)
Fetched https://github.com/smithy-lang/smithy-swift from cache (3.91s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.52.1 (7.62s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.132.0 (2.59s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git 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.5.1 (2.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.62s)
Creating working copy for https://github.com/awslabs/aws-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.52.1
Creating working copy for https://github.com/awslabs/aws-sdk-swift.git
Working copy of https://github.com/awslabs/aws-sdk-swift.git resolved at 1.3.26
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.132.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.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/266] Write sources
[1/266] Copying PrivacyInfo.xcprivacy
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/h2_stream.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/h2_stream.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/h2_frames.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/connection.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/http.h:9:
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.
[32/266] Compiling h2_stream.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/h2_decoder.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/h2_decoder.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/h2_frames.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/connection.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/http.h:9:
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>
| ^~~~~~~~~~~
[32/266] Compiling h2_decoder.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/hpack.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/hpack.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/request_response.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/http.h:9:
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>
| ^~~~~~~~~~~
[32/266] Compiling hpack.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/hpack_decoder.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/hpack.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/request_response.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/http.h:9:
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>
| ^~~~~~~~~~~
[32/266] Compiling hpack_decoder.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/h2_frames.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/h2_frames.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/connection.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/http.h:9:
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>
| ^~~~~~~~~~~
[32/266] Compiling h2_frames.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/hpack_encoder.c:5:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/hpack.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/request_response.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/http.h:9:
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>
| ^~~~~~~~~~~
[32/266] Compiling hpack_encoder.c
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/source/h2_connection.c:6:
In file included from /host/spi-builder-workspace/.build/checkouts/aws-crt-swift/aws-common-runtime/aws-c-http/include/aws/http/private/h2_connection.h:12:
/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>
| ^~~~~~~~~~~
[32/266] Compiling h2_connection.c
[32/266] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/235] Write sources
[1/235] Copying PrivacyInfo.xcprivacy
[1/235] Write sources
[1/235] Copying PrivacyInfo.xcprivacy
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.
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.
[5/235] Compiling mqtt5_types.c
[5/235] Compiling mqtt5_encoder.c
[5/235] Compiling rate_limiters.c
[5/235] Compiling mqtt5_listener.c
[5/235] Compiling mqtt5_to_mqtt3_adapter.c
[5/235] Compiling mqtt5_topic_alias.c
[5/235] Compiling mqtt5_utils.c
[5/235] Compiling mqtt5_options_storage.c
BUILD FAILURE 6.1 wasm