Build Information
Failed to build aws-signer-v4, reference 2.1.1 (2e2053
), with Swift 6.1 for Wasm on 27 May 2025 19:33:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/adam-fowler/aws-signer-v4.git
Reference: 2.1.1
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/adam-fowler/aws-signer-v4
* tag 2.1.1 -> FETCH_HEAD
HEAD is now at 2e20532 Make sure urls have trailing slashes (#6)
Cloned https://github.com/adam-fowler/aws-signer-v4.git
Revision (git rev-parse @):
2e205327f842f808340e7e40eee3f9dec7e1f649
SUCCESS checkout https://github.com/adam-fowler/aws-signer-v4.git at 2.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/adam-fowler/aws-signer-v4.git
https://github.com/adam-fowler/aws-signer-v4.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.13.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
}
],
"manifest_display_name" : "aws-signer-v4",
"name" : "aws-signer-v4",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AWSSigner",
"targets" : [
"AWSSigner"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AWSSignerTests",
"module_type" : "SwiftTarget",
"name" : "AWSSignerTests",
"path" : "Tests/AWSSignerTests",
"sources" : [
"AWSSignerTests.swift"
],
"target_dependencies" : [
"AWSSigner"
],
"type" : "test"
},
{
"c99name" : "AWSSigner",
"module_type" : "SwiftTarget",
"name" : "AWSSigner",
"path" : "Sources/AWSSigner",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"product_memberships" : [
"AWSSigner"
],
"sources" : [
"credentials.swift",
"signer.swift"
],
"target_dependencies" : [
"AWSCrypto"
],
"type" : "library"
},
{
"c99name" : "AWSCrypto",
"module_type" : "SwiftTarget",
"name" : "AWSCrypto",
"path" : "Sources/AWSCrypto",
"product_dependencies" : [
"Crypto"
],
"product_memberships" : [
"AWSSigner"
],
"sources" : [
"ByteArray.swift",
"Digest.swift",
"HMAC.swift",
"HashFunction.swift",
"Insecure.swift",
"MD5.swift",
"SHA2.swift",
"SymmetricKey.swift",
"exports.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/apple/swift-nio
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
[2928/89991] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (4.78s)
Fetched https://github.com/apple/swift-nio from cache (4.84s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (5.49s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.90s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[1714/6101] Fetching swift-system, swift-atomics
[5760/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[5029/18301] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.25s)
Fetched https://github.com/apple/swift-collections.git from cache (1.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (2.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.24s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
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.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.4.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/432] Write sources
[4/432] Compiling pkcs7.c
[5/432] Write sources
[7/432] Compiling a_strnid.c
[8/432] Write sources
[14/432] Compiling _AtomicsShims.c
[15/432] Compiling CNIOWindows WSAStartup.c
[16/432] Compiling CNIOWindows shim.c
[17/432] Compiling CNIOWASI CNIOWASI.c
[18/432] Compiling pem_xaux.c
[19/432] Compiling pem_x509.c
[20/432] Compiling CNIOLinux shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/pkcs8/pkcs8_x509.c:75:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/pkcs8/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[21/432] Compiling pkcs8_x509.c
[21/432] Write swift-version-24593BA9C3E375BF.txt
[21/432] Compiling pem_pkey.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/pkcs7/pkcs7_x509.c:29:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/pkcs7/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[21/432] Compiling pkcs7_x509.c
[21/432] Compiling CNIOLinux liburing_shims.c
[21/432] Compiling CNIOLLHTTP c_nio_api.c
[21/432] Compiling CNIOLLHTTP c_nio_llhttp.c
[21/432] Compiling CNIOLLHTTP c_nio_http.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[0/1] Planning build
Building for debugging...
[0/411] Compiling CNIOLinux liburing_shims.c
[1/411] Compiling CNIODarwin shim.c
[2/411] Compiling CNIOLLHTTP c_nio_api.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[3/411] Compiling v3_utl.c
[3/411] Compiling v3_skey.c
[3/411] Compiling CNIOLLHTTP c_nio_llhttp.c
[3/411] Compiling CCryptoBoringSSLShims shims.c
[3/411] Compiling c-nioatomics.c
[3/411] Compiling c-atomics.c
[3/411] Compiling CNIOLLHTTP c_nio_http.c
[3/411] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm