Build Information
Failed to build swift-create-xcframework, reference v2.3.0 (0be3a6
), with Swift 6.1 for Wasm on 28 May 2025 09:02:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: v2.3.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/unsignedapps/swift-create-xcframework
* tag v2.3.0 -> FETCH_HEAD
HEAD is now at 0be3a68 Bump Command.swift
Cloned https://github.com/unsignedapps/swift-create-xcframework.git
Revision (git rev-parse @):
0be3a68c84987493a7d7298027274a0862bc5ccd
SUCCESS checkout https://github.com/unsignedapps/swift-create-xcframework.git at v2.3.0
========================================
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-4609320-1":/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 (11.61s)
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.77s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28989] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (4.79s)
Fetching https://github.com/apple/swift-driver.git
[1/34582] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (2.08s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
[2/24593] Fetching yams, swift-crypto
[142/28984] Fetching yams, swift-crypto, swift-system
[2230/45575] Fetching yams, swift-crypto, swift-system, swift-collections
[6865/60926] Fetching yams, swift-crypto, swift-system, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.12s)
[28927/45575] Fetching yams, swift-crypto, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (6.14s)
Fetched https://github.com/jpsim/Yams.git from cache (6.18s)
Fetched https://github.com/apple/swift-collections.git from cache (6.72s)
Fetched https://github.com/apple/swift-crypto.git from cache (6.72s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (12.41s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (5.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (2.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (1.33s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.52s)
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/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-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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
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-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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Building for debugging...
[0/571] Write sources
[17/571] Compiling a_dup.c
[18/571] Compiling a_d2i_fp.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 error generated.
[19/571] Compiling a_bitstr.c
[19/571] Compiling llvmSupport raw_ostream.cpp
[19/571] Compiling llvmSupport circular_raw_ostream.cpp
[19/571] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_int.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>
| ^~~~~~~~~~~
[19/571] Compiling a_utf8.c
[19/571] Compiling a_bool.c
[19/571] Compiling a_utctm.c
[19/571] Compiling a_int.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/552] Write sources
[12/552] Compiling llvmSupport Valgrind.cpp
[13/552] Compiling llvmSupport UnicodeCaseFold.cpp
[14/552] Write swift-version-24593BA9C3E375BF.txt
[15/552] Compiling llvmSupport circular_raw_ostream.cpp
[16/552] Compiling llvmSupport Unicode.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.
[17/554] Compiling llvmSupport Threading.cpp
[17/554] Compiling llvmSupport Twine.cpp
[17/554] Compiling llvmSupport raw_ostream.cpp
[17/554] Compiling llvmSupport Triple.cpp
[17/554] Compiling llvmSupport YAMLParser.cpp
[17/554] Compiling llvmSupport TargetParser.cpp
BUILD FAILURE 6.1 wasm