Build Information
Failed to build OAuthSwiftAlamofire, reference master (460d13), with Swift 6.1 for Wasm on 27 May 2025 07:38:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OAuthSwift/OAuthSwiftAlamofire.git
Reference: master
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/OAuthSwift/OAuthSwiftAlamofire
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 460d135 Update README.md
Cloned https://github.com/OAuthSwift/OAuthSwiftAlamofire.git
Revision (git rev-parse @):
460d13516b2bb7e85e735b06a2f46045a5b30d79
SUCCESS checkout https://github.com/OAuthSwift/OAuthSwiftAlamofire.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/OAuthSwift/OAuthSwiftAlamofire.git
https://github.com/OAuthSwift/OAuthSwiftAlamofire.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "oauthswift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OAuthSwift/OAuthSwift.git"
},
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "OAuthSwiftAlamofire",
"name" : "OAuthSwiftAlamofire",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "OAuthSwiftAlamofire",
"targets" : [
"OAuthSwiftAlamofire"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "OAuthSwiftAlamofireTests",
"module_type" : "SwiftTarget",
"name" : "OAuthSwiftAlamofireTests",
"path" : "Tests",
"sources" : [
"OAuthSwiftAlamofireTests.swift"
],
"target_dependencies" : [
"OAuthSwiftAlamofire"
],
"type" : "test"
},
{
"c99name" : "OAuthSwiftAlamofire",
"module_type" : "SwiftTarget",
"name" : "OAuthSwiftAlamofire",
"path" : "Sources",
"product_dependencies" : [
"OAuthSwift",
"Alamofire"
],
"product_memberships" : [
"OAuthSwiftAlamofire"
],
"sources" : [
"HTTPMethod.swift",
"OAuthSwiftRequestInterceptor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/OAuthSwift/OAuthSwift.git
[1/5134] Fetching oauthswift
[2877/35275] Fetching oauthswift, alamofire
Fetched https://github.com/OAuthSwift/OAuthSwift.git from cache (3.04s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.12s)
Computing version for https://github.com/OAuthSwift/OAuthSwift.git
Computed https://github.com/OAuthSwift/OAuthSwift.git at 2.2.0 (6.39s)
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/phimage/Erik.git
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/apple/swift-crypto.git
[1/642] Fetching erik
[547/2999] Fetching erik, kanna
[1445/9049] Fetching erik, kanna, swifter
Fetched https://github.com/phimage/Erik.git from cache (0.33s)
[3991/8407] Fetching kanna, swifter
[4294/22343] Fetching kanna, swifter, swift-crypto
Fetched https://github.com/tid-kijyun/Kanna.git from cache (1.32s)
Fetched https://github.com/httpswift/swifter.git from cache (1.33s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.52s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.33s)
Computing version for https://github.com/phimage/Erik.git
Computed https://github.com/phimage/Erik.git at 5.1.0 (0.51s)
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/nvzqz/FileKit.git
[1/3123] Fetching filekit
[95/7190] Fetching filekit, brightfutures
Fetched https://github.com/nvzqz/FileKit.git from cache (0.69s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.72s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (1.22s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.48s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (1.28s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (1.05s)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.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/phimage/Erik.git
Working copy of https://github.com/phimage/Erik.git resolved at 5.1.0
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Creating working copy for https://github.com/OAuthSwift/OAuthSwift.git
Working copy of https://github.com/OAuthSwift/OAuthSwift.git resolved at 2.2.0
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Building for debugging...
[0/411] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/cipher/aead.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/cipher/internal.h:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/cipher/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/411] Compiling aead.c
[4/411] Compiling cipher.c
[4/411] Compiling bsaes-armv7.ios.arm.S
[4/411] Compiling bsaes-armv7.linux.arm.S
[4/411] Compiling a_bitstr.c
[4/411] Compiling ec.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/modes/cfb.c:54:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/modes/internal.h:60:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/modes/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/411] Compiling cfb.c
[4/411] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/407] Compiling v3_pmaps.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_purp.c:70:
/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.
[1/407] Compiling v3_purp.c
[1/407] Compiling v3_pcons.c
[1/407] Compiling v3_skey.c
[1/407] Compiling v3_pcia.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/407] Compiling v3_utl.c
[1/407] Compiling v3_prn.c
[1/407] Compiling CCryptoBoringSSLShims shims.c
[1/407] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm