Build Information
Failed to build swift-create-xcframework, reference main (88472e
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 16:17:52 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path: $PWD
https://github.com/unsignedapps/swift-create-xcframework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-package-manager.git
[1/156775] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (13.81s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6855] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.58s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29039] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.07s)
Fetching https://github.com/apple/swift-driver.git
[1/34988] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (5.64s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/jpsim/Yams.git
[1/4436] Fetching swift-system
[667/15295] Fetching swift-system, yams
[2260/31935] Fetching swift-system, yams, swift-collections
[5755/47241] Fetching swift-system, yams, swift-collections, swift-crypto
[10646/62621] Fetching swift-system, yams, swift-collections, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.21s)
Fetched https://github.com/apple/swift-collections.git from cache (2.25s)
Fetched https://github.com/jpsim/Yams.git from cache (2.26s)
Fetched https://github.com/apple/swift-system.git from cache (2.82s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.85s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.0.3 (3.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.92s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.50s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.62s)
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-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
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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Building for debugging...
[0/571] Write sources
[17/571] Compiling a_gentm.c
[18/571] Compiling a_d2i_fp.c
[19/571] Compiling a_bool.c
[20/571] Write swift-version-24593BA9C3E375BF.txt
[21/571] Compiling a_bitstr.c
[22/571] Compiling a_octet.c
[23/571] Compiling a_object.c
[24/571] Compiling llvmSupport Valgrind.cpp
[25/573] Compiling a_mbstr.c
[26/574] Compiling llvmSupport UnicodeCaseFold.cpp
[27/576] Compiling llvmSupport circular_raw_ostream.cpp
[28/576] Compiling llvmSupport Unicode.cpp
[29/576] Compiling llvmSupport Twine.cpp
[30/576] Compiling llvmSupport raw_ostream.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())
| ~~~~~^
2 errors generated.
[31/576] Compiling llvmSupport Threading.cpp
[31/576] Compiling llvmSupport StringRef.cpp
[31/576] Compiling llvmSupport Triple.cpp
[31/576] Compiling llvmSupport YAMLParser.cpp
[31/576] Compiling llvmSupport StringSaver.cpp
[32/576] Emitting module ArgumentParserToolInfo
[32/576] Compiling llvmSupport TargetParser.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/576] Emitting module PackageCollectionsModel
/host/spi-builder-workspace/.build/checkouts/swift-package-manager/Sources/PackageCollectionsModel/PackageCollectionModel+v1.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | extension PackageCollectionModel {
BUILD FAILURE 6.2 wasm