Build Information
Failed to build swift-create-xcframework, reference main (88472e
), with Swift 6.1 for Wasm on 28 May 2025 09:02:50 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/unsignedapps/swift-create-xcframework.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/unsignedapps/swift-create-xcframework
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 88472e8 Update README.md
Cloned https://github.com/unsignedapps/swift-create-xcframework.git
Revision (git rev-parse @):
88472e8e4f0227a47ca461fccd38c6d080ad92f2
SUCCESS checkout https://github.com/unsignedapps/swift-create-xcframework.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/unsignedapps/swift-create-xcframework.git
https://github.com/unsignedapps/swift-create-xcframework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"1.0.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-package-manager",
"requirement" : {
"branch" : [
"release/5.7"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-package-manager.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"branch" : [
"release/5.7"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
}
],
"manifest_display_name" : "swift-create-xcframework",
"name" : "swift-create-xcframework",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "swift-create-xcframework",
"targets" : [
"CreateXCFramework"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CreateXCFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "CreateXCFrameworkTests",
"path" : "Tests/CreateXCFrameworkTests",
"sources" : [
"XCTestManifests.swift",
"swift_create_frameworkTests.swift"
],
"target_dependencies" : [
"CreateXCFramework"
],
"type" : "test"
},
{
"c99name" : "CreateXCFramework",
"module_type" : "SwiftTarget",
"name" : "CreateXCFramework",
"path" : "Sources/CreateXCFramework",
"product_dependencies" : [
"ArgumentParser",
"SwiftPM-auto",
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"swift-create-xcframework"
],
"sources" : [
"BuildSetting.swift",
"Command+Options.swift",
"Command.swift",
"Extensions/Collection+Extensions.swift",
"Extensions/PackageModel+Extensions.swift",
"Extensions/Xcodeproj+ProductValidation.swift",
"PackageInfo.swift",
"Platforms.swift",
"ProjectGenerator.swift",
"XcodeBuilder.swift",
"Zipper.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
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/apple/swift-package-manager.git
[1/154430] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (15.19s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6763] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.55s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28989] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.32s)
Fetching https://github.com/apple/swift-driver.git
[1/34582] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (7.07s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
[1174/26008] Fetching yams, swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.25s)
[1/16591] Fetching swift-collections
Fetched https://github.com/jpsim/Yams.git from cache (2.72s)
[804/30527] Fetching swift-collections, swift-crypto
[1694/34918] Fetching swift-collections, swift-crypto, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.40s)
Fetched https://github.com/apple/swift-collections.git from cache (2.46s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.08s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (6.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (1.13s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (1.09s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (3.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.91s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.7 (82b274a)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.7 (286b48b)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at release/5.7 (c6e40ad)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.7 (564424d)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Building for debugging...
[0/571] Write sources
[17/571] Compiling a_bool.c
[18/571] Compiling a_dup.c
[19/571] Compiling a_d2i_fp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/hexdump.c:62:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[20/571] Compiling hexdump.c
[20/571] Compiling llvmSupport YAMLParser.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_enum.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[20/571] Compiling llvmSupport raw_ostream.cpp
[20/571] Compiling llvmSupport circular_raw_ostream.cpp
[20/571] Compiling a_enum.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_bitstr.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1[20/571] Compiling a_bitstr.c
[20/571] Compiling a_gentm.c
[20/571] 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
[0/1] Planning build
Building for debugging...
[0/551] Compiling llvmSupport Valgrind.cpp
[1/551] Compiling llvmSupport UnicodeCaseFold.cpp
[2/551] Compiling llvmSupport Twine.cpp
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:72:17: error: no member named 'thread' in namespace 'std'
72 | return std::thread::hardware_concurrency();
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:83:27: error: no member named 'thread' in namespace 'std'
83 | if (unsigned Val = std::thread::hardware_concurrency())
| ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:90:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Threading.inc:22:10: fatal error: 'pthread.h' file not found
22 | #include <pthread.h>
| ^~~~~~~~~~~
3 errors generated.
[3/551] Compiling llvmSupport Threading.cpp
[3/551] Compiling llvmSupport circular_raw_ostream.cpp
[424/551] Compiling llvmSupport TargetParser.cpp
[509/551] Compiling llvmSupport Unicode.cpp
[509/551] Write swift-version-24593BA9C3E375BF.txt
[509/551] Compiling llvmSupport YAMLParser.cpp
[509/551] Compiling llvmSupport Triple.cpp
[509/551] Compiling llvmSupport raw_ostream.cpp
BUILD FAILURE 6.1 wasm